Hi

On Wed, Jun 30, 2021 at 10:16 PM Marc-André Lureau <
marcandre.lur...@gmail.com> wrote:

> Hi
>
> On Wed, May 12, 2021 at 7:07 PM Peter Maydell <peter.mayd...@linaro.org>
> wrote:
>
>> On Mon, 10 May 2021 at 14:22, Gerd Hoffmann <kra...@redhat.com> wrote:
>> >
>> > The following changes since commit
>> d90f154867ec0ec22fd719164b88716e8fd48672:
>> >
>> >   Merge remote-tracking branch
>> 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05
>> 20:29:14 +0100)
>> >
>> > are available in the Git repository at:
>> >
>> >   git://git.kraxel.org/qemu tags/vga-20210510-pull-request
>> >
>> > for you to fetch changes up to b36eb8860f8f4a9c6f131c3fd380116a3017e022:
>> >
>> >   virtio-gpu: add virtio-vga-gl (2021-05-10 13:55:28 +0200)
>> >
>> > ----------------------------------------------------------------
>> > edid: display id support (for 5k+), bugfixes.
>> > virtio-gpu: iommu fix, device split.
>> >
>>
>>
>> Applied, thanks.
>>
>> Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
>> for any user-visible changes.
>>
>> -- PMM
>>
>>
> After that series, the console is flooded with GTK warnings. When the
> machine/device is reset, virgl crashes (also reported at
> https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/226)
>
> Unfortunately, it's not easy to pinpoint the responsible patch since it's
> not easily bisectable (and it breaks the CLI). I will continue to
> investigate.
>


It turns out that I was using -device to add the VGA device, and qemu
didn't treat virtio-vga-gl the same way virtio-vga was. See "[PATCH] vl:
add virtio-vga-gl to the default_list".

The reason for the warnings and virgl crash is that the secondary gfx
console GTK widgets aren't realized by the time virgl needs a context. This
is a pre-existing issue (-display gtk,gl=on -device virtio-vga,virgl=on
-device virtio-gpu,virgl=on qemu crashes)


-- 
Marc-André Lureau

Reply via email to