Layar Berkedip dengan driver NVIDIA

Aug 24 2020

Saya baru saja menyiapkan instalasi linux Arch saya sendiri. Saya mengalami masalah dengan salah satu monitor di pengaturan monitor ganda saya. Sesekali, tampaknya secara acak, monitor saya akan menjadi hitam selama sedetik sebelum menyegarkan. Ini cukup membuat frustrasi. Ini hanya terjadi dengan salah satu monitor saya, monitor lain sama sekali tidak terpengaruh. Saya telah mencoba segala macam hal dan membaca banyak posting forum, tetapi saya tidak dapat memperbaiki masalah ini.

Saya menjalankan driver nvidia-450, dengan GTX 1080 TI. Monitor masalah terhubung melalui displayport dan merupakan monitor 2k. Monitor lainnya juga terhubung melalui displayport dan merupakan monitor 1080p.

Berikut adalah beberapa keluaran perintah yang mungkin membantu, diedit untuk bagian yang relevan:

lspci - k

08:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
    Subsystem: Gigabyte Technology Co., Ltd Device 374c
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia

dmesg

[    5.896505] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  450.66  Wed Aug 12 19:37:58 UTC 2020
[    5.947554] [drm] [nvidia-drm] [GPU ID 0x00000800] Loading driver
[    5.947559] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:08:00.0 on minor 0
[    6.031959] audit: type=1130 audit(1598214227.195:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-persistenced comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    6.034669] usb 1-5: set resolution quirk: cval->res = 384
[    6.034934] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
[    6.119775] uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized!
[    6.119779] uvcvideo 1-5:1.0: Entity type for entity Extension 6 was not initialized!
[    6.119781] uvcvideo 1-5:1.0: Entity type for entity Extension 7 was not initialized!
[    6.119783] uvcvideo 1-5:1.0: Entity type for entity Processing 2 was not initialized!
[    6.119785] uvcvideo 1-5:1.0: Entity type for entity Extension 3 was not initialized!
[    6.119787] uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not initialized!
[    6.119882] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.0/input/input32
[    6.119971] usbcore: registered new interface driver uvcvideo
[    6.119972] USB Video Class driver (1.1.1)
[    6.135659] usbcore: registered new interface driver snd-usb-audio
[    7.092020] audit: type=1103 audit(1598214228.255:22): pid=541 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
[    7.114373] audit: type=1130 audit(1598214228.278:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@976 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.124372] audit: type=1101 audit(1598214228.288:24): pid=545 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.124392] audit: type=1103 audit(1598214228.288:25): pid=545 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[    7.124425] audit: type=1006 audit(1598214228.288:26): pid=545 uid=0 old-auid=4294967295 auid=976 tty=(none) old-ses=4294967295 ses=1 res=1
[    7.743903] igb 0000:06:00.0 enp6s0: igb: enp6s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[    7.956953] IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
[    9.320055] usb 5-4: device descriptor read/64, error -110
[   24.893783] usb 5-4: device descriptor read/64, error -110
[   25.123356] usb 5-4: new high-speed USB device number 4 using xhci_hcd
[   30.440070] usb 5-4: device descriptor read/64, error -110
[   46.013782] usb 5-4: device descriptor read/64, error -110
[   46.120071] usb usb5-port4: attempt power cycle
[   46.763345] usb 5-4: new high-speed USB device number 5 using xhci_hcd
[   51.863777] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   57.197078] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   57.403701] usb 5-4: device not accepting address 5, error -62
[   57.526684] usb 5-4: new high-speed USB device number 6 using xhci_hcd
[   62.530134] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   67.863370] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   68.070345] usb 5-4: device not accepting address 6, error -62
[   68.070416] usb usb5-port4: unable to enumerate USB device
[   71.757209] kauditd_printk_skb: 5 callbacks suppressed

Beri tahu saya jika Anda memerlukan info lebih lanjut. Masalah ini membuatku gila.

Jawaban

OmerEldar Sep 12 2020 at 13:52

Ternyata, masalah kelap-kelip layar saya disebabkan oleh kompositor saya: picom. Saya memecahkan masalah ini dengan mengubah backend saya dari glx ke xrender di file konfigurasi picom saya.