I installed VLC from packman but it does not display any video.
I thought this might have something to do with the repo
so I input:
sudo zypper dup --from packman
I tried to use VLC again but the same issue persists
I am currently running KDE
How can I fix this?
I know That there is nothing wrong with the video file, as I was able to play it on another ubuntu laptop, as well as another laptop which had opensuse and i3 without any problem
do as described in the previous post only replace the TW repo with the LEAP repo
zypper ar -f ftp://packman.inode.at/suse/openSUSE_Leap_42.3/ packman
zypper dup --from packman
zypper in vlc-codecs libxine2-codecs
note the last line vlc-codecs does not exist in oss so only doing zypper dup --from packman is not enough you need to install vlc-codecs
you mentioned packman but didn’t tell us your repo list, what does this say
the only repo I added is the packman repo in addition to the default repo after a fresh install
VLC was the first thing I tried to get up and running…
so stepwise I did the following immediately after I installed openSUSE
added packman repo
installed packman vers of VLC and its dependencies, including the two that was mentioned in your post,
attempted to use VLC but there was no video, or sound
To be sure I converted all possible packages to packman
attempted to play VLC again to no avail and it has led me to posting here
I do not understand why this worked fine before with a different DE
what’s your graphic card
some intel chips have issue with vdpau which I believe is the default in vlc I don’t know why
you can switch to va-api in vlc preferences https://i.imgur.com/AueCbBs.jpg the above is not my picture found it with google search
or install libvdpau-va-gl which redirects vdpau to vaapi
zypper in libvdpau-va-gl
or uninstall libvdapu1
zypper rm libvdpau*
another thing that could be an issue is vlc-codec-gstreamer
this is not installed by default but if you installed it it will use gstreamer as a decoding backend in vlc and that one has issues on nvidia chips as it tries to use va-api where there is no va-api support
so what’s the output of
just out of curiosity do kaffeine or dragon work
dragon uses gstreamer and kaffeine uses libxine2 so it’s a way to see where the issue is libvlc or there are some missing packages (both libxine2 and gstreamer use vdpau or va-api on supported hardware)
you can also run vlc from a terminal window and see the errors (if any) it displays
I tried all the suggested solution none of them fixed the issue
both kaffiene and dragon do not work.
The fix was to just to set the following preferences in vlc:
Video -> Output Modules -> OpenGL -> OpenGL Extension = GLX
I didnt think this would be the solution because it was set to automatic on the first install and worked just fine (on the same system),
Im at a loss here because Im not sure what the reasoning is for this issue forcing me to make the change in vlc, is there a reasonble way to understand or track down why this occured in the first place?
you didn’t tell us what graphic card you have and which driver you use what’s the output of
sudo lspci -v | grep VGA
you graphic system doesn’t seam to have any hardware acceleration
if you have an nvidia card you should know that the noveau driver needs a blob from the nvidia driver package to get hardware acceleration
if you’re on intel you should not have this issue as intel drivers are build-in the kernel
amd users have it more complex the older cards have been depreciated by amd and the newer ones need the propitiatory driver see https://en.opensuse.org/SDB:AMDGPU-PRO (current amd driver for new cards) https://en.opensuse.org/SDB:AMD_fglrx (abandoned by amd does not work on 42.3) https://en.opensuse.org/SDB:Radeon (open sourced I’m not sure about hardware acceleration)