pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 14 forks source link

Chromium based browsers flickering on kernel 5.15 #97

Closed JulioSordi closed 2 years ago

JulioSordi commented 2 years ago

Distribution

Pop OS! 20.04 LTS

Related Application and/or Package Version

linux-image-5.15.5-76051505-generic:
  Instalado: 5.15.5-76051505.202111250933~1638201579~20.04~09f1aa7
  Candidato: 5.15.5-76051505.202111250933~1638201579~20.04~09f1aa7
  Tabela de versão:
 *** 5.15.5-76051505.202111250933~1638201579~20.04~09f1aa7 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

brave-browser:
  Instalado: 1.32.113
  Candidato: 1.32.113
  Tabela de versão:
 *** 1.32.113 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
        100 /var/lib/dpkg/status
     1.32.106 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.31.91 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.31.88 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.31.87 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.30.89 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.30.87 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.30.86 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages

microsoft-edge-stable:
  Instalado: 96.0.1054.34-1
  Candidato: 96.0.1054.34-1
  Tabela de versão:
 *** 96.0.1054.34-1 100
        100 /var/lib/dpkg/status

Issue/Bug Description:

The pages randomly flicker as if they were flashing the issue occurs in the following situations:

The following applications display this issue:

Occurs in the following kernel:

Steps to reproduce

Expected behavior:

The page will not flicker

Other Notes:

sometimes the whole page flickers, sometimes only the bottom does not occur in full screen videos i wasn't able to record or screenshot the flickering unfortunately the issue might be present in Chromium or other derivatives that i haven't tested (Vivaldi, Opera, Ungoogled Chromium, Chrome).

jacobgkau commented 2 years ago

What hardware are you using? What graphics card, processor, motherboard, storage, and RAM?

JulioSordi commented 2 years ago

What hardware are you using? What graphics card, processor, motherboard, storage, and RAM?

inxi -F
System:
  Host: julio Kernel: 5.13.0-7620-generic x86_64 bits: 64 
  Desktop: Gnome 3.36.7 Distro: Pop!_OS 20.04 LTS 
Machine:
  Type: Laptop System: SAMSUNG product: 550XBE/350XBE v: P10REU 
  serial: <superuser/root required> 
  Mobo: SAMSUNG model: NP350XBE-KD1BR 
  v: SGL9970A0B-C01-G001-S0001+10.0.17763 serial: <superuser/root required> 
  UEFI: American Megatrends v: P10REU.088.200306.JJ date: 03/06/2020 
Battery:
  ID-1: BAT1 charge: 16.6 Wh condition: 30.8/43.1 Wh (71%) 
CPU:
  Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP 
  L2 cache: 6144 KiB 
  Speed: 2300 MHz max: 2340 MHz Core speeds (MHz): 1: 2300 2: 2300 3: 2301 
  4: 2300 5: 2300 6: 2300 7: 2300 8: 2300 
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.11 driver: i915 resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.2.2 
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio 
  driver: snd_hda_intel 
  Sound Server: ALSA v: k5.13.0-7620-generic 
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  driver: ath10k_pci 
  IF: wlp1s0 state: down mac: 98:83:89:e8:80:36 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: 98:83:89:f1:2b:7b 
  Device-3: Qualcomm Atheros type: USB driver: btusb 
  IF-ID-1: virbr0 state: down mac: 52:54:00:18:3e:31 
  IF-ID-2: virbr0-nic state: down mac: 52:54:00:18:3e:31 
