vlc crashing with "MESA-LOADER: failed to open nouveau" and "libGL error: failed to load driver..."

After updating to TW 20190702 today, the vlc media player starts to its usual initial screen (black with the traffic cone), but crashes when a video is being started. Had been working before; I have skipped updates for maybe a week.

Starting from terminal shows the error messages:

vlc
VLC media player 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af)
[00005597e2b36b60] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
MESA-LOADER: failed to open nouveau (search paths /usr/lib64/dri)
libGL error: failed to load driver: nouveau
[00005597e2bca1f0] main playlist: playlist is empty
QObject::~QObject: Timers cannot be stopped from another thread

The listing from /usr/lib64/dri is:

ls -l /usr/lib64/dri
insgesamt 191488
-rwxr-xr-x 4 root root 11629568  2. Jul 15:52 i915_dri.so
-rwxr-xr-x 4 root root 11629568  2. Jul 15:52 i965_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 iris_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 kms_swrast_dri.so
-rwxr-xr-x 3 root root  7074672  2. Jul 15:52 nouveau_drv_video.so
-rwxr-xr-x 4 root root 11629568  2. Jul 15:52 r200_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 r300_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 r600_dri.so
-rwxr-xr-x 3 root root  7074672  2. Jul 15:52 r600_drv_video.so
-rwxr-xr-x 4 root root 11629568  2. Jul 15:52 radeon_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 radeonsi_dri.so
-rwxr-xr-x 3 root root  7074672  2. Jul 15:52 radeonsi_drv_video.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 swrast_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 virtio_gpu_dri.so
-rwxr-xr-x 8 root root 16037512  2. Jul 15:52 vmwgfx_dri.so

I haven’t done any changes to the video setup on my own. vlc is on Standard settings as before.

My machine:

inxi -Fdzxxx
System:    Host: susytmblwdke8570 Kernel: 5.1.10-1-default x86_64 bits: 64 compiler: gcc v: 9.1.1 
           Desktop: KDE Plasma 5.16.2 tk: Qt 5.13.0 wm: kwin_x11 dm: SDDM Distro: openSUSE Tumbleweed 20190702 
Machine:   Type: Laptop System: Hewlett-Packard product: HP EliteBook 8570w v: A1028C1100 serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Hewlett-Packard model: 176B v: KBC Version 50.1F serial: <filter> UEFI: Hewlett-Packard 
           v: 68IAV Ver. F.71 date: 04/19/2019 
Battery:   ID-1: BAT0 charge: 67.2 Wh condition: 67.2/67.2 Wh (100%) volts: 17.0/14.8 model: Hewlett-Packard Primary 
           type: Li-ion serial: <filter> status: Full 
           Device-1: hidpp_battery_0 model: Logitech M705 serial: <filter> charge: 60% rechargeable: yes 
           status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-3720QM bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 41503 
           Speed: 1198 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1197 2: 1195 3: 1198 4: 1198 5: 1198 6: 1200 
           7: 1197 8: 1197 
