You are not logged in.
Pages: 1
Topic closed
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
Check the vlc log and/or terminal output for errors?
Are you on gnome on wayland?
Offline
You could try to use another video output module.
Last edited by infinarchy (2017-02-21 02:08:54)
Offline
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
Have you tried to use another media player like mpv?
Offline
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
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
I'll try, thanks!
By the way, the update came in a usual system upgrade with pacman -Syu
Offline
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
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
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
➜ % ~ echo $XDG_SESSION_TYPE
x11
So, simply a VLC bug?
Offline
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
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
The problem is gone after latest updates.
Offline
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
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
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
Offline
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
Offline
Pages: 1
Topic closed