Mon, 09 Mar 2009
Keywords: linux ubuntu 8.10 intrepid ibex ATI Technologies Inc RV370 [Radeon X300SE] X300
And yet another of the things that broke when I upgraded Ubuntu to 8.10 was the 3D graphics acceleration. lspci identifies my card as
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)] 01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
The X log file (/var/log/Xorg.0.log) tells me:
(II) fglrx(0): driver needs X.org 1.4.x.y with x.y >= 99.906 (II) fglrx(0): detected X.org 7.4.2.0 (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): ********************************************* * $ glxinfo name of display: :0.0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 159 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 10 Current serial number in output stream: 10 $
It seems this was finally fixed this year with Catalyst 9.2. In accordance with the instructions I downloaded the installer from AMD and then installed it:
# apt-get remove --purge xserver-xorg-video-radeon fglrx-kernel-source fglrx-modaliases
# sh ati-driver-installer-9.2-x86.x86_64.run --buildpkg Ubuntu/8.10
# dpkg -i xorg-driver-fglrx_8.582-0ubuntu1_i386.deb \
xorg-driver-fglrx-dev_8.582-0ubuntu1_i386.deb \
fglrx-amdcccle_8.582-0ubuntu1_i386.deb \
fglrx-modaliases_8.582-0ubuntu1_i386.deb \
libamdxvba1_8.582-0ubuntu1_i386.deb \
fglrx-kernel-source_8.582-0ubuntu1_i386.deb
I suppose it's only to be expected that after rebooting X wouldn't start. The X log file told me:
(II) LoadModule: "amdxmm"
(II) Loading /usr/lib/xorg/modules//amdxmm.so
(II) Module amdxmm: vendor="X.Org Foundation"
compiled for 1.4.99.906, module version = 1.0.0
ABI class: X.Org Server Extension, version 1.1
Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x79) [0x80c3009]
1: [0xb7fde400]
2: /usr/lib/xorg/modules//amdxmm.so(amdxmmInit+0x245) [0xb61a4845]
3: /usr/lib/xorg/modules/drivers//fglrx_drv.so [0xb76a3bdc]
4: /usr/lib/xorg/modules/drivers//fglrx_drv.so(atiddxScreenInit+0x7b4) [0xb7699e94]
5: /usr/X11R6/bin/X(AddScreen+0x19f) [0x807137f]
6: /usr/X11R6/bin/X(InitOutput+0x206) [0x80aa536]
7: /usr/X11R6/bin/X(main+0x279) [0x8071b19]
8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7bdc685]
9: /usr/X11R6/bin/X [0x8071101]
Saw signal 11. Server aborting.
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(EE) fglrx(0): === [swlDalHelperSetControllerConfigForRemap] === CWDDC ControllerSetConfig failed: 6 - 0
Wonderful. But easily fixed:
# mv /usr/lib/xorg/modules/amdxmm.so /usr/lib/xorg/modules/amdxmm.so.busted
Presumably, something's not going to work now, but at least it's better than it was, and 3D acceleraton works. I can even watch video.
For some, possibly unrelated, reason at this point the volume control knob on the keyboard stopped controlling the volume until I set the Default Mixer Track in System/Preferences/Sound to HDA Intel (Alsa mixer).