[Bug 1182677] Re: Alternative OpenGL lib's not updated when using closed drivers

nukedathlonman 1182677 at bugs.launchpad.net
Wed May 22 06:23:56 UTC 2013


Okay, I added a whole pile of debugging statments into it, and kept
running it as root - it is picking up the parameter configure, but the
files aren't updating.  So next I tried executing a direct command from
the postinst file, to explicitly update the i386 file (as root): update-
alternatives --force --install /etc/ld.so.conf.d/i386-linux-gnu_GL.conf
i386-linux-gnu_gl_conf /usr/lib/nvidia-313-updates/alt_ld.so.conf 9702

The result was /etc/ld.so.conf.d/i386-linux-gnu_GL.conf updated.  So,
now I'm scratching my head - why does it work from a command line but it
will not work from inside the script (it was a cut and paste with one
minor change (so it would execute as root).  Well, I'm confused enough
and think it's time I hit the sack.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1182677

Title:
  Alternative OpenGL lib's not updated when using closed drivers

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  I have two computers, both are now running run Kubuntu 13.04 x86-64
  editions (the desktop also has Ubuntu Studio 13.04 x86-64), both use
  closed source drivers (laptop has nVidia 9600M GS adapter, desktop has
  AMD Radeon HD 6770).  Before upgrading, both system's and three
  *buntu's ran fine with all OpenGL lib's being pointed to correctly.
  After upgrading, the video library paths got cleared leaving me with
  virtually all my wine games seg faulting as well as native Linux games
  and programs (Skype 4.1, Doom 3, Quake Arena, etc).  The problem
  really highlights it's self if the software wants to use OpenGL
  drivers.

  I found a temperary fix by adding the video paths to these files:

  /etc/ld.so.conf.d/i386-linux-gnu_GL.conf :

  /usr/lib32/fglrx (On the desktop)
  /usr/lib32/nvidia-313-updates (On the laptop)

  /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf :

  /usr/lib/fglrx #(On the desktop)
  /usr/lib/nvidia-313-updates (On the laptop)

  I tried updating the alternatives before I edited these files, and I
  just got a message back on the terminal saying there were no
  alternative's to configure.

  This workaround works, but will need to be changed if these paths
  change at any time.  Now this shouldn't pose a problem for FireGL
  Catalyst drivers, but it will pose problems for the nVidia drivers
  since the driver series and type (ie 313 series Updates driver) is
  noted in the directory.

  After these two simple mod's, all my OpenGL programs (both native
  64-bit and 32-bit Linux apps, and Wine programs) worked flawlessly.

  This does not effect the open source nVidia and AMD drivers, the issue
  only shows up when using the closed nVidia and AMD binary blob's on
  *buntu 13.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1182677/+subscriptions




More information about the foundations-bugs mailing list