tumbleweed/vlc/black screen

I have upgraded from 13.2 to Tumbleweed. vlc and vlc codes are installed from Packman. When I play a video I can hear audio, but have a black screen. Can anyone advise how to fix this?

Have you switched the Packman repo to the Tumbleweed version?
Please post your repo list.

Also try to do a full switch to the Packman repo. The upgrade might have installed crippled multimedia packages from the standard repo.



1 | packman-essentials | packman-essentials | Yes | (r ) Yes | Yes    
2 | packman_multimedia | packman_multimedia | Yes | (r ) Yes | Yes    
3 | repo-debug         | repo-debug         | Yes | (r ) Yes | Yes    
4 | repo-non-oss       | repo-non-oss       | Yes | (r ) Yes | Yes    
5 | repo-oss           | repo-oss           | Yes | (r ) Yes | Yes    
6 | repo-src-non-oss   | repo-src-non-oss   | No  | ----     | Yes    
7 | repo-src-oss       | repo-src-oss       | No  | ----     | Yes    
8 | repo-update        | repo-update        | Yes | (r ) Yes | Yes 

All are Tumbleweed repos. I have done zypper dup a couple of times since the upgrade. I can play videos with mplayer and totem.

We need

zypper lr -d

output. This one contains only names, not the real sources (URLs).
Also the prompts and command are missing.

But a “zypper dup” can switch packages back to the standard versions, at least with the default priorities (you didn’t post the repo priorities either).
You need to run “zypper dup --from packman_essentials” (or “zypper dup --from 1”).

Also, try to uninstall libvdpau_va_gl1 if it is installed. Some people had problems with VLC when this is installed. VLC supports VA-API directly anyway.


 zypper lr -d
#                   | Alias              | Name               | Enabled               | GPG Check                  | Refresh | Priority | Type   | URI                                                                            | Service
--------------------+--------------------+--------------------+-----------------------+----------------------------+---------+----------+--------+--------------------------------------------------------------------------------+--------
1 | packman-essentials | packman-essentials | Yes | (r ) Yes | Yes     |   98     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/ |        
2 | packman_multimedia | packman_multimedia | Yes | (r ) Yes | Yes     |   98     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Multimedia/ |        
3 | repo-debug         | repo-debug         | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/debug                             |        
4 | repo-non-oss       | repo-non-oss       | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss                           |        
5 | repo-oss           | repo-oss           | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss                               |        
6 | repo-src-non-oss   | repo-src-non-oss   | No  | ----     | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/src-non-oss                       |        
7 | repo-src-oss       | repo-src-oss       | No  | ----     | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/src-oss                           |        
8 | repo-update        | repo-update        | Yes | (r ) Yes | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/   

With libvdpau_va_gl1:


rick@tower:~> vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[09d5a160] pulse audio output error: PulseAudio server connection failure: Connection refused
[09caa2f0] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
[b20228b0] vdpau_avcodec generic error: decoder profile not supported: 12
QObject::~QObject: Timers cannot be stopped from another thread 

Without libvdpau_va_gl1:


rick@tower:~> vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[09482160] pulse audio output error: PulseAudio server connection failure: Connection refused
[093d22f0] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
QObject::~QObject: Timers cannot be stopped from another thread
rick@tower:~> vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[09444160] pulse audio output error: PulseAudio server connection failure: Connection refused
[093942f0] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
QObject::~QObject: Timers cannot be stopped from another thread 

# zypper dup --from packman-essentials
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do. 

Packman repositories 98, rest 99.

This does indeed look like a problem with VDPAU/libvdpau_va_gl1.
What graphics card do you actually have?
Is this an Optimus system (hybrid intel+nvidia) by chance?

Without libvdpau_va_gl1:

rick@tower:~> vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[09482160] pulse audio output error: PulseAudio server connection failure: Connection refused
[093d22f0] core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
QObject::~QObject: Timers cannot be stopped from another thread

Hm. It shouldn’t try to load libvdpau_va_gl.so if it isn’t installed.
Have you logged out and in again after uninstalling it?
If not, do that and it should hopefully work.

Onboard video:
Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 10)

Logged out/in. No difference.

So you get the same error message about “libvdpau_va_gl.so not found”?
Then you still seem to have configured that to be used.

What does this give?

echo $VDPAU_DRIVER

Does it work if you run vlc like this?

VDPAU_DRIVER="" vlc

I have uninstalled an installed libvdpau_va_gl1 several times. Easch time I logged out/in. Each times the related error messages were the same. I then rebooted. vlc now plays like a champ whether I double click on the various videos or open vlc first and then open the video file. I am at a loss to explain this.

At any rate, thanks very much for all the help.

On 10/06/2015 03:56 PM, wolfi323 wrote:
>
> rick71;2731286 Wrote:
>> Logged out/in. No difference.
> So you get the same error message about “libvdpau_va_gl.so not found”?
> Then you still seem to have configured that to be used.
>
> What does this give?
>
> Code:
> --------------------
> echo $VDPAU_DRIVER
> --------------------
>
>
> Does it work if you run vlc like this?
>
> Code:
> --------------------
> VDPAU_DRIVER="" vlc
> --------------------
>
>
Wouldn’t you want to remove the dbl quotes of use “vlc”?

No.
The point was to set the environment variable $VDPAU_DRIVER to an empty string.

Somewhere in all of this I did set that variable as you said. Maybe that did it.

No.
That only has effect for that one command.

But that variable is only set by the package libvdpau_va_gl1. If that isn’t installed, it should be empty in the first place.
Normally that is done on login, so it will stay set in the running session if you uninstall it.
That’s why you need to logout at least after the deinstallation, or maybe better reboot.

Without thinking about it too hard, or first hand knowledge of the actual coded logic, I imagine that any installation and de-installation is only writing the value of this variable to disk, as opposed to system memory. Hence the need to reboot – as its a global setting, and a simple logout would be insufficient to have impacted it … though manual invoking via

VDPAU_DRIVER="" vlc

certainly should have worked … or, alternatively, if there were user defined settings applied (which doesn’t seem to have been the case)

Yes.
In detail, libvdpau_va_gl1 installs the script /etc/profile.d/libvdpau-va-gl.sh that sets this variable to ‘va_gl’.