summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-09-07 17:08:54 +0200
committerAlan Pearce2018-09-07 17:08:54 +0200
commit05011c3fe1b68c3414fc8a34307c2a07f9427a34 (patch)
tree1676c22362429a8725af8bb429b896ed2816d0db
parent83b39bc89a5698ba7842ea9de6621817d1d894ca (diff)
downloadnixfiles-05011c3fe1b68c3414fc8a34307c2a07f9427a34.tar.lz
nixfiles-05011c3fe1b68c3414fc8a34307c2a07f9427a34.tar.zst
nixfiles-05011c3fe1b68c3414fc8a34307c2a07f9427a34.zip
T470s: Improve GPU usage/acceleration
-rw-r--r--modules/machines/t470s.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index e6fb8cb6..304bfd5c 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -5,6 +5,8 @@
     firmwareLinuxNonfree
   ];
 
+  boot.kernelPackages = pkgs.linuxPackages_4_17;
+
   systemd.services.ModemManager.enable = true;
 
   hardware.pulseaudio.extraConfig = ''
@@ -12,11 +14,11 @@
   '';
 
   # Try a different acceleration method; maybe it helps with screen corruption
-  services.xserver.deviceSection = ''
-    Option      "AccelMethod"  "sna"
-    Option      "TearFree"     "true"
-    Option      "TripleBuffer" "false"
-  '';
+  # services.xserver.deviceSection = ''
+  #   Option      "AccelMethod"  "sna"
+  #   Option      "TearFree"     "true"
+  #   Option      "TripleBuffer" "false"
+  # '';
 
   services.xserver.monitorSection = ''
     DisplaySize 310 176