I've reproduced this on Ubuntu 22.04 (updated from 20.04) with an RTX 2080 running with 510 nvidia drivers and 5.15 kernel.
There's a few apparmor denials but the key bug, seems to be, that chromium tries to load nvidia_dri.so from a directory where that file is not present.
In my case, at runtime, from snap's POV, in devmode, it failed to load:
I've reproduced this on Ubuntu 22.04 (updated from 20.04) with an RTX 2080 running with 510 nvidia drivers and 5.15 kernel.
There's a few apparmor denials but the key bug, seems to be, that chromium tries to load nvidia_dri.so from a directory where that file is not present.
In my case, at runtime, from snap's POV, in devmode, it failed to load:
/snap/chromium/ 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/nvidia- drm_dri. so
The directory had a bunch of files for nouveau, intel and radeon but nothing for nvidia proprietary driver.