[Mesa-dev] [PATCH v3] mesa: Optionally build a dricore support library (v3)

Christopher James Halse Rogers christopher.halse.rogers at canonical.com
Sun Feb 13 19:15:05 PST 2011


On Sat, 2011-02-12 at 15:19 +0100, Sedat Dilek wrote:
> Hi,
> 
> here on radeon RV250 I can only use swrast DRI driver.
> 
> [ Xorg.log ]
> ...
> [  3354.432] (EE) AIGLX error: Calling driver entry point failed
> [  3354.432] (EE) AIGLX: reverting to software rendering
> ...
> 
> My autogen-line looks like this:
> 
> ./autogen.sh --prefix=/usr --with-driver=dri
> --with-dri-driverdir=/usr/lib/dri --with-dri-drivers=r200
> --disable-gallium --disable-egl --disable-glu --disable-glut
> --disable-glw --enable-shared-dricore --enable-glx-tls --enable-debug
> 
> I have attached my Xorg.log and mesa build-log.
> 
> I have built ddx and mesa from git against same libdrm, not sure if
> there is some correlations with mesa-pkgs from experimental.
> 
> Any ideas why I can't use classic-mesa DRI driver with
> --enable-shared-dricore (normal built mesa works fine, w/o the new
> confgure option)?

That build log looks fine to me.  Could you also give the output of
ldd /usr/lib/dri/r200_dri.so (and ldd /usr/lib/dri/swrast_dri.so as a
control)?

> 
> Regards,
> - Sedat -
> 
> P.S.:
> 
> # LC_ALL=C ls -alt /usr/lib/libGL* /usr/lib/dri/
> lrwxrwxrwx 1 sd   sd        10 Feb 12 14:53 /usr/lib/libGL.so -> libGL.so.1
> lrwxrwxrwx 1 sd   sd        12 Feb 12 14:53 /usr/lib/libGL.so.1 -> libGL.so.1.2
> -rwxr-xr-x 1 sd   sd   2243051 Feb 12 14:53 /usr/lib/libGL.so.1.2
> lrwxrwxrwx 1 root root      11 Feb 12 12:14 /usr/lib/libGLU.so -> libGLU.so.1
> lrwxrwxrwx 1 root root      20 Feb 12 12:14 /usr/lib/libGLU.so.1 ->
> libGLU.so.1.3.071000
> lrwxrwxrwx 1 root root      16 Feb 10 07:43 /usr/lib/libGLEW.so.1.5 ->
> libGLEW.so.1.5.8
> -rw-r--r-- 1 root root  347376 Feb  9 08:57 /usr/lib/libGLEW.so.1.5.8
> -rw-r--r-- 1 root root  716106 Feb  8 18:31 /usr/lib/libGLU.a
> -rw-r--r-- 1 root root  454672 Feb  8 18:31 /usr/lib/libGLU.so.1.3.071000
> 
> /usr/lib/dri/:
> total 59180
> drwxr-xr-x 147 root root    81920 Feb 12 14:58 ..
> -rwxr-xr-x   1 root root  3006212 Feb 12 14:55 r200_dri.so
> drwxr-xr-x   2 root root     4096 Feb 12 14:55 .
> -rwxr-xr-x   1 root root 11497967 Feb 12 14:55 libdricore.so
> -rwxr-xr-x   1 root root  3151116 Feb 12 14:55 libglsl.so
> -rw-r--r--   1 root root    13296 Feb  8 19:58 dummy_drv_video.so
> -rw-r--r--   1 root root  2969132 Feb  8 18:31 r128_dri.so
> -rw-r--r--   1 root root  2977516 Feb  8 18:31 i810_dri.so
> -rw-r--r--   1 root root  3131564 Feb  8 18:31 i915_dri.so
> -rw-r--r--   1 root root  3034832 Feb  8 18:31 mach64_dri.so
> -rw-r--r--   1 root root  3071852 Feb  8 18:31 mga_dri.so
> -rw-r--r--   1 root root  3239560 Feb  8 18:31 r300_dri.so
> -rw-r--r--   1 root root  3333228 Feb  8 18:31 i965_dri.so
> -rw-r--r--   1 root root  3143964 Feb  8 18:31 r600_dri.so
> -rw-r--r--   1 root root  3099600 Feb  8 18:31 radeon_dri.so
> -rw-r--r--   1 root root  3011696 Feb  8 18:31 savage_dri.so
> -rw-r--r--   1 root root  3037932 Feb  8 18:31 sis_dri.so
> -rw-r--r--   1 root root  3019500 Feb  8 18:31 tdfx_dri.so
> -rw-r--r--   1 root root  2963316 Feb  8 18:31 unichrome_dri.so
> -rw-r--r--   1 root root  2780016 Feb  8 18:31 swrast_dri.so

This directory listing doesn't appear to be the result of your configure
options?  You should have fewer *_dri.so if you just passed
--with-dri-drivers=r200.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110214/d2e1e4b0/attachment-0001.pgp>


More information about the mesa-dev mailing list