I have the nvidia driver from rpmfusion installed. All my OpenGL apps are accelerated and work well except for one thing:
$ glxgears Error: couldn't get an RGB, Double-buffered visual
# glxgears does not run
$ LD_LIBRARY_PATH=/usr/lib64/nvidia glxgears
# glxgears runs the way you expect
I've uninstalled and reinstalled the nvidia drivers, mesa and all their dependencies a few times which did not change this. I removed /etc/ld.so.cache and ran ldconfig which did not change the behaviour.
What is going on? How do I fix this?
John
Linux myhost.mydomain.tld 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
nvidia-settings-1.0-11.fc15.x86_64 nvidia-xconfig-1.0-9.fc15.x86_64 kmod-nvidia-280.13-2.fc15.2.x86_64 xorg-x11-drv-nvidia-280.13-1.fc15.x86_64 kmod-nvidia-2.6.40.4-5.fc15.x86_64-280.13-2.fc15.2.x86_64 xorg-x11-drv-nvidia-libs-280.13-1.fc15.x86_64
mesa-libGL-7.11-1.fc15.x86_64 mesa-libGLU-7.11-1.fc15.x86_64 mesa-libGLU-7.11-1.fc15.i686 mesa-dri-filesystem-7.11-1.fc15.x86_64 mesa-dri-drivers-7.11-1.fc15.x86_64 mesa-libGL-7.11-1.fc15.i686
libx11globalcomm.so.1 (libc6,x86-64) => /usr/lib64/libx11globalcomm.so.1 libxcb-glx.so.0 (libc6,x86-64) => /usr/lib64/libxcb-glx.so.0 libxcb-glx.so.0 (libc6) => /usr/lib/libxcb-glx.so.0 libxcb-glx.so (libc6,x86-64) => /usr/lib64/libxcb-glx.so libwx_gtk2u_ogl-2.8.so.0 (libc6,x86-64) => /usr/lib64/libwx_gtk2u_ogl-2.8.so.0 libva-glx.so.1 (libc6,x86-64) => /usr/lib64/libva-glx.so.1 libva-egl.so.1 (libc6,x86-64) => /usr/lib64/libva-egl.so.1 libupower-glib.so.1 (libc6,x86-64) => /usr/lib64/libupower-glib.so.1 libtelepathy-glib.so.0 (libc6,x86-64) => /usr/lib64/libtelepathy-glib.so.0 libsmokeqtopengl.so.3 (libc6,x86-64) => /usr/lib64/libsmokeqtopengl.so.3 libpyglib-2.0-python.so.0 (libc6,x86-64) => /usr/lib64/libpyglib-2.0-python.so.0 libpyglib-2.0-python.so (libc6,x86-64) => /usr/lib64/libpyglib-2.0-python.so libpulse-mainloop-glib.so.0 (libc6,x86-64) => /usr/lib64/libpulse-mainloop-glib.so.0 libpoppler-glib.so.6 (libc6,x86-64) => /usr/lib64/libpoppler-glib.so.6 libpangosharpglue-2.so (libc6,x86-64) => /usr/lib64/libpangosharpglue-2.so libpackagekit-glib2.so.14 (libc6,x86-64) => /usr/lib64/libpackagekit-glib2.so.14 libnvidia-glcore.so.280.13 (libc6,x86-64) => /usr/lib64/nvidia/libnvidia-glcore.so.280.13 libnvidia-glcore.so (libc6,x86-64) => /usr/lib64/nvidia/libnvidia-glcore.so libnm-glib.so.4 (libc6,x86-64) => /usr/lib64/libnm-glib.so.4 libnm-glib-vpn.so.1 (libc6,x86-64) => /usr/lib64/libnm-glib-vpn.so.1 libkmahjongglib.so.4 (libc6,x86-64) => /usr/lib64/libkmahjongglib.so.4 libkdeinit4_kglobalaccel.so (libc6,x86-64) => /usr/lib64/libkdeinit4_kglobalaccel.so libjson-glib-1.0.so.0 (libc6,x86-64) => /usr/lib64/libjson-glib-1.0.so.0 libgtksharpglue-2.so (libc6,x86-64) => /usr/lib64/libgtksharpglue-2.so libgtkglext-x11-1.0.so.0 (libc6,x86-64) => /usr/lib64/libgtkglext-x11-1.0.so.0 libgssglue.so.1 (libc6,x86-64) => /lib64/libgssglue.so.1 libgnomesharpglue-2.so (libc6,x86-64) => /usr/lib64/libgnomesharpglue-2.so libgnome-keyring-sharp-glue.so (libc6,x86-64) => /usr/lib64/libgnome-keyring-sharp-glue.so libglut.so.3 (libc6,x86-64) => /usr/lib64/libglut.so.3 libglobalmenu-server.so.3 (libc6,x86-64) => /usr/lib64/libglobalmenu-server.so.3 libglitz.so.1 (libc6,x86-64) => /usr/lib64/libglitz.so.1 libglibsharpglue-2.so (libc6,x86-64) => /usr/lib64/libglibsharpglue-2.so libglibmm_generate_extra_defs-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglibmm_generate_extra_defs-2.4.so.1 libglibmm-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglibmm-2.4.so.1 libglib-2.0.so.0 (libc6,x86-64) => /lib64/libglib-2.0.so.0 libglib-2.0.so.0 (libc6) => /lib/libglib-2.0.so.0 libglib-1.2.so.0 (libc6,x86-64) => /usr/lib64/libglib-1.2.so.0 libgle.so.3 (libc6,x86-64) => /usr/lib64/libgle.so.3 libgldi.so.2 (libc6,x86-64) => /usr/lib64/libgldi.so.2 libgladesharpglue-2.so (libc6,x86-64) => /usr/lib64/libgladesharpglue-2.so libglademm-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglademm-2.4.so.1 libglade-2.0.so.0 (libc6,x86-64) => /usr/lib64/libglade-2.0.so.0 libgegl-0.1.so.0 (libc6,x86-64) => /usr/lib64/libgegl-0.1.so.0 libgdksharpglue-2.so (libc6,x86-64) => /usr/lib64/libgdksharpglue-2.so libgdkglext-x11-1.0.so.0 (libc6,x86-64) => /usr/lib64/libgdkglext-x11-1.0.so.0 libflite_usenglish.so.1 (libc6,x86-64) => /usr/lib64/libflite_usenglish.so.1 libdbus-glib-1.so.2 (libc6,x86-64) => /usr/lib64/libdbus-glib-1.so.2 libbeagle.so.1 (libc6,x86-64) => /usr/lib64/libbeagle.so.1 libavahi-glib.so.1 (libc6,x86-64) => /usr/lib64/libavahi-glib.so.1 libatksharpglue-2.so (libc6,x86-64) => /usr/lib64/libatksharpglue-2.so libQtOpenGL.so.4 (libc6,x86-64) => /usr/lib64/libQtOpenGL.so.4 libQtOpenGL.so.4 (libc6) => /usr/lib/libQtOpenGL.so.4 libGLU.so.1 (libc6,x86-64) => /usr/lib64/libGLU.so.1 libGLU.so.1 (libc6) => /usr/lib/libGLU.so.1 libGLEW.so.1.5 (libc6,x86-64) => /usr/lib64/libGLEW.so.1.5 libGLC.so.0 (libc6,x86-64) => /usr/lib64/libGLC.so.0 libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1 libGL.so.1 (libc6,x86-64) => /usr/lib64/nvidia/libGL.so.1 libGL.so.1 (libc6) => /usr/lib/libGL.so.1
for the moment you can add manually the desired entry in /etc/ld.so.conf directly or create the file as seen in the catalyst driver.
[sombriks@gau boot]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf [sombriks@gau boot]$
[sombriks@gau boot]$ cat /etc/ld.so.conf.d/catalyst.conf /usr/lib/catalyst /usr/lib64/catalyst [sombriks@gau boot]$
2011/9/28 John Schmitt cromworshipper-fedorastuff@yahoo.com:
I have the nvidia driver from rpmfusion installed. All my OpenGL apps are accelerated and work well except for one thing:
$ glxgears Error: couldn't get an RGB, Double-buffered visual
# glxgears does not run
$ LD_LIBRARY_PATH=/usr/lib64/nvidia glxgears
# glxgears runs the way you expect
I've uninstalled and reinstalled the nvidia drivers, mesa and all their dependencies a few times which did not change this. I removed /etc/ld.so.cache and ran ldconfig which did not change the behaviour.
What is going on? How do I fix this?
John
Linux myhost.mydomain.tld 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
nvidia-settings-1.0-11.fc15.x86_64 nvidia-xconfig-1.0-9.fc15.x86_64 kmod-nvidia-280.13-2.fc15.2.x86_64 xorg-x11-drv-nvidia-280.13-1.fc15.x86_64 kmod-nvidia-2.6.40.4-5.fc15.x86_64-280.13-2.fc15.2.x86_64 xorg-x11-drv-nvidia-libs-280.13-1.fc15.x86_64
mesa-libGL-7.11-1.fc15.x86_64 mesa-libGLU-7.11-1.fc15.x86_64 mesa-libGLU-7.11-1.fc15.i686 mesa-dri-filesystem-7.11-1.fc15.x86_64 mesa-dri-drivers-7.11-1.fc15.x86_64 mesa-libGL-7.11-1.fc15.i686
libx11globalcomm.so.1 (libc6,x86-64) => /usr/lib64/libx11globalcomm.so.1 libxcb-glx.so.0 (libc6,x86-64) => /usr/lib64/libxcb-glx.so.0 libxcb-glx.so.0 (libc6) => /usr/lib/libxcb-glx.so.0 libxcb-glx.so (libc6,x86-64) => /usr/lib64/libxcb-glx.so libwx_gtk2u_ogl-2.8.so.0 (libc6,x86-64) => /usr/lib64/libwx_gtk2u_ogl-2.8.so.0 libva-glx.so.1 (libc6,x86-64) => /usr/lib64/libva-glx.so.1 libva-egl.so.1 (libc6,x86-64) => /usr/lib64/libva-egl.so.1 libupower-glib.so.1 (libc6,x86-64) => /usr/lib64/libupower-glib.so.1 libtelepathy-glib.so.0 (libc6,x86-64) => /usr/lib64/libtelepathy-glib.so.0 libsmokeqtopengl.so.3 (libc6,x86-64) => /usr/lib64/libsmokeqtopengl.so.3 libpyglib-2.0-python.so.0 (libc6,x86-64) => /usr/lib64/libpyglib-2.0-python.so.0 libpyglib-2.0-python.so (libc6,x86-64) => /usr/lib64/libpyglib-2.0-python.so libpulse-mainloop-glib.so.0 (libc6,x86-64) => /usr/lib64/libpulse-mainloop-glib.so.0 libpoppler-glib.so.6 (libc6,x86-64) => /usr/lib64/libpoppler-glib.so.6 libpangosharpglue-2.so (libc6,x86-64) => /usr/lib64/libpangosharpglue-2.so libpackagekit-glib2.so.14 (libc6,x86-64) => /usr/lib64/libpackagekit-glib2.so.14 libnvidia-glcore.so.280.13 (libc6,x86-64) => /usr/lib64/nvidia/libnvidia-glcore.so.280.13 libnvidia-glcore.so (libc6,x86-64) => /usr/lib64/nvidia/libnvidia-glcore.so libnm-glib.so.4 (libc6,x86-64) => /usr/lib64/libnm-glib.so.4 libnm-glib-vpn.so.1 (libc6,x86-64) => /usr/lib64/libnm-glib-vpn.so.1 libkmahjongglib.so.4 (libc6,x86-64) => /usr/lib64/libkmahjongglib.so.4 libkdeinit4_kglobalaccel.so (libc6,x86-64) => /usr/lib64/libkdeinit4_kglobalaccel.so libjson-glib-1.0.so.0 (libc6,x86-64) => /usr/lib64/libjson-glib-1.0.so.0 libgtksharpglue-2.so (libc6,x86-64) => /usr/lib64/libgtksharpglue-2.so libgtkglext-x11-1.0.so.0 (libc6,x86-64) => /usr/lib64/libgtkglext-x11-1.0.so.0 libgssglue.so.1 (libc6,x86-64) => /lib64/libgssglue.so.1 libgnomesharpglue-2.so (libc6,x86-64) => /usr/lib64/libgnomesharpglue-2.so libgnome-keyring-sharp-glue.so (libc6,x86-64) => /usr/lib64/libgnome-keyring-sharp-glue.so libglut.so.3 (libc6,x86-64) => /usr/lib64/libglut.so.3 libglobalmenu-server.so.3 (libc6,x86-64) => /usr/lib64/libglobalmenu-server.so.3 libglitz.so.1 (libc6,x86-64) => /usr/lib64/libglitz.so.1 libglibsharpglue-2.so (libc6,x86-64) => /usr/lib64/libglibsharpglue-2.so libglibmm_generate_extra_defs-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglibmm_generate_extra_defs-2.4.so.1 libglibmm-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglibmm-2.4.so.1 libglib-2.0.so.0 (libc6,x86-64) => /lib64/libglib-2.0.so.0 libglib-2.0.so.0 (libc6) => /lib/libglib-2.0.so.0 libglib-1.2.so.0 (libc6,x86-64) => /usr/lib64/libglib-1.2.so.0 libgle.so.3 (libc6,x86-64) => /usr/lib64/libgle.so.3 libgldi.so.2 (libc6,x86-64) => /usr/lib64/libgldi.so.2 libgladesharpglue-2.so (libc6,x86-64) => /usr/lib64/libgladesharpglue-2.so libglademm-2.4.so.1 (libc6,x86-64) => /usr/lib64/libglademm-2.4.so.1 libglade-2.0.so.0 (libc6,x86-64) => /usr/lib64/libglade-2.0.so.0 libgegl-0.1.so.0 (libc6,x86-64) => /usr/lib64/libgegl-0.1.so.0 libgdksharpglue-2.so (libc6,x86-64) => /usr/lib64/libgdksharpglue-2.so libgdkglext-x11-1.0.so.0 (libc6,x86-64) => /usr/lib64/libgdkglext-x11-1.0.so.0 libflite_usenglish.so.1 (libc6,x86-64) => /usr/lib64/libflite_usenglish.so.1 libdbus-glib-1.so.2 (libc6,x86-64) => /usr/lib64/libdbus-glib-1.so.2 libbeagle.so.1 (libc6,x86-64) => /usr/lib64/libbeagle.so.1 libavahi-glib.so.1 (libc6,x86-64) => /usr/lib64/libavahi-glib.so.1 libatksharpglue-2.so (libc6,x86-64) => /usr/lib64/libatksharpglue-2.so libQtOpenGL.so.4 (libc6,x86-64) => /usr/lib64/libQtOpenGL.so.4 libQtOpenGL.so.4 (libc6) => /usr/lib/libQtOpenGL.so.4 libGLU.so.1 (libc6,x86-64) => /usr/lib64/libGLU.so.1 libGLU.so.1 (libc6) => /usr/lib/libGLU.so.1 libGLEW.so.1.5 (libc6,x86-64) => /usr/lib64/libGLEW.so.1.5 libGLC.so.0 (libc6,x86-64) => /usr/lib64/libGLC.so.0 libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1 libGL.so.1 (libc6,x86-64) => /usr/lib64/nvidia/libGL.so.1 libGL.so.1 (libc6) => /usr/lib/libGL.so.1 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
On Wed, Sep 28, 2011 at 2:24 PM, Leonardo sombriks@gmail.com wrote:
for the moment you can add manually the desired entry in /etc/ld.so.conf directly or create the file as seen in the catalyst driver.
[sombriks@gau boot]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf [sombriks@gau boot]$
[sombriks@gau boot]$ cat /etc/ld.so.conf.d/catalyst.conf /usr/lib/catalyst /usr/lib64/catalyst [sombriks@gau boot]$
It's probably already there... I run the binary drivers as well and I get the following:
# cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
Richard
Richard, your binary driver is from rpmfusion too? if not maybe this difference means a punctual problem in rpm provided by the repo.
2011/9/28 Richard Shaw hobbes1069@gmail.com:
On Wed, Sep 28, 2011 at 2:24 PM, Leonardo sombriks@gmail.com wrote:
for the moment you can add manually the desired entry in /etc/ld.so.conf directly or create the file as seen in the catalyst driver.
[sombriks@gau boot]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf [sombriks@gau boot]$
[sombriks@gau boot]$ cat /etc/ld.so.conf.d/catalyst.conf /usr/lib/catalyst /usr/lib64/catalyst [sombriks@gau boot]$
It's probably already there... I run the binary drivers as well and I get the following:
# cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
Richard
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
On Wed, Sep 28, 2011 at 2:49 PM, Leonardo sombriks@gmail.com wrote:
Richard, your binary driver is from rpmfusion too? if not maybe this difference means a punctual problem in rpm provided by the repo.
Yes, I use the nvidia package from RPM Fusion.
The nvidia-lib{,64}.conf files are provided by:
xorg-x11-drv-nvidia-libs
# rpm -ql xorg-x11-drv-nvidia-libs | grep conf /etc/ld.so.conf.d/nvidia-lib64.conf /etc/ld.so.conf.d/nvidia-lib.conf
You see two results because I have both the 64bit and 32bit libraries installed since I have some apps installed that are 32bit only.
Thanks, Richard
On Wed, Sep 28, 2011 at 12:25:05PM -0700, Joe Zeff wrote:
On 09/28/2011 12:17 PM, John Schmitt wrote:
I've uninstalled and reinstalled the nvidia drivers, mesa and all their dependencies a few times which did not change this.
If removing and reinstalling them once didn't help, why did you think doing it again would be any different?
Good question.
I didn't want to belabour the point and report all the crap I was trying. Specifically:
- re-installing just the nvidia driver - then re-installing mesa and all its dependencies
and in between removing /etc/ld.so.cache and re-running ldconfig.
and on and on.
Can you think of anything else I could try?
John
On Wed, Sep 28, 2011 at 4:03 PM, John Schmitt cromworshipper-fedorastuff@yahoo.com wrote:
Can you think of anything else I could try?
Did you verify that /etc/ld.so.conf.d/nvidia-lib64.conf exists and the contents are correct?
Richard
On Wed, Sep 28, 2011 at 02:33:39PM -0500, Richard Shaw wrote:
On Wed, Sep 28, 2011 at 2:24 PM, Leonardo sombriks@gmail.com wrote:
for the moment you can add manually the desired entry in /etc/ld.so.conf directly or create the file as seen in the catalyst driver.
[sombriks@gau boot]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf [sombriks@gau boot]$
[sombriks@gau boot]$ cat /etc/ld.so.conf.d/catalyst.conf /usr/lib/catalyst /usr/lib64/catalyst [sombriks@gau boot]$
It's probably already there... I run the binary drivers as well and I get the following:
# cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
Thank you Richard and Leonardo. I was just going to report the same thing. So, yes,
$ cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
The advice I'm getting from some people is to go with the atrpms drivers. Anyone care to comment? Do they work any better?
John
On Wed, Sep 28, 2011 at 4:20 PM, John Schmitt cromworshipper-fedorastuff@yahoo.com wrote:
Thank you Richard and Leonardo. I was just going to report the same thing. So, yes,
$ cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
Not sure what's going on then. I'll have to try glxgears when I get home.
The advice I'm getting from some people is to go with the atrpms drivers. Anyone care to comment? Do they work any better?
As the drivers are binary from nvidia, they should be more or less identical (once installed). The packaging is a little different but I don't know why one would work over the other in your case.
Could be worth a try though.
Richard
On Wed, Sep 28, 2011 at 4:20 PM, John Schmitt cromworshipper-fedorastuff@yahoo.com wrote:
Thank you Richard and Leonardo. I was just going to report the same thing. So, yes,
$ cat /etc/ld.so.conf.d/nvidia-lib64.conf /usr/lib64/nvidia
I just tried it and glxgears runs fine for me. 8000+ FPS.
I'm not sure where to look next...
Richard
On Wed, Sep 28, 2011 at 02:10:06PM -0700, Joe Zeff wrote:
On 09/28/2011 02:03 PM, John Schmitt wrote:
Can you think of anything else I could try?
If everything else works OK the problem is probably with glxgears. Open a bug report and see what happens.
As I said initially, all my OpenGL apps behave this way. I doubt that glxgears has changed much recently.
John