Summary: | [radeonsi, bisected: fb827c0] Video decoding shows green artifacts | ||
---|---|---|---|
Product: | Mesa | Reporter: | Alexandre Demers <alexandre.f.demers> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | adf.lists, alexandre.f.demers, grantipak, gringo, maraeo, neatnoise, nhaehnle |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | possible fix |
Description
Alexandre Demers
2016-09-29 04:52:22 UTC
*** Bug 97976 has been marked as a duplicate of this bug. *** Created attachment 126871 [details] [review] possible fix Does the attached patch fix the problem for you? With the patch, when playing problematic videos, I get a black screen instead of a partial display with green artifacts. Also, with and without the patch, dmesg catches the following when playing the problematic videos (I should have had a look previously): [76261.125581] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0x8fd80001 already in use! [76261.125594] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [76261.126059] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0x8fd80001 already in use! [76261.126072] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [76261.126441] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0x8fd80001 already in use! [76261.126452] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! Should be fixed in Mesa master as of commit 13cb41f666212ed50a7939a37a373b4431a84033. Please re-open if the problem persists. (In reply to Nicolai Hähnle from comment #4) > Should be fixed in Mesa master as of commit > 13cb41f666212ed50a7939a37a373b4431a84033. Please re-open if the problem > persists. I still get a black screen when plating problematic videos with the latest Mesa from git as of this morning. And I still get the following error: [...] [ 286.174162] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* invalid reloc offset 13FA000! [ 286.174174] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [ 286.198203] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* invalid reloc offset 148F000! [ 286.198215] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [ 286.246226] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* invalid reloc offset 1524000! [ 286.246238] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [ 286.270245] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* invalid reloc offset A1D000! [ 286.270257] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! I confirm a bug. It occurs when playing h264 encoded videos using hardware vdpau acceleration. It happens using many players (tested with mpv, vlc), kernel 4.7, 4.8 and current mesa-git. glxinfo: OpenGL renderer string: Gallium 0.4 on AMD BONAIRE (DRM 2.46.0 / 4.8.0-rc8-mainline, LLVM 4.0.0) OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.1.0-devel (git-1d466b9) dmesg messages while playing videos: [ 212.406985] [drm:radeon_uvd_cs_parse [radeon]] *ERROR* Handle 0x3a200001 already in use! [ 212.406999] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! *** Bug 98010 has been marked as a duplicate of this bug. *** Now that I actually got to test this on radeon rather than just amdgpu, the problem was pretty obvious. It's fixed for me with https://patchwork.freedesktop.org/patch/113573/. I apologize for the inconvenience. (In reply to Nicolai Hähnle from comment #8) > Now that I actually got to test this on radeon rather than just amdgpu, the > problem was pretty obvious. It's fixed for me with > https://patchwork.freedesktop.org/patch/113573/. I apologize for the > inconvenience. Tested and it seems fixed over here. Closing. |
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.