From fb9a6221b63ee92c27c917368e980649c5167203 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Sun, 7 Sep 2014 12:42:32 +1000 Subject: [PATCH] ati_unfree: Update nixos-manual for AMD driver support --- nixos/doc/manual/configuration/x-windows.xml | 19 +++++++++++++++++++ nixos/modules/hardware/opengl.nix | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index bc58bb1f066..cfcc8baa898 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -73,6 +73,25 @@ services.xserver.driSupport32Bit = true; +AMD Graphics Cards + +AMD provides a proprietary driver for its graphics cards that +has better 3D performance than the X.org drivers. It is not enabled +by default because it’s not free software. You can enable it as follows: + +services.xserver.videoDrivers = [ "ati_unfree" ]; + +You will need to reboot after enabling this driver to prevent a clash +with other kernel modules. + +On 64-bit systems, if you want full acceleration for 32-bit +programs such as Wine, you should also set the following: + +hardware.opengl.driSupport32Bit = true; + + + + Touchpads diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index f974ec01c66..1777c200dd1 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -46,7 +46,8 @@ in description = '' On 64-bit systems, whether to support Direct Rendering for 32-bit applications (such as Wine). This is currently only - supported for the nvidia driver and for + supported for the nvidia and + ati_unfree drivers, as well as Mesa. ''; };