VLC segfaults after upgrade

I upgraded VLC to 2.2.1 from packman, and now it segfaults when I try to run it. This is the last part of the terminal output:

[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
Segmentation fault

It’s true, I don’t have the driver it’s trying to open, and it doesn’t seem to be available in any of the normal repositories either. The closest thing I have is this: /usr/lib64/dri/r600_dri.so. I’m hesitant to start installing random packages when everything else is working fine, and even VLC was working this morning. Does someone know what I need to do?

openSUSE 13.2
Radeon HD 6670

Try to uninstall libvdpau_va_gl1.
This is mainly intended for intel systems, and it (the version in 13.2 at least) doesn’t seem to work too well with VLC.

For VLC it’s unnecessary anyway, as VLC supports VA-API directly.

Thanks! That helped a lot. VLC plays from the command line now at least. It complains about the missing file (“Failed to open VDPAU backend libvdpau_va_gl.so”), but it plays videos anyway. I have some problems with ISOs, but I will deal with that later.

The main problem I still have is that there is no gui. There is a message that is probably important:

skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
skins2 interface error: cannot instantiate qt4 dialogs provider

What plugin? I don’t know what this is about. I have vlc-qt installed, and the package dependencies were fine when I installed it. It seems odd that something would be missing. Still, I tried adding some other packages that were listed that sounded helpful: libvlc-qt-qml0_10, libvlc-qt-widgets0_10, and libvlc-qt0_10, but it didn’t make a difference. I’m stumped again.

Those packages are unnecessary.
And yes, if vlc-qt is installed, the interface should work.

Do all your vlc packages have exactly the same version?

rpm -qa | grep vlc

Can you please post your repo list?

zypper lr -d

Also, do a full switch to the repo where you installed vlc from.
This will make sure that all necessary packages come from there and there’s no incompatible mix, might fix your “problem with ISO files” too… :wink:
https://en.opensuse.org/SDB:Vendor_change_update#Full_repository_Vendor_change

Yes.

$ rpm -qa | grep vlc
libvlc5-2.2.1-285.1.x86_64
libvlccore8-2.2.1-285.1.x86_64
vlc-2.2.1-285.1.x86_64
vlc-codecs-2.2.1-285.1.x86_64
vlc-noX-2.2.1-285.1.x86_64
vlc-noX-lang-2.2.1-285.1.noarch
vlc-qt-2.2.1-285.1.x86_64
vlc-gnome-2.2.1-285.1.x86_64
$ zypper lr -d
#  | Alias                     | Name                               | Enabled | Refresh | Priority | Type     | URI                                                             | Service                                                                                             
---+---------------------------+------------------------------------+---------+---------+----------+----------+-----------------------------------------------------------------+--------
 1 | Essentials                | Essentials                         | Yes     | No      |   99     | rpm-md   | http://mirror.pcbeta.com/packman/suse/openSUSE_13.2/Essentials/ |        
 2 | Multimedia                | Multimedia                         | Yes     | No      |   99     | rpm-md   | http://mirror.pcbeta.com/packman/suse/openSUSE_13.2/Multimedia/ |        
 3 | dvd                       | dvd                                | Yes     | No      |   99     | rpm-md   | http://opensuse-guide.org/repo/13.2/                            |        
 4 | google-chrome             | google-chrome                      | Yes     | No      |   99     | rpm-md   | http://dl.google.com/linux/chrome/rpm/stable/x86_64             |        
 5 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Yes     | No      |   99     | yast2    | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS224_A              |        
 6 | repo-debug                | openSUSE-13.2-Debug                | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/distribution/13.2/repo/oss/  |        
 7 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/13.2/                 |        
 8 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/13.2-non-oss/         |        
 9 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | No      |   99     | yast2    | http://download.opensuse.org/distribution/13.2/repo/non-oss/    |        
10 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | No      |   99     | yast2    | http://download.opensuse.org/distribution/13.2/repo/oss/        |        
11 | repo-source               | openSUSE-13.2-Source               | Yes     | No      |   99     | yast2    | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |        
12 | repo-update               | openSUSE-13.2-Update               | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/update/13.2/                       |        
13 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/update/13.2-non-oss/               |       

(I do have automatic refresh turned off, but I refreshed the repositories manually before upgrading to VLC.)

I did that, using the first two repos above, and it did fix my ISO problems! (Before, there was no sound, and the menus didn’t work right.) It didn’t do anything for the interface though. I still get the same error messages about the skins.

Hm, I would suggest to delete the vlc config then, to revert to the defaults:

rm -r ~/.config/vlc*

Or try starting vlc with “vlc --reset-config”, that should achieve the same.

I forgot to mention that I tried that already. I did it again too, but it didn’t help. Do you have any more ideas?

Well, the message indicates that VLC tries to use the skins2 interface (which doesn’t work here too).
Resetting the settings should have made it revert to Qt.

So apparently it doesn’t even recognize that the Qt plugin is installed I think…

Try to recreate the plugin cache:

sudo /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins

(although this should be done automatically when you install any vlc package)

Try to remove ~/.cache/vlc and ~/.local/share/vlc too if they exist.

Check that the vlc-qt files are there and not corrupted:

rpm -V vlc-qt

(no output means that everything’s ok)

A question: does YaST work? If not you might have a problem with your Qt5 installation.

If all of the above doesn’t help, try to force the Qt interface in verbose mode and post all output:

vlc -vvv -I qt

And just to be sure: you are not trying to run VLC as root (via su or sudo), are you?
And you didn’t try to compile it yourself, right? (in that case there might be some left-overs in /usr/local/ causing problems)

No, I did not compile it myself, and I am not running as root. I recreated the plugin cache, and removed the cache and configuration files like you said. The rpm verification returned no output. YaST works fine. I used it to install VLC and switch to the other repo.

VLC doesn’t work if I try to force it to use the qt interface. It looks like something is wrong with the plugin or libraries:

$ vlc -vvv -I qt TimeScapes\ 1080p.mp4 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[000000000222b0b8] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[000000000222b0b8] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[000000000222b0b8] core libvlc debug: revision 2.2.1-0-ga425c42
[000000000222b0b8] core libvlc debug: configured with ./configure  '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--enable-aa' '--enable-alsa' '--enable-dvbpsi' '--enable-dvdnav' '--enable-dvdread' '--enable-flac' '--enable-fast-install' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gnomevfs' '--enable-gnutls' '--enable-httpd' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libcddb' '--enable-opencv' '--enable-sftp' '--disable-svgdec' '--enable-swscale' '--enable-libmpeg2' '--enable-mad' '--enable-avcodec' '--enable-postproc' '--enable-faad' '--enable-a52' '--enable-dca' '--enable-lirc' '--enable-live555' '--enable-lua' '--enable-mkv' '--enable-mod' '--enable-ogg' '--enable-optimizations' '--disable-oss' '--enable-pulse' '--enable-realrtsp' '--enable-sout' '--enable-speex' '--enable-taglib' '--enable-theora' '--enable-v4l2' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--disable-x265' '--enable-xcb' '--enable-vdpau' '--enable-xvideo' '--with-default-font=/usr/share/fonts/truetype/FreeSerifBold.ttf' '--with-default-monospace-font=/usr/share/fonts/truetype/FreeMono.ttf' 'build_alias=x86_64-suse-linux-gnu' 'host_alias=x86_64-suse-linux-gnu' 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' 'CXXFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
[000000000222b0b8] core libvlc debug: searching plug-in modules
[000000000222b0b8] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[000000000222b0b8] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[000000000222b0b8] core libvlc warning: cannot load module `/usr/lib64/vlc/plugins/gui/libqt4_plugin.so' (/usr/lib64/vlc/plugins/gui/libqt4_plugin.so: undefined symbol: _ZNK19QAbstractProxyModel15canDropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex)
[000000000222b0b8] core libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[000000000222b0b8] core libvlc debug: plug-ins loaded: 458 modules
[000000000222b0b8] core libvlc debug: opening config file (/home/dan/.config/vlc/vlcrc)
[000000000222b0b8] core libvlc debug: translation test: code is "C"
[000000000222b0b8] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU 
[000000000230d8f8] core input debug: Creating an input for 'Media Library'
[000000000230d8f8] core input debug: Input is a meta file: disabling unneeded options
[000000000230d8f8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[000000000230d8f8] core input debug: `file/xspf-open:///home/dan/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/dan/.local/share/vlc/ml.xspf'
[000000000230d8f8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/dan/.local/share/vlc/ml.xspf' file='/home/dan/.local/share/vlc/ml.xspf'
[00000000022fb218] core demux debug: looking for access_demux module matching "file": 21 candidates
[00000000022fb218] core demux debug: no access_demux modules matched
[000000000230d8f8] core input debug: creating access 'file' location='/home/dan/.local/share/vlc/ml.xspf', path='/home/dan/.local/share/vlc/ml.xspf'
[00000000022fb218] core access debug: looking for access module matching "file": 26 candidates
[00000000022fb218] filesystem access debug: opening file `/home/dan/.local/share/vlc/ml.xspf'
[00000000022fb218] core access debug: using access module "filesystem"
[00000000022fec08] core stream debug: Using stream method for AStream*
[00000000022fec08] core stream debug: starting pre-buffering
[00000000022fec08] core stream debug: received first data after 0 ms
[00000000022fec08] core stream debug: pre-buffering done 296 bytes in 0s - 12567 KiB/s
[00000000022ffa78] core stream debug: looking for stream_filter module matching "any": 9 candidates
[00000000022ffa78] core stream debug: no stream_filter modules matched
[00000000022ffa78] core stream debug: looking for stream_filter module matching "record": 9 candidates
[00000000022ffa78] core stream debug: using stream_filter module "record"
[000000000230d8f8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/dan/.local/share/vlc/ml.xspf' file='/home/dan/.local/share/vlc/ml.xspf'
[0000000002303448] core demux debug: looking for demux module matching "xspf-open": 65 candidates
[0000000002303448] xspf demux debug: using XSPF playlist reader
[0000000002303448] core demux debug: using demux module "playlist"
[0000000002303678] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000000002303678] lua demux meta debug: Trying Lua scripts in /home/dan/.local/share/vlc/lua/meta/reader
[0000000002303678] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
[0000000002303678] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
[0000000002303678] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000000002303678] core demux meta debug: no meta reader modules matched
[000000000230d8f8] core input debug: `file/xspf-open:///home/dan/.local/share/vlc/ml.xspf' successfully opened
[0000000002303598] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000000002303598] core xml reader debug: using xml reader module "xml"
[0000000002303448] xspf demux debug: parsed 0 tracks successfully
[000000000230d8f8] core input debug: EOF reached
[0000000002303448] core demux debug: removing module "playlist"
[00000000022ffa78] core stream debug: removing module "record"
[00000000022fb218] core access debug: removing module "filesystem"
[00000000023135b8] core playlist debug: creating audio output
[000000000232fd48] core audio output debug: looking for audio output module matching "any": 6 candidates
[000000000232fd48] pulse audio output debug: using library version 5.0.0
[000000000232fd48] pulse audio output debug:  (compiled with version 5.0.0, protocol 29)
[000000000232fd48] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #22
[000000000232fd48] pulse audio output debug: using protocol 29, server protocol 29
[000000000232fd48] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo (Turks/Whistler HDMI Audio [Radeon HD 6000 Series] Digital Stereo (HDMI))
[000000000232fd48] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[000000000232fd48] core audio output debug: using audio output module "pulse"
[00000000023135b8] core playlist debug: keeping audio output
[00000000023135b8] core playlist debug: adding item `TimeScapes 1080p.mp4' ( file:///home/dan/movies/TimeScapes%201080p.mp4 )
[00007f68d0000958] core input debug: Creating an input for 'TimeScapes 1080p.mp4'
[000000000232ecc8] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[000000000232ecc8] core interface debug: using interface module "hotkeys"
[000000000232f558] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[000000000232f558] core interface debug: using interface module "xcb_hotkeys"
[0000000002335668] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000000002335668] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000002335668] core interface debug: using interface module "dbus"
[0000000002339068] core interface debug: looking for interface module matching "qt": 18 candidates
[0000000002339068] core interface debug: no interface modules matched
[0000000002339068] core interface error: no suitable interface module
[000000000222b0b8] core libvlc error: interface "default" initialization failed
[000000000222b0b8] core libvlc debug: removing all interfaces
[000000000222b0b8] core libvlc debug: exiting
[0000000002335668] core interface debug: removing module "dbus"
[000000000232f558] core interface debug: removing module "xcb_hotkeys"
[000000000232ecc8] core interface debug: removing module "hotkeys"
[00000000023135b8] core playlist debug: destroying
[00000000023135b8] core playlist debug: deactivating the playlist
[000000000232fd48] core audio output debug: removing module "pulse"
[00000000023135b8] core playlist debug: meta ok for (null), need to fetch art
[00007f68d0004068] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
[00007f68d0004068] lua art finder debug: Trying Lua scripts in /home/dan/.local/share/vlc/lua/meta/fetcher
[00007f68d0004068] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher
[00007f68d0004068] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/fetcher/tvrage.luac
[00007f68d0004068] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/fetcher/tvrage.luac
[00007f68d0004068] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f68d0004068] core art finder debug: no meta fetcher modules matched
[00000000023135b8] core playlist debug: searching art for TimeScapes 1080p.mp4
[00007f68d0f2c948] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007f68d0f2c948] lua art finder debug: Trying Lua scripts in /home/dan/.local/share/vlc/lua/meta/art
[00007f68d0f2c948] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art
[00007f68d0f2c948] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
[00007f68d0f2c948] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
[00007f68d0f2c948] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
[00007f68d0f2c948] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
[00007f68d0f2c948] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
[00007f68d0f2c948] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
[00007f68d0f2c948] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
[00007f68d0f2c948] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
[00007f68d0f2c948] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f68d0f2c948] core art finder debug: no art finder modules matched
[00000000023135b8] core playlist debug: art not found for TimeScapes 1080p.mp4
[0000000002336568] core playlist export debug: saving Media Library to file /home/dan/.local/share/vlc/ml.xspf.tmp2829
[0000000002336568] core playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0000000002336568] core playlist export debug: using playlist export module "export"
[0000000002336568] core playlist export debug: removing module "export"

Right, you seem to have some incompatible libraries (in particular Qt5) installed, so the Qt plugin crashes when it is loaded.

Did you ever install Qt5 from some extra repo?
What versions do you have installed?

rpm -qa libQt5*

I had 5.3.2 installed. Version 5.4.1 was available, so I updated libqt5*. That was what I needed to do. VLC works fine now. (I thought that this was the sort of trouble rpm-based systems were supposed to avoid.) Thank you wolfi323 for all your help and patience!

Well, the vlc-qt package doesn’t specify that it needs 5.4.1 at least. (actually it doesn’t, but as 5.4.1 has been released as update for 13.2, vlc on Packman has been rebuilt against that and doesn’t work with lower versions any more because of that)

Those library dependencies are determined by rpm automatically when building the package (it would not be manageable to add all of them manually), but it’s impossible to determine things like that in an automatic fashion.
And Qt is supposed to be backwards compatible, but not forwards compatible (like most libraries). I.e. applications built against an older version should work fine with a newer version, but not the other way round.

The only way to prevent something like this would be to change Packman to only build against plain 13.2 (no updates), but that would cause other problems.

OTOH, a library like Qt5 would normally not be upgraded from 5.3.x to 5.4.x via the standard update channel anyway, that’s against openSUSE’s update policy. But in this case an exception was made to be able to update KF5 and Plasma5.

But that libqt5 update has been released in May already. :
When did you last update your system?
You probably should not disable Auto-Refresh for the update repo…

Ah. That makes sense.

Back when 13.2 came out. I wasn’t expecting a library change.

Oh, I know. But I am living in Mexico right now, and my Internet connection only works about 60% of the time. Sometimes the refresh takes half an hour per repo or fails entirely. For that reason, I do it manually when the connection seems to be working. That’s also why I don’t update often. It could easily fail halfway through the process. Modern tools just aren’t made for a connection like mine.

On 2015-07-22 06:36, dangerhards wrote:
> Modern tools just aren’t made for a connection like mine.

That’s true.

I know of people that get updates in a library, and bring a usb stick
home with them…


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))