Comment 7 for bug 2062426

Revision history for this message
Johannes (jonppe) wrote (last edit ):

On my Ubuntu 24.04, I seem to be getting the same issue when running 6.8.0 kernels (but not on 6.5.0 kernels).
I'm currently using Nvidia driver version 535.171.04 with mobile RTX 3080.

The issue happens always when going to suspend (by closing the lid).
When waking up, X or GDM3 seems to have crash and forces me to log in again. The system seems to be a bit slow/unstable still for a some tens of seconds after logging in.

/usr/libexec/gdm-x-session[90542]: (EE) modeset(G0): failed to set mode: Input/output error
kernel: ------------[ cut here ]------------
kernel: simple-framebuffer simple-framebuffer.0: drm_WARN_ON(map->is_iomem)
kernel: WARNING: CPU: 4 PID: 90542 at drivers/gpu/drm/drm_gem_shmem_helper.c:319 drm_gem_shmem_vmap+0x1a5/0x1e0
kernel: Modules linked in: ufs qnx4 hfsplus hfs minix ntfs msdos jfs nls_ucs2_utils xfs cpuid ccm rfcomm snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables bridge stp llc qrtr overlay cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nvidia_uvm(PO) nls_iso8859_1 nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel intel_rapl_msr snd_intel_dspcfg intel_rapl_common snd_intel_sdw_acpi snd_hda_codec snd_hda_scodec_cs35l41_i2c snd_hda_core snd_hda_scodec_cs35l41 snd_hwdep edac_mce_amd uvcvideo btusb snd_hda_cs_dsp_ctls cs_dsp videobuf2_vmalloc btrtl snd_pcm iwlmvm snd_soc_cs35l41_lib uvc btintel kvm_amd snd_seq_midi videobuf2_memops btbcm mac80211 videobuf2_v4l2 btmtk snd_seq_midi_event libarc4 snd_rawmidi kvm bluetooth videodev snd_seq iwlwifi irqbypass videobuf2_common ecdh_generic snd_seq_device ecc rapl mc
kernel: wmi_bmof snd_timer cfg80211 ideapad_laptop sparse_keymap i2c_piix4 snd k10temp ccp platform_profile soundcore cm32181 industrialio serial_multi_instantiate input_leds joydev serio_raw mac_hid nfsd auth_rpcgss msr nfs_acl parport_pc lockd ppdev grace lp parport sunrpc efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 usbhid crct10dif_pclmul crc32_pclmul polyval_clmulni hid_multitouch polyval_generic ghash_clmulni_intel hid_generic nvme sha256_ssse3 ucsi_acpi ahci nvme_core r8169 xhci_pci sha1_ssse3 typec_ucsi video i2c_hid_acpi libahci xhci_pci_renesas realtek nvme_auth typec i2c_hid wmi hid aesni_intel crypto_simd cryptd
kernel: CPU: 4 PID: 90542 Comm: Xorg Tainted: P W O 6.8.0-31-generic #31-Ubuntu
kernel: Hardware name: LENOVO 82N6/LNVNB161216, BIOS GKCN60WW 03/07/2023
kernel: RIP: 0010:drm_gem_shmem_vmap+0x1a5/0x1e0
kernel: Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 44 a4 ec ff 48 c7 c1 ed 58 e2 a9 4c 89 ea 48 c7 c7 2c 34 e2 a9 48 89 c6 e8 1b 14 44 ff <0f> 0b 48 8b 83 f0 00 00 00 4c 89 e6 48 8b 38 e8 f7 48 f5 ff b8 fb
kernel: RSP: 0018:ffffb0400e44fa78 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: ffff9a88fe9e4c00 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
kernel: RBP: ffffb0400e44fa98 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff9a8899f650c8
kernel: R13: ffff9a88823edae0 R14: ffff9a8899f650c8 R15: ffff9a8899f650c8
kernel: FS: 000072c36c311ac0(0000) GS:ffff9a976dc00000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000072c352e00000 CR3: 0000000162608000 CR4: 0000000000f50ef0
kernel: PKRU: 55555554
kernel: Call Trace:
kernel: <TASK>
kernel: ? show_regs+0x6d/0x80
kernel: ? __warn+0x89/0x160
kernel: ? drm_gem_shmem_vmap+0x1a5/0x1e0
kernel: ? report_bug+0x17e/0x1b0
kernel: ? handle_bug+0x51/0xa0
kernel: ? exc_invalid_op+0x18/0x80
kernel: ? asm_exc_invalid_op+0x1b/0x20
kernel: ? drm_gem_shmem_vmap+0x1a5/0x1e0
kernel: ? drm_gem_shmem_vmap+0x1a5/0x1e0
kernel: drm_gem_shmem_object_vmap+0x9/0x20