On Sat, Apr 10, 2010 at 11:31 PM, Gregory Shearman <zek...@gmail.com> wrote:

> 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?
Sorry about that, this /opt/gfx-test/ directory was something I
created to test a hand compiled X stack. It shouldn't be interfering
with running the portage installed X stack, but I should make sure to
be completely certain.


> 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
>

After you mentioned this I decided to check my kernel configuration again.

Device drivers --->
   Graphics support --->
       Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
                [*]     Enable modesetting on radeon by default - NEW DRIVER

Here's part of the description for this option:

Choose this option if you want kernel modesetting enabled by default.

   This is a completely new driver. It's only part of the existing drm
   for compatibility reasons. It requires an entirely different graphics
   stack above it and works very differently from the old drm stack.
   i.e. don't enable this unless you know what you are doing it may
   cause issues or bugs compared to the previous userspace driver stack.

   When kernel modesetting is enabled the IOCTL of radeon/drm
   driver are considered as invalid and an error message is printed
   in the log and they return failure.

This made me reconsider whether I should set this option or not...

I gave it a try without the option set and I get direct rendering fine.

t...@o_0 ~ $ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 (RS400 5A62) 20090101 x86/MMX/SSE2 NO-TCL

Now I have card0 in /dev/dri.

I get about 100 fps now, not extremely fast but certainly a lot better
than before!

Reply via email to