[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 0/8] Support virtio-gpu DRM native context
From: |
Dmitry Osipenko |
Subject: |
Re: [PATCH v5 0/8] Support virtio-gpu DRM native context |
Date: |
Wed, 22 Jan 2025 15:25:08 +0300 |
User-agent: |
Mozilla Thunderbird |
On 1/20/25 18:41, Alex Bennée wrote:
> Dmitry Osipenko <dmitry.osipenko@collabora.com> writes:
>
>> This patchset adds DRM native context support to VirtIO-GPU on Qemu.
>>
>> Contarary to Virgl and Venus contexts that mediates high level GFX APIs,
>> DRM native context [1] mediates lower level kernel driver UAPI, which
>> reflects in a less CPU overhead and less/simpler code needed to support it.
>> DRM context consists of a host and guest parts that have to be implemented
>> for each GPU driver. On a guest side, DRM context presents a virtual GPU as
>> a real/native host GPU device for GL/VK applications.
>>
>> [1] https://www.youtube.com/watch?v=9sFP_yddLLQ
>>
>> Today there are four known DRM native context drivers existing in a wild:
>>
>> - Freedreno (Qualcomm SoC GPUs), completely upstreamed
>> - AMDGPU, mostly merged into upstreams
>> - Intel (i915), merge requests are opened
>
> With the patch for the build failure:
>
> Tested-by: Alex Bennée <alex.bennee@linaro.org>
>
> Host:
>
> x86
> Trixie
> virglrenderer @
> digitx/native-context-iris/a0b1872d252430a2b7f007db9fdbb0526385cfc0
> -display sdl,gl=on
>
> KVM Guest
>
> x86
> Trixie
> mesa @ digitx/native-context-iris/78b1508c3f06
>
> With gtk,gl=on I'm still seeing a lot of screen corruption which mirrors
> the terminal an leaves a destructive trail under the mouse cursor.
> show-cursor on or off makes no difference.
Thank you for the review and testing! I'm looking into that issue. Only
some people are hitting it and Pierre-Eric said he had that mirroring
issue without using nctx. Still interesting that the bug affects only
certain setups and is triggered by nctx.
--
Best regards,
Dmitry
[PATCH v5 5/8] virtio-gpu: Support DRM native context, Dmitry Osipenko, 2025/01/19
Message not available
- Re: [PATCH v5 0/8] Support virtio-gpu DRM native context,
Dmitry Osipenko <=
Re: [PATCH v5 0/8] Support virtio-gpu DRM native context, Alex Bennée, 2025/01/22