nixos/xserver: use modern video drivers
cirrus is obsolete: https://www.vintage3d.org/cirrus.php nv is obsolete: https://www.phoronix.com/scan.php?page=article&item=nvidia_kills_nv&num=1 vesa is obsolete: https://www.phoronix.com/scan.php?page=news_item&px=Nzc3Nw ati and ati_unfree are superseded by amdgpu and amdgpu-pro: https://wiki.gentoo.org/wiki/ATI_FAQ#Is_my_AMD.2FATI_board_supported.3F nouveau and fbdev added for better fallback support.
This commit is contained in:
committed by
Dominik Xaver Hörl
parent
6aa26c8623
commit
e3d705e601
@@ -251,11 +251,10 @@ in
|
||||
|
||||
videoDrivers = mkOption {
|
||||
type = types.listOf types.str;
|
||||
# !!! We'd like "nv" here, but it segfaults the X server.
|
||||
default = [ "radeon" "cirrus" "vesa" "modesetting" ];
|
||||
default = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" ];
|
||||
example = [
|
||||
"ati_unfree" "amdgpu" "amdgpu-pro"
|
||||
"nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
|
||||
"nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
|
||||
"amdgpu-pro"
|
||||
];
|
||||
# TODO(@oxij): think how to easily add the rest, like those nvidia things
|
||||
relatedPackages = concatLists
|
||||
|
||||
Reference in New Issue
Block a user