Bug 60517

Summary: Xorg crash loops after upgrade to kernel 3.10.
Product: Drivers Reporter: Knut Tidemann (knut.tidemann)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED INVALID    
Severity: high CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.10 Subsystem:
Regression: No Bisected commit-id:
Attachments: Xorg.log
dmesg

Description Knut Tidemann 2013-07-05 11:37:38 UTC
Created attachment 106807 [details]
Xorg.log

I'm running Arch linux and after I updated and rebooted due to kernel 3.10 hitting the Testing repository I've experienced many X.org crashes du to bus errors.

I've attached both my X.org log file and a dmesg output.

The crash it self happens (seemingly) random, but after the first crash it crashes again right after I log into KDE. Probably when desktop effects are started.

I have a Radeon HD 5670 card, and I run mesa from git with daily updates. I've also tried out the new UVD acceleration and got the error that is displayed in the kernel log.
Comment 1 Knut Tidemann 2013-07-05 11:38:06 UTC
Created attachment 106808 [details]
dmesg
Comment 2 Alex Deucher 2013-07-05 13:11:30 UTC
What version of mesa are you using?  You need to build the r600 vdpau driver in mesa to use UVD.  As for the crash, can you bisect?
Comment 3 Knut Tidemann 2013-07-05 13:20:48 UTC
I'm using mesa from git. (Right now: g4dbca86). I'm not able to bisect right now (I'm at work), but I'll give it a shot next week.

I'm suspecting VDPAU/UVD, because I tried to used it with adobe flash due to a red and blue color swap and I got this error after a while: 

[drm:radeon_uvd_free_handles] *ERROR* Error destroying UVD (-22)!

And vdpauinfo stopped showing h264 and all the others, I was just left with MPEG2-variants (possibly the shader decoder?). After a reboot I was able to see all the supported codecs again.

I've now disabled the hw-decoding in flash to see if the crashes go away.
Comment 4 Alex Deucher 2013-07-05 13:28:56 UTC
It's probably not a kernel bug then.  More likely a bug in the 3D or vdpau driver or in flash.  I just happens to manifest on 3.10 since that was the first kernel with UVD support.  If you can narrow it down to flash or UVD, you may want to close this bug and open a mesa bug (https://bugs.freedesktop.org) against the r600 gallium driver.
Comment 5 Knut Tidemann 2013-07-09 06:37:46 UTC
With no usage of UVD, I've not seen this bug for the entire weekend, so I'll close it and reopen one against the gallium driver.