From 18af97340c507206f3638df4d4b7999fd32484d3 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Sat, 1 May 2021 17:45:25 +0200 Subject: [PATCH 1/2] dell precision 5530: avoid screen flicker --- dell/precision/5530/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dell/precision/5530/default.nix b/dell/precision/5530/default.nix index 52e0dd5..b97bf0c 100644 --- a/dell/precision/5530/default.nix +++ b/dell/precision/5530/default.nix @@ -7,9 +7,9 @@ ../../../common/pc/laptop/ssd ]; - # https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803179/comments/149 - # fix lspci hanging with nouveau boot.kernelParams = [ + # fix lspci hanging with nouveau + # source https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803179/comments/149 "acpi_rev_override=1" "acpi_osi=Linux" "nouveau.modeset=0" @@ -18,5 +18,8 @@ "scsi_mod.use_blk_mq=1" "nouveau.runpm=0" "mem_sleep_default=deep" + # fix flicker + # source https://wiki.archlinux.org/index.php/Intel_graphics#Screen_flickering + "i915.enable_psr=0" ]; } From b8a0c5251f7c99ce731321524ed106fbf1aca031 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Sat, 1 May 2021 17:46:04 +0200 Subject: [PATCH 2/2] dell precision 5530: remove irrelevant disk related setting --- dell/precision/5530/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/dell/precision/5530/default.nix b/dell/precision/5530/default.nix index b97bf0c..05e1d4a 100644 --- a/dell/precision/5530/default.nix +++ b/dell/precision/5530/default.nix @@ -15,7 +15,6 @@ "nouveau.modeset=0" "pcie_aspm=force" "drm.vblankoffdelay=1" - "scsi_mod.use_blk_mq=1" "nouveau.runpm=0" "mem_sleep_default=deep" # fix flicker