https://bugs.freedesktop.org/show_bug.cgi?id=66452
Priority: medium Bug ID: 66452 Assignee: dri-devel@lists.freedesktop.org Summary: JUNIPER UVD accelerated playback of WMV3 streams does not work Severity: normal Classification: Unclassified OS: Linux (All) Reporter: eugene.shalygin+bugzilla.FDO@gmail.com 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
https://bugs.freedesktop.org/show_bug.cgi?id=66452
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|DRI |Mesa Component|DRM/Radeon |Drivers/Gallium/r600
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #1 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #2 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- Created attachment 82368 --> https://bugs.freedesktop.org/attachment.cgi?id=82368&action=edit kernel log during a hang
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #3 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- 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
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #4 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #5 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #6 from jyliu monk.liu@amd.com --- My juniper with latest ubuntu 14.04(kernel 3.13) could not reproduce this bug please try new distros
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #7 from jyliu monk.liu@amd.com --- neither ubuntu 12.04.4 can reproduce this bug seems it's solved by driver udpates
https://bugs.freedesktop.org/show_bug.cgi?id=66452
--- Comment #8 from Eugene Shalygin eugene.shalygin+bugzilla.FDO@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=66452
Christian König deathsimple@vodafone.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Christian König deathsimple@vodafone.de --- 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.
dri-devel@lists.freedesktop.org