Mesa in ia32-libs has the same problem.

~/bin32/gears is /usr/lib/xscreensaver/gears from xscreensaver on an
ia32 Debian Etch system, IIRC.  Any 32bit openGL program, even
medibuntu's googleearth package, is affected.

$ LIBGL_DEBUG=verbose MESA_DEBUG=1 ~/bin32/gears 
libGL: XF86DRIGetClientDriverName: 1.9.0 i965 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so
libGL error: dlopen /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: 
wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: i965_dri.so
(runs with software rendering)

Fortunately, mesa has an env var for the driver path:

$ LIBGL_DEBUG=verbose MESA_DEBUG=1 LIBGL_DRIVERS_PATH=/usr/lib32/dri 
~/bin32/gears 
libGL: XF86DRIGetClientDriverName: 1.9.0 i965 (screen 0)
libGL: OpenDriver: trying /usr/lib32/dri/i965_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
(runs with hardware rendering)

-- 
ia32 apps look for libs on the wrong place
https://bugs.launchpad.net/bugs/190227
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to