Discussion:
[Slackbuilds-users] new VLC always crashes
David Melik
2018-10-12 04:40:41 UTC
Permalink
after some version of VLC in the last year or so, it always crashes.  I
did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens.  It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.)  Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.

***@0.cosmos:~$ vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default interface.
Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https:
Christoph Willing
2018-10-12 05:26:36 UTC
Permalink
Post by David Melik
after some version of VLC in the last year or so, it always crashes.  I
did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens.  It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.)  Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default interface.
Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
I googled for:
vlc Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory

which turned up a bunch of similar problems and some solutions (not all
vlc related). I can't tell which of them may relate to your situation,
so won't try to summarise all the possibilities here but suggest, if you
haven't already, you do the same search and try some of the suggested
solutions.

chris
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://
Ozan Türkyılmaz
2018-10-12 06:07:31 UTC
Permalink
after some version of VLC in the last year or so, it always crashes. I
did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens. It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.) Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default interface.
Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
It looks more like a nvidia driver problem. Check wheater the dravier
installed correctly.
--
Ozan, BSc, BEng
o***@fredslev.dk
2018-10-12 13:33:54 UTC
Permalink
Post by Ozan Türkyılmaz
It looks more like a nvidia driver problem. Check wheater the dravier
installed correctly.

Yes, the nvidia driver is incorrectly installed. The issue is
specifically that libvdpau_nvidia.so does not exist. I would suggest
removing nvidia, cleaning up any broken symlinks left behind (See the
README), reinstalling xorg-server, mesa and then nvidia.
Alternatively with an older gpu nouveau may work just fine.
Post by Ozan Türkyılmaz
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
David Melik
2018-10-13 00:48:09 UTC
Permalink
Post by Christoph Willing
vlc Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
which turned up a bunch of similar problems  and some solutions (not all
vlc related). I can't tell which of them may relate to your situation
It looks more like a nvidia driver problem. Check wheater the dravier
installed correctly.
On Fri, 12 Oct 2018 06:33:54 -0700,
Post by Christoph Willing
Yes, the nvidia driver is incorrectly installed. The issue is
specifically that libvdpau_nvidia.so does not exist. I would suggest
removing nvidia, cleaning up any broken symlinks left behind (See the
README), reinstalling xorg-server, mesa and then nvidia. Alternatively
with an older gpu nouveau [...]
Chris, Ozab, orbea, reread my original post, particularly 'I don't even
have any
Nvidia hardware,' and I never had on this PC. None what you said has
anything to do with it.  You all missed that there's an earlier line,
'libEGL warning: DRI2: failed to authenticate,' and other error lines. 
VLC may now be built to use more parts of display hardware, and Nvidia
is just something it checks for but is n/a. I'm using an AMD Radeon RX
Vega 64 with kernel 4.18.11, but I don't think the AMD 3D drivers are
ready for Slackware 14.2... and unfortunately VLC doesn't give me an
option to not use such parts that make it crash.

***@0.cosmos:~# lspci|grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Device 687f (rev c1)

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https:/
o***@fredslev.dk
2018-10-13 03:29:45 UTC
Permalink
Post by David Melik
Chris, Ozab, orbea, reread my original post, particularly 'I don't even
have any
Nvidia hardware,' and I never had on this PC. None what you said has
anything to do with it.
I did read it and I read it again, this is the first that you mentioned
that you do not have nvidia hardware, but you are right that makes the
issue sound different. I wonder why its trying to use
libvdpau_nvidia.so regardless? Perhaps this is a red herring? I am not
familiar with vlc.

