When I start glxgears(1) (on macppc) I see:

  glxgears:/usr/X11R6/lib/modules/dri/r300_dri.so: undefined symbol 
'drisw_create_screen'
  libGL error: unable to load driver: r300_dri.so
  libGL error: driver pointer missing
  libGL error: failed to load driver: r300


I don't have a Radeon card on !macppc machine but on my amd64 I also
see:

  $ nm /usr/X11R6/lib/modules/dri/r300_dri.so |grep drisw_create_screen
         U drisw_create_screen

Sin the r300 and the r600 dri DSO are the same, I wonder if anybody is
able to load them?

  $ ls -li r[36]00_dri.so
  26355 -rw-r--r--  2 root  wheel  18913848 Dec 12 06:14 r300_dri.so
  26355 -rw-r--r--  2 root  wheel  18913848 Dec 12 06:14 r600_dri.so

Diff below works for me.  It clearly seems to be a workaround.

Index: Makefile.bsd-wrapper
===================================================================
RCS file: /cvs/xenocara/lib/mesa/Makefile.bsd-wrapper,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.bsd-wrapper
--- Makefile.bsd-wrapper        26 Nov 2015 19:05:49 -0000      1.2
+++ Makefile.bsd-wrapper        19 Dec 2015 11:58:14 -0000
@@ -9,13 +9,13 @@ DRI_DRIVERS=          swrast
 GALLIUM_DRIVERS=
 
 .if ${MACHINE} == i386 || ${MACHINE} == amd64
-DRI_DRIVERS=swrast,radeon,r200,i915,i965
-GALLIUM_DRIVERS=r300,r600
+DRI_DRIVERS=radeon,r200,i915,i965
+GALLIUM_DRIVERS=swrast,r300,r600
 .endif
 
 .if ${MACHINE} == macppc || ${MACHINE} == sparc64
-DRI_DRIVERS=swrast,radeon,r200
-GALLIUM_DRIVERS=r300,r600
+DRI_DRIVERS=radeon,r200
+GALLIUM_DRIVERS=swrast,r300,r600
 .endif
 
 CONFIGURE_ARGS=                --with-dri-drivers=${DRI_DRIVERS} \

Reply via email to