Created attachment 40021 [details] kdm.log.gz After an hour or so (maybe less) I'm getting /var/log/kdm.log full of errors: CS section size missmatch start at (../../src/radeon_textured_videofuncs.c,R300PrepareTexturedVideoCP,2184) 66 vs 62 CS section end at (../../src/radeon_textured_videofuncs.c,R300PrepareTexturedVideoCP,2418) and Xorg process CPU usage gets to near 100% even or P4 with HT so KDE desktop gets almost unresponsible (wating for few seconds for almost every operation). At system boot everything is OK - Xorg CPU usage for few percent sometimes even less, kdm.log doesn't have such errors but after some time using KDE desktop (no matter if there are KWin effects or not) the problem as described above occurs. The problem occurs from at least commits from 2010-10-27 (I'm testing r300g from xorg-edgers/radeon ppa). I haven't noticed this problem before but before that date I've used Kubuntu 10.10 + r300g from xorg-edgers/radeon ppa booted only from pendrive for hour, maybe sometimes some more time between reboots and now I use the same configuration installed on hard disk. libgl1-mesa-dri and glx: 7.10.0~git20101101+gallium.ad00a92e-0ubuntu0tormod and 7.10.0~git20101027+gallium.3acc8265-0ubuntu0tormod before. Kernel: stock *buntu 10.10 2.6.35-22-generic Xorg: 1.9.0-0ubuntu7 libdrm2: 2.4.21-1ubuntu2.1 libdrm-radeon1: 2.4.21-1ubuntu2.1 CPU: Intel Pentium 4 32bit with HT Graphic card: Radeon 9600 AGP (RV350) 256MB OS: Kubuntu 10.10
Created attachment 40022 [details] dmesg
Created attachment 40023 [details] Xorg.0.log
And the kernel is stock *buntu but with one module (drm_kms_helper) patched for parameter to disable poll with kernel parameter: drm_kms_helper.poll=0
This is an X driver XVideo bug.
Created attachment 40038 [details] [review] Possible fix Does this patch fix the problem?
(In reply to comment #5) > Created an attachment (id=40038) [details] > Possible fix > > Does this patch fix the problem? Thanks Michel! So far so good. I've tried to reproduce this error by using watching analog TV with video output through Xv, enabling/disabling KWin desktop effects, moving and resizing TV window (even with transparency), using web browser with flash etc... on a xserver-xorg-video-ati driver (the same version as before but recompiled with yours patch). I think the problem is gone now - it's mostly visible by looking at CPU temperature graph (back to normal 55-58 degrees in Celcius scale, with this error it didn't go lower than 60, mostly 65-69 degrees) and no more errors in /var/log/kdm.log. The version of xserver-xorg-video-ati and -radeon I've had was: 6.13.2+git20101020.51f26a7f-0ubuntu0tormod
After almost three hours of testing the problem did not appeared anymore with patched driver, so the patch indeed fixed the problem.
Fix pushed as commit 0c2834e67df6e143a7d15f373faaddca1dda6b18, thanks for testing.
even if this bug seems solved and closed for more than a year, since I updated to last x11-drivers/xf86-video-ati-7.0.0, I have hundered of thousand of lines like that in my logs : CS section end at (/var/tmp/portage/x11-drivers/xf86-video-ati-7.0.0/work/xf86-video-ati-7.0.0/src/radeon_textured_videofuncs.c,R300PrepareTexturedVideo,2147) CS section size missmatch start at (/var/tmp/portage/x11-drivers/xf86-video-ati-7.0.0/work/xf86-video-ati-7.0.0/src/radeon_textured_videofuncs.c,R300PrepareTexturedVideo,1689) 33 vs 66 I'm using gentoo on a amd64 arch. I know it's not the same arch the bug was opened for, but the error messages look really alike... let me know if you need more details on my setup, or if I have to open a new bug regards pierre
Created attachment 71087 [details] [review] fix CS count The attached patch should fix the issue.
it does thx
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.