On 15 July 2013 11:35, Michel Dänzer michel@daenzer.net wrote:
On Son, 2013-07-14 at 13:26 +0100, Sami Kerola wrote:
Jul 14 12:51:31 kerolasa-home kernel: radeon 0000:00:01.0: GPU lockup CP stall for more than 10000msec Jul 14 12:51:31 kerolasa-home kernel: radeon 0000:00:01.0: GPU lockup (waiting for 0x0000000000000004 last fence id 0x0000000000000002) Jul 14 12:51:31 kerolasa-home kernel: [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35). Jul 14 12:51:31 kerolasa-home kernel: [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35).
Looks like the patch from https://bugs.freedesktop.org/show_bug.cgi?id=66425 might help.
Hi Michel,
I tried this patch
https://bugs.freedesktop.org/show_bug.cgi?id=66425#c21
which nearly completely applied. The non-applied line is below, and which I left that way as it seems there are referrals to the uvd_fw firmware elsewhere in code.
diff a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h (rejected hunks) @@ -1683,7 +1685,6 @@ struct radeon_device { const struct firmware *rlc_fw; /* r6/700 RLC firmware */ const struct firmware *mc_fw; /* NI MC firmware */ const struct firmware *ce_fw; /* SI CE firmware */ - const struct firmware *uvd_fw; /* UVD firmware */ struct r600_blit r600_blit; struct r600_vram_scratch vram_scratch; int msi_enabled; /* msi enabled */
When trying the patch made things worse. Errors started to occur at suspend, which took a while and reported some errors. After waiting for ~20 seconds my screen had pixel mush in all possible colours, and the system was unresponsive. Please see the file from URL for all messages I found from log.
http://www.iki.fi/kerolasa/radeon-suspend-3.10.0-09289-g9903883.gz
-- Sami Kerola http://www.iki.fi/kerolasa/