all repos — nixfiles @ 05011c3fe1b68c3414fc8a34307c2a07f9427a34

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

T470s: Improve GPU usage/acceleration

Alan Pearce
commit

05011c3fe1b68c3414fc8a34307c2a07f9427a34

parent

83b39bc89a5698ba7842ea9de6621817d1d894ca

1 file changed, 7 insertions(+), 5 deletions(-)

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -5,6 +5,8 @@ hardware.firmware = with pkgs; [
firmwareLinuxNonfree ]; + boot.kernelPackages = pkgs.linuxPackages_4_17; + systemd.services.ModemManager.enable = true; hardware.pulseaudio.extraConfig = ''
@@ -12,11 +14,11 @@ 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" "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