pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.46k stars 87 forks source link

Google Chrome graphics issues on unsuspend on Lenovo ThinkPad X1 Extreme 3rd gen #1389

Open agentydragon opened 3 years ago

agentydragon commented 3 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Output of apt list --installed | grep nvidia:

libnvidia-cfg1-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-common-455/now 455.28-1pop0~1604073177~20.04~ef6315f all [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-compute-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-compute-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-decode-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-decode-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-encode-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-encode-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-extra-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-fbc1-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-fbc1-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-gl-440/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-gl-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-gl-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-ifr1-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
libnvidia-ifr1-455/now 455.28-1pop0~1604073177~20.04~ef6315f i386 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-compute-utils-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-dkms-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-driver-440/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-driver-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-kernel-common-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-kernel-source-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
nvidia-settings/focal-updates,now 440.82-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-utils-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]
xserver-xorg-video-nvidia-455/now 455.28-1pop0~1604073177~20.04~ef6315f amd64 [installed,upgradable to: 455.38-1pop0~1605144088~20.04~3cf77da]

Issue/Bug Description:

When I suspend the computer with any Chrome windows open and then unsuspend, there will be various graphical glitches - browser chrome not updating when closing tabs, sections replaced by black pixels, etc.

I've also seen the glitches happen in Slack, probably because there's some sort of WebView in it.

I believe I've seen this on both discrete graphics and integrated graphics mode.

Steps to reproduce (if you know):

Expected behavior:

No graphical glitches.

Other Notes:

$ lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:16.3 Serial controller: Intel Corporation Device 06e3
00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Device 06bf (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 068e
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f95 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
04:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
06:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06)
2c:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06)
54:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
55:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

I'll add a screenshot or two if I can capture some.

agentydragon commented 3 years ago

Screenshot attached.

Screenshot from 2020-11-14 14-43-51

atrauzzi commented 3 years ago

Experiencing the same with a Lenovo Y740 (RTX 2060)

Any chrome-based stuff basically comes back broken when displays switch/undock/resume from suspend.

agentydragon commented 3 years ago

For me this happens on unsuspend, without switching graphics (discrete/integrated).

On Mon, 16 Nov 2020, 23:49 Alexander Trauzzi, notifications@github.com wrote:

Experiencing the same with a Lenovo Y740 (RTX 2060)

Any chrome-based stuff basically comes back broken when displays switch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pop-os/pop/issues/1389#issuecomment-728377127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFORDAEPXLC6GVT3SQ2LHLSQGT77ANCNFSM4TU52Z4A .

rame0 commented 3 years ago

Same here on PC with nVidia GPU. This happens on every chrome-based browser.

Only one thing helps: Shift+Esc inside browser and kill GPU Process.

agentydragon commented 3 years ago

@rame0 thanks for the workaround, I haven't tried that yet. I'll try it next time I encounter it.