Bug 98010

Summary: [Regression] Screen corruption while playing videos
Product: Mesa Reporter: Marcin Deranek <gringo>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: mpv 0.20 video screenshot

Description Marcin Deranek 2016-10-02 07:10:18 UTC
Created attachment 126949 [details]
mpv 0.20 video screenshot

kernel: 4.7.5
mesa: git
llvm/clang: git


While playing videos I get kernel messages like this:

Oct 02 09:02:53 sun kernel: [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0xa7c20001 already in use!
Oct 02 09:02:53 sun kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Oct 02 09:02:53 sun kernel: [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0xa7c20001 already in use!
Oct 02 09:02:53 sun kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Oct 02 09:02:53 sun kernel: [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0xa7c20001 already in use!
Oct 02 09:02:53 sun kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !

and screen is corrupted (see attached file). mpv options are a follows:

vo=vdpau
hwdec=vdpau

From what I can tell this problem was introduced in fb827c055cb1bdd2b18d0687c06c56b537d805f3 as a1e391e39df2b1d8169e773a30153167ab8e13e8 does not exhibit this problem.
Comment 1 Marcin Deranek 2016-10-02 07:18:32 UTC
Forgot to mention:
I'm using Radeon R9 R270 (PITCAIRN)
When playing video with that commit screen gets corrupted and video does not play smoothly.
Comment 2 Michel Dänzer 2016-10-03 02:51:39 UTC

*** This bug has been marked as a duplicate of bug 97969 ***

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.