I recently migrated from 11.2 where I was using the fglrx drivers. I did a clean install of 11.4 and wanted to try out the open-source ATI drivers now that they are mature. I have been running into various problems with getting acceleration working. I have an ATI Radeon HD 4870 (R770).
Default install: Kernel mode setting is enabled, and the radeonhd driver is loaded and seems to render in software mode as you can see below.
$ LIBGL_DEBUG=verbose glxinfo |grep -i "\(render\|opengl\)"
direct rendering: No
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 7.10)
OpenGL extensions:
*** WARNING: Direct Rendering is NOT enabled
I uninstalled the xorg-x11-driver-video-radeonhd package, hoping that the built-in Xorg radeon driver (not the radeonhd driver) would be used instead since it offers good 3D acceleration. Compare
- radeon: X.Org Wiki - RadeonFeature
- radeonhd: X.Org Wiki - radeonhd:feature
Restarting X without the radeonhd driver available resulted in the radeon driver being used, but it was still using software rendering. I found the following error line in dmesg
*ERROR* radeon: ring test failed (scratch(0x8504)=0xCAFEDEAD)
Looking around online, it seemed that this is due to an issue in kernel mode setting. So I rebooted and turned off kernel mode setting (using the nomodeset kernel boot option). I used the following simple xorg.conf to use the radeon driver.
Section "Device"
Identifier "ATI"
Driver "radeon"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Monitor"
Identifier "InternalLCD"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI"
Monitor "InternalLCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
and the radeon acceleration kicked in. (Woohoo!)
I was pretty happy for a few minutes until I started getting these strange “crashes”. My X session randomly reset, taking me back to the login screen, and “dmesg |grep drm” showed the following lines
2205.247696] [drm] Resetting GPU
2205.786244] [drm] Setting GART location based on new memory map
2205.786533] [drm] Loading RV770 CP Microcode
2205.820657] [drm] Resetting GPU
2205.820713] [drm] writeback test succeeded in 1 usecs
This keeps happening randomly. At some point it actually becomes a consistent crash (I un-minimize firefox with some tabs open, and the crash triggers). I don’t know where else to look for errors now. Any fixes or suggestions on how I should proceed with the radeon driver?