2003-05-10 18:22:39

by Simon Matthews

[permalink] [raw]
Subject: Problems with DRM/R128

I have an ATI Rage 128. I am using the 2.4.20 vanilla kernel. I have
compiled in the DRM 4.1 and the R128 driver (not as modules, but part of
the kernel).

However, graphics such as tuxracer are very slow. The XFree86 log file
shows an entry:
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): [drm] failure adding irq handler, there is a device already
using that irq
[drm] falling back to irq-free operation
(II) R128(0): Direct rendering enabled

On starting OpenOffice, I see:
ooffice
Gnome session manager detected - session management disabled
running openoffice.org setup...
Setup complete. Running openoffice.org...
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering

Now I am pretty sure this is a kernel-related issue, since in the past on
the same hardware with a Redhat 7.3 distro (I am now using gentoo), I
observed that tuxracer was very slow when using the vanilla kernel, but if
I installed the RedHat kernel, it worked fine.

Can anyone please suggest how I can fix this?

Many thanks!
Simon


2003-05-10 19:06:40

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Problems with DRM/R128

On Sat, 10 May 2003, Simon Matthews wrote:

> I have an ATI Rage 128. I am using the 2.4.20 vanilla kernel. I have
> compiled in the DRM 4.1 and the R128 driver (not as modules, but part of
> the kernel).
>
> However, graphics such as tuxracer are very slow. The XFree86 log file
> shows an entry:
> (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
> (II) R128(0): [drm] Mapped 128 vertex/indirect buffers
> (II) R128(0): [drm] failure adding irq handler, there is a device already
> using that irq
> [drm] falling back to irq-free operation
> (II) R128(0): Direct rendering enabled

Looks ok, how uptodate is the DRM in the 2.4 mainline kernel anyway?

> On starting OpenOffice, I see:
> ooffice
> Gnome session manager detected - session management disabled
> running openoffice.org setup...
> Setup complete. Running openoffice.org...
> libGL error: failed to open DRM: Operation not permitted
> libGL error: reverting to (slow) indirect rendering

Perhaps you don't have permissions to use DRI? The following would allow
global access.

Section "dri"
Mode 0666
EndSection

--
function.linuxpower.ca