Summary: | Virgl broken on current mesa (17.4+), with nouveau/nv50 as host | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andrew Randrianasulu <randrik> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED FIXED | QA Contact: | Nouveau Project <nouveau> |
Severity: | normal | ||
Priority: | medium | CC: | fdsfgs |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
glxinfo -l from inside guest
gdb log slightly better gdb log X log (from guest, of course) apitrace |
Description
Andrew Randrianasulu
2017-12-16 17:14:04 UTC
One more comment - while both kernels are 64-bit - whole userspace for guest and host are just 32-bit binaries. It may play some role. If you can capture an apitrace of qemu that replays incorrectly on nouveau but correctly on other hardware, then this is a nouveau bug. If virgl / virglrenderer code crashes (or generates an incorrect GL operation sequence), then it's a virgl bug. Created attachment 136219 [details]
glxinfo -l from inside guest
Created attachment 136220 [details]
gdb log
Unfortunately, I stripped debug symbols for smaller file sizes. I can recompile mesa with debug symbols, but it will take some time.
If it crashes inside the guest, then it's nothing to do with nouveau. Most likely. (In reply to Ilia Mirkin from comment #5) > If it crashes inside the guest, then it's nothing to do with nouveau. Most > likely. ya, but I was unable to find virgl as specific component in bugzilla, so I just added bug to nouveau. Don't feel blamed. (and after swithcing virtual desktops whole image inside qemu just become real black ..I killed this VM) It also doesn't work with LIBGL_ALWAYS_SOFTWARE=1 (llvmpipe). So, yes, not nouveau bug.... Created attachment 136221 [details]
slightly better gdb log
Created attachment 136222 [details]
X log (from guest, of course)
Created attachment 136223 [details]
apitrace
I tried few older mesa releases (17.1.10 - without llvm, 17.2.7 and 17.3.0 - with llvm 5.0.0), and they all segfaults :/ This is kinda strange, because according to this bugreport it was working in 17.1-dev era: https://bugzilla.redhat.com/show_bug.cgi?id=1426549 I tried disabling PageFlipping (not sure if it makes any sense for VM), and switching dri mode to dri3. Nothing helped :/ Sorry, it works now (Mesa 18.2.0-devel (git-96ed3714fc) for both guest and host). Apparently, I just forgot to mount /dev/shm in initscripts in guest, and dri3 failed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.