Closed Saviq closed 4 years ago
CC: @zyga @RAOF @AlanGriffiths
This makes sense to me, thanks!
This looks like the right thing, yes.
Are you going to propose these changes to the desktop extensions in snapcraft?
Are you going to propose these changes to the desktop extensions in snapcraft?
Now I am…
The problem with
__EGL_VENDOR_LIBRARY_DIRS
is that the first one that has any configuration (e.g.50_mesa.json
) will be picked up, even if further dirs have higher priority ones (e.g.10_nvidia.json
.snapd
only puts stuff in/var/lib/snapd/lib/gl{,vnd}
on systems with Nvidia, so snaps that use GL ship the Mesa stack "as a fallback". But it's the system one that should be picked up first.More context: https://github.com/NVIDIA/libglvnd/blob/master/src/EGL/icd_enumeration.md