Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113100

Summary: modular Xorg & ATI Drivers: fgl_glxgears failes with BadMatch
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: [OLD] UnspecifiedAssignee: X11 External Driver Maintainers <x11-drivers>
Status: VERIFIED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112004    

Description Tiziano Müller (RETIRED) gentoo-dev 2005-11-20 10:06:24 UTC
Used versions: xorg-x11 7.0.0_rc2, ati-drivers 8.19.10 on gentoo 2005.1 ~x86

fgl_glxgears failed with a rather unspecific BadMatch.
With 'export LIBGL_DEBUG=verbose' I get the following for fgl_glxears:

Using GLX_SGIX_pbuffer
libGL: XF86DRIGetClientDriverName: 8.19.10 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed
(/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No
such file or directory)
libGL error: unable to find driver: fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.19.10 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed
(/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No
such file or directory)
libGL error: unable to find driver: fglrx_dri.so
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  33
  Current serial number in output stream:  33


I made a symlink from /usr/lib/xorg/modules/dri to the requested location and it
worked.
Questions: Is there another way except symlinking? Are there other apps which do
the same or is it just the "beloved" ati apps?
Setting the modules location in xorg.conf didn't help btw.

Reproducible: Always
Steps to Reproduce:
Comment 1 Luca Barbato gentoo-dev 2005-11-20 13:24:28 UTC
the latest driver should have support for it using LIBGL_DRIVERS_PATH

please check /etc/env.d/09ati
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2005-11-20 16:18:11 UTC
Yes, it works when I set 'LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri' . 
 
Thanks 
 
 
Comment 3 Luca Barbato gentoo-dev 2005-11-21 14:32:37 UTC
should be fixed, please reemerge and check if the path are sorted correctly
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2005-11-23 13:13:46 UTC
yes, worked. 
Comment 5 Luca Barbato gentoo-dev 2005-11-24 22:32:30 UTC
Marked as closed then