all repos — nixfiles @ 9f2a5c1a47674015a5252ee07d09bec2a627045e

System and user configuration, managed by nix and home-manager

t470s: Use alternative X acceleration method
Alan Pearce alan@alanpearce.eu
Thu, 21 Dec 2017 21:09:52 +0100
commit

9f2a5c1a47674015a5252ee07d09bec2a627045e

parent

2656b3860b57bf3d4524049238f62aad7860fcf7

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -11,6 +11,11 @@ hardware.pulseaudio.extraConfig = ''     load-module module-alsa-sink device=hw:0,7
   '';
 
+  # Try a different acceleration method; maybe it helps with screen corruption
+  services.xserver.deviceSection = ''
+    Option      "AccelMethod"  "uxa"
+  '';
+
   environment.systemPackages = with pkgs; [
     nvme-cli
   ];