All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 111099] Green video when playing a hevc video with vdpau
@ 2019-07-10  7:58 bugzilla-daemon
  2019-07-10  8:00 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-10  7:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1425 bytes --]

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@lists.freedesktop.org
          Reporter: pierre-eric.pelloux-prayer@amd.com
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 2971 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 111099] Green video when playing a hevc video with vdpau
  2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
@ 2019-07-10  8:00 ` bugzilla-daemon
  2019-07-10  8:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-10  8:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 630 bytes --]

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

Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian.koenig@amd.com,
                   |                            |michel@daenzer.net,
                   |                            |tom.stdenis@amd.com
           Keywords|                            |bisected, regression

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1405 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 111099] Green video when playing a hevc video with vdpau
  2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
  2019-07-10  8:00 ` bugzilla-daemon
@ 2019-07-10  8:03 ` bugzilla-daemon
  2019-07-10 11:03 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-10  8:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|michel@daenzer.net          |

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Thanks Pierre for tracking this down and for filing the report. Removing myself
from the CC list, the one copy of updates I get from the dri-devel mailing list
is enough. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1952 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 111099] Green video when playing a hevc video with vdpau
  2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
  2019-07-10  8:00 ` bugzilla-daemon
  2019-07-10  8:03 ` bugzilla-daemon
@ 2019-07-10 11:03 ` bugzilla-daemon
  2019-07-10 11:39 ` bugzilla-daemon
  2019-07-23 14:53 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-10 11:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 513 bytes --]

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 144748
  --> https://bugs.freedesktop.org/attachment.cgi?id=144748&action=edit
Proof-of-concept fix

Does this help for you?

Note that I can only reproduce this if I artificially disable
st_vdpau_video/output_surface_dma_buf(). Might be worth looking into why those
aren't working for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1513 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 111099] Green video when playing a hevc video with vdpau
  2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-07-10 11:03 ` bugzilla-daemon
@ 2019-07-10 11:39 ` bugzilla-daemon
  2019-07-23 14:53 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-10 11:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 409 bytes --]

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

--- Comment #3 from Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> ---
(In reply to Michel Dänzer from comment #2)
> Created attachment 144748 [details] [review]
> Proof-of-concept fix
> 
> Does this help for you?
> 

Yes the patch fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1583 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 111099] Green video when playing a hevc video with vdpau
  2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-07-10 11:39 ` bugzilla-daemon
@ 2019-07-23 14:53 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-23 14:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 590 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
Thanks for the report, fixed by
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1364 .

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2164 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-23 14:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-10  7:58 [Bug 111099] Green video when playing a hevc video with vdpau bugzilla-daemon
2019-07-10  8:00 ` bugzilla-daemon
2019-07-10  8:03 ` bugzilla-daemon
2019-07-10 11:03 ` bugzilla-daemon
2019-07-10 11:39 ` bugzilla-daemon
2019-07-23 14:53 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.