LIBGL_DRIVERS_PATH is missing /usr/lib32/dri on amd64

Bug #605126 reported by Scott Ritchie
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

Several users running Wine are reporting that GL is not working for them on this driver and that they are instead getting software rendering (which Wine now helpfully warns about): https://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/506320

Wine needs the 32 bit version of the dri library to be useful, however it seems that this folder is not exported in the path.

See also a similar fglrx bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/250944 and the Wine bug that inspired this https://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/506320 (posts after 19)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xserver-xorg-video-ati 1:6.13.0-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jul 13 11:01:07 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MachineType: Hewlett-Packard HP Pavilion dv9500 Notebook PC
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=edf94f63-f8c8-48dc-9727-041291d615db ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xserver-xorg-video-ati
dmi.bios.date: 03/24/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.52
dmi.board.name: 30CB
dmi.board.vendor: Quanta
dmi.board.version: 79.29
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.52:bd03/24/2008:svnHewlett-Packard:pnHPPaviliondv9500NotebookPC:pvrRev1:rvnQuanta:rn30CB:rvr79.29:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv9500 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-24-generic

Revision history for this message
Scott Ritchie (scottritchie) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
jtuchscherer (jtuchscherer) wrote :

Is there a workaround for this?

Revision history for this message
jtuchscherer (jtuchscherer) wrote :

Just responding to myself here:

I found an acceptable workaround. I downloaded and installed the catalyst driver from ati's web site. The installer script for this driver puts the fglrx_dri.so into the /usr/lib32/dri/ as well as in the /usr/lib/dri. Now everything works again.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Marking medium -- this has a fairly straightforward fix I believe, so it should be doable by someone without too much effort.

Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Chris Halse Rogers (raof) wrote :

This should be fixed in Maverick and in 10.04 with mesa 7.7.1-1ubuntu1 package.

If this is still a problem, please re-open and we'll need to work out why.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Tim Kornhammar (tim-kornhammar) wrote :
Download full text (3.2 KiB)

It is not working for me..

I'm using xorg-edgers version of the driver, it is a later version but it shouldn't matter.

Ubuntu 10.10 on amd64.

xserver-xorg-video-ati
1:6.13.99+git20110110.0e432dff-0ubuntu0sarvatt~maverick

I've tried to find answers through Google and two of them where about the paths.
With LIBGL_DRIVERS_PATH set to /usr/lib/dri, /usr/lib32/dri

DRI path:
$ ls -al /usr/lib32/dri/
totalt 17596
drwxr-xr-x 2 root root 4096 2011-01-16 18:24 .
drwxr-xr-x 46 root root 118784 2011-01-12 16:14 ..
-rw-r--r-- 1 root root 13480 2010-10-01 01:59 dummy_drv_video.so
-rw-r--r-- 1 root root 247852 2011-01-06 17:00 i810_dri.so
-rw-r--r-- 1 root root 420392 2011-01-06 17:00 i915_dri.so
-rw-r--r-- 1 root root 625000 2011-01-06 17:00 i965_dri.so
-rw-r--r-- 1 root root 1967540 2011-01-06 17:00 libdricore.so
-rw-r--r-- 1 root root 970908 2011-01-06 17:00 libglsl.so
-rw-r--r-- 1 root root 342112 2011-01-06 17:00 mga_dri.so
-rw-r--r-- 1 root root 3482140 2011-01-06 17:00 nouveau_dri.so
-rw-r--r-- 1 root root 221608 2011-01-06 17:00 nouveau_vieux_dri.so
-rw-r--r-- 1 root root 239624 2011-01-06 17:00 r128_dri.so
-rw-r--r-- 1 root root 415656 2011-01-06 17:00 r200_dri.so
-rw-r--r-- 1 root root 454068 2011-01-06 17:00 r300c_dri.so
-rw-r--r-- 1 root root 3256960 2011-01-06 17:00 r300_dri.so
-rw-r--r-- 1 root root 482600 2011-01-06 17:00 r600_dri.so
-rw-r--r-- 1 root root 3155096 2011-01-06 17:00 r600g_dri.so
-rw-r--r-- 1 root root 380684 2011-01-06 17:00 radeon_dri.so
-rw-r--r-- 1 root root 285132 2011-01-06 17:00 savage_dri.so
-rw-r--r-- 1 root root 309320 2011-01-06 17:00 sis_dri.so
-rw-r--r-- 1 root root 42508 2011-01-06 17:00 swrast_dri.so
-rw-r--r-- 1 root root 297100 2011-01-06 17:00 tdfx_dri.so
-rw-r--r-- 1 root root 235600 2011-01-06 17:00 unichrome_dri.so

glxinfo
---
$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    ...
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    ...
GLX version: 1.4
GLX extensions:
    ...
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV530
OpenGL version string: 2.1 Mesa 7.11-devel
OpenGL shading language version string: 1.20

Wine trace
---
$ WINEDEBUG=+wgl wine .wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exe -opengl
trace:wgl:wglGetProcAddress func: 'wglGetIntegerv'
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 1.4 (2.1 Mesa 7.11-devel).
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Gallium 0.4 on ATI RV530.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: False
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely ...

Read more...

Revision history for this message
Scott Ritchie (scottritchie) wrote :

xorg-edgers and wine ppa have conflicting versions of ia32-libs, it absolutely does matter

I could add the missing library to the Wine PPA version of ia32-libs, though. It's on my list.

Revision history for this message
Tim Kornhammar (tim-kornhammar) wrote :

Oh, missed that I used their version of ia32-libs, sorry.

But which library is missing? That way it is no hurry, at least for me, to rebuild ia32-libs, and I could ask them to include it as well.

Revision history for this message
Tim Kornhammar (tim-kornhammar) wrote :

Just for information I added the package libxcb-glx to ia32-libs and put my own build up at:

https://launchpad.net/~freshwine/+archive/ppa

It works great and it is a solution until when Scott has the time to update the original package.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.