6a0a073187
When Chromium is using EGL, it dlopen's libGLESv2. Before this fix, this failed with a not-found error. Fix it by adding libGL to the RUNPATH of the binary. This problem does not have a visible impact on typical desktop system because Chromium uses GLX by default. It only matters when Chromium is started with --use-gl=egl (which makes it use OpenGL ES via EGL instead of desktop OpenGL via GLX), and probably on certain embedded systems which only support OpenGL ES. With this fix, Chromium runs fine for me with --use-gl=egl and the NVidia driver, and the about:gpu page indicates that it is indeed using OpenGL ES and EGL. |
||
---|---|---|
.. | ||
patches | ||
browser.nix | ||
common.nix | ||
default.nix | ||
plugins.nix | ||
update.nix | ||
update.sh | ||
upstream-info.nix |