All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
@ 2018-12-04  9:25 bugzilla-daemon
  2018-12-04  9:27 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-04  9:25 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 108937
           Summary: [radeonsi, RX480] VAAPI H.264 decoder produces garbage
                    on YouTube in Chromium with h264ify
           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: kode54@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 142707
  --> https://bugs.freedesktop.org/attachment.cgi?id=142707&action=edit
Screen shot of YouTube video in Chromium, artifacts

I am attempting to play H.264 video in Chromium, using a fork of the current
beta (v71) that has a VAAPI patch applied. When playing the following video:

https://www.youtube.com/watch?v=oiSn2JuDQSc

I get the resulting video output, attached.

Using:

Description:    Ubuntu 18.10
Release:        18.10

chromium-browser 71.0.3578.62-0ubuntu1~ppa1~18.10.1

mesa-va-drivers 19.0~git1812040730.bacf84~oibaf~c

It should be possible to follow those to the patches used, but I don't think
that the Chromium patch is responsible for "misusing" VA-API, so much as the
radeonsi VA-API driver being broken in some way.

The artifact simply goes away if I disable h264ify, since it switches to VP9,
and thus software decoding.

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
@ 2018-12-04  9:27 ` bugzilla-daemon
  2018-12-04 20:53 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-04  9:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Christopher Snowhill <kode54@gmail.com> ---
Created attachment 142708
  --> https://bugs.freedesktop.org/attachment.cgi?id=142708&action=edit
The problematic video, downloaded from YouTube

Attaching the correct video, so it doesn't necessitate installing the right
Chromium or h264ify extension.

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
  2018-12-04  9:27 ` bugzilla-daemon
@ 2018-12-04 20:53 ` bugzilla-daemon
  2018-12-05  0:26 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-04 20:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Christoph Haag <haagch@frickel.club> ---
Try setting allow_rgb10_configs to false for chromium in drirc or starting
chromium with the env var

allow_rgb10_configs=false chromium

see also bug #104597

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
  2018-12-04  9:27 ` bugzilla-daemon
  2018-12-04 20:53 ` bugzilla-daemon
@ 2018-12-05  0:26 ` bugzilla-daemon
  2018-12-05  7:38 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  0:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Christopher Snowhill <kode54@gmail.com> ---
Yes, that dodges the issue. Should I be enabling this setting system-wide,
possibly for other applications? I recall Totem having the same issue with
H.264 hardware decoding.

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-12-05  0:26 ` bugzilla-daemon
@ 2018-12-05  7:38 ` bugzilla-daemon
  2018-12-05  7:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  7:38 UTC (permalink / raw)
  To: dri-devel


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

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

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

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

--- Comment #4 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Alternatively update the applications.

The problem is that the driver exposes 10bit RGB and the applications selects
that for some reason but actually can't handle it correctly.

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-12-05  7:38 ` bugzilla-daemon
@ 2018-12-05  7:39 ` bugzilla-daemon
  2018-12-05  7:41 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  7:39 UTC (permalink / raw)
  To: dri-devel


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

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

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTOURBUG                   |DUPLICATE

--- Comment #5 from Christian König <ckoenig.leichtzumerken@gmail.com> ---


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

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-12-05  7:39 ` bugzilla-daemon
@ 2018-12-05  7:41 ` bugzilla-daemon
  2018-12-05  8:45 ` bugzilla-daemon
  2018-12-05  8:52 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  7:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Christopher Snowhill <kode54@gmail.com> ---
I don't control the application, and it's already the latest version currently
available. It's already a feature implemented by a patch that hasn't been
accepted by upstream since it was submitted over a year ago. I've already
emailed the maintainer of the PPA that I'm installing the Chromium beta from,
and hoping they can point me where I should report it for inclusion in the
patch set.

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-12-05  7:41 ` bugzilla-daemon
@ 2018-12-05  8:45 ` bugzilla-daemon
  2018-12-05  8:52 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  8:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from network723@rkmail.ru ---
(In reply to Christian König from comment #4)
> Alternatively update the applications.
> 
> The problem is that the driver exposes 10bit RGB and the applications
> selects that for some reason but actually can't handle it correctly.

Could you please confirm that it is a bug of application and not Mesa? I had an
argument with my favorite distro's maintainers on this, and their point is that
other drivers (intel and nouveau) don't have this problem. Do these drivers
even expose 10bit color configs?

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

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

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

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

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

* [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify
  2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-12-05  8:45 ` bugzilla-daemon
@ 2018-12-05  8:52 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-12-05  8:52 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
(In reply to network723 from comment #7)
> (In reply to Christian König from comment #4)
> > Alternatively update the applications.
> > 
> > The problem is that the driver exposes 10bit RGB and the applications
> > selects that for some reason but actually can't handle it correctly.
> 
> Could you please confirm that it is a bug of application and not Mesa?

Please see the other bug report. This is actually not a problem related to the
driver or Mesa in any way. The xserver just exposes 10bit color config on AMD
now and some applications doesn't seem to correctly handle those.

> I had an argument with my favorite distro's maintainers on this, and their point
> is that other drivers (intel and nouveau) don't have this problem. Do these
> drivers even expose 10bit color configs?

Not sure, but that can indeed be the reason they don't show those problems.

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

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

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

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

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

end of thread, other threads:[~2018-12-05  8:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04  9:25 [Bug 108937] [radeonsi, RX480] VAAPI H.264 decoder produces garbage on YouTube in Chromium with h264ify bugzilla-daemon
2018-12-04  9:27 ` bugzilla-daemon
2018-12-04 20:53 ` bugzilla-daemon
2018-12-05  0:26 ` bugzilla-daemon
2018-12-05  7:38 ` bugzilla-daemon
2018-12-05  7:39 ` bugzilla-daemon
2018-12-05  7:41 ` bugzilla-daemon
2018-12-05  8:45 ` bugzilla-daemon
2018-12-05  8:52 ` 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.