Page 1 of 1
wmv output completely corrupted (2.2.4)
Posted: 10 Dec 2016 14:26
by vlc-user
Hi,
I haven't watched wmv files for a while, so I don't know in which version the issue was introduced.
But currently, wmv files look like this:
- I've tried all "Ouptput" options, none worked (can't tell for "ASCII art)
- All the wmv videos I've tried played fine with previous VLC versions
- All the wmv videos I've tried are affected
- All the wmv videos I've tried play fine with mplayer
- No other video format is affected
System & version info:
Arch Linux 64 bit updated today
AMD Radeon 7750 with radeon driver
VLC 2.2.4 "Weatherwax"
Regards,
vlc-user
Re: wmv output completely corrupted (2.2.4)
Posted: 10 Dec 2016 15:02
by Rémi Denis-Courmont
Maybe a display driver bug? Disable hardware-accelerated decoding?
Re: wmv output completely corrupted (2.2.4)
Posted: 10 Dec 2016 22:35
by vlc-user
well ... I've tried with VDPAU and other output drivers. Is that what you mean ?
Re: wmv output completely corrupted (2.2.4)
Posted: 11 Dec 2016 10:23
by Rémi Denis-Courmont
No.
Re: wmv output completely corrupted (2.2.4)
Posted: 20 Dec 2016 15:44
by InTheWings
Specific WMV files and payload parsing regression ?
That should work with samples from there:
http://streams.videolan.org/streams/asf-wmv/
Re: wmv output completely corrupted (2.2.4)
Posted: 24 Feb 2017 01:21
by vlc-user
I have some news ... it looks like some sort of initialization problem. After clicking on stop and play several times, the video plays. Sometimes it helps to add a video in a different format to the playlist and play that one for a few seconds, then return to the wmv video.
Re: wmv output completely corrupted (2.2.4)
Posted: 07 Mar 2017 08:12
by BPirate
I can confirm same issue. The workaround is disabling HWA at the expense of heavy cpu usage. Thankfully most of my hd videos are in different containers and this issue is limited to .wmv's -- so I immediately switch HWA back to "automatic" once I'm done with the .wmv's.
Relevant system info:
Code: Select all
vlc: 2.2.4
firejail: 0.9.44.8
kernel: 4.9.11-1-ARCH
graphics: Tahiti PRO
driver: radeon
additional driver options: TearFree
Re: wmv output completely corrupted (2.2.4)
Posted: 07 Mar 2017 17:13
by Rémi Denis-Courmont
This strongly suggests a display driver bug.
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 00:05
by vlc-user
Well ... from the "dumb user" perspective it feels strange that an issue that's specific to a file format should be a video driver bug.
But the more important question is: If we try to file a bug report for the display driver, how can we describe the bug details so they won't reject it right away as "strongly suggests an application bug" ?
I already see myself playing ping-pong ...
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 08:11
by Rémi Denis-Courmont
Did you actually check any other application with WMV hardware decoding support? And if so, did you use the exact same libavcodec version, and threads count? Otherwise, comparing other apps is kinda meaningless.
AFAIK, mpv/mplayer uses single threaded VDPAU, so that is not a good reference for comparison.
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 08:20
by BPirate
Did you actually check any other application with WMV hardware decoding support? And if so, did you use the exact same libavcodec version, and threads count? Otherwise, comparing other apps is kinda meaningless.
AFAIK, mpv/mplayer uses single threaded VDPAU, so that is not a good reference for comparison.
If you're talking to me I can confirm the same glitchy behaviour on smplayer when HW decoding is set on "auto" and "vdpau." (It's disabled by default.)
I don't believe mpv supports HWA as it's a very simple player. (I'm probably wrong about this but w/e.)
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 08:22
by Rémi Denis-Courmont
So it's not a VLC (nor smplayer) bug. The only commonality between them are libavcodec and the VDPAU device driver. And in my experience, it's far more likely a problem with AMD drivers than libavcodec...
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 08:25
by BPirate
Btw a word of caution for those of you with an r9-280, if you're thinking about replacing stock radeon with
amdgpu, I suggest you don't (seriously trust me on this.) At least, not now.
Re: wmv output completely corrupted (2.2.4)
Posted: 25 Mar 2017 10:08
by vlc-user
Oh, thanks for the warning. I'm using a Radeon 7750 and AFAIK, the amdgpu driver supoorts this old card now too. And indeed, I planned to switch to amdgpu in near future.
And thanks for saving me the time testing mplayer / smplayer.
Re: wmv output completely corrupted (2.2.4)
Posted: 27 Mar 2017 18:14
by BPirate
This might have something to do with something.
Code: Select all
kernel: [drm:radeon_uvd_cs_parse [radeon]] *ERROR* UVD handle collision detected!
kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Reproducible by dragging a video (not just wmv) into an already-playing video within vlc's main window.
Not reproducible if the existing video is stopped/done playing.