[xorg-bugzilla-noise] [Bug 1093] New: libGL cant find drivers if
ProjectRoot is not /usr/X11R6
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 16 06:55:10 PDT 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1093
Summary: libGL cant find drivers if ProjectRoot is not /usr/X11R6
Product: xorg
Version: CVS_head
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Lib/GLX
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: marko at l-t.ee
reason seems to be that DEFAULT_DRIVER_DIR is not defined anywhere.
================================================================
xc/lib/GL/glx/dri_glx.c:
/* this is normally defined in the Imakefile */
#define DEFAULT_DRIVER_DIR "/usr/X11R6/lib/modules/dri"
================================================================
$ grep -rl DEFAULT_DRIVER_DIR xc
xc/lib/GL/glx/dri_glx.c
================================================================
$ strace -eopen glxinfo
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/opt/XOrg/lib/libGLU.so.1", O_RDONLY) = 3
open("/opt/XOrg/lib/libGL.so.1", O_RDONLY) = 3
open("/opt/XOrg/lib/libXext.so.6", O_RDONLY) = 3
open("/opt/XOrg/lib/libX11.so.6", O_RDONLY) = 3
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/lib/tls/libm.so.6", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
open("/opt/XOrg/lib/libXxf86vm.so.1", O_RDONLY) = 3
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
open("/home/marko/.Xauthority", O_RDONLY) = 4
name of display: :0.0
open("/usr/X11R6/lib/modules/dri/r200_dri.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
display: :0 screen: 0
direct rendering: No
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list