qemu 5.2 vrend_renderer_transfer_iov: context error - android x86
- OS: Ubuntu 18.04 LTS
- Kernel: 5.4.0-58-generic
- GPU: Nvidia 750 TI
- GPU Driver: Nvidia 450.80.02
- Qemu: 5.2.0
- Qemu flags: ../configure --enable-sdl --enable-opengl --enable-virglrenderer --enable-system --enable-modules --audio-drv- list=pa --target-list=x86_64-softmmu --enable-kvm --enable-spice --enable-usb-redir --enable-libusb
- Qemu vm config: qemu-system-x86_64 -enable-kvm -m 2G -smp 2 -cpu host -usb -serial mon:stdio -boot menu=on -device ES1370 -net nic -net user -device virtio-vga,virgl=on -display sdl,gl=on,show-cursor=on -hda androidx86_hda.img -device virtio-tablet
- VirGL: 0.8.2-90409653
- Android x86_64-9.0-r2
- Android App: Azurlane
Hello, this seems to be similar to an older closed issue(#127 (closed)) but I'm not sure. When running android x86 through qemu-kvm the OS won't freeze but the app will freeze up with sound/logic functioning. A recent update to one of the apps I use on the daily seems to have increased doing what ever it is that VirGL doesn't like causing it to leak horribly with a band-aid fix I've hacked in to pass over errors. Maybe I'm just not clearing it correctly. Without the hack it just softlocks the app in question. It's odd because I'm not sure if they're just doing something hacky or what. Another unity game Among Us doesn't have this problem. I can play it for hours on end without any errors occurring. Could it possibly be my GPU causing the issue?
I'd be willing to donate/pay bounty for some kind of fix. The newest game play is just constant what ever is happening causing the game to be unplayable. I might also just not be cleaning up after skipping over errors with my hack patch causing horrible leaks.
The errors output to console:
gl_version 46 - core profile enabled
GLSL feature level 460
vrend_renderer_transfer_iov: context error reported 8 "RenderThread" Illegal resource 19707
vrend_decode_ctx_submit_cmd: context error reported 8 "RenderThread" Illegal command buffer 852011
gl_version 46 - core profile enabled
GLSL feature level 460
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
vrend_set_single_sampler_view: context error reported 7 "RenderThread" Illegal handle 92968
...(repeated)