libGL error: failed to load driver: nouveau (chromium)

When I start chromium in the command line I see:

libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: nouveau
[5434:5623:0201/] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[5533:5533:0201/] InitializeSandbox() called with multiple threads in process gpu-process.
[5434:5434:0201/] Lost UI shared context.
[1:10:0201/] ContextResult::kFatalFailure: Shared memory handle is not valid

The program starts, but I’m wondering if this is why I have tearing with the nouveau driver.
Any ideas?

what desktop are you using as noveau has issues with plasma 5 and afaik part of the noveau driver used for 3d acceleration Mesa-dri-nouveau was split and should be removed on systems that use plasma 5
why don’t you just install the nvidia propitiatory drivers?
as not only does noveau 3d acceleration break plasma 5 but noveau has no video acceleration at all so all video decoding is done by the cpu instead of the gpu
what is your graphic card

sudo lspci | grep vga

It was on an Openbox session – using a GTX 750.

I was just trying it out on a fresh Leap install,
and had never run chromium from terminal to note those issues.

I have since installed the official nvidia drivers.

The nouveau OpenGL driver is in the package Mesa-dri-nouveau, which probably isn’t installed.

It’s not true that “nouveau breaks Plasma5” in general, but nouveau can be quite unstable depending on your exact graphics card.
The main problem is that it doesn’t like being accessed from multiple threads at the same time, which causes QtWebEngine to crash (but openSUSE patched it to only use software rendering on nouveau).

Of course, the proprietary driver is probably the better choice anyway, especially for 3D/OpenGL.

PS: It’s also not true that nouveau doesn’t have any hardware acceleration or hardware decoding.
Of course it does. Although that (and how well it works) also might depend on the exact hardware… (and apparently you need additional firmware for video decoding on most hardware)