Graphics:  Device-1: NVIDIA GK107GLM [Quadro K1000M] vendor: Hewlett-Packard driver: nouveau v: kernel 
           bus ID: 01:00.0 chip ID: 10de:0ffc 
           Display: x11 server: X.Org 1.20.5 driver: nouveau unloaded: fbdev,modesetting,vesa alternate: nv,nvidia 
           compositor: kwin_x11 resolution: 1600x900~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 8.0 256 bits) v: 3.3 Mesa 19.1.1 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
           Device-2: NVIDIA GK107 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:0e1b 
           Sound Server: ALSA v: k5.1.10-1-default 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: 3.2.6-k port: 5040 
           bus ID: 00:19.0 chip ID: 8086:1502 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel port: 4000 
           bus ID: 25:00.0 chip ID: 8086:0082 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 5.46 TiB used: 1.52 TiB (27.9%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 2TB size: 1.82 TiB speed: 6.0 Gb/s serial: <filter> 
           rev: 2B6Q scheme: GPT 
           ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 4TB size: 3.64 TiB speed: 6.0 Gb/s serial: <filter> 
           rev: 2B6Q scheme: GPT 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 100.00 GiB used: 27.06 GiB (27.1%) fs: btrfs dev: /dev/sda4 
           ID-2: /home size: 48.97 GiB used: 760.9 MiB (1.5%) fs: ext4 dev: /dev/sda5 
           ID-3: /opt size: 100.00 GiB used: 27.06 GiB (27.1%) fs: btrfs dev: /dev/sda4 
           ID-4: /tmp size: 100.00 GiB used: 27.06 GiB (27.1%) fs: btrfs dev: /dev/sda4 
           ID-5: /var size: 100.00 GiB used: 27.06 GiB (27.1%) fs: btrfs dev: /dev/sda4 
           ID-6: swap-1 size: 18.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda14 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A gpu: nouveau temp: 43 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 247 Uptime: N/A Memory: 15.60 GiB used: 1.59 GiB (10.2%) Init: systemd v: 242 runlevel: 5 
           target: graphical.target Compilers: gcc: N/A Shell: bash v: 5.0.7 running in: konsole inxi: 3.0.32

Calling for help, please. Thanks!

EDIT: Maybe I should mention that (1) I can play youtube videos in FIrefox, and (2) that I played with my Plasma theme settings after the update to 20190702, but before launching vlc. FOr Plasma theme settings, I installed kvantum and switched to the Arc theme from the KDE store. Anyway, I guess item (2) Plasma theming has no relation to the vlc crash.

FWIW vlc is working OK here with nouveau following the 20190702 snapshot. I did note that snapshot contained an update to Mesa…

http://paste.opensuse.org/view/raw/8166b7d4

Tumbleweed: 20190702
VLC: 3.0.7.1
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Kernel Version: 5.1.10-1-default

I should maybe also mention that my vlc is from Packman, version 3.0.7.1-4.5.
mesa: 19.1.1-223.1 from main repo (OSS)
nouveau (xf86-video-nouveau): 1.0.15-3.4 from main repo (OSS)

Mesa-dri-nouveau is not installed and blacklisted, as suggested by the TW installer for KDE Plasma, and having been so ever since.

Likewise…

mesa: 19.1.1-223.1 from main repo (OSS)
nouveau (xf86-video-nouveau): 1.0.15-3.4 from main repo (OSS)

Didn’t check those, but as we’re both on the same snapshot and I have those from the main OSS repo… then likewise.

Mesa-dri-nouveau is not installed and blacklisted, as suggested by the TW installer for KDE Plasma, and having been so ever since.

I do use “Mesa-dri-nouveau”, as it works well with the older video card I have (G84) GeForce 8600 GTS.

You could try changing the Video Output setting in vlc to see if any of the explicit modes work. It’s probable set to “Auto” which I’ve found has been problematic in the past

Tools -> Preferences -> Video -> Output.

Or perhaps try with "“Mesa-dri-nouveau” installed, although that may create other problems, particularly if you have a newer video card and/or use graphic intensive applications.

Thank you for your help, Tannington.

First, for checking only, I tried to downgrade mesa, but couldn’t find the way to do it (YaST2 > Software > “mesa” > Versions).

So I went ahead and changed the video output setting in vlc away from Auto, which had not been giving me problems in years. “X11” did crash vlc, too, but “X” works great. Thus, I’ll leave it at that. Must admit to not understand exactly what these modes are (OpenGL is mesa, correct?). But I’m fine now again.

Reassured by your experience, I also installed mesa-dri-nouveau now. No flaws encountered yet, I’ll watch out.

Remark: Your graphics card (Tesla) is even two generations older than mine (Kepler), and nvidia has stopped the (full) support for all these…

I don’t claim to understand them all either … :frowning:

Yes, but don’t quote me on this as I may be wrong. My understanding is that nouveau/Mesa/Mesa3D is an open source software implementation of OpenGL. “mesa-dri-nouveau” provides the 3D hardware acceleration, without it software emulation is used. (nouveau is largely created by reverse engineering Nvidia’s proprietary Linux drivers). Proprietary nvidia drivers replace all of Mesa, providing their own implementation of the graphics API.

I just looked to check the video output on this machines copy of vlc, and I’m using openGL.

Remark: Your graphics card (Tesla) is even two generations older than mine (Kepler), …

That machine is my “old faithful”, built in mid 2008, it’s still in daily use…

Different here, Automatic, OpenGL, X11 Video (XCB) do crash vlc; GNU/Linux Framebuffers cause flicker all over the place; others not checked. X Video (XCB) is the only plausible one which works.

Thanks again!

Might be related to this bug:
https://bugzilla.opensuse.org/show_bug.cgi?id=1139791

Possibly… it certainly seems plausible.

What I don’t quite see though is it’s working OK on my own system, see post #2. Although I omitted to mention in that post I am using openGL as the vlc video output. Strange…