In linux.gentoo.user, you wrote:
> On Thu, Apr 8, 2010 at 1:18 AM, Gregory Shearman <[email protected]> wrote:
>> In linux.gentoo.user, you wrote:
>>
>> GentooPenguin# /usr/sbin/lspci | grep Radeon
>>
>> 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
>> Xpress 200M]
>>
> Yesssir!
>
> o_0 tony # lspci | grep Radeon
> 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
> Xpress 200M]
>
>> Are you sure your opengl libraries are being found in /usr/lib/opengl?
>
> Maybe we could compare this information:
>
> o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/lib/
> total 352K
> lrwxrwxrwx 1 root root 10 2010-04-08 02:46 libGL.so -> libGL.so.1
> lrwxrwxrwx 1 root root 12 2010-04-08 02:46 libGL.so.1 -> libGL.so.1.2
> -rwxr-xr-x 1 root root 345K 2010-04-08 02:45 libGL.so.1.2
Hmmm.... here's mine:
GentooPenguin$ ls -lh /usr/lib/opengl/xorg-x11/lib/
total 392K
-rw-r--r-- 1 root root 723 2010-04-04 22:22 libGL.la
lrwxrwxrwx 1 root root 10 2010-04-04 22:22 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 2010-04-04 22:22 libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 383K 2010-04-04 22:22 libGL.so.1.2
Note the "libGL.la" file. I wonder where yours has got to, or if it's
necessary for proper operation.
When I check which package produces this file I get:
GentooPenguin$ /usr/src/linux-2.6.31-gentoo-r6 $ equery belongs libGL.la
[ Searching for file(s) libGL.la in *... ]
media-libs/mesa-7.5.2 (/usr/lib/opengl/xorg-x11/lib/libGL.la)
You're running a newer version of mesa aren't you? Perhaps it doesn't
produce this file.
>
> o_0 opengl # ldd /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
> linux-gate.so.1 => (0xb7851000)
> libXext.so.6 => /usr/lib/libXext.so.6 (0xb77ce000)
> libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb77c8000)
> libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb77c4000)
> libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77be000)
> libX11-xcb.so.1 => /opt/gfx-test/lib/libX11-xcb.so.1 (0xb77ba000)
> libX11.so.6 => /opt/gfx-test/lib/libX11.so.6 (0xb769d000)
> libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb768a000)
> libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb766f000)
> libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb7664000)
> libm.so.6 => /lib/libm.so.6 (0xb763e000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb7624000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7620000)
> libc.so.6 => /lib/libc.so.6 (0xb74d8000)
> libXau.so.6 => /usr/lib/libXau.so.6 (0xb74d4000)
> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb74ce000)
> librt.so.1 => /lib/librt.so.1 (0xb74c4000)
> /lib/ld-linux.so.2 (0xb7852000)
>
Why are libX11-xcb.so.1, libX11.so.6, libdrm.so.2 in the
/opt/gfx-test/lib directory rather than in /usr/lib as they are on my
machine?
> o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/extensions/
> total 388K
> -rwxr-xr-x 1 root root 14K 2010-04-05 18:13 libdri2.so
> -rwxr-xr-x 1 root root 38K 2010-04-05 18:13 libdri.so
> -rwxr-xr-x 1 root root 327K 2010-04-05 18:13 libglx.so
The same as on my machine, but you need links from
/usr/lib/xorg/modules/extensions for each of these files. Have you done:
GentooPenguin# eselect opengl set xorg-x11
Sometimes this works.
> o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri2.so
> linux-gate.so.1 => (0xb7837000)
> libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb780c000)
> libm.so.6 => /lib/libm.so.6 (0xb77e6000)
> librt.so.1 => /lib/librt.so.1 (0xb77dd000)
> libc.so.6 => /lib/libc.so.6 (0xb7695000)
> /lib/ld-linux.so.2 (0xb7838000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb767b000)
>
> o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri.so
> linux-gate.so.1 => (0xb773b000)
> libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb770b000)
> libm.so.6 => /lib/libm.so.6 (0xb76e5000)
> librt.so.1 => /lib/librt.so.1 (0xb76dc000)
> libc.so.6 => /lib/libc.so.6 (0xb7594000)
> /lib/ld-linux.so.2 (0xb773c000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb757a000)
>
Again there are links to libs in /opt/gfx-test that aren't on my
machine.
>> Section "Device"
>> Identifier "ATI Graphics Adapter 0"
>> Driver "radeon"
>> Option "AccelMethod" "EXA"
>> BusID "PCI:1:5:0"
>> EndSection
>>
> I tried copying yours. It all worked except it couldn't find the 'xtrap'
> module.
Oh dear! Neither can mine:
(EE) Failed to load module "xtrap" (module does not exist, 0)
I'd better remove it from my xorg.conf.
> Didn't make a difference though. Still have no accelerated rendering
> and nothing in /dev/dri.
Really odd. Have you re-emerged all the drivers found in
/var/db/pkg/x11-drivers? I'm starting to stab in the dark here.
> What does glxinfo | grep render say for you?
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 NO-TCL
Do you have this section in your /etc/X11/xorg.conf:
Section "DRI"
Mode 0666
EndSection
Have you followed the Hardware Acceleration Guide's Kernel config
directions?
I've got the:
Processor type and features --->
<*> MTRR (Memory Type Range Register) support
Device drivers --->
Graphics support --->
<M> /dev/agpgart (AGP Support) --->
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI
support) --->
selected, as well as:
<M> ATI Radeon
What have you got in this directory:
GentooPenguin$ ls /usr/lib/xorg/modules/extensions
-rwxr-xr-x 1 root root 17820 2009-12-22 00:59 libdbe.so
lrwxrwxrwx 1 root root 46 2010-04-04 22:22 libdri2.so ->
../../../opengl/xorg-x11/extensions/libdri2.so
lrwxrwxrwx 1 root root 45 2010-04-04 22:22 libdri.so ->
../../../opengl/xorg-x11/extensions/libdri.so
-rwxr-xr-x 1 root root 88172 2009-12-22 00:59 libextmod.so
lrwxrwxrwx 1 root root 45 2010-04-04 22:22 libglx.so ->
../../../opengl/xorg-x11/extensions/libglx.so
-rwxr-xr-x 1 root root 26052 2009-12-22 00:59 librecord.so
Note the links to the /usr/lib/opengl/xorg-x11/extensions directory.
I hope something in here helps!
--
Regards,
Gregory.
Gentoo Linux - Penguin Power