From 82964d16945b77a3db503ff6db6c693ca6c20476 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 26 Feb 2023 16:11:13 +0300 Subject: nixos/x11: default to the modesetting driver The upstream drivers are very dead: - nouveau: - https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/commits/master - last meaningful change in August 2020 - ati (aka radeon): - https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commits/master - last meaningful change in April 2020 - amdgpu: - https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commits/master - barely alive, mostly thanks to Valve people Modesetting isn't even the future, it's the now, especially with Wayland. We should embrace it. --- nixos/doc/manual/release-notes/rl-2305.section.md | 2 ++ nixos/modules/services/x11/xserver.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 276405199ca4..2b5224f19d57 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -134,6 +134,8 @@ In addition to numerous new and upgraded packages, this release has the followin [upstream's release notes](https://github.com/iputils/iputils/releases/tag/20221126) for more details and available replacements. +- [services.xserver.videoDrivers](options.html#opt-services.xserver.videoDrivers) now defaults to the `modesetting` driver over device-specific ones. The `radeon`, `amdgpu` and `nouveau` drivers are still available, but effectively unmaintained and not recommended for use. + ## Other Notable Changes {#sec-release-23.05-notable-changes} diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 83a71dcf23e0..adb079c87a8b 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -256,7 +256,7 @@ in videoDrivers = mkOption { type = types.listOf types.str; - default = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" ]; + default = [ "modesetting" "fbdev" ]; example = [ "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304" "amdgpu-pro" -- cgit 1.4.1