『Manjaro Linux』 Fix Screen Flickering On Dell Inspiron 16 Plus

『Manjaro Linux』 在戴尔灵越16Plus上修复Manjaro的屏幕闪烁

Posted by Coekjan on December 4, 2021

本文记录笔者在戴尔灵越 16Plus 上解决 Manjaro 屏幕闪烁的方法。

Manjaro版本与配置信息

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
~$ screenfetch

 ██████████████████  ████████     coekjan@Inspiron-Manjaro
 ██████████████████  ████████     OS: Manjaro 21.2.0 Qonos
 ██████████████████  ████████     Kernel: x86_64 Linux 5.13.19-2-MANJARO
 ██████████████████  ████████     Uptime: 16m
 ████████            ████████     Packages: 1423
 ████████  ████████  ████████     Shell: zsh 5.8
 ████████  ████████  ████████     Resolution: 3072x1920
 ████████  ████████  ████████     DE: KDE 5.88.0 / Plasma 5.23.3
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: Mcata-dark-alt [GTK2/3]
 ████████  ████████  ████████     Icon Theme: McMojave-circle-dark
 ████████  ████████  ████████     Disk: 67G / 322G (22%)
 ████████  ████████  ████████     CPU: 11th Gen Intel Core i7-11800H @ 16x 4.6GHz [52.0°C]
 ████████  ████████  ████████     GPU: NVIDIA GeForce RTX 3060 Laptop GPU
                                  RAM: 3746MiB / 15746MiB

~$ inxi -Fazy
System:
  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
  root=UUID=f452a375-9b39-4c50-b40b-e77daecd1209 rw quiet apparmor=1
  security=apparmor udev.log_priority=3
  Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1
  dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 16 7610 v: N/A
  serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 09FDV3 v: A01 serial: <superuser required> UEFI: Dell
  v: 1.1.3 date: 09/24/2021
Battery:
  ID-1: BAT0 charge: 84.3 Wh (100.0%) condition: 84.3/84.3 Wh (100.0%)
  volts: 13.0 min: 11.4 model: BYD DELL M59JH18 type: Li-poly serial: <filter>
  status: Full
  Device-1: hidpp_battery_0 model: Logitech M585/M590 Multi-Device Mouse
  serial: <filter> charge: 10% (should be ignored) rechargeable: yes
  status: Discharging
CPU:
  Info: 8-Core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
  arch: Tiger Lake family: 6 model-id: 8D (141) stepping: 1 microcode: 34
  cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 73744
  Speed: 1040 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 860 2: 1022
  3: 1071 4: 1173 5: 1024 6: 1103 7: 1044 8: 1056 9: 1087 10: 1056 11: 977
  12: 800 13: 966 14: 813 15: 937 16: 931
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
  v: kernel bus-ID: 0000:00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Dell
  driver: nvidia v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 0000:01:00.0
  chip-ID: 10de:2520 class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  bus-ID: 3-5:4 chip-ID: 0c45:6a10 class-ID: 0e02
  Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: intel unloaded: modesetting display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3072x1920 s-dpi: 192 s-size: 406x254mm (16.0x10.0")
  s-diag: 479mm (18.9")
  Monitor-1: eDP1 res: 3072x1920 hz: 60 dpi: 227 size: 344x215mm (13.5x8.5")
  diag: 406mm (16")
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 21.2.5
  direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Dell
  driver: sof-audio-pci-intel-tgl
  alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
  chip-ID: 8086:43c8 class-ID: 0401
  Device-2: NVIDIA vendor: Dell driver: snd_hda_intel v: kernel
  bus-ID: 0000:01:00.1 chip-ID: 10de:228e class-ID: 0403
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
  bus-ID: 0000:00:14.3 chip-ID: 8086:43f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
  bus-ID: 3-14:5 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
  v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 66.9 GiB (14.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
  model: KBG40ZNS512G NVMe KIOXIA 512GB size: 476.94 GiB block-size:
  physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
  serial: <filter> rev: 10410106 temp: 54.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 320 GiB size: 313.91 GiB (98.10%) used: 66.82 GiB (21.3%)
  fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-2: /boot/efi raw-size: 150 MiB size: 146 MiB (97.33%)
  used: 84.3 MiB (57.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 353 Uptime: 17m wakeups: 3 Memory: 15.38 GiB
  used: 3.7 GiB (24.1%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 1423 lib: 425 flatpak: 0 Shell: Zsh v: 5.8
  default: Bash v: 5.1.8 running-in: yakuake inxi: 3.3.09

屏幕闪烁解决方案

编辑 /etc/default/grub 文件,修改下述两个配置项为对应的值(加入 i915.enable_psr=0)。

1
2
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 i915.enable_psr=0"
GRUB_CMDLINE_LINUX="i915.enable_psr=0"

随后命令行中使用下述命令:

1
2
~$ grub-mkconfig -o /boot/grub/grub.cfg
~$ reboot

问题得到解决。