[Bug 111099] Green video when playing a hevc video with vdpau

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 10 07:58:08 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111099

            Bug ID: 111099
           Summary: Green video when playing a hevc video with vdpau
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: pierre-eric.pelloux-prayer at amd.com
        QA Contact: dri-devel at lists.freedesktop.org

On AMD hardware (at least Polaris and Raven), playing some videos with vdpau
can result in a green screen.

Steps to reproduce:
- download https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.mkv
- use x11 (ie not wayland)
- mpv --vo=opengl --hwdec=vdpau bbb-1920x1080-cfg02.mkv

This is a regression that started with commit:
cb446dc0fa5c68f681108f4613560543aa4cf553 (from MR
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1226)

Reverting the commits from this MR on master fixes the issue.

AFAIU the problem is this line:

   /* do we have different screen objects ? */
   if (res->screen != st->pipe->screen) {
      _mesa_error(ctx, GL_INVALID_OPERATION, "VDPAUMapSurfacesNV")

Before this MR the screen objects were identical but now there are different.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190710/b5ca0ca3/attachment.html>


More information about the dri-devel mailing list