No subject


Sun May 2 07:15:19 PDT 2010


I tried resolve this for months, but now I'm hopeless. Can you help me, please?


2)
I can't even replace swrast with swrastg:

I emerged mesa package with "gallium llvm" which resulted with this configure:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-option-checking --with-driver=dri --disable-glut --without-demos --disable-debug --disable-glw --disable-motif --enable-glx-tls --enable-xcb --disable-asm --with-dri-drivers=,swrast,radeon,r200,r300,r600 --enable-gallium --with-state-trackers=glx,dri,egl --enable-gallium-llvm --disable-gallium-svga --disable-gallium-nouveau --disable-gallium-intel --enable-gallium-radeon

And created /usr/lib64/dri/:
drwxr-xr-x  2 root root     4096  2. kvÄ› 14.48 .
drwxr-xr-x 99 root root   139264  2. kvÄ› 12.46 ..
-rwxr-xr-x  1 root root  2841784  2. kvÄ› 12.46 radeon_dri.so
-rwxr-xr-x  1 root root 11291344  2. kvÄ› 12.46 radeong_dri.so
-rwxr-xr-x  1 root root  2882904  2. kvÄ› 12.46 r200_dri.so
-rwxr-xr-x  1 root root  2861232  2. kvÄ› 12.46 r300_dri.so
-rwxr-xr-x  1 root root  2823864  2. kvÄ› 12.46 r600_dri.so
-rwxr-xr-x  1 root root  2457784  2. kvÄ› 12.46 swrast_dri.so
-rwxr-xr-x  1 root root 11376080  2. kvÄ› 12.46 swrastg_dri.so

When I replaced r600_dri.so with link to swrastg_dri.so:
lrwxrwxrwx  1 root root       14  2. kvÄ› 14.48 r600_dri.so -> swrastg_dri.so

I ended with:
[ 14657.366] (II) Initializing built-in extension DAMAGE
[ 14657.376] (EE) AIGLX error: dlopen of /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: undefined symbol: _glapi_get_proc_address)
[ 14657.376] (EE) AIGLX: reverting to software rendering
[ 14657.383] (II) AIGLX: Screen 0 is not DRI capable
[ 14657.384] (II) AIGLX: Loaded and initialized /usr/lib64/dri/swrast_dri.so
[ 14657.384] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 14657.384] (II) RADEON(0): Setting screen physical size to 363 x 272

mesa libGL.so ofcourse knows _glapi_get_proc_address symbol
$ nm -D /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2  | grep _glapi_get_proc_address
0000000000075fb0 T _glapi_get_proc_address

Same case with radeong_dri.so:
$ ldd -d /usr/lib64/dri/radeong_dri.so
undefined symbol: _glapi_tls_Dispatch   (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_tls_Context    (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_set_dispatch   (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_check_multithread      (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_set_context    (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_add_dispatch   (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_get_proc_address       (/usr/lib64/dri/radeong_dri.so) <--------------------
undefined symbol: _glapi_get_dispatch_table_size        (/usr/lib64/dri/radeong_dri.so)
undefined symbol: _glapi_get_context    (/usr/lib64/dri/radeong_dri.so)
        linux-vdso.so.1 =>  (0x00007fff9f7ff000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f6fc7567000)
        libffi.so.5 => /usr/lib/libffi.so.5 (0x00007f6fc735e000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f6fc7159000)
        libm.so.6 => /lib/libm.so.6 (0x00007f6fc6ed8000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f6fc6ccb000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f6fc6a9e000)
        libdrm_radeon.so.1 => /usr/lib/libdrm_radeon.so.1 (0x00007f6fc6898000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6 (0x00007f6fc656b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f6fc6353000)
        libc.so.6 => /lib/libc.so.6 (0x00007f6fc5ff9000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6fc84bd000)
        librt.so.1 => /lib/librt.so.1 (0x00007f6fc5df0000)

$ ldd -d /usr/lib64/dri/radeon_dri.so
        linux-vdso.so.1 =>  (0x00007fff0379f000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fc37b7cb000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fc37b59f000)
        libm.so.6 => /lib/libm.so.6 (0x00007fc37b31d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc37b101000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fc37aefd000)
        libdrm_radeon.so.1 => /usr/lib/libdrm_radeon.so.1 (0x00007fc37acf6000)
        libc.so.6 => /lib/libc.so.6 (0x00007fc37a99c000)
        librt.so.1 => /lib/librt.so.1 (0x00007fc37a793000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fc37bedf000)
undefined symbol: _glapi_tls_Context    (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_tls_Dispatch   (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_get_dispatch_table_size        (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glthread_GetID       (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_get_context    (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_add_dispatch   (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_set_context    (/usr/lib64/dri/radeon_dri.so)
undefined symbol: _glapi_set_dispatch   (/usr/lib64/dri/radeon_dri.so)


Thank you for your help
Jiří Moravec


More information about the mesa-users mailing list