dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
@ 2013-06-10 14:11 bugzilla-daemon
  2013-09-27 18:50 ` [Bug 65611] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-06-10 14:11 UTC (permalink / raw)
  To: dri-devel


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

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

          Priority: medium
            Bug ID: 65611
          Assignee: dri-devel@lists.freedesktop.org
           Summary: UVD accelerated decoding causes hangs (ARUBA - HD
                    7540D)
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: otaznik@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 80626
  --> https://bugs.freedesktop.org/attachment.cgi?id=80626&action=edit
relevant dmesg output

New UVD VDPAU decoding of VC-1 and MPEG-2 causes some kind of corruption and
ultimately hang of driver and whole system on the next try (cursor can be
moving for some time, even SysRq can work a few seconds after X totally hangs
but then only power off works).

Few notes (using mplayer):
ffmpeg12vdpau:
MPEG1 causes no harm, only decoding is really bad (software decoding works)
MPEG2 seems to cause really bad corruption

ffvc1vdpau:
VC-1 seems to cause problems (like attached dmesg) but not hangs.  There have
been decoding artifacts too, but it is not the rule.

divx and h264 seems to work flawless, unless previous corruption happened.

Hardware is ARUBA - A6-5400K Black Edition APU (Radeon HD 7540D).  Since this
particular hardware seems to be problematic (#65254 #60389) it might be unique
to this APU.

Test files:
VC1 http://samples.mplayerhq.hu/V-codecs/WVC1/Test_1440x576_WVC1_6Mbps.wmv
MPEG2 http://samples.mplayerhq.hu/MPEG2/vid_0x80.ts
MPEG1 http://samples.mplayerhq.hu/MPEG1/

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
@ 2013-09-27 18:50 ` bugzilla-daemon
  2013-09-27 19:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-09-27 18:50 UTC (permalink / raw)
  To: dri-devel


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

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

Christian König <deathsimple@vodafone.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pierre-bugzilla@ossman.eu

--- Comment #1 from Christian König <deathsimple@vodafone.de> ---
*** Bug 69889 has been marked as a duplicate of this bug. ***

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
  2013-09-27 18:50 ` [Bug 65611] " bugzilla-daemon
@ 2013-09-27 19:23 ` bugzilla-daemon
  2013-09-27 21:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-09-27 19:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
(In reply to bug 65611 comment #1)
> Well known problem, only VC-1 advanced profile (as found on Blueray disks)
> is supported by the hardware.

If that is the case, wouldn't it be an obvious first fix to remove simple and
main from the driver's list of supported codecs?

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
  2013-09-27 18:50 ` [Bug 65611] " bugzilla-daemon
  2013-09-27 19:23 ` bugzilla-daemon
@ 2013-09-27 21:24 ` bugzilla-daemon
  2013-09-28 15:49 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-09-27 21:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
I tried this patch:

diff -up ./src/gallium/drivers/radeon/radeon_uvd.c.vc1
./src/gallium/drivers/radeon/radeon_uvd.c
--- ./src/gallium/drivers/radeon/radeon_uvd.c.vc1    2013-09-27
23:10:44.292867514 +0200
+++ ./src/gallium/drivers/radeon/radeon_uvd.c    2013-09-27 23:14:45.384398128
+0200
@@ -1094,8 +1094,12 @@ int ruvd_get_video_param(struct pipe_scr
         case PIPE_VIDEO_CODEC_MPEG12:
         case PIPE_VIDEO_CODEC_MPEG4:
         case PIPE_VIDEO_CODEC_MPEG4_AVC:
-        case PIPE_VIDEO_CODEC_VC1:
             return true;
+        case PIPE_VIDEO_CODEC_VC1:
+            /* Only advanced is supported */
+            if (profile == PIPE_VIDEO_PROFILE_VC1_ADVANCED)
+                return true;
+            /* fall through... */
         default:
             return false;
         }

Yet my WMV3 file is still going through VDPAU. So either my file is advanced
profile and that is broken, or xbmc not fully respecting the list?

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-09-27 21:24 ` bugzilla-daemon
@ 2013-09-28 15:49 ` bugzilla-daemon
  2013-10-01 18:34 ` bugzilla-daemon
  2019-09-18 19:03 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-09-28 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
(In reply to comment #3)
> 
> Yet my WMV3 file is still going through VDPAU. So either my file is advanced
> profile and that is broken, or xbmc not fully respecting the list?

Turned out that the UVD symbols get duplicated both into the VDPAU driver and
the DRI driver. So you have to replace both to get your changes to go through.

Still didn't work properly though as XBMC seems to not bother asking the driver
what it can do and just blindly assumes that every format is available...

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-09-28 15:49 ` bugzilla-daemon
@ 2013-10-01 18:34 ` bugzilla-daemon
  2019-09-18 19:03 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2013-10-01 18:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #4)
> Still didn't work properly though as XBMC seems to not bother asking the
> driver what it can do and just blindly assumes that every format is
> available...

Which is pretty much the reason why I haven't fixed it so far, you also need to
fix the applications as well. MPEG1 isn't supported either, but pretty much
every application is ignoring the decoder capabilities.

Anyway if you want to write a patch to start fixing those issues feel free to
do so, any help is always welcome.

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

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

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

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

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

* [Bug 65611] UVD accelerated decoding causes hangs (ARUBA - HD 7540D)
  2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-10-01 18:34 ` bugzilla-daemon
@ 2019-09-18 19:03 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:03 UTC (permalink / raw)
  To: dri-devel


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

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

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

--- Comment #6 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/442.

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

[-- Attachment #1.2: Type: text/html, Size: 2459 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] 7+ messages in thread

end of thread, other threads:[~2019-09-18 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10 14:11 [Bug 65611] New: UVD accelerated decoding causes hangs (ARUBA - HD 7540D) bugzilla-daemon
2013-09-27 18:50 ` [Bug 65611] " bugzilla-daemon
2013-09-27 19:23 ` bugzilla-daemon
2013-09-27 21:24 ` bugzilla-daemon
2013-09-28 15:49 ` bugzilla-daemon
2013-10-01 18:34 ` bugzilla-daemon
2019-09-18 19:03 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).