wmv output completely corrupted (2.2.4)

*nix specific usage questions
vlc-user
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Feb 2010 18:40

wmv output completely corrupted (2.2.4)

Postby vlc-user » 10 Dec 2016 14:26

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:
Image
  • 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
Thanks and Regards,
Markus

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby Rémi Denis-Courmont » 10 Dec 2016 15:02

Maybe a display driver bug? Disable hardware-accelerated decoding?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vlc-user
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Feb 2010 18:40

Re: wmv output completely corrupted (2.2.4)

Postby vlc-user » 10 Dec 2016 22:35

well ... I've tried with VDPAU and other output drivers. Is that what you mean ?
Thanks and Regards,
Markus

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby Rémi Denis-Courmont » 11 Dec 2016 10:23

No.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby InTheWings » 20 Dec 2016 15:44

Specific WMV files and payload parsing regression ?
That should work with samples from there: http://streams.videolan.org/streams/asf-wmv/
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

vlc-user
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Feb 2010 18:40

Re: wmv output completely corrupted (2.2.4)

Postby vlc-user » 24 Feb 2017 01:21

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.
Thanks and Regards,
Markus

BPirate
Blank Cone
Blank Cone
Posts: 14
Joined: 23 May 2010 15:38

Re: wmv output completely corrupted (2.2.4)

Postby BPirate » 07 Mar 2017 08:12

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby Rémi Denis-Courmont » 07 Mar 2017 17:13

This strongly suggests a display driver bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vlc-user
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Feb 2010 18:40

Re: wmv output completely corrupted (2.2.4)

Postby vlc-user » 25 Mar 2017 00:05

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 ...
Thanks and Regards,
Markus

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby Rémi Denis-Courmont » 25 Mar 2017 08:11

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BPirate
Blank Cone
Blank Cone
Posts: 14
Joined: 23 May 2010 15:38

Re: wmv output completely corrupted (2.2.4)

Postby BPirate » 25 Mar 2017 08:20

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.)

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: wmv output completely corrupted (2.2.4)

Postby Rémi Denis-Courmont » 25 Mar 2017 08:22

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...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BPirate
Blank Cone
Blank Cone
Posts: 14
Joined: 23 May 2010 15:38

Re: wmv output completely corrupted (2.2.4)

Postby BPirate » 25 Mar 2017 08:25

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.

vlc-user
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Feb 2010 18:40

Re: wmv output completely corrupted (2.2.4)

Postby vlc-user » 25 Mar 2017 10:08

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.
Thanks and Regards,
Markus

BPirate
Blank Cone
Blank Cone
Posts: 14
Joined: 23 May 2010 15:38

Re: wmv output completely corrupted (2.2.4)

Postby BPirate » 27 Mar 2017 18:14

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests