linux-image-6.5.0-41-generic: amdgpu / mesa driver crash on laptop lid close and open

Bug #2071867 reported by Martin X201
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-6.5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Jul 4 01:13] ------------[ cut here ]------------
[ +0,000011] WARNING: CPU: 0 PID: 1783 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_enc_cfg.c:314 link_enc_cfg_link_encs_assign+0x5a2/0x9c0 [amdgpu]
[ +0,001074] Modules linked in: nvme_fabrics ccm michael_mic rfcomm xt_CHECKSUM xt_MASQUERADE nft_chain_nat nf_nat cmac algif_hash algif_skcipher af_alg bridge stp llc bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk cdc_mbim uvc ipt_REJECT videobuf2_memops cdc_wdm nf_reject_ipv4 videobuf2_v4l2 bluetooth cdc_ncm xt_LOG cdc_ether videodev nf_log_syslog option usbnet videobuf2_common ecdh_generic qrtr_mhi usb_wwan ecc mii usbserial mc nft_limit amdgpu snd_soc_acp6x_mach snd_soc_dmic snd_acp6x_pdm_dma snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_ctl_led intel_rapl_msr xt_limit snd_sof_xtensa_dsp xt_addrtype snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic snd_sof snd_hda_codec_hdmi xt_tcpudp xt_conntrack snd_sof_utils nf_conntrack snd_hda_intel snd_soc_core nf_defrag_ipv6 amdxcp snd_intel_dspcfg snd_compress qrtr nf_defrag_ipv4 iommu_v2 snd_intel_sdw_acpi ac97_bus edac_mce_amd ath11k_pci nft_compat drm_buddy snd_hda_codec snd_pcm_dmaengine crct10dif_pclmul gpu_sched
[ +0,000362] snd_hda_core polyval_clmulni thinkpad_acpi ath11k snd_pci_ps drm_suballoc_helper polyval_generic snd_hwdep nvram kvm_amd qmi_helpers snd_rpl_pci_acp6x drm_ttm_helper ghash_clmulni_intel joydev snd_seq_midi snd_acp_pci ttm nf_tables mac80211 sha256_ssse3 snd_seq_midi_event kvm snd_rawmidi snd_pci_acp6x drm_display_helper libcrc32c sha1_ssse3 nfnetlink binfmt_misc irqbypass snd_seq aesni_intel cec snd_pcm snd_seq_device cfg80211 crypto_simd input_leds rc_core snd_pci_acp5x snd_timer cryptd snd_rn_pci_acp3x rapl nls_iso8859_1 serio_raw drm_kms_helper think_lmi libarc4 snd_acp_config snd hid_multitouch firmware_attributes_class snd_soc_acpi k10temp mhi i2c_algo_bit wmi_bmof ccp soundcore snd_pci_acp3x ledtrig_audio platform_profile amd_pmc acpi_tad mac_hid sch_fq_codel msr parport_pc ppdev lp drm parport efi_pstore ip_tables x_tables autofs4 z3fold lz4 lz4_compress hid_generic nvme ucsi_acpi i2c_hid_acpi xhci_pci r8169 nvme_core typec_ucsi psmouse video crc32_pclmul i2c_hid i2c_piix4 xhci_pci_renesas realtek
[ +0,000394] typec wmi nvme_common hid zstd
[ +0,000028] CPU: 0 PID: 1783 Comm: Xorg Not tainted 6.5.0-41-generic #41~22.04.2-Ubuntu
[ +0,000012] Hardware name: LENOVO 21CF004NGE/21CF004NGE, BIOS R23ET70W (1.40 ) 08/08/2023
[ +0,000007] RIP: 0010:link_enc_cfg_link_encs_assign+0x5a2/0x9c0 [amdgpu]
[ +0,001009] Code: 0f 85 6d ff ff ff 4d 85 e4 74 26 41 8b 54 24 24 83 fa ff 0f 84 af fe ff ff 48 8b 7d b8 4c 89 f6 e8 d3 e3 ff ff e9 9e fe ff ff <0f> 0b e9 2a fb ff ff 49 8b 46 08 49 8b 96 20 04 00 00 83 b8 ec 01
[ +0,000009] RSP: 0018:ffffb69b824773f8 EFLAGS: 00010202
[ +0,000012] RAX: 0000000000000001 RBX: ffff9f7bcfbc0000 RCX: 0000000000000000
[ +0,000008] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ +0,000006] RBP: ffffb69b824774a8 R08: 0000000000000000 R09: 0000000000000000
[ +0,000007] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9f7c54003810
[ +0,000006] R13: ffff9f7c54000000 R14: 0000000000000000 R15: ffff9f7c54003810
[ +0,000008] FS: 00007c60bf629a80(0000) GS:ffff9f7eeee00000(0000) knlGS:0000000000000000
[ +0,000009] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0,000007] CR2: 00007041ded6ec14 CR3: 000000010356e000 CR4: 0000000000750ef0
[ +0,000008] PKRU: 55555554
[ +0,000006] Call Trace:
[ +0,000006] <TASK>
[ +0,000011] ? show_regs+0x6d/0x80
[ +0,000020] ? __warn+0x89/0x160
[ +0,000015] ? link_enc_cfg_link_encs_assign+0x5a2/0x9c0 [amdgpu]
[ +0,001054] ? report_bug+0x17e/0x1b0
[ +0,000039] ? handle_bug+0x46/0x90
[ +0,000019] ? exc_invalid_op+0x18/0x80
[ +0,000018] ? asm_exc_invalid_op+0x1b/0x20
[ +0,000031] ? link_enc_cfg_link_encs_assign+0x5a2/0x9c0 [amdgpu]
[ +0,001253] ? link_enc_cfg_link_encs_assign+0x8b/0x9c0 [amdgpu]
[ +0,000886] ? dc_fpu_end+0xac/0xd0 [amdgpu]
[ +0,000906] ? dcn31_validate_bandwidth+0x163/0x390 [amdgpu]
[ +0,000864] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000015] ? kfree+0x78/0x120
[ +0,000015] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000017] dc_validate_global_state.part.0+0x341/0x4c0 [amdgpu]
[ +0,000749] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000013] dc_validate_global_state+0x5d/0x80 [amdgpu]
[ +0,000700] dc_validate_with_context+0x6de/0xf90 [amdgpu]
[ +0,000693] dc_commit_streams+0x2e2/0x6e0 [amdgpu]
[ +0,000688] amdgpu_dm_atomic_commit_tail+0x62b/0x1600 [amdgpu]
[ +0,000764] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] ? dcn31_calculate_wm_and_dlg_fp+0x69/0x8f0 [amdgpu]
[ +0,000862] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000009] ? link_enc_cfg_link_encs_assign+0x35a/0x9c0 [amdgpu]
[ +0,000675] ? dc_fpu_end+0xac/0xd0 [amdgpu]
[ +0,000736] ? dcn31_validate_bandwidth+0x163/0x390 [amdgpu]
[ +0,000699] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? kfree+0x78/0x120
[ +0,000009] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000011] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? dma_resv_iter_first_unlocked+0x66/0x80
[ +0,000010] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? dma_resv_get_fences+0x5e/0x240
[ +0,000009] ? drm_modeset_lock_all_ctx+0x1ad/0x1d0 [drm]
[ +0,000090] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000007] ? dma_resv_get_singleton+0x42/0x150
[ +0,000012] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000007] ? wait_for_completion_timeout+0x119/0x150
[ +0,000010] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000011] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] commit_tail+0xc2/0x190 [drm_kms_helper]
[ +0,000040] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? drm_atomic_helper_swap_state+0x246/0x380 [drm_kms_helper]
[ +0,000037] drm_atomic_helper_commit+0x11d/0x150 [drm_kms_helper]
[ +0,000036] drm_atomic_commit+0x99/0xd0 [drm]
[ +0,000068] ? __pfx___drm_printfn_info+0x10/0x10 [drm]
[ +0,000080] drm_atomic_connector_commit_dpms+0xd7/0x100 [drm]
[ +0,000108] drm_mode_obj_set_property_ioctl+0x1bf/0x440 [drm]
[ +0,000117] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [drm]
[ +0,000079] drm_connector_property_set_ioctl+0x3b/0x60 [drm]
[ +0,000075] drm_ioctl_kernel+0xde/0x190 [drm]
[ +0,000085] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] drm_ioctl+0x2d0/0x550 [drm]
[ +0,000078] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [drm]
[ +0,000087] amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
[ +0,000644] __x64_sys_ioctl+0xa3/0xf0
[ +0,000015] x64_sys_call+0x1198/0x20b0
[ +0,000010] do_syscall_64+0x55/0x90
[ +0,000008] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000009] ? syscall_exit_to_user_mode+0x37/0x60
[ +0,000009] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? do_syscall_64+0x61/0x90
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? do_syscall_64+0x61/0x90
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? exit_to_user_mode_prepare+0x30/0xb0
[ +0,000010] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? syscall_exit_to_user_mode+0x37/0x60
[ +0,000008] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? do_syscall_64+0x61/0x90
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000009] ? do_syscall_64+0x61/0x90
[ +0,000010] entry_SYSCALL_64_after_hwframe+0x73/0xdd
[ +0,000011] RIP: 0033:0x7c60bf51a94f
[ +0,000123] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 24 18 64 48 2b 04 25 28 00
[ +0,000008] RSP: 002b:00007ffea41cf970 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ +0,000012] RAX: ffffffffffffffda RBX: 00007ffea41cfa00 RCX: 00007c60bf51a94f
[ +0,000007] RDX: 00007ffea41cfa00 RSI: 00000000c01064ab RDI: 000000000000000f
[ +0,000006] RBP: 00000000c01064ab R08: 0000000000000001 R09: 0000557d07fec700
[ +0,000006] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557d07fe9420
[ +0,000006] R13: 000000000000000f R14: 0000557d07fe8480 R15: 0000000000000000
[ +0,000018] </TASK>
[ +0,000005] ---[ end trace 0000000000000000 ]---
[ +0,000063] ------------[ cut here ]------------
[ +0,000005] WARNING: CPU: 0 PID: 1783 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_enc_cfg.c:731 link_enc_cfg_validate+0x2e3/0x670 [amdgpu]
[ +0,000975] Modules linked in: nvme_fabrics ccm michael_mic rfcomm xt_CHECKSUM xt_MASQUERADE nft_chain_nat nf_nat cmac algif_hash algif_skcipher af_alg bridge stp llc bnep btusb btrtl btbcm uvcvideo btintel videobuf2_vmalloc btmtk cdc_mbim uvc ipt_REJECT videobuf2_memops cdc_wdm nf_reject_ipv4 videobuf2_v4l2 bluetooth cdc_ncm xt_LOG cdc_ether videodev nf_log_syslog option usbnet videobuf2_common ecdh_generic qrtr_mhi usb_wwan ecc mii usbserial mc nft_limit amdgpu snd_soc_acp6x_mach snd_soc_dmic snd_acp6x_pdm_dma snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_ctl_led intel_rapl_msr xt_limit snd_sof_xtensa_dsp xt_addrtype snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic snd_sof snd_hda_codec_hdmi xt_tcpudp xt_conntrack snd_sof_utils nf_conntrack snd_hda_intel snd_soc_core nf_defrag_ipv6 amdxcp snd_intel_dspcfg snd_compress qrtr nf_defrag_ipv4 iommu_v2 snd_intel_sdw_acpi ac97_bus edac_mce_amd ath11k_pci nft_compat drm_buddy snd_hda_codec snd_pcm_dmaengine crct10dif_pclmul gpu_sched
[ +0,000313] snd_hda_core polyval_clmulni thinkpad_acpi ath11k snd_pci_ps drm_suballoc_helper polyval_generic snd_hwdep nvram kvm_amd qmi_helpers snd_rpl_pci_acp6x drm_ttm_helper ghash_clmulni_intel joydev snd_seq_midi snd_acp_pci ttm nf_tables mac80211 sha256_ssse3 snd_seq_midi_event kvm snd_rawmidi snd_pci_acp6x drm_display_helper libcrc32c sha1_ssse3 nfnetlink binfmt_misc irqbypass snd_seq aesni_intel cec snd_pcm snd_seq_device cfg80211 crypto_simd input_leds rc_core snd_pci_acp5x snd_timer cryptd snd_rn_pci_acp3x rapl nls_iso8859_1 serio_raw drm_kms_helper think_lmi libarc4 snd_acp_config snd hid_multitouch firmware_attributes_class snd_soc_acpi k10temp mhi i2c_algo_bit wmi_bmof ccp soundcore snd_pci_acp3x ledtrig_audio platform_profile amd_pmc acpi_tad mac_hid sch_fq_codel msr parport_pc ppdev lp drm parport efi_pstore ip_tables x_tables autofs4 z3fold lz4 lz4_compress hid_generic nvme ucsi_acpi i2c_hid_acpi xhci_pci r8169 nvme_core typec_ucsi psmouse video crc32_pclmul i2c_hid i2c_piix4 xhci_pci_renesas realtek
[ +0,000339] typec wmi nvme_common hid zstd
[ +0,000023] CPU: 0 PID: 1783 Comm: Xorg Tainted: G W 6.5.0-41-generic #41~22.04.2-Ubuntu
[ +0,000010] Hardware name: LENOVO 21CF004NGE/21CF004NGE, BIOS R23ET70W (1.40 ) 08/08/2023
[ +0,000005] RIP: 0010:link_enc_cfg_validate+0x2e3/0x670 [amdgpu]
[ +0,000936] Code: 00 00 41 0f b6 84 24 40 02 00 00 41 83 c5 01 44 39 e8 7f c6 41 0f b6 c7 0f b6 75 94 40 20 de 0f 85 b1 00 00 00 be 01 00 00 00 <0f> 0b 0f b6 4d 94 0f b6 d3 c1 e0 03 40 0f b6 f6 01 d2 c1 e6 04 48
[ +0,000011] RSP: 0018:ffffb69b82477330 EFLAGS: 00010246
[ +0,000014] RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff9f7c540038a0
[ +0,000009] RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000000
[ +0,000008] RBP: ffffb69b824773e8 R08: 0000000000000005 R09: ffff9f7bcfbc0000
[ +0,000009] R10: ffff9f7bcfbc0000 R11: 0000000000000014 R12: ffff9f7c54000000
[ +0,000009] R13: 0000000000000000 R14: 0000000000000004 R15: 00000000ffffffff
[ +0,000009] FS: 00007c60bf629a80(0000) GS:ffff9f7eeee00000(0000) knlGS:0000000000000000
[ +0,000010] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0,000006] CR2: 00007041ded6ec14 CR3: 000000010356e000 CR4: 0000000000750ef0
[ +0,000007] PKRU: 55555554
[ +0,000005] Call Trace:
[ +0,000005] <TASK>
[ +0,000006] ? show_regs+0x6d/0x80
[ +0,000015] ? __warn+0x89/0x160
[ +0,000013] ? link_enc_cfg_validate+0x2e3/0x670 [amdgpu]
[ +0,001184] ? report_bug+0x17e/0x1b0
[ +0,000019] ? handle_bug+0x46/0x90
[ +0,000013] ? exc_invalid_op+0x18/0x80
[ +0,000013] ? asm_exc_invalid_op+0x1b/0x20
[ +0,000019] ? link_enc_cfg_validate+0x2e3/0x670 [amdgpu]
[ +0,000911] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] ? asm_exc_invalid_op+0x1b/0x20
[ +0,000022] link_enc_cfg_link_encs_assign+0x28c/0x9c0 [amdgpu]
[ +0,000884] ? dc_fpu_end+0xac/0xd0 [amdgpu]
[ +0,001033] ? dcn31_validate_bandwidth+0x163/0x390 [amdgpu]
[ +0,001055] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] ? kfree+0x78/0x120
[ +0,000011] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000017] dc_validate_global_state.part.0+0x341/0x4c0 [amdgpu]
[ +0,000700] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] dc_validate_global_state+0x5d/0x80 [amdgpu]
[ +0,000680] dc_validate_with_context+0x6de/0xf90 [amdgpu]
[ +0,000714] dc_commit_streams+0x2e2/0x6e0 [amdgpu]
[ +0,000764] amdgpu_dm_atomic_commit_tail+0x62b/0x1600 [amdgpu]
[ +0,000807] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000009] ? dcn31_calculate_wm_and_dlg_fp+0x69/0x8f0 [amdgpu]
[ +0,000748] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000009] ? link_enc_cfg_link_encs_assign+0x35a/0x9c0 [amdgpu]
[ +0,000670] ? dc_fpu_end+0xac/0xd0 [amdgpu]
[ +0,000746] ? dcn31_validate_bandwidth+0x163/0x390 [amdgpu]
[ +0,000724] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000011] ? kfree+0x78/0x120
[ +0,000012] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000015] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000010] ? dma_resv_iter_first_unlocked+0x66/0x80
[ +0,000013] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? dma_resv_get_fences+0x5e/0x240
[ +0,000009] ? drm_modeset_lock_all_ctx+0x1ad/0x1d0 [drm]
[ +0,000095] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? dma_resv_get_singleton+0x42/0x150
[ +0,000012] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? wait_for_completion_timeout+0x119/0x150
[ +0,000009] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000013] commit_tail+0xc2/0x190 [drm_kms_helper]
[ +0,000050] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? drm_atomic_helper_swap_state+0x246/0x380 [drm_kms_helper]
[ +0,000039] drm_atomic_helper_commit+0x11d/0x150 [drm_kms_helper]
[ +0,000039] drm_atomic_commit+0x99/0xd0 [drm]
[ +0,000078] ? __pfx___drm_printfn_info+0x10/0x10 [drm]
[ +0,000082] drm_atomic_connector_commit_dpms+0xd7/0x100 [drm]
[ +0,000074] drm_mode_obj_set_property_ioctl+0x1bf/0x440 [drm]
[ +0,000089] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [drm]
[ +0,000079] drm_connector_property_set_ioctl+0x3b/0x60 [drm]
[ +0,000074] drm_ioctl_kernel+0xde/0x190 [drm]
[ +0,000084] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000012] drm_ioctl+0x2d0/0x550 [drm]
[ +0,000076] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [drm]
[ +0,000087] amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
[ +0,000471] __x64_sys_ioctl+0xa3/0xf0
[ +0,000013] x64_sys_call+0x1198/0x20b0
[ +0,000007] do_syscall_64+0x55/0x90
[ +0,000008] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? syscall_exit_to_user_mode+0x37/0x60
[ +0,000008] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? do_syscall_64+0x61/0x90
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000007] ? do_syscall_64+0x61/0x90
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? exit_to_user_mode_prepare+0x30/0xb0
[ +0,000007] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? syscall_exit_to_user_mode+0x37/0x60
[ +0,000008] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000007] ? do_syscall_64+0x61/0x90
[ +0,000006] ? srso_alias_return_thunk+0x5/0x7f
[ +0,000008] ? do_syscall_64+0x61/0x90
[ +0,000008] entry_SYSCALL_64_after_hwframe+0x73/0xdd
[ +0,000008] RIP: 0033:0x7c60bf51a94f
[ +0,000046] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 24 18 64 48 2b 04 25 28 00
[ +0,000006] RSP: 002b:00007ffea41cf970 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ +0,000008] RAX: ffffffffffffffda RBX: 00007ffea41cfa00 RCX: 00007c60bf51a94f
[ +0,000005] RDX: 00007ffea41cfa00 RSI: 00000000c01064ab RDI: 000000000000000f
[ +0,000004] RBP: 00000000c01064ab R08: 0000000000000001 R09: 0000557d07fec700
[ +0,000005] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557d07fe9420
[ +0,000004] R13: 000000000000000f R14: 0000557d07fe8480 R15: 0000000000000000
[ +0,000014] </TASK>
[ +0,000004] ---[ end trace 0000000000000000 ]---
[ +0,000004] [drm:link_enc_cfg_validate [amdgpu]] *ERROR* link_enc_cfg_validate: Invalid link encoder assignments - 0x1c

OS: Xubuntu 22.04.4 LTS x86_64
Host: 21CF004NGE ThinkPad T14 Gen 3
Kernel: 6.5.0-41-generic
Uptime: 1 hour, 44 mins
Packages: 1925 (dpkg)
Shell: bash 5.1.16
Resolution: 1920x1200
DE: Xfce 4.16
WM: Xfwm4
WM Theme: Dracula-standard-buttons
Theme: Dracula-standard-buttons [GTK2/3]
Icons: elementary-xfce-darker [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: DejaVu Sans Mono 9
CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 4.768GHz
GPU: AMD ATI 04:00.0 Rembrandt
Memory: 2094MiB / 14737MiB
Disk (/): 203G / 437G (49%)
Battery0: 79% [Not charging]

Above 2 traces are exactly on laptop lid close and then on opening the laptop lid.

hal9000@HAL9000T:~$ glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 15.0.7, DRM 3.54, 6.5.0-41-generic) (0x1681)
    Version: 24.1.2
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 595 MB, largest block: 595 MB
    VBO free aux. memory - total: 7291 MB, largest block: 7291 MB
    Texture free memory - total: 595 MB, largest block: 595 MB
    Texture free aux. memory - total: 7291 MB, largest block: 7291 MB
    Renderbuffer free memory - total: 595 MB, largest block: 595 MB
    Renderbuffer free aux. memory - total: 7291 MB, largest block: 7291 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 8392 MB
    Currently available dedicated video memory: 595 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 15.0.7, DRM 3.54, 6.5.0-41-generic)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.2 - kisak-mesa PPA
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.2 - kisak-mesa PPA
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.2 - kisak-mesa PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

