xorg, ati r200 free driver, suddenly no hardware acceleration
Hardware acceleration seems to be completely gone from one day to another. It was working ok and today I noticed it isn't anymore. I'm using radeon r200 free driver.
I tried to delete xorg.conf and restart X, but the situation didn't changed. system-config-display couldn't help also, but it correctly reports my card as Radeon 9200 SE. I don't have any idea why this is happening since it was working before.
Here goes my xorg.conf. I'd appreciate if someone could compare with his own copy to see if mine is lacking something:
[root@spacelab X11]# cat xorg.conf
# Xorg configuration created by system-config-display
(...)
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module is loaded before the radeon kernel module. (...)
I tried enabling dri by hand editing xorg.conf, but I got the same results. Seems like there's some problem with agp; maybe a kernel update broke something?
[pedro@spacelab ~]$ dmesg |grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 2470 using kernel context 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 2914 using kernel context 0
Google says it happens when radeon driver is loaded before agpgart.
I booted with a xen-enabled kernel and it worked. I guess it's because I was using a xen kernel before and the system has configured itself to it, but something broke when I started using non-xen kernels beceuse mono would segfault under them.
Now, mono works under the new xen-kernel and dri too.