Partial graphics freezing pseudo randomly(but sound and logic still running)
Information
- Android x86_64-9.0-r2 (also tried with 7.1.2-r4 and 8.1-r5)
- Host ubuntu 18.04
- Nvidia OpenGL ES GLSL ES 3.20 / OpenGL 4.6
- Qemu master 06c4cc3 (was running v5 at some point I switched)
- virglrenderer master cca31327 (qemu configure reads version 0.8.2)
- Azur Lane (game being played)
Though I guess graphics freezing isn't necessarily tied to sound/logic. When playing azur lane via Android x86 some times at what seems pseudo random it'll stop rendering and just flash between three or so frames. I've noticed this when running on an actual android device that the graphics will pause for a second then snap back to working. Sadly not the case via qemu. I'm not sure if this is an issue with Android x86 because as you'll see in some clips I'm able to exit out of the app by swiping up from the bottom and closing the app.
A possible solution could be allowing to skip the errored frames just be skipped or to reset the frame buffer(? not sure what is used for display). I imagine while I may just make it sound overly simple... that might be more complex... I don't really know much in the way of the graphical side. Any help or points in the right direction would be appreciated.
https://www.youtube.com/playlist?list=PLLILvClAydD_zU3bxfv0xqiK3IAOCkpmj - group of clips of issue https://pastebin.com/f7g8rzQU - output from console when it happens
Currently I just reset the vm because it is the fastest(closing the app sometimes takes up to 30 seconds, though might just be because I only give the vm 2GB of ram). I've also tried Android 7.1.2-r4(doesn't work on 7.1.1 due to facebook sdk(used for login option) crash) and 8.1-r5. I didn't have this issue when running the game via Anbox but due to the mentioned issue earlier I can't run it via that anymore due to it using Android 7.1.1. I've been trying to build oreo or 7.1.2 for anbox(run via snap using native rendering) usage via the git repo but haven't had much luck and building aosp is hell. But a different issue. Thought I'd mention Anbox because it is another way to run android apps without running a fully emulated device.