bugzilla-daemon at freedesktop.org
2017-Dec-16 17:14 UTC
[Nouveau] [Bug 104291] New: Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291
Bug ID: 104291
Summary: Virgl broken on current mesa (17.4+), with
nouveau/nv50 as host
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: randrik at mail.ru
QA Contact: nouveau at lists.freedesktop.org
Hello.
Sorry for possibly irrelevant bug report, but I just tested virgl and found it
broken - glxinfo works, but glxgears or any gl program segfaults.
On both host and guest (self-assembled live DVD) I have mesa Mesa 17.4.0-devel
(git-96fc5fbf23), X server 1.19.5. Host kernel - Linux slax 4.14.3-x64 #18 SMP
Sun Dec 3 09:13:07 MSK 2017 x86_64 AMD FX(tm)-4300 Quad-Core Processor
AuthenticAMD GNU/Linux, guest kernel - 4.12.0-x64.
Qemu - 2.11. Launch command and output:
qemu-system-x86_64 -M q35 -enable-kvm -cdrom /dev/shm/slax_16_12_2017_test.iso
-m 512 -display sdl,gl=on -soundhw es1370 -smp 4 -vga virtio -usbdevice mouse
qemu-system-x86_64: -usbdevice mouse: '-usbdevice' is deprecated, please
use
'-device usb-...' instead
gl_version 33 - core profile enabled
startx inside guest works, glxinfo shows virgl as renderer, but glxgears or any
gl program (chromium BSU [old arcade game], glblur from xscreensavers)
segfaults.
At some point it was working better, but it was long ago .... (16.02.2016, to
be prescie).
I also run into assertion on qemu side, described here:
https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg05461.html
Because I had only dvd image connected as dvd rom - nothing bad happened, but
be aware about this abort if you connect real hard disk ....
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20171216/41dd7e46/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:15 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #1 from Andrew Randrianasulu <randrik at mail.ru> --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/7d97e323/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:18 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> --- 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. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/3f67b671/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:23 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #3 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 136219 --> https://bugs.freedesktop.org/attachment.cgi?id=136219&action=edit glxinfo -l from inside guest -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/a06d028b/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:27 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #4 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 136220 --> https://bugs.freedesktop.org/attachment.cgi?id=136220&action=edit gdb log Unfortunately, I stripped debug symbols for smaller file sizes. I can recompile mesa with debug symbols, but it will take some time. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/ad997161/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:31 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> --- If it crashes inside the guest, then it's nothing to do with nouveau. Most likely. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/da7d67d6/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:35 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #6 from Andrew Randrianasulu <randrik at mail.ru> --- (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) -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/187c81b5/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:43 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #7 from Andrew Randrianasulu <randrik at mail.ru> --- It also doesn't work with LIBGL_ALWAYS_SOFTWARE=1 (llvmpipe). So, yes, not nouveau bug.... -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/350659f3/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 17:55 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291
Andrew Randrianasulu <randrik at mail.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136220|0 |1
is obsolete| |
--- Comment #8 from Andrew Randrianasulu <randrik at mail.ru> ---
Created attachment 136221
--> https://bugs.freedesktop.org/attachment.cgi?id=136221&action=edit
slightly better gdb log
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20171216/cc40aaa9/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 18:12 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #9 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 136222 --> https://bugs.freedesktop.org/attachment.cgi?id=136222&action=edit X log (from guest, of course) -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/e7307885/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-16 18:28 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #10 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 136223 --> https://bugs.freedesktop.org/attachment.cgi?id=136223&action=edit apitrace -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171216/a41a1831/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Dec-19 22:37 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291 --- Comment #11 from Andrew Randrianasulu <randrik at mail.ru> --- 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 :/ -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171219/da506f98/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Apr-30 11:59 UTC
[Nouveau] [Bug 104291] Virgl broken on current mesa (17.4+), with nouveau/nv50 as host
https://bugs.freedesktop.org/show_bug.cgi?id=104291
Andrew Randrianasulu <randrik at mail.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #12 from Andrew Randrianasulu <randrik at mail.ru> ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20180430/bb9999eb/attachment-0001.html>
Apparently Analagous Threads
- [Bug 92306] New: GL Excess demo renders incorrectly on nv43
- [Bug 101000] New: Cinelerra crashes with OpenGL output on mesa git
- [Bug 111292] New: Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card
- [Bug 61489] New: Mesa-demos test subtexrate causes some error in dmesg
- [Bug 58615] New: nv43 hangs with direct rendering since 3.7 rework