NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.11k stars 14.15k forks source link

Tacking issue for removal of LIBGL_DRIVERS_PATH in mesa #328923

Open NickCao opened 3 months ago

NickCao commented 3 months ago

Describe the bug

In (yet to be released) Mesa 24.2, LIBGL_DRIVERS_PATH is dropped in favor of making all the GL frontends link directly to the Gallium backend driver.

See Mesa 24.2 Enjoyed Some Last Minute Code Cleaning & Modernization And glx/egl/gbm: link directly to gallium

We have a few in tree references to LIBGL_DRIVERS_PATH that should be removed/replaced: https://github.com/NixOS/nixpkgs/blob/1d3f9997f6c33dd53f492a69e72298782e22e333/pkgs/by-name/pl/plex-desktop/package.nix#L146 https://github.com/NixOS/nixpkgs/blob/1d3f9997f6c33dd53f492a69e72298782e22e333/pkgs/development/libraries/mesa/llvmpipe-hook.sh#L5 https://github.com/NixOS/nixpkgs/blob/1d3f9997f6c33dd53f492a69e72298782e22e333/nixos/tests/turbovnc-headless-server.nix#L125

Notify maintainers

emmanuelrosa commented 3 months ago

Although it's outside of Nixpkgs, it's worth noting that nixGL is also affected.