Hi to all.
Using last snapshot of tumbleweed I tried to install multimedia codes, but no meter what I did, it always gives the same error.
Error consist in that when I try to play video (.mkv) VLC opens file but after first second of playback video is crushing and audio continues.
If I try close VLC it hangs in tray and I need only to kill it through System Meager (End Task doesn’t help).
What I already did:
Added
zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman
More updates.
After installing mplayer, smplayer its turn to be possible to use smplayer to open and play flawlessly same file what VLC cant.
So, I presume, problem is in VLC…
there has been a masive update in tw and with the move to gcc6 more will follow
in the mean time start vlc from a terminal window and see what error pops up when vlc crashes
if youre using plasma start konsole type vlc and do some vlc-ing
when vlc crashes see the terminal output, you can redirect the terminal output to a text file by using #vlc > /home/<you>/vlc-log.txt
it’s also a good idea to post your repo list as there might be a package from a 3rd party repo so post
VLC has been quite troublesome in tumbleweed, though I always assumed it was because I was using a rather strange combination of bumblebee with opensource drivers, apparently not - at least in the last version it works most of the time. SMplayer and totem have worked as alternatives.
I would say set vaapi out in vlc
I’m not sure about the bunblebee driver specifically but I’m pretty sure that there are no propitiatory binaries on OBS and nobody provides prebuild nvidia drivers for TW so did you install the propitiatory part from nvidia’s run file?
It’s most likely a noevau issue and noevoau does not handle vdpau acceleration well, intel’s driver with vaapi should work fine, still run it from a console to see the culprit.
Okay, problem solved.
I ran VLC in terminal and received this output:
VLC media player 2.2.4 Weatherwax (revision 2.2.4)
[00000000018f02c8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.39.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_39
libva info: va_openDriver() returns 0
[00007f5450c3a388] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[00007f54540012d8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f54540012d8] http access error: cannot connect to services.tvrage.com:80
[00007f5484c10838] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f5484c10838] http access error: cannot connect to services.tvrage.com:80
[00007f54540012d8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f54540012d8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f5454000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=file %5B'
[00007f5484c10838] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f5484c10838] access_mms access error: cannot connect to services.tvrage.com:80
[00007f5484c0cbe8] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=file %5B'
Killed
After fast google search with this error:
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
And fallowed the tip to change codec to vaapi via x11 on codec tab and also change video output to “x11 video outpu (XBC)” on video tab and its worked flawlessly.
By the way, there no necessity to run VLC with optirun or primusrun, Intel card is completely capable to do it.
Thanks a lot for your help.
OBS.: Just a little observation, as a personal opinion, smplayer seems to be a lot more comfortable to use then VLC.
I don’t know what graphic card you have, but unless it’s a higher end card the noveau driver should work just fine, the hassle of running the proprietary nvidia drivers aren’t worth it half the time. and yes, SMplayer does work very well (it just doesn’t have all the features VLC has)