glx/xgl on IBM T41p with OS11.0

I have recently updated from 10.3 to 11.0 in the hope to solve some of my X issues such as bad video playback performace (fullscreen not possible) and excessive X memory and CPU useage. Sadly, the upgrade made things worse.

lspci|grep ATI

01:00.0 VGA compatible controller: ATI Technologies Inc M10 NT [FireGL Mobility T2] (rev 80)

rpm -qa|grep ati-

ati-fglrxG01-kmp-default-8.493_2.6.25.5_1.1-2.1

lsmod |grep fglrx

fglrx 1691084 36
agpgart 38580 2 fglrx,intel_agp

dmesg|grep fglrx

fglrx: module license ‘Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY’ taints kernel.
[fglrx] Adapter chains initialized successfully!
[fglrx] CF object manager initialized successfully!
[fglrx] vendor: 1002 device: 4e54 count: 1
[fglrx] Maximum main memory to use for locked dma buffers: 1898 MBytes.
[fglrx] ASYNCIO init succeed!
[fglrx] PAT is enabled successfully!
[fglrx] module loaded - fglrx 8.49.7 [May 12 2008] with 1 minors
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
[fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
[fglrx] Setup AGP aperture
[fglrx] GART Table is not in FRAME_BUFFER range
[fglrx] Reserved FB block: Shared offset:0, size:0
[fglrx] Reserved FB block: Unshared offset:7fee000, size:0
[fglrx] Reserved FB block: Unshared offset:7fef000, size:0
[fglrx] Reserved FB block: Unshared offset:7ff0000, size:0
[fglrx] interrupt source 20008000 successfully enabled
[fglrx] enable ID = 0x00000004
[fglrx] Receive enable interrupt message with irqEnableMask: 20008000
[fglrx] interrupt source 10000000 successfully enabled
[fglrx] enable ID = 0x00000005
[fglrx] Receive enable interrupt message with irqEnableMask: 10000000

/etc/X11/xorg.conf

Section “Device”
BoardName “ATI MOBILITY FIRE GL T2/T2e (M10/M11 4E54)”
Driver “fglrx”
Identifier “Device[0]”
Option “XAANoOffscreenPixmaps” “true”
Option “Capabilities” “0x00000000”
Option “OpenGLOverlay” “off”
Option “FSAAScale” “0”
Option “FSAAEnable” “off”
Option “VideoOverlay” “on”
VendorName “ATI”
EndSection

glxinfo |grep direct

direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

glxgears gives me about 50fps, screen update is really slow, on restart of the X-server, it just hangs.

Ideas anyone?

thanks

pj

Try the native Radeon driver. From a console as su (root)

sax2 -m 0=radeon

Test, save.

Go into sax2 and make sure that your LCD’s properties - model, size, aspect ratio, horiz/vert sync frequencies, are correct. Test, save, reboot.

I have the firegl T2 in my R50P Thinkpad and I get -

harryc@linux-sk7l:~> glxgears
7820 frames in 5.0 seconds = 1563.980 FPS
7854 frames in 5.0 seconds = 1570.773 FPS
7859 frames in 5.0 seconds = 1571.621 FPS
7704 frames in 5.0 seconds = 1540.679 FPS

pjakobs@t41p-pj:~> glxinfo|grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
pjakobs@t41p-pj:~> grep radeon /etc/X11/xorg.conf
Driver “radeon”
pjakobs@t41p-pj:~> glxgears
538 frames in 5.2 seconds = 103.745 FPS
439 frames in 5.0 seconds = 87.034 FPS
615 frames in 5.0 seconds = 122.640 FPS
640 frames in 5.1 seconds = 125.507 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:0.0”
after 4822 requests (1657 known processed) with 0 events remaining.
pjakobs@t41p-pj:~>

and very poor 2D performance as well

pj

just found this:

t41p-pj:/media/disk # grep radeon /var/log/Xorg.0.log
(II) LoadModule: “radeon”
(II) Loading /usr/lib/xorg/modules//drivers/radeon_drv.so
(II) Module radeon: vendor=“X.Org Foundation”
(II) Loading sub module “radeon”
(II) LoadModule: “radeon”
(II) Reloading /usr/lib/xorg/modules//drivers/radeon_drv.so
[dri] radeon.o kernel module version is 8.49.7 but version 1.17.0 or newer is needed.

from /var/log/Xorg.99.log:

(II) fglrx(0): driver needs X.org 7.1.x.y with x.y >= 0.0
(II) fglrx(0): detected X.org 7.1.0.90
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *

pj

ok, after unsuccessfully trying to fix the radeon driver, back to fglrx

reinstalled the ATI G01 packages through YaST from the ATI repo

configured them

now this:

/var/log/Xorg.1.log:(EE) fglrx(0): Failed to initialize ASIC in kernel.
/var/log/Xorg.1.log:(EE) fglrx(0): [agp] unable to acquire AGP, error -1007
/var/log/Xorg.1.log:(EE) fglrx(0): cannot init AGP
/var/log/Xorg.1.log:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.

sometimes… I just…

pj

If people get the message above, you should run fglrx-kernel-build.sh to check what’s wrong.