The system freezes completely after a few 3d operations (like changing the desktop in compiz a couple of times). No error message appears in dmesg or syslog. Tried both rc7 and rc8 and the drm-radeon-testing branch. If I disable kms pageflip in xorg.conf, the system seems stable. I also tried setting radeon.agpmode=-1, but didn't help. Hardware: radeon 9600xt (rv350 agp) software: latest debian unstable (libdrm2 2.4.23, xserver-xorg 7.6, xserver-xorg-video-radeon 6.14.0) Considering that most distributions use compositing wm by default, and kms pageflip is also enabled by default, this seems like a serious problem. Bugs 21472, 34137, 34643 might be related, but I'm not sure.
I've debugged this and I'm hoping I have a fix, hopefully I can get a cleaned up patch in 5mins - tomorrow. (this is mainly to stop anyone else getting into this)
Created attachment 44345 [details] [review] initial minimal patch to fix hangs.
2.6.38-rc8 with the patch seems stable so far. Doesn't it disable pageflip, though? According to phoronix there should be some 3d performance increase with pageflip, but I haven't noticed any.
no it just moves things around to avoid hitting those registers at runtime. The speed increase you'll see is with fullscreen apps running at less than vblank frames. You should see more fps or get closer to vblank. However currently page flip is limited to vblank synced rendering.
I think the fix is part of kernel 2.6.38. Closing then.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.