Skip to contentSkip to conversation

New: JUNIPER UVD accelerated playback of WMV3 streams does not work

Bug 66452 [email protected] 1 participant 11 messages Jul 1, 2013 – Jun 18, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 66452
Assignee: [email protected]
Summary: JUNIPER UVD accelerated playback of WMV3 streams does
not work
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI

When playing WMV3 streams using mplayer (or mplayer2 or ffplay or mpv) the output is corrupted: it looks like black rectangle with color mess at the top
(https://imageshack.com/a/img22/534/yw2a.png).

acceleration of h264 works fine, so I conclude that UVD is initialized succesfully

Radeon Mobility HD 5850

Kernel 3.10.0, libdrm and mesa are from git master (30.06.2013)

sample file: http://samples.mplayerhq.hu/asf-wmv/asf_with_chapters.wmv

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Product|DRI                         |Mesa
          Component|DRM/Radeon                  |Drivers/Gallium/r600
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #1 from Eugene Shalygin <[email protected]> --- Playback of WMV3 streams using UVD sometimes leads to computer hangs (see below). After upgrade of ffmpeg to version 2.0 from 1.2 these hangs happen much more often, almost every time I try to play a WMV3 stream after several seconds of playback.

Gentoo was porting UVD patches to 3.9 kernel, and I remember that in the time of 3.9 kernel WMV3 deconding was producing correct images (and computer hangs also). With current ucode and kernel 3.9 WMV3 decondig produces the does not work also.

Hangs seem to be almost complete: SysRQ does not work, mouse pointer does not move. The only thing that remains alive is laptop Fn key combsnations to turn on/off backlit of keyboard and screen backlight. Screen backlight turns on (after being turned off) by any key press. Screen picture disappears for 7-10 seconds every 20 or 30 seconds in the "hanged mode" and eventually lead to complete hang of the computer.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #2 from Eugene Shalygin <[email protected]> --- Created attachment 82368
--> https://bugs.freedesktop.org/attachment.cgi?id=82368&action=edit
kernel log during a hang

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #3 from Eugene Shalygin <[email protected]> --- Previous log was accured with Gentoo 3.9 kernel when I managed to kill player process before complete hang. Since neither keyboard nor ssh does not work after a short time after the hang, it is hard for me to get a log with kernel 3.10

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #4 from Eugene Shalygin <[email protected]> --- Created attachment 82507
--> https://bugs.freedesktop.org/attachment.cgi?id=82507&action=edit
kernel log after WMV3 decode attempt

Today it managed to avoid hangs one time and gave me the log (the player was mpv master branch using ffmpeg 2.0).

Instead of hanging, it dimed screen couple of times, then showed colours cycle (red, green,blue and so on) and than allowed me to kill the player from console.

After killing the player, I returned to X. The desktop was there, but on the next screen repaint X crashed. After that I was not able to log in into KDE:
kwin was crashing X on every start.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #5 from Eugene Shalygin <[email protected]> ---
Since commit 5b4e2db12d9b45e898a8eb6599d928504ffd30c3 disabled VC-1
simple/main profiles for UVD 3, maybe it might have sense to disable it for UVD 2 also? VC-1 advanced profile seems to be working fine, without hangs.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #6 from jyliu <[email protected]> ---
My juniper with latest ubuntu 14.04(kernel 3.13) could not reproduce this bug please try new distros

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #7 from jyliu <[email protected]> ---
neither ubuntu 12.04.4 can reproduce this bug
seems it's solved by driver udpates

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

--- Comment #8 from Eugene Shalygin <[email protected]> --- unfortunately (for this bug) I do not run JUNIPER card anymore. The very last time I checked this was in the beginning of may with Mesa master branch and the bug was still there.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

In reply to [email protected]

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

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Christian König <[email protected]> --- Well that's actually not really a bug. The hardware just doesn't support WMV3, it only support VC-1 in the advanced profile. So depending on what stream you got it might work or not.

Anyway I've just pushed a patch stopping advertising VC-1 simple and main profile (which are essentially WMV3) support on JUNIPER as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel