[Bug 718734] New: gnome-shell with propietary nvidia driver does not work because Mesa
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c0 Summary: gnome-shell with propietary nvidia driver does not work because Mesa Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: dmacvicar@suse.com QAContact: qa@suse.de CC: sndirsch@suse.com, vuntz@suse.com Found By: --- Blocker: --- After upgrading to Factory I could not get either nouveau nor nvidia to work with gnome-shell (except for fallback mode). Investigating nvidia driver, I realized gnome-shell was getting a "Unable to find suitable fbconfig for the GLX context" when loading gnome-shell --replace. LIBGL_DEBUG=verbose /usr/lib64/mesa-demos/xdemos/glxinfo was showing direct rendering was not enabled. After doing ldd on glxinfo I realized it was using libGL.so.1 from Mesa. So I tried LD_LIBRARY_PATH="/usr/X11R6/lib64" /usr/lib64/mesa-demos/xdemos/glxinfo | grep ender direct rendering: Yes Voila. So I tried LD_LIBRARY_PATH="/usr/X11R6/lib64" gnome-shell --replace And now I am writing this bugreport from a working gnome-shell. So for some weird reason gnome-shell is not looking libGL in the right order -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c1 --- Comment #1 from Duncan Mac-Vicar <dmacvicar@suse.com> 2011-09-17 21:27:14 UTC --- the linker appears to be set correctly
ldd /usr/bin/gnome-shell | grep GL libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f7121eb2000)
cat /etc/ld.so.conf.d/nvidia-gfxG02 /usr/X11R6/lib64 /usr/X11R6/lib
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c2 Duncan Mac-Vicar <dmacvicar@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Critical --- Comment #2 from Duncan Mac-Vicar <dmacvicar@suse.com> 2011-09-17 21:33:20 UTC --- # ldconfig -p | grep libGL.so libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1 libGL.so.1 (libc6) => /usr/lib/libGL.so.1 libGL.so (libc6,x86-64) => /usr/lib64/libGL.so libGL.so (libc6) => /usr/lib/libGL.so After renaming the conf file linux-llxy:/etc/ld.so.conf.d # mv nvidia-gfxG02 nvidia-gfxG02.conf linux-llxy:/etc/ld.so.conf.d # ldconfig linux-llxy:/etc/ld.so.conf.d # ldconfig -p | grep libGL.so libGL.so.1 (libc6,x86-64) => /usr/X11R6/lib64/libGL.so.1 libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1 libGL.so.1 (libc6) => /usr/X11R6/lib/libGL.so.1 libGL.so.1 (libc6) => /usr/lib/libGL.so.1 libGL.so (libc6,x86-64) => /usr/X11R6/lib64/libGL.so libGL.so (libc6,x86-64) => /usr/lib64/libGL.so libGL.so (libc6) => /usr/X11R6/lib/libGL.so libGL.so (libc6) => /usr/lib/libGL.so It looks like ldconfig is only looking for .conf files. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c3 Duncan Mac-Vicar <dmacvicar@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome@forge.provo. |sndirsch@suse.com |novell.com | --- Comment #3 from Duncan Mac-Vicar <dmacvicar@suse.com> 2011-09-17 21:55:43 UTC --- /etc/ld.so.conf has a include /etc/ld.so.conf.d/*.conf This was probably changed recently. I am fixing it in the x11-video-nvidiaG02 package in X11:Drivers:Video. created request id 82884 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c4 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Component|GNOME |X.Org Summary|gnome-shell with propietary |ldconfig changes broke |nvidia driver does not work |OpenGL applications for |because Mesa |proprietary drivers QAContact|qa@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> 2011-09-18 12:13:46 UTC --- This also needs to be addressed for nvidia-gfx, nvidia-gfxG01 and likely ati-fglrxG02 packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c5 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> 2011-09-19 19:46:31 UTC --- This is now fixed for all nvidia and fglrx package in obs://X11:Drivers:Video, which are still relevant for openSUSE >= 12.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718734 https://bugzilla.novell.com/show_bug.cgi?id=718734#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> 2011-11-21 11:35:52 UTC --- (In reply to comment #5)
This is now fixed for all nvidia and fglrx package in obs://X11:Drivers:Video, which are still relevant for openSUSE >= 12.1.
Unfortunately I forgot to adjust the fglrx upstream specfile. :-( See bnc #728646. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com