On Fri, Jul 02, 2021 at 04:32:21PM +0400, [email protected] wrote: > From: Marc-André Lureau <[email protected]> > > Before commit 49afbca3b00e8e517d54964229a794b51768deaf ("virtio-gpu: drop > use_virgl_renderer"), use_virgl_renderer was preventing calling GL > functions from non-GL context threads. The innocuously looking > > g->parent_obj.use_virgl_renderer = false; > > was set the first time virtio_gpu_gl_reset() was called, during > pc_machine_reset() in the main thread. Further virtio_gpu_gl_reset() > calls in IO threads, without associated GL context, were thus skipping > GL calls and avoided warnings or crashes (see also > https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/226).
Conflicts with patch by Akihiko Odaki fixing the same thing or a related issue: virtio-gpu: Call Virgl only in the main thread https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/ Can you have a look please and suggest how to handle this? thanks, Gerd
