[Openchrome-users] dri not working

Joseph Shraibman openchrome
Mon Apr 17 21:53:33 PDT 2006


I while ago I got my via drivers working on my FC3 box by downloading xorg 
and kernel-drm rpms from http://washington.kelkoo.net/epia/.  My dri still 
wasn't working, so I downloaded mesa binary files from somewhere and it 
worked.  All was fine and dandy, but I didn't play any 3d games and never 
noticed when my dri broke.  Somewhere along the way I updated my rpms and 
overwrote the binary files.  I now have installed:

xorg-x11-Mesa-libGL-6.9-0.FC3.ucr.5
xorg-x11-Mesa-libGLU-6.9-0.FC3.ucr.5

I tried downloading Mesa 1.5 and compiling it with make linux-x86, but it 
still isn't working:

[jks at jks-desktop ~]$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.5
server glx extensions:
     GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
     GLX_MESA_release_buffers, GLX_ARB_get_proc_address, 
GLX_EXT_visual_info,
     GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
     GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.5
client glx extensions:
     GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
     GLX_MESA_release_buffers, GLX_ARB_get_proc_address, 
GLX_EXT_visual_info,
     GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
     GLX_SGIX_pbuffer
GLX extensions:
     GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
     GLX_MESA_release_buffers, GLX_ARB_get_proc_address, 
GLX_EXT_visual_info,
     GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
     GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.5 Mesa 6.5
<snip>


If I try "make linux-dri" I get:

[jks at jks-desktop ~/source/Mesa-6.5]$ make linux-dri
(cd configs && rm -f current && ln -s linux-dri current)
make default
make[1]: Entering directory `/home/jks/source/Mesa-6.5'
make[2]: Entering directory `/home/jks/source/Mesa-6.5/src'
Making sources for linux-dri
make[3]: Entering directory `/home/jks/source/Mesa-6.5/src/glx/x11'
gcc -c -I. -I../../../include -I../../../include/GL/internal 
-I../../../src/mesa/main -I../../../src/mesa/glapi 
-I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` 
-I/usr/X11R6/include -Wall -Wmissing-prototypes -g -fPIC  -D_POSIX_SOURCE 
-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE 
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER 
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS  -std=c99 -ffast-math  -DXF86VIDMODE 
-D_REENTRANT -UIN_DRI_DRIVER clientattrib.c -o clientattrib.o
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
In file included from glxclient.h:82,
                  from clientattrib.c:38:
../../../include/GL/internal/dri_interface.h:42:17: drm.h: No such file or 
directory
In file included from glxclient.h:82,
                  from clientattrib.c:38:
../../../include/GL/internal/dri_interface.h:188: error: syntax error 
before "drm_context_t"
../../../include/GL/internal/dri_interface.h:200: error: syntax error 
before "drm_drawable_t"
../../../include/GL/internal/dri_interface.h:215: error: syntax error 
before "drm_clip_rect_t"
make[3]: *** [clientattrib.o] Error 1
make[3]: Leaving directory `/home/jks/source/Mesa-6.5/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/jks/source/Mesa-6.5/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/jks/source/Mesa-6.5'
make: *** [linux-dri] Error 2

So what do I have to do here?



More information about the Openchrome-users mailing list