hal9000@HAL9000T:~$

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

I don't think you wanted to report this against the reporting tool itself.
FWIW, I'm seeing similar reports from users on Linux Mint 21, using the same kernel (but they are not using the kisak PPA).

affects: launchpad-report-tool → linux (Ubuntu)
Revision history for this message
Martin X201 (hal9081) wrote :

I'm sorry but I don't know what you mean.
Reporting what against what?

Revision history for this message
Martin X201 (hal9081) wrote :

PS:

I configured the OS NOT to suspend on lid close!
So it's not a suspend problem.

The bug is forced because the system powers down the display.
So I can reproduce the bug at closing and opening the lid.

So we have one crash on closing the lid and one crash at opening the lid when the display
gets powered again.

Power setting is: When laptop lid is closed: Switch off display.

Revision history for this message
Martin X201 (hal9081) wrote :

I just found out that it is the linux kernel version that causes the problem.

Linux HAL9000T 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

does not have this Problem.

It the 6.5.0-41 that causes the crash.

Just tested it on my system.

affects: linux (Ubuntu) → linux-hwe-6.5 (Ubuntu)
summary: - kisak-mesa PPA: amdgpu / mesa driver crash on laptop lid close and open
+ linux-image-6.5.0-41-generic: amdgpu / mesa driver crash on laptop lid
+ close and open
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.