You are not logged in.

#1 2017-02-19 14:32:53

Jason P.
Member
Registered: 2015-02-26
Posts: 171

VLC 2.2.4-7 no video during playback

After updating VLC to version 2.2.4-7 I have this strange problem with any video. Sound is ok but no image at all, the picture is just black. Others reported this issue recently and apparently downgrading to a previous version solves the problem.

Anyone else having this problem?


Update #1: tried downgrading to 2.2.4-6 and 2.2.4-5 and clearing the config folder but the problem is still present.

Last edited by Jason P. (2017-02-19 15:59:29)

Offline

#2 2017-02-19 20:54:58

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: VLC 2.2.4-7 no video during playback

Check the vlc log and/or terminal output for errors?

Are you on gnome on wayland?

Offline

#3 2017-02-21 02:04:52

infinarchy
Banned
Registered: 2016-09-19
Posts: 73

Re: VLC 2.2.4-7 no video during playback

You could try to use another video output module.

Last edited by infinarchy (2017-02-21 02:08:54)

Offline

#4 2017-02-22 22:01:23

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

I'm getting this error when trying to play any video:

vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.

I always had video output method to VDPAU with no problems. Maybe an update of mesa-vdpau has messed things up. In automatic mode I have the same problem and with OpenGL GLX I manage to see the image, although with constant glitches.

Offline

#5 2017-02-23 03:56:37

infinarchy
Banned
Registered: 2016-09-19
Posts: 73

Re: VLC 2.2.4-7 no video during playback

Have you tried to use another media player like mpv?

Offline

#6 2017-02-23 20:47:12

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

Video playback is working in Chrome for example. I've tried with a couple of local mpg.

Today I've update mesa-vdpau to version 17.0.0-2 and no improvement at all.

Offline

#7 2017-02-23 20:57:41

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: VLC 2.2.4-7 no video during playback

because chrome isn't using vdpau (google for rants on this)

Do not update single packages unless you know what you do and try mpv (or afaics mplayer is even more verbose) on the matter:

mplayer -v -vo vdpau -vc ffh264vdpau video.mp4

check whether it plays, there's video - or error messages

Offline

#8 2017-02-23 20:59:38

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

I'll try, thanks!

By the way, the update came in a usual system upgrade with pacman -Syu wink

Offline

#9 2017-02-24 08:29:00

che3po
Member
Registered: 2017-02-24
Posts: 1

Re: VLC 2.2.4-7 no video during playback

Hello. I can confirm the issue on my sytem. vdpauinfo says that no decoder is supported, and vainfo failed with an error.

I tried

export VDPAU_DRIVER=vdpau

The video is shown again, but I still get an error:

Failed to open VDPAU backend libvdpau_vdpau.so: cannot open shared object file: No such file or directory

and vdpauinfo does not work any more:

Error creating VDPAU device: 1

I added the export line to /etc/profile and logout and in again for using vdpau system-wide.
Maybe I had changed other things, so can you confirm this?

Offline

#10 2017-02-25 16:48:01

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

mplayer -v -vo vdpau -vc ffh264vdpau video.mp4

Tried this and no problem. I have image on the video although with small glitches here and there in a source that VLC reproduced fine in the past.

Offline

#11 2017-02-25 20:03:43

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: VLC 2.2.4-7 no video during playback

returning to my former question then: is this gnome on wayland? (gnome defaults to wayland so if it's gnome and you don't know otherwise, the answer is "yes")

Otherwise this might simply be some vlc bug.

Offline

#12 2017-02-25 21:28:18

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

➜ % ~  echo $XDG_SESSION_TYPE
x11

So, simply a VLC bug?

Offline

#13 2017-04-08 22:12:06

wgnm
Member
Registered: 2013-02-02
Posts: 10

Re: VLC 2.2.4-7 no video during playback

Same problem here. KDE5 on X11 (and Nouveau driver).

export VDPAU_DRIVER=vdpau

This fixes it. Thanks!

Mesa packages:
extra/glu 9.0.0-4 [installed]
extra/libtxc_dxtn 1.0.1-6 [installed]
extra/libva-mesa-driver 17.0.2-2 [installed]
extra/mesa 17.0.2-2 [installed]
extra/mesa-demos 8.3.0-2 [installed]
extra/mesa-vdpau 17.0.2-2 [installed]
multilib/lib32-glu 9.0.0-3 [installed]
multilib/lib32-libtxc_dxtn 1.0.1-5 [installed]
multilib/lib32-mesa 17.0.2-1 [installed]

Offline

#14 2017-04-08 22:46:31

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: VLC 2.2.4-7 no video during playback

wgnm wrote:

export VDPAU_DRIVER=vdpau

This fixes it. Thanks!

That makes no sense. VDPAU_DRIVER=vdpau is entirely incorrect. The only possible way it "fixes" things is that it disables hardware decoding.

To use VDPAU decoding, you install the mesa-vdpau package and then do... nothing. Do *not* set the VDPAU_DRIVER variable. If you do set it, the only thing that makes sense is VDPAU_DRIVER=nouveau, but it's not necessary to set it at all. If that makes VLC not work, the issue could be VLC itself or the mesa vdpau driver. To check where the issue is, use a different player. For example, install mpv and then run "mpv --hwdec=vdpau somefile.mp4" or "mpv --hwdec=vdpau --vo=vdpau somefile.mp4"

Running Gnome on Wayland could be a problem, because VDPAU is X only, but you're using KDE on X11, so that's not it.

Last edited by Gusar (2017-04-08 22:48:20)

Offline

#15 2017-04-09 10:05:40

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: VLC 2.2.4-7 no video during playback

The problem is gone after latest updates.

Offline

#16 2017-09-05 14:22:37

polywog
Member
Registered: 2012-12-05
Posts: 3

Re: VLC 2.2.4-7 no video during playback

che3po wrote:

Hello. I can confirm the issue on my sytem. vdpauinfo says that no decoder is supported, and vainfo failed with an error.

I tried

export VDPAU_DRIVER=vdpau

The video is shown again, but I still get an error:

Failed to open VDPAU backend libvdpau_vdpau.so: cannot open shared object file: No such file or directory

and vdpauinfo does not work any more:

Error creating VDPAU device: 1

I added the export line to /etc/profile and logout and in again for using vdpau system-wide.
Maybe I had changed other things, so can you confirm this?

Doing the VDPAU_DRIVER worked for me.

user@host:~> vlc out-1.ogv
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[0000007516980418] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f2a8400c268] vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.
...
[00007f2a8400c268] vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.
QObject::~QObject: Timers cannot be stopped from another thread
user@host:~>     export VDPAU_DRIVER=vdpau
user@host:~> vlc out-1.ogv
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[0000005dc8fc3418] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_vdpau.so: cannot open shared object file: No such file or directory
QObject::~QObject: Timers cannot be stopped from another thread

It couldn't find the library, but oddly enough it played the video. Whereas before I was getting the errors noted above. I really don't care, so long as it's working :)

Offline

#17 2017-09-05 18:27:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: VLC 2.2.4-7 no video during playback

polywog, please read my above. What you've set is simply wrong.

One correction to my above post though - while it wasn't in the past, nowadays it is actually necessary to set the VDPAU_DRIVER variable. But set it properly, not to some bogus value.

Offline

#18 2017-09-05 22:21:31

polywog
Member
Registered: 2012-12-05
Posts: 3

Re: VLC 2.2.4-7 no video during playback

Gusar wrote:

polywog, please read my above. What you've set is simply wrong.

Hi, no problem. However, unless I (un)set that variable that I cannot play the video. I will try other recommendations I see here for hw decoding.

My laptop works just fine with the intel driver, I think the problem is that my work desktop has a couple of nvidia cards in them... so that would explain a driver problem. I have to install to vdpau nvidia/nouveau drivers I guess.

user@laptop:~> vlc out.ogv
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[000000de749db418] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
QObject::~QObject: Timers cannot be stopped from another thread
erecio@dellmo:~> rpm -qf /usr/lib64/dri/i965_drv_video.so
vaapi-intel-driver-1.8.2-1.1.x86_64

So it's interesting because on the work machine it wants: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

I guess that's why that you mentioned the varible only needs to be set for nvidia cards?? But setting the variable does nothing:

user@desktop:~> VDPAU_DRIVER=/usr/lib64/vdpau/libvdpau_nouveau.so.1 vlc out.ogv
libvdpau_nouveau.so.1      libvdpau_nouveau.so.1.0    libvdpau_nouveau.so.1.0.0  
user@desktop:~> export VDPAU_DRIVER=/usr/lib64/vdpau/libvdpau_nouveau.so 
user@desktop:~> vlc out.ogv 
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[000000834a48d338] pulse audio output error: PulseAudio server connection failure: Connection refused
[000000834a385418] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Thanks again smile

Offline

#19 2017-09-05 23:24:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: VLC 2.2.4-7 no video during playback

polywog, rpm is not Arch's package manager. Please ask your distro's community; we only support Arch. https://wiki.archlinux.org/index.php/Co … pport_ONLY


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB