[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Output of ldconfig -p | grep GL libQtOpenGL.so.4 (libc6) = /usr/lib/libQtOpenGL.so.4 libGLU.so.1 (libc6) = /usr/lib/libGLU.so.1 libGLEW.so.1.5 (libc6) = /usr/lib/libGLEW.so.1.5 libGL.so.1 (libc6, OS ABI: Linux 2.4.20) = /usr/lib/libGL.so.1 libGL.so.1 (libc6) = /usr/lib/fglrx/libGL.so.1 libGL.so (libc6) = /usr/lib/fglrx/libGL.so Restarting now -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
glxinfo | grep rendering Error: couldn't find RGB GLX visual or fbconfig -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Got it! When I ran sudo update-alternatives --config gl_conf I was presented with fglrx auto or fglrx manual (or without fglrx at all). Choosing auto did not work. Manual worked fine Thanks for the support -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
On 21 April 2010 09:21, Michael mstre...@gmail.com wrote: Got it! When I ran sudo update-alternatives --config gl_conf I was presented with fglrx auto or fglrx manual (or without fglrx at all). Choosing auto did not work. Manual worked fine Thanks for the support -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a bug assignee. Good to know. By the way, some old (mesa?) package must have left /usr/lib/libGL.so.1 as in recent version of mesa in Lucid there's no abi note tag ( i.e. OS ABI: Linux 2.4.20) -- Alberto Milone Sustaining Engineer (system) Foundations Team Canonical OEM Services -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Solved number 16 by doing this sudo rm /usr/lib/libGL.so.1 sudo ln -s /usr/lib/fglrx/libGL.so.1.2 /usr/lib/libGL.so.1 http://ubuntu-virginia.ubuntuforums.org/showpost.php?p=9015235postcount=103 -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
@Michael /usr/lib/libGL.so.1 is not supposed to exist in Ubuntu Lucid (as the new alternatives system works in a different way). Having one will definitely cause problems. Note: you should not create a new link as, if you installed the fglrx driver with Jockey, ldconfig will know where to find fglrx's libGL libraries. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
@Alberto Milone Well it sounds to me like there is a problem with the upgrade path. Mine is not a clean install, I updated from Karmic, where I was using drivers from the ATI website. I completely uninstalled them and installed the drivers through jockey and this was the result I got. If I remove the symlink I get glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory. So it seems ldconfig does not in fact know where to find the library. How can I fix this? I don't really feel like reinstalling the drivers but maybe this is the best way to go? -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
On 20 April 2010 11:18, Michael mstre...@gmail.com wrote: @Alberto Milone Well it sounds to me like there is a problem with the upgrade path. Mine is not a clean install, I updated from Karmic, where I was using drivers from the ATI website. I completely uninstalled them and installed the drivers through jockey and this was the result I got. If I remove the symlink I get glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory. So it seems ldconfig does not in fact know where to find the library. How can I fix this? I don't really feel like reinstalling the drivers but maybe this is the best way to go? -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a bug assignee. Try the following commands: sudo update-alternatives --config gl_conf (and select the alternative provided by fglrx) sudo ldconfig sudo update-initramfs -u Then attach the output of the following commands: update-alternatives --display gl_conf ldconfig -p | grep GL If all goes well, a system restart will be required. -- Alberto Milone Sustaining Engineer (system) Foundations Team Canonical OEM Services -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
I have tried both changing the path in 10fglrx and removing that file but both results in the following output from glxinfo | grep rendering Error: couldn't find RGB GLX visual or fbconfig Any suggestions? I am on fglrx 2:8.723.1-0ubuntu2 and xorg-xserver-core 2:1.7.6-2ubuntu5 -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
This bug was fixed in the package fglrx-installer - 2:8.721-0ubuntu8 --- fglrx-installer (2:8.721-0ubuntu8) lucid; urgency=low * debian/rules, fglrx.dirs, fglrx.postinst: - Install the blacklist file in /lib/fglrx instead of /usr/lib/fglrx so that the file is available early in the boot process when /usr is on a different partition (LP: #538071). - Ignore errors when trying to update the initramfs with -k $CURRENT_KERNEL which is known to fail when using chroots (LP: #556653). - Make 10fglrx a slave link so that it's removed from /etc/X11/Xsession.d when we switch to a different alternative (LP: #552903). * debian/fglrx.preinst: - Make sure that any 10fglrx file in /etc/X11/Xsession.d which is not a symbolic link is removed. - Remove diversions previously added by xorg-driver-fglrx not by fglrx (LP: #552782). Thanks to Steve Langasek for spotting the problem. -- Alberto Milone alberto.mil...@canonical.com Thu, 08 Apr 2010 18:37:48 +0200 ** Changed in: fglrx-installer (Ubuntu) Status: Triaged = Fix Released -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
What are the correct values? I also have this problem. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
I removed (moved to somewhere else) the file and now I do have direct rendering. However: $ export LIBGL_DEBUG=verbose $ glxinfo | grep -i direct libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/icorne/.drirc: No such file or directory. direct rendering: Yes I don't know what that is tho. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Depends if you're using 32 bits programs (requiring a package of 32libs) or not. For me it is (for you it might not have the lib32 directory): pa...@aivas:~$ echo $LIBGL_DRIVERS_PATH /usr/lib/dri:/usr/lib32/dri I have no idea about the other problems or how you can have rendering without this variable (i hadn't). -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Opss that was a response to a private email. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Depends if you're using 32 bits programs (requiring a package of 32libs) or not. For me it is (for you it might not be if you don't have that directory): pa...@aivas:~$ echo $LIBGL_DRIVERS_PATH /usr/lib/dri:/usr/lib32/dri -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
This is an issue in the packaging of the fglrx driver. It's not Jockey that causes this (at least directly). -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
** Package changed: jockey (Ubuntu) = fglrx-installer (Ubuntu) ** Changed in: fglrx-installer (Ubuntu) Importance: Undecided = High ** Changed in: fglrx-installer (Ubuntu) Status: New = Triaged ** Changed in: fglrx-installer (Ubuntu) Assignee: (unassigned) = Alberto Milone (albertomilone) -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Started happening again after a update when i tried (stupidly) to enable and disable the fglrx drivers (but it didn't crash jockey now). Regardless, the value of pa...@aivas:~$ echo $LIBGL_DRIVERS_PATH /usr/lib/fglrx/dri Is persistent even if the fglrx and fglrx-modaliases are uninstalled, or even if i export the correct value. On the next reboot something sets it again. What is this something, have you any idea? -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Ok found the problem. Removing fglrx or deactivating it doesn't remove the file /etc/X11/Xsession.d/10fglrx That is run sometime after the /etc/environment (since i tried to put the correct values there, but was replaced by this) That contains this code: LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri if [ `uname -m` = 'x86_64' ]; then if [ -d /usr/lib32/fglrx/dri ]; then LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri if [ ! -z $LD_LIBRARY_PATH ]; then LD_LIBRARY_PATH=$LD_LIBRARY_PATH: fi LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32 export LD_LIBRARY_PATH fi fi export LIBGL_DRIVERS_PATH -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Confirmed. Removing the fglrx dir from those paths sets the correct variable , and glxinfo reports that direct rendering: Yes. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Removing the file disables the acceleration again, since LIBGL_DRIVERS_PATH is now empty. I'm going to set in my environment instead. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
I reinstalled and it didn't crash now. However i have no xorg.conf. It seems to be auto generated. I've now disabled the firegl drivers, updated and it seems that the opensource drivers enabled the R700 path? Regardless i have 3d acceleration without the ati driver. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
jockey crashed doesn't really help me understand what went wrong. My guess is that your xorg.conf wasn't set to fglrx, therefore you kept using the open driver with the GL libraries from the proprietary driver. In order to reproduce the problem in Jockey, please remove the fglrx package and try Jockey again, then (if Jockey fails) attach your /var/log/jockey.log -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
glxinfo reported problems libGL: OpenDriver: trying /usr/lib/fglrx/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib/fglrx/dri/r600_dri.so libGL error: dlopen /usr/lib/fglrx/dri/r600_dri.so failed (/usr/lib/fglrx/dri/r600_dri.so: cannot open shared object file: No such file or directory) libGL: OpenDriver: trying /usr/lib32/fglrx/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib32/fglrx/dri/r600_dri.so libGL error: dlopen /usr/lib32/fglrx/dri/r600_dri.so failed (/usr/lib32/fglrx/dri/r600_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL: OpenDriver: trying /usr/lib/fglrx/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/fglrx/dri/swrast_dri.so libGL error: dlopen /usr/lib/fglrx/dri/swrast_dri.so failed (/usr/lib/fglrx/dri/swrast_dri.so: cannot open shared object file: No such file or directory) libGL: OpenDriver: trying /usr/lib32/fglrx/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib32/fglrx/dri/swrast_dri.so libGL error: dlopen /usr/lib32/fglrx/dri/swrast_dri.so failed (/usr/lib32/fglrx/dri/swrast_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: swrast_dri.so libGL error: reverting to indirect rendering -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 552903] Re: LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer
Solved by sudo find . -name *fglrx* and removing every single file given. Gah. Binary drivers suck. -- LIBGL_DRIVERS_PATH wrong after deactivating and restarting computer https://bugs.launchpad.net/bugs/552903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs