mesa: 21.3.8 -> 22.0.1

The DRI drivers were removed [0]:
> Mesa's main branch no longer has any "classic" drivers, use the
> "amber" branch instead.

Mesa 21.3 provided the following DRI drivers:
i915 i965 r100 r200 nouveau

For nouveau, there is a Gallium3D driver as well, and i965 can be
replaced with iris or crocus (iris was already the default for
generation 8+ Intel iGPUs and crocus is a new driver for older hardware
that supports generation 4 to 7 iGPUs [1]).
(See also [2] for some more information.)

[0]: cdde031ac2
[1]: https://airlied.blogspot.com/2021/04/crocus-gallium-for-gen4-7-generation.html
[2]: https://www.phoronix.com/scan.php?page=news_item&px=2021-Retire-Mesa-Classic-Main

Note: "-Ddri-drivers-path" is still required to avoid a dependency
cycle.

Release notes: https://docs.mesa3d.org/relnotes/22.0.0.html
main
Michael Weiss 2 years ago
parent 630d5e1d0d
commit c8eda85fb6
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
  1. 6
      pkgs/development/libraries/mesa/default.nix

@ -6,7 +6,6 @@
, libelf, libvdpau
, libglvnd, libunwind
, galliumDrivers ? ["auto"]
, driDrivers ? ["auto"]
, vulkanDrivers ? ["auto"]
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
, OpenGL, Xplugin
@ -34,7 +33,7 @@ with lib;
let
# Release calendar: https://www.mesa3d.org/release-calendar.html
# Release frequency: https://www.mesa3d.org/releasing.html#schedule
version = "21.3.8";
version = "22.0.1";
branch = versions.major version;
self = stdenv.mkDerivation {
@ -48,7 +47,7 @@ self = stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
];
sha256 = "19wx5plk6z0hhi0zdzxjx8ynl3lhlc5mbd8vhwqyk92kvhxjf3g7";
sha256 = "0vs20kyq9sxh52hd242yf7nz2wzw6di8jw7s19pb6q25qn19cpy0";
};
# TODO:
@ -114,7 +113,6 @@ self = stdenv.mkDerivation {
"-Ddri-search-path=${libglvnd.driverLink}/lib/dri"
"-Dplatforms=${concatStringsSep "," eglPlatforms}"
"-Ddri-drivers=${concatStringsSep "," driDrivers}"
"-Dgallium-drivers=${concatStringsSep "," galliumDrivers}"
"-Dvulkan-drivers=${concatStringsSep "," vulkanDrivers}"

Loading…
Cancel
Save