LarsOnPPC n00b
Joined: 03 Aug 2003 Posts: 14
|
Posted: Thu Jan 29, 2004 7:26 pm Post subject: ARGH! X takes 100% of my cpu *update* |
|
|
I intalled a new Gentoo system on my G4/400 with ATI Rage 128 Pro today using the LiveCD with prepared G4 stages.
I emerged Kernel 2.4.24-benh0 (sys-kernel/ppc-sources) and edited the config file for that kernel (enabled ext3, firewire, agpgart, uninorth, support for drm, disabled the driver for the rage128 because I wanted to use the xfree-drm driver).
Then I emerged some basic stuff: dcron (as cron daemon), sysklogd, latest version of openssh. Then I began emerging xfree 4.3.0-r3, xfree-drm 4.3.0-r6 and Xeasyconf in order to use graphics acceleration with the dri module. Everything went fine so far, I also made a basic configuration for the X server using Xeasyconf.
But when I say "startx" X comes up but consumpts 100% of my cpu. If i call "glxinfo" it show "DRI supported" but my system is very sluggish. That's not fine. But when I say X not to use the dri module (comment it out in the Modules section of the XF86Config-4) everything is ok and X only consumpts little cpu power.
I checked dmesg to see, if the kernel loads the kernel module for the Rage128:
Code: |
aty128fb: Rage128 Pro PF (AGP) [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 128x48
fb0: ATY Rage128 frame buffer device on PCI
.
.
.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 691M
agpgart: Detected Apple UniNorth chipset
agp: configuring for size idx: 4
agpgart: AGP aperture is 16M @ 0x0
.
.
.
[drm] AGP 0.99 aperture @ 0x00000000 16MB
[drm] Initialized r128 2.4.0 20030526 on minor 0
|
So everthing seems to be ok...
I don't understand what's wrong with my setup because it shouldn't be a problem to use DRI/DRM with my computer.
Do you have any suggestions?
I could post my XF86config and kernel .config if you want.
I just had a look into the log file, and saw this line for 50 times or so at the end:
Code: |
.
.
.
(EE) R128(0): Idle timed out, resetting engine...
.
.
.
(II) R128(0): [drm] removed 1 reserved context for kernel
(II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xf201d000 at 0x30019000
|
Kind regards,
Lars |
|