Drives:
  Local Storage: total: 931.51 GiB used: 255.59 GiB (27.4%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-35Z10T0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 907.53 GiB used: 252.87 GiB (27.9%) fs: ext4 dev: /dev/sda3 
  ID-2: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 49.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 273 Uptime: 6m Memory: 7.66 GiB used: 2.12 GiB (27.7%) 
  Shell: bash inxi: 3.0.38
JorisVanEijden commented 2 years ago

Same here. Both Brave and Slack flicker randomly after updating to 5.15. Reverting to 5.13 resolves it.

System:    Host: c128 Kernel: 5.13.0-7620-generic x86_64 bits: 64 Desktop: Gnome 3.36.7 Distro: Pop!_OS 20.04 LTS 
Machine:   Type: Desktop Mobo: MSI model: B150M BAZOOKA (MS-7982) v: 3.0 serial: <superuser/root required> 
           UEFI: American Megatrends v: I.20 date: 09/02/2015 
CPU:       Topology: Quad Core model: Intel Core i7-6700 bits: 64 type: MT MCP L2 cache: 8192 KiB 
           Speed: 3400 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 3400 2: 3400 3: 3400 4: 2860 5: 1406 6: 3223 7: 943 
           8: 3215 
Graphics:  Device-1: Intel HD Graphics 530 driver: i915 v: kernel 
           Device-2: NVIDIA GM204 [GeForce GTX 980] driver: nouveau v: kernel 
           Display: x11 server: X.Org 1.20.11 driver: nouveau resolution: 3840x2160~60Hz 
           OpenGL: renderer: NV124 v: 4.3 Mesa 21.2.2 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel 
           Device-2: NVIDIA GM204 High Definition Audio driver: snd_hda_intel 
           Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo 
           Sound Server: ALSA v: k5.13.0-7620-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: d8:cb:8a:e1:4a:a0 
           IF-ID-1: br-358e4a12f0ff state: down mac: 02:42:28:7f:30:84 
           IF-ID-2: br-408edd3ebfb7 state: down mac: 02:42:77:64:79:6d 
           IF-ID-3: br-6b15f8f23af7 state: down mac: 02:42:e0:c7:68:d1 
           IF-ID-4: br-82b33068f8d8 state: down mac: 02:42:a4:07:63:71 
           IF-ID-5: br-8385ea06e7b6 state: down mac: 02:42:cd:53:03:0b 
           IF-ID-6: docker0 state: down mac: 02:42:17:5c:81:8e 
Drives:    Local Storage: total: 3.86 TiB used: 208.42 GiB (5.3%) 
           ID-1: /dev/sda vendor: Crucial model: CT240BX200SSD1 size: 223.57 GiB 
           ID-2: /dev/sdb vendor: Toshiba model: DT01ACA300 size: 2.73 TiB 
           ID-3: /dev/sdc vendor: Crucial model: CT256MX100SSD1 size: 238.47 GiB 
           ID-4: /dev/sdd vendor: Crucial model: CT250MX500SSD1 size: 232.89 GiB 
           ID-5: /dev/sde type: USB vendor: JMicron Tech model: N/A size: 465.76 GiB 
Partition: ID-1: / size: 449.08 GiB used: 206.00 GiB (45.9%) fs: ext4 dev: /dev/dm-1 
           ID-2: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 41.5 C mobo: 30.0 C gpu: nouveau temp: 30 C 
           Fan Speeds (RPM): cpu: 0 fan-2: 539 fan-3: 0 fan-4: 0 fan-5: 0 gpu: nouveau fan: 1160 
Info:      Processes: 338 Uptime: 5m Memory: 31.28 GiB used: 2.76 GiB (8.8%) Shell: bash inxi: 3.0.38 
JulioSordi commented 2 years ago

Is this issue occurring across other distros? What could be causing it? Is there any more info i should provide?

bradleeedmondson commented 2 years ago

I believe I am seeing this issue too, with a PowerColor 6800 XT running PopOS 21.04 in a custom rig.

I see random flickering on both monitors with kernel 5.15, while booting with backup kernel 5.13 has no issue. Flickering affects whole display (including desktop background), not just specific apps/windows, but seems like it happens more frequently when using Chrome (I have full Google Chrome 96.0.4664.93 -- don't judge). The GPU has worked flawlessly up until a few days ago when I first booted with 5.15.

Showing the flickering issue: 5.15.5-76051505-generic:

$ inxi -Fz
System:    Kernel: 5.15.5-76051505-generic x86_64 bits: 64 Desktop: GNOME 3.38.4 
           Distro: Pop!_OS 21.04 
Machine:   Type: Desktop Mobo: ASRock model: B450 Pro4 serial: <filter> 
           UEFI: American Megatrends v: P5.00 date: 05/10/2021 
CPU:       Info: 8-Core model: AMD Ryzen 7 5800X bits: 64 type: MCP L2 cache: 4 MiB 
           Speed: 2870 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2870 2: 2870 
           3: 2871 4: 2860 5: 2850 6: 2220 7: 2198 8: 2696 
Graphics:  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu 
           v: kernel 
           Display: server: X.Org 1.20.11 driver: loaded: amdgpu,ati 
           unloaded: fbdev,modesetting,radeon,vesa resolution: 1: 3840x2160~60Hz 
           2: 3840x2160~60Hz 
           OpenGL: renderer: AMD Radeon RX 6800 XT (SIENNA_CICHLID DRM 3.42.0 
           5.15.5-76051505-generic LLVM 12.0.0) 
           v: 4.6 Mesa 21.2.2 
Audio:     Device-1: AMD driver: snd_hda_intel 
           Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel 
           Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo 
           Device-4: C-Media Audio Adapter (Unitek Y-247A) type: USB 
           driver: cmedia_hs100b,snd-usb-audio,usbhid 
           Sound Server: ALSA v: k5.15.5-76051505-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 660.34 GiB (70.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB 
Partition: ID-1: / size: 19.56 GiB used: 10.88 GiB (55.6%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot/efi size: 1.95 GiB used: 239.4 MiB (12.0%) fs: vfat 
           dev: /dev/nvme0n1p1 
           ID-3: /home size: 859.81 GiB used: 649.23 GiB (75.5%) fs: ext4 dev: /dev/dm-3 
Swap:      ID-1: swap-1 type: partition size: 35 GiB used: 0 KiB (0.0%) dev: /dev/dm-2 
Sensors:   Message: No sensors data was found. Is sensors configured? 
Info:      Processes: 290 Uptime: 8m Memory: 31.28 GiB used: 2.07 GiB (6.6%) Shell: Bash 
           inxi: 3.3.01

Not showing the flickering issue: 5.13.0-7620-generic:

$ inxi -Fz

System:    Kernel: 5.13.0-7620-generic x86_64 bits: 64 Desktop: GNOME 3.38.4 Distro: Pop!_OS 21.04 
Machine:   Type: Desktop Mobo: ASRock model: B450 Pro4 serial: <filter> UEFI: American Megatrends v: P5.00 date: 05/10/2021 
CPU:       Info: 8-Core model: AMD Ryzen 7 5800X bits: 64 type: MCP L2 cache: 4 MiB 
           Speed: 2194 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2194 2: 2195 3: 2196 4: 2190 5: 2189 6: 2195 7: 2195 
           8: 2195 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu v: kernel 
           Display: server: X.Org 1.20.11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: 
           1: 3840x2160~60Hz 2: 3840x2160~60Hz 
           OpenGL: renderer: AMD Radeon RX 6800 XT (SIENNA_CICHLID DRM 3.41.0 5.13.0-7620-generic LLVM 12.0.0) 
           v: 4.6 Mesa 21.2.2 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio driver: snd_hda_intel 
           Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo 
           Device-4: C-Media Audio Adapter (Unitek Y-247A) type: USB driver: hid-generic,snd-usb-audio,usbhid 
           Sound Server: ALSA v: k5.13.0-7620-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 660.33 GiB (70.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB 
Partition: ID-1: / size: 19.56 GiB used: 10.88 GiB (55.6%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot/efi size: 1.95 GiB used: 239.4 MiB (12.0%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 859.81 GiB used: 649.21 GiB (75.5%) fs: ext4 dev: /dev/dm-3 
Swap:      ID-1: swap-1 type: partition size: 35 GiB used: 0 KiB (0.0%) dev: /dev/dm-2 
Sensors:   Message: No sensors data was found. Is sensors configured? 
Info:      Processes: 296 Uptime: 1m Memory: 31.28 GiB used: 1.46 GiB (4.7%) Shell: Bash inxi: 3.3.01 

I have two custom .deb repos, but neither affect kernel: http://dl.google.com/linux/chrome/deb/ http://repo.zabbix.com/zabbix/5.0/ubuntu/

Eduardo06sp commented 2 years ago

Also happens on my bone stock lemp9. However I am not using Chrome, I use FireFox. Version: Pop!_OS 21.04 Kernel: Linux 5.15.5-76051505-generic x86_64

I opened a support ticket through their portal, I apologize if this comment is unnecessary

JulioSordi commented 2 years ago

Also happens on my bone stock lemp9. However I am not using Chrome, I use FireFox. Version: Pop!_OS 21.04 Kernel: Linux 5.15.5-76051505-generic x86_64

I opened a support ticket through their portal, I apologize if this comment is unnecessary

I hope someone has an explanation for why this is happening, it seems i'm not the only one who's affected, i wonder why Pop 20.04 LTS upgraded the kernel so soon, did Ubuntu upgrade the kernel too?

JorisVanEijden commented 2 years ago

Attaching dmesg output from a 5.13 (no flickering) and a 5.15 (flickering) boot. dmesg_5_13.txt dmesg_5_15.txt

guyvdbroeck commented 2 years ago

I have this issue on a fresh install lemp10 laptop.

JulioSordi commented 2 years ago

I have this issue on a fresh install lemp10 laptop.

Please run inxi -F in the terminal and post the output here, the developers need as much info as you can provide.

Open terminal --> type inxi -F then press Enter --> select the whole output then copy it with Ctrl Shift C --> start a new comment here, press Ctrl E to insert code then paste the terminal output.

leviport commented 2 years ago

@guyvdbroeck Please include the OS version you did a clean install with, as well as the packages you installed after installing the OS. If I can recreate this on my lemp10 it would be immensely helpful for troubleshooting.

guyvdbroeck commented 2 years ago
System:
  Host: voyager Kernel: 5.15.5-76051505-generic x86_64 bits: 64 
  Desktop: GNOME 3.38.4 Distro: Pop!_OS 21.04 
Machine:
  Type: Laptop System: System76 product: Lemur Pro v: lemp10 
  serial: <superuser required> 
  Mobo: System76 model: Lemur Pro v: lemp10 serial: <superuser required> 
  UEFI: coreboot v: 2021-07-20_93c2809 date: 07/20/2021 
Battery:
  ID-1: BAT0 charge: 68.6 Wh condition: 76.2/73.9 Wh (103%) 
CPU:
  Info: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP 
  L2 cache: 8 MiB 
  Speed: 1128 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1128 2: 1235 
  3: 1003 4: 855 5: 1129 6: 1128 7: 1103 8: 1003 
Graphics:
  Device-1: Intel TigerLake GT2 [Iris Xe Graphics] driver: i915 v: kernel 
  Device-2: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.2 
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.15.5-76051505-generic 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi 
  IF: wlp0s20f3 state: up mac: 60:e3:2b:ae:10:5a 
Bluetooth:
  Device-1: Intel type: USB driver: btusb 
  Report: ID: hci0 state: up running bt-v: 3.0 address: 60:E3:2B:AE:10:5E 
Drives:
  Local Storage: total: 931.51 GiB used: 252.24 GiB (27.1%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 907.51 GiB used: 249.48 GiB (27.5%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot/efi size: 511 MiB used: 355.8 MiB (69.6%) fs: vfat 
  dev: /dev/nvme0n1p1 
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 57.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 307 Uptime: 47m Memory: 23.33 GiB used: 3.61 GiB (15.5%) 
  Shell: Bash inxi: 3.3.01 
pbui commented 2 years ago

I was able to stop the flickering by adding intel_iommu=igfx_off to my kernel parameters. This on an Intel only machine with an iGPU and has been effective for a week.

JulioSordi commented 2 years ago

I was able to stop the flickering by adding intel_iommu=igfx_off to my kernel parameters. This on an Intel only machine with an iGPU and has been effective for a week.

Could you write a step by step instruction on how to modify kernel parameters? It would make things much easier for less experienced users, i often find the Arch Wiki too complicated, it never tells me how to do things and which commands i need to use.

pbui commented 2 years ago

You can use kernelstub as follows:

sudo kernelstub -a intel_iommu=igfx_off

This will add that kernel parameter to /etc/kernelstub/configuration and to the systemd-boot entries in /boot/efi/loader/entries/. For instance, after running that command above, the /boot/efi/loader/entries/Pop_OS-current.conf contains the following:

title Pop!_OS
linux /EFI/Pop_OS-241af729-d87a-45d0-9c76-a6db1260573a/vmlinuz.efi
initrd /EFI/Pop_OS-241af729-d87a-45d0-9c76-a6db1260573a/initrd.img
options root=UUID=241af729-d87a-45d0-9c76-a6db1260573a ro quiet loglevel=0 systemd.show_status=false splash intel_iommu=igfx_off

As you can see the kernel parameter we wanted to add is now on the options line.

Once you have added this parameter, you will need to reboot your machine for it to take effect.

If for whatever reason you want remove it (e.g. this problem is fixed properly, or this doesn't fix your flickering issue), then you can do the following to remove the option:

sudo kernelstub -d intel_iommu=igfx_off

I hope that helps. Note, this is not a proper fix... it is more of a workaround that I discovered from the Intel-IOMMU kernel documentation:

If you encounter issues with graphics devices, you can try adding option intel_iommu=igfx_off to turn off the integrated graphics engine. If this fixes anything, please ensure you file a bug reporting the problem.

bradleeedmondson commented 2 years ago

Just to confirm, is anyone else seeing this on amdgpu? I've observed this with both Radeon 6800 XT and 6900 XT on a Ryzen 7 5800X box. Obviously any Intel driver-specific issues aren't applicable there (nor is the intel_iommu kernel setting), so I'm trying to figure out if I should post a separate issue.

JorisVanEijden commented 2 years ago

intel_iommu=igfx_off did not stop or reduce the issue for me.

Steve-Z commented 2 years ago

Same problem here, running Pop!_OS 20.04 on a Dell e7470. Seems to be a horizontal flickering of maximized windows. I have seen it on Firefox 95, Slack desktop client (4.22.0), and VS Code (1.63). It is perhaps triggered by scrolling vertically, but can persist for some seconds even when I stop scrolling.

sudo lshw -short
[sudo] password...
H/W path       Device     Class          Description
====================================================
                          system         Latitude E7470 (06DC)
/0                        bus            Motherboard
/0/0                      memory         64KiB BIOS
/0/41                     memory         64KiB L1 cache
/0/42                     memory         64KiB L1 cache
/0/43                     memory         512KiB L2 cache
/0/44                     memory         3MiB L3 cache
/0/45                     processor      Intel(R) Core(TM) i5-6300U CPU @ 2.40GH
/0/46                     memory         8GiB System Memory
/0/46/0                   memory         8GiB SODIMM DDR4 Synchronous 2133 MHz (
/0/46/1                   memory         DIMM [empty]
/0/100                    bridge         Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
/0/100/2                  display        Skylake GT2 [HD Graphics 520]
/0/100/4                  generic        Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
/0/100/14                 bus            Sunrise Point-LP USB 3.0 xHCI Controlle
/0/100/14/0    usb1       bus            xHCI Host Controller
/0/100/14/0/2             multimedia     Integrated_Webcam_HD
/0/100/14/0/7             generic        5880
/0/100/14/1    usb2       bus            xHCI Host Controller
/0/100/14.2               generic        Sunrise Point-LP Thermal subsystem
/0/100/16                 communication  Sunrise Point-LP CSME HECI #1
/0/100/16.3               communication  Sunrise Point-LP Active Management Tech
/0/100/17                 storage        82801 Mobile SATA Controller [RAID mode
/0/100/1c                 bridge         Sunrise Point-LP PCI Express Root Port 
/0/100/1c/0    wlp1s0     network        Wireless 8260
/0/100/1d                 bridge         Sunrise Point-LP PCI Express Root Port 
/0/100/1d/0               generic        RTS525A PCI Express Card Reader
/0/100/1f                 bridge         Sunrise Point-LP LPC Controller
/0/100/1f.2               memory         Memory controller
/0/100/1f.3               multimedia     Sunrise Point-LP HD Audio
/0/100/1f.4               bus            Sunrise Point-LP SMBus
/0/100/1f.6    enp0s31f6  network        Ethernet Connection I219-LM
/0/1                      system         PnP device PNP0c02
/0/2                      system         PnP device PNP0b00
/0/3                      generic        PnP device INT3f0d
/0/4                      input          PnP device PNP0303
/0/5                      generic        PnP device DLL06dc
/0/6                      printer        PnP device PNP0401
/0/7                      system         PnP device PNP0c02
/0/8                      system         PnP device PNP0c02
/0/9                      system         PnP device PNP0c02
/0/a                      system         PnP device PNP0c02
/0/b           scsi2      storage        
/0/b/0.0.0     /dev/sda   disk           512GB SK hynix SC311 S
/0/b/0.0.0/1   /dev/sda1  volume         511MiB Windows FAT volume
/0/b/0.0.0/2   /dev/sda2  volume         4095MiB Linux swap volume
/0/b/0.0.0/3   /dev/sda3  volume         472GiB EXT4 volume
/1                        power          DELL MC34Y51
uname --all
Linux pop-os 5.15.5-76051505-generic #202111250933~1638201579~20.04~09f1aa7-Ubuntu SMP Tue Nov 30 02: x86_64 x86_64 x86_64 GNU/Linux
JulioSordi commented 2 years ago

Pop OS has just updated the kernel from 5.15.5 to 5.15.8, the flickering is still occurring but less often than before, i think it might be fixed soon.

szul commented 2 years ago

I have not had this issue recently either. :crossed_fingers:

JorisVanEijden commented 2 years ago

On 5.15.8 it is very much reduced but not completely gone here. From avg 5 times a minute to about once every 5 minutes.

Steve-Z commented 2 years ago

On 5.15.8 it is very much reduced but not completely gone here. From avg 5 times a minute to about once every 5 minutes.

I'm doing a little better than that. Only a couple of times since I updated to 5.15.8. But not completely gone.

hexpunk commented 2 years ago

I am using a Lemur Pro 9 with a fresh install of Pop OS 21.10. All updates have been applied. I'm also experiencing this issue. I don't think it's related to Chromium as I have Firefox installed. The issue happens infrequently, but it's still disconcerting. I think I've seen it happen while on a fullscreen terminal window.

Sorry for what mostly amounts to a "me, too" post. I'm mostly just happy this is a known software issue and there's not a problem with my hardware. 😌

EDIT:

inxi -Fz
System:    Kernel: 5.15.8-76051508-generic x86_64 bits: 64 Desktop: GNOME 40.5 
           Distro: Pop!_OS 21.10 
Machine:   Type: Laptop System: System76 product: Lemur Pro v: lemp9 serial: <filter> 
           Mobo: System76 model: Lemur Pro v: lemp9 serial: <filter> UEFI: coreboot 
           v: 2021-07-20_93c2809 date: 07/20/2021 
Battery:   ID-1: BAT0 charge: 68.9 Wh (99.4%) condition: 69.3/73.9 Wh (93.7%) 
CPU:       Info: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP cache: 
           L2: 8 MiB 
           Speed: 1000 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 1000 2: 1000 
           3: 1001 4: 1000 5: 1000 6: 1000 7: 1000 8: 1000 
Graphics:  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel 
           Device-2: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.13 driver: loaded: modesetting 
           unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.2 
Audio:     Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel 
           Sound Server-1: ALSA v: k5.15.8-76051508-generic running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi 
           IF: wlp0s20f3 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
           driver: btusb 
           Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running 
           rfk-block: hardware: no software: yes address: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 13.68 GiB (2.9%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G2B0C-00PXH0 
           size: 465.76 GiB 
Partition: ID-1: / size: 449.02 GiB used: 10.55 GiB (2.3%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-2: /boot/efi size: 497 MiB used: 252.2 MiB (50.7%) fs: vfat 
           dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 47.0 C mobo: 44.0 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 273 Uptime: 1m Memory: 15.5 GiB used: 2.18 GiB (14.1%) Shell: Bash 
           inxi: 3.3.06
JorisVanEijden commented 2 years ago

I'm not sure if this ticket is even the right place for this issue. Is anyone here working on this? It seem the application (I've only noticed it in Brave and Slack so far, my JetBrains IDEs seem unaffected) skips a frame in rendering so whatever is behind it is visible for a split second. Since the update to 5.15.8 clobbered my 5.13 kernel I've resorted to making my desktop background a screenshot of my most frequently used windows. That way the effect is slightly less jarring :)

JorisVanEijden commented 2 years ago

Update: disabling hardware acceleration provides a workaround for me. In Brave: Settings->additional settings->System->Use hardware acceleration when available In Slack: File->Preferences->Advanced->other options->Disable hardware acceleration

hexpunk commented 2 years ago

I just experienced it again in VSCode (Chromium-based...) while scrolling in the built-in terminal really fast. First time I've experienced it in days.

Steve-Z commented 2 years ago

For me it was better, not gone but better, for a while, since the 5.15.8 update.

But in the past 1-2 days it has been bad, specifically Slack desktop client and VSCode. I have not rebooted since the update. Could that be having an effect.

mohnishkodnani commented 2 years ago

I experience it in the Brave Browser mostly, however, not limited to that alone.

❯ inxi -Fz
System:
  Kernel: 5.15.8-76051508-generic x86_64 bits: 64 
  Desktop: GNOME 40.5 Distro: Pop!_OS 21.10 
Machine:
  Type: Laptop System: System76 product: Lemur Pro v: lemp9 
  serial: <filter> 
  Mobo: System76 model: Lemur Pro v: lemp9 serial: <filter> 
  UEFI: coreboot v: 2021-07-20_93c2809 date: 07/20/2021 
Battery:
  ID-1: BAT0 charge: 60.0 Wh (91.7%) 
  condition: 65.4/73.9 Wh (88.5%) 
CPU:
  Info: Quad Core model: Intel Core i5-10210U bits: 64 
  type: MT MCP cache: L2: 6 MiB 
  Speed: 1400 MHz min/max: 400/4200 MHz Core speeds (MHz): 
  1: 1400 2: 1300 3: 1300 4: 1312 5: 1406 6: 1563 7: 1535 
  8: 1583 
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 
  v: kernel 
  Device-2: Chicony Chicony USB2.0 Camera type: USB 
  driver: uvcvideo 
  Display: x11 server: X.Org 1.20.13 driver: loaded: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: N/A v: N/A 
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel 
  Sound Server-1: ALSA v: k5.15.8-76051508-generic running: yes 
  Sound Server-2: PulseAudio v: 15.0 running: yes 
  Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi 
  IF: wlp0s20f3 state: up mac: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) 
  type: USB driver: btusb 
  Report: hciconfig ID: hci0 state: up address: <filter> 
  bt-v: 3.0 
Drives:
  Local Storage: total: 232.89 GiB used: 29.91 GiB (12.8%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: WDS250G2B0C-00PXH0 size: 232.89 GiB 
Partition:
  ID-1: / size: 219.86 GiB used: 27.22 GiB (12.4%) fs: ext4 
  dev: /dev/nvme0n1p3 
  ID-2: /boot/efi size: 511 MiB used: 255.6 MiB (50.0%) fs: vfat 
  dev: /dev/nvme0n1p1 
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) 
  dev: /dev/dm-0 
Sensors:
  System Temperatures: cpu: 68.0 C mobo: 53.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 307 Uptime: 6d 18h 14m Memory: 15.5 GiB 
  used: 5.17 GiB (33.4%) Shell: fish inxi: 3.3.06 

Last few messages for dmesg

[80285.801802] OOM killer enabled.
[80285.801804] Restarting tasks ... done.
[80285.817422] thermal thermal_zone1: failed to read out thermal zone (-61)
[80285.879008] video LNXVIDEO:00: Restoring backlight state
[80285.898840] audit: type=1400 audit(1642011619.820:29): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=83433 comm="cupsd" capability=12  capname="net_admin"
[80285.908710] audit: type=1400 audit(1642011619.828:30): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=83436 comm="cups-browsed" capability=23  capname="sys_nice"
[80286.184994] PM: suspend exit
[80291.118090] wlp0s20f3: authenticate with 1c:1b:68:38:bd:40
[80291.120985] wlp0s20f3: send auth to 1c:1b:68:38:bd:40 (try 1/3)
[80291.199012] wlp0s20f3: authenticated
[80291.200892] wlp0s20f3: associate with 1c:1b:68:38:bd:40 (try 1/3)
[80291.205030] wlp0s20f3: RX AssocResp from 1c:1b:68:38:bd:40 (capab=0x1411 status=0 aid=14)
[80291.213041] wlp0s20f3: associated
[80291.285328] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[84286.704373] i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun

tail syslog

Jan 12 11:33:09 pop-os systemd[1]: Reloading.
Jan 12 11:33:09 pop-os systemd[1]: Starting LSB: disk temperature monitoring daemon...
Jan 12 11:33:09 pop-os systemd[1]: Started LSB: disk temperature monitoring daemon.
Jan 12 11:33:16 pop-os PackageKit: refresh-cache transaction /85_abebdbba from uid 1000 finished with success after 4422ms
Jan 12 11:33:18 pop-os PackageKit: get-packages transaction /86_bccebcda from uid 1000 finished with success after 1304ms
Jan 12 11:33:19 pop-os PackageKit: get-updates transaction /87_dbabceed from uid 1000 finished with success after 435ms
Jan 12 11:33:19 pop-os PackageKit: get-details transaction /88_dbecbdcd from uid 1000 finished with success after 276ms
Jan 12 11:33:22 pop-os /usr/libexec/gdm-x-session[1516]: (II) modeset(0): EDID vendor "CMN", prod id 5333
Jan 12 11:33:22 pop-os /usr/libexec/gdm-x-session[1516]: (II) modeset(0): Printing DDC gathered Modelines:
Jan 12 11:33:22 pop-os /usr/libexec/gdm-x-session[1516]: (II) modeset(0): Modeline "1920x1080"x0.0  152.84  1920 2000 2060 2250  1080 1086 1094 1132 -hsync -vsync (67.9 kHz eP)
Jan 12 11:36:11 pop-os geoclue[1065]: variant_to_string: assertion 'len < max_len' failed
srett commented 2 years ago

Has this been fixed? the radio silence for the last two months makes me assume so, but in case it hasn't: had similar issues after running Ubuntu 20.04 with kernel 5.15.x. I could solve the problem by updating mesa to the latest 22.0 build (which is still in RC phase as of now), or more specifically, just updating libgl1-mesa-dri was enough. I fetched the prebuilt package from here, but not sure if this will install on Pop, dependency-wise. If you want to try installing this and apt tells you it needs to install and remove a dozen other packages, then don't do it.

hexpunk commented 2 years ago

Purely anecdotal, but I haven't noticed it happening to me in about a month.

Steve-Z commented 2 years ago

Same here. No problems for a while.

leviport commented 2 years ago

Good to hear. I'll close this issue for now. We can reopen if the bug returns.