Display corruption after suspend with recent kernel update

Bug #1895434 reported by Shaun Crampton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

For the last few days, after suspending and resuming, I get display corruption in Google Chrome. Parts of the UI are replaces with black boxes. Resizing the window causes it to redraw but if I switch back to the original size then it goes back to black. I noticed it on 5.4.0-47 and backed down to 5.4.0-45 but still see the same. Looks like 5.4.0-45 was only released a few days before 5.4.0-47 so maybe I didn't reboot in that time. Those are the only upgrades I can see in the right timeframe.

I had a look in dmesg and saw some warnings; not sure if they're related:

[ 59.251347] ------------[ cut here ]------------
[ 59.251357] WARNING: CPU: 6 PID: 4533 at drivers/media/v4l2-core/v4l2-ioctl.c:1069 v4l_querycap+0x8f/0xa0 [videodev]
[ 59.251358] Modules linked in: msr nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter rfcomm ccm typec_displayport cmac algif_hash algif_skcipher af_alg xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink ip6table_filter ip6_tables iptable_filter bpfilter bridge stp llc aufs overlay bnep binfmt_misc nls_iso8859_1 btusb btrtl btbcm btintel snd_usb_audio bluetooth snd_usbmidi_lib ecdh_generic ecc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common dell_rbtn snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp mei_hdcp snd_hda_ext_core snd_hda_codec_hdmi snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_msr snd_soc_core snd_compress ac97_bus snd_hda_codec_realtek snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp
[ 59.251391] snd_hda_codec_generic coretemp snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm dell_laptop ledtrig_audio snd_seq_midi snd_seq_midi_event kvm_intel kvm iwlmvm snd_rawmidi rapl mac80211 snd_seq dell_wmi dell_smbios input_leds dcdbas intel_cstate libarc4 snd_seq_device serio_raw snd_timer iwlwifi snd dell_wmi_descriptor intel_wmi_thunderbolt wmi_bmof rtsx_pci_ms mxm_wmi cfg80211 memstick soundcore mei_me hid_multitouch mei joydev processor_thermal_device intel_rapl_common intel_soc_dts_iosf intel_pch_thermal ucsi_acpi typec_ucsi typec int3403_thermal int340x_thermal_zone dell_smo8800 intel_hid int3400_thermal acpi_thermal_rel mac_hid acpi_pad sparse_keymap nvidia_uvm(OE) sch_fq_codel v4l2loopback(OE) videodev mc dell_smm_hwmon parport_pc nfsd ppdev auth_rpcgss nfs_acl lockd lp parport grace sunrpc ip_tables x_tables autofs4 btrfs zstd_compress dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c
[ 59.251428] raid1 raid0 multipath linear wacom usbhid hid_generic nvidia_drm(POE) nvidia_modeset(POE) crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nvidia(POE) rtsx_pci_sdmmc i915 aesni_intel crypto_simd cryptd i2c_algo_bit glue_helper drm_kms_helper nvme syscopyarea sysfillrect sysimgblt fb_sys_fops nvme_core i2c_i801 rtsx_pci intel_lpss_pci drm ahci intel_lpss ipmi_devintf idma64 libahci ipmi_msghandler virt_dma i2c_hid hid video pinctrl_cannonlake wmi pinctrl_intel
[ 59.251451] CPU: 6 PID: 4533 Comm: chrome Tainted: P U W OE 5.4.0-45-generic #49-Ubuntu
[ 59.251452] Hardware name: Dell Inc. Precision 5530/0FP2W2, BIOS 1.15.0 12/25/2019
[ 59.251460] RIP: 0010:v4l_querycap+0x8f/0xa0 [videodev]
[ 59.251462] Code: 00 00 80 48 b9 00 00 20 00 00 00 20 00 48 0b 4b 54 21 d6 39 f2 75 13 48 89 4b 54 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b eb d0 <0f> 0b 48 89 4b 54 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 44 00 00
[ 59.251464] RSP: 0018:ffffb367c518fc70 EFLAGS: 00010202
[ 59.251466] RAX: 0000000000000000 RBX: ffffb367c518fd88 RCX: 8520800285208002
[ 59.251467] RDX: 0000000085008003 RSI: 0000000085008002 RDI: 0000000000000000
[ 59.251469] RBP: ffffb367c518fc98 R08: 0000000000000000 R09: 0000000000ffff0a
[ 59.251470] R10: 0000000000000000 R11: 0000000000000000 R12: ffff995c57b5e000
[ 59.251471] R13: ffff995c4b2ff600 R14: ffff995b6de87980 R15: ffffffffc04dc380
[ 59.251474] FS: 00007fab7ada6340(0000) GS:ffff995c5c380000(0000) knlGS:0000000000000000
[ 59.251475] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 59.251477] CR2: 00002f5a17d09008 CR3: 0000000717140001 CR4: 00000000003606e0
[ 59.251478] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 59.251479] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 59.251480] Call Trace:
[ 59.251489] __video_do_ioctl+0x1a7/0x410 [videodev]
[ 59.251499] video_usercopy+0x2b5/0x670 [videodev]
[ 59.251507] ? v4l_s_fmt+0x670/0x670 [videodev]
[ 59.251517] video_ioctl2+0x15/0x20 [videodev]
[ 59.251525] v4l2_ioctl+0x4c/0x60 [videodev]
[ 59.251528] do_vfs_ioctl+0x407/0x670
[ 59.251532] ? putname+0x4a/0x50
[ 59.251535] ksys_ioctl+0x67/0x90
[ 59.251538] __x64_sys_ioctl+0x1a/0x20
[ 59.251542] do_syscall_64+0x57/0x190
[ 59.251547] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 59.251548] RIP: 0033:0x7fab7c00537b
[ 59.251551] Code: 0f 1e fa 48 8b 05 15 3b 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 3a 0d 00 f7 d8 64 89 01 48
[ 59.251552] RSP: 002b:00007fffa3357b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 59.251554] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fab7c00537b
[ 59.251556] RDX: 00007fffa3357c20 RSI: ffffffff80685600 RDI: 0000000000000017
[ 59.251557] RBP: 00007fffa3357d10 R08: 0000000000000000 R09: 00002f5a17cee340
[ 59.251558] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffa3357b90
[ 59.251560] R13: 00002f5a17cdb0c0 R14: 00002f5a17cee450 R15: 00002f5a17cebb70
[ 59.251562] ---[ end trace a46f21f7de3e614d ]---

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-45-generic 5.4.0-45.49
ProcVersionSignature: Ubuntu 5.4.0-45.49-generic 5.4.55
Uname: Linux 5.4.0-45-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: shaun 2662 F.... pulseaudio
 /dev/snd/controlC0: shaun 2662 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 13 10:51:25 2020
InstallationDate: Installed on 2018-12-11 (641 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
MachineType: Dell Inc. Precision 5530
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-45-generic root=/dev/mapper/ubuntu--vg-root ro mem_sleep_default=deep resume=/dev/disk/by-uuid/01f98d09-5f44-4469-904b-c976fbd46d96 quiet splash
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-45-generic N/A
 linux-backports-modules-5.4.0-45-generic N/A
 linux-firmware 1.187.3
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-05-02 (133 days ago)
dmi.bios.date: 12/25/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.15.0
dmi.board.name: 0FP2W2
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.15.0:bd12/25/2019:svnDellInc.:pnPrecision5530:pvr:rvnDellInc.:rn0FP2W2:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Precision
dmi.product.name: Precision 5530
dmi.product.sku: 087D
dmi.sys.vendor: Dell Inc.

Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
Shaun Crampton (fasaxc) wrote :

Looks like the black boxes aren't the only corruption I see; websites like this one aren't rendering properly either, content is smearing like it's not being redrawn properly.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
Shaun Crampton (fasaxc) wrote :

Tried updating firmware from v1.15.0 to v1.17.1; doesn't seem to have helped.

Revision history for this message
Shaun Crampton (fasaxc) wrote :

Same problem after resuming from hibernation or suspend.

Revision history for this message
Shaun Crampton (fasaxc) wrote :

Tried baking down to kernel -42, which is much older but I'm still seeing the problem. Maybe the issue is not with the kernel, it just happened to occur at the same time :-(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.