chromium core dumped - libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

Until yesterday, I was using chromium just fine in my Ubuntu 20.10. I don't remember whether it started after I made an upgrade on apt-get, or after a snap refresh, but I clicked Chromium icon again and it would not start.

I tried from the terminal and I got:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[13444:13444:0521/212248.340845:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl
Trace/breakpoint trap (core dumped)

vainfo output:

vainfo 
libva info: VA-API version 1.8.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

My board:

nvidia-debugdump -l
Found 1 NVIDIA devices
    Device ID:              0
    Device name:            NVIDIA GeForce GTX 960   (*PrimaryCard)
    GPU internal ID:        GPU-c862d15e-8977-6806-71c5-c318b0268e1a

I am not 100% sure on how to debug and find the issue.

QUESTION: What should I read to learn how to debug the above and find the error by myself?


Solution 1:

Often this behavior occurs in a virtual environment where the browser is launched

It doesn't matter snapcraft or apt repositories (chromium / chromium-browser) the problem is not solved

libva-* packages won't help you

I just disabled the gpu chromium --disable-gpu in command line

Add this flag to the shortcut that launches your chromium