libEGL warning: MESA-LOADER: failed to open DRI library

The solution is a combination of the mesa installation with and without no-patchelf, and setting the LIBGL_DRIVERS_PATH: OpenGL broken in classic core20 snap on 22.04.