| Summary: |
libGL cant find drivers if ProjectRoot is not /usr/X11R6 |
| Product: |
DRI
|
Reporter: |
Marko Kreen <marko> |
| Component: |
libGL | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
CC: |
ajax
|
| Version: |
XOrg git | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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