OpenGL broken - help (bug report and question about reporting new bug)

Asked by nukedathlonman

I'm having a really strange issue since upgrading my notebook (Intel based Dell Vostro & nVidia 9600M GS video), and desktop (home brew AMD based system with AMD Radeon 6770). All my Wine games and several native applications such as Skype & Doom 3, I have to add LD_LIBRARY_PATH=/usr/lib32/fglrx/ (for 32-bit apps on my desktop), LD_LIBRARY_PATH=/usr/lib/fglrx/ (for 64 bit apps on my desktop), LD_LIBRARY_PATH=/usr/lib32/nvidia-313-updates (for 32 bit apps on my notebook) or LD_LIBRARY_PATH=/usr/lib/nvidia-313-updates/ (for 64- bit apps on my notebook) to the command line for all programs that needss to use OpenGL or DRI.

It looks like an environment parameter was changed in the new release. I have no idea how to go about fixing it aside form manually adding those lines to each application not working in the command line of the menu. I do know this does not effect the Open Source drivers (neuvoux or Gallium3D). I'm having these issues only in Raring in both Kubuntu and Ubuntu Studio. I know there are dozens of reports of this problem with Skype all over the net for all *buntu variants, and adding the above make it work (most people dismiss as bug in nVidia driver or AMD driver and posts say to add LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1, which really isn't right if your not using the mesa drivers - although it does work if your running nVidia and/or AMD closed blob's).

This also only addresses Skype as an immediate problem, not other programs requiring the use of the OpenGL libraries - hence why I was trying to report this bug.

I've tried to report the bug in lunchpad, but hitting the report bug just takes me to the wiki. I'm not able to find a way report this as a new bug - woulnd't mind finding out how to do that either.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
nukedathlonman
Solved:
Last query:
Last reply:
Revision history for this message
nukedathlonman (areginato) said :
#1

Found a fix!!! And what *buntu is failing to do!

This fixes Skype!!!!!!

In the direcotry /etc/ld.so.conf.d are two symlinked files:

i386-linux-gnu_GL.conf
x86_64-linux-gnu_GL.conf

The fix: open i386-linux-gnu_GL.conf with your favorite editor as root.

Ensure that the path for the 32-bit GL libraries are in there, and if it's not, add it:

So for AMD Catalyst drivers: /usr/lib32/fglrx
So for nVidia (313 series drivers at least): /usr/lib32/nvidia-313-updates

Save the file and then open x86_64-linux-gnu_GL.conf with your favorite editor (as root naturally).

Ensure that the path for the 64-bit GL libraries are in there, and if it's not, add it:

So for AMD Catalyst drivers: /usr/lib/fglrx
So for nVidia (313 series drivers at least): /usr/lib/nvidia-313-updates

Save the file, and then run ldconfig as root. All that done, the bug is temperarily resolved as something needs to be fixed to ensure this will update properly everytime something gets changed (I know nVidia users may have to perform this each and every single time their drivers is updated as it is, AMD video card users I don't see future updates being an issue unless the directory changes).