Another idea is that this is related to DRI2 in which case I would
suggest trying the modesetting xorg driver (Part of xorg-server) and /
or DRI3. You could also try newer versions of xorg and mesa, but this
would be more involved to test.
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Lenard Spencer
2018-10-13 14:35:29 UTC
Permalink
Post by David Melik
after some version of VLC in the last year or so, it always crashes. 
I did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens.  It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.)  Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default
interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
What video hardware are you using?  I had brought this up before on LQ
and it almost ignited a flame war.  The reason you are seeing the
libvdpau_nvidia.so message is that it is hard-coded into libvdpau, and
your video card is probably not supported by the kernel.  I had bought
an Nvidia GTX-1050Ti card last year and got that message on both 14.2
and then-current (4.9 kernel).  My card wasn't supported in the kernel
until 4.13.
Lenard Spencer
2018-10-13 14:37:32 UTC
Permalink
Post by Lenard Spencer
Post by David Melik
after some version of VLC in the last year or so, it always crashes. 
I did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens.  It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.)  Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default
interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
What video hardware are you using?  I had brought this up before on LQ
and it almost ignited a flame war.  The reason you are seeing the
libvdpau_nvidia.so message is that it is hard-coded into libvdpau, and
your video card is probably not supported by the kernel.  I had bought
an Nvidia GTX-1050Ti card last year and got that message on both 14.2
and then-current (4.9 kernel).  My card wasn't supported in the kernel
until 4.13.
I forgot to mention it was the nouveau driver in the kernel that didn't
support my card yet.
Sebastien BALLET
2018-10-13 15:08:47 UTC
Permalink
Hello,

the driver name "nvidia" is hardcoded but you can override it using the
environment variable VDPAU_DRIVER and more precisely in /etc/profile.d/
vdpau.sh/.csh, which, by default, only contains commented definitions of
that variable :

8<-----------------------------------------
#!/bin/sh

# Disable debugging output of the vdpau backend
export VDPAU_LOG=0

# Use the vdpau backend of the nvidia binary driver
#export VDPAU_DRIVER="nvidia"

# Use the vdpau backend of the nouveau driver
#export VDPAU_DRIVER="nouveau"

# Use the vdpau backend of the r300 driver
#export VDPAU_DRIVER="r300"

# Use the vdpau backend of the r600 driver
#export VDPAU_DRIVER="r600"

# Use the vdpau backend of the radeonsi driver
#export VDPAU_DRIVER="radeonsi"

# Use the va-api/opengl backend
#export VDPAU_DRIVER="va_gl"
%<-------------------------------------------------
--
SeB
Post by David Melik
after some version of VLC in the last year or so, it always crashes.
I did 'sboupgrade -z -f vlc' (rebuild it and all dependencies) and it
still happens. It's not an X driver issue as KPlayer and Rosa Player
work fine (but most other media players, like Xine, MPlayer, Dragon
Player now also don't.) Here's the log, but I don't even have any
Nvidia hardware. I open an .avi or .mp4, then get this sort of crash.
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001277a10] main libvlc: Running vlc with the default
interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d'
[0000000001309560] main playlist: playlist is empty
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
Non-native QFileDialog supports only local files
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
Illegal instruction
What video hardware are you using? I had brought this up before on LQ
and it almost ignited a flame war. The reason you are seeing the
libvdpau_nvidia.so message is that it is hard-coded into libvdpau, and
your video card is probably not supported by the kernel. I had bought
an Nvidia GTX-1050Ti card last year and got that message on both 14.2
and then-current (4.9 kernel). My card wasn't supported in the kernel
until 4.13.
_______________________________________________
SlackBuilds-users mailing list
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
o***@fredslev.dk
2018-10-13 20:15:44 UTC
Permalink
What video hardware are you using? I had brought this up before on LQ
and it almost ignited a flame war. The reason you are seeing the
libvdpau_nvidia.so message is that it is hard-coded into libvdpau, and
your video card is probably not supported by the kernel. I had bought
an Nvidia GTX-1050Ti card last year and got that message on both 14.2
and then-current (4.9 kernel). My card wasn't supported in the kernel
until 4.13.
Thanks for the reminder, I have forgotten about this thread until now.
I recall looking into this further after this and was informed that
vdpau will fall back to nvidia as a last resort when all else fails.

As you suggested a newer kernel could help.
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Continue reading on narkive:
Loading...