>From the trace this is triggered from a userspace IOCTL to remove a framebuffer. This causes drm core to process atomic_remove_fb() as work, and this will use the drm driver to do atomic modesets.
One of the things that happens for this is going to be recalculating MST DSC configs (if appropriate). You can see more about this in compute_mst_dsc_configs_for_link(). Returning -ENOSPC I would guess happens as part of drm_dp_mst_atomic_check() meaning the atomic check failed. I think this should be debugged in two ways. 1) Try a mainline 6.13 kernel. I know for a fact we had a variety of MST/DSC fixes that have gone in since 6.11.0. Most of them are in stable 6.11.y and 6.12.y, but the Canonical kernel isn't tracking stable. Unfortunately; it seems that the Canonical kernel PPA is effectively dead, so you'll have to compile this yourself. 2) Turn on dynamic debug for DRM (drm.debug=0x106 on kernel command line) and turn up log buffer length (log_buf_len=50M). Then there will be some more messages that come in (for example the debug message in drm_mode_rmfb_work_fn()) and compute_mst_dsc_configs_for_link(). This will help give more hints where the -ENOSPC is coming from. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2095100 Title: kernel panic when setting application in fullscreen Status in linux package in Ubuntu: New Bug description: Since 24.10, on amdgpu device (AMD Ryzen 7 PRO 5850U), anytime I set an application in fullscreen mode (video player, firefox, signal etc.) I end up with this crash. It seems to only reproduce when I have my two 4K screens connected to the USB-C ThinkPad Thunderbolt station. Laptop screen is disabled in that setup. I dont reproduce when only on the laptop screen. [92840.827857] ------------[ cut here ]------------ [92840.827861] atomic remove_fb failed with -28 [92840.827874] WARNING: CPU: 11 PID: 1219167 at drivers/gpu/drm/drm_framebuffer.c:1146 drm_framebuffer_remove+0x233/0x240 [92840.827884] Modules linked in: wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel ipmi_devintf ipmi_msghandler uas usb_storage nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter ccm snd_seq_dummy snd_hrtimer vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock 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 overlay qrtr uhid rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_acp_legacy_mach snd_acp_mach snd_soc_nau8821 intel_rapl_msr amd_atl intel_rapl_common nls_iso8859_1 snd_acp3x_rn snd_soc_dmic ee1004 snd_acp3x_pdm_dma snd_sof_amd_acp63 edac_mce_amd snd_sof_amd_vangogh amdgpu snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp kvm_amd snd_sof snd_sof_utils kvm snd_pci_ps snd_amd_sdw_ac pi btusb soundwire_amd btrtl uvcvideo [92840.828004] soundwire_generic_allocation btintel rapl btbcm videobuf2_vmalloc amdxcp uvc btmtk drm_exec soundwire_bus gpu_sched videobuf2_memops snd_hda_codec_realtek snd_soc_core drm_buddy iwlmvm videobuf2_v4l2 drm_suballoc_helper snd_hda_codec_generic snd_compress drm_ttm_helper snd_hda_scodec_component ttm videodev snd_hda_codec_hdmi ac97_bus snd_usb_audio bluetooth drm_display_helper mac80211 videobuf2_common snd_pcm_dmaengine snd_seq_midi snd_usbmidi_lib think_lmi snd_hda_intel snd_seq_midi_event snd_rpl_pci_acp6x firmware_attributes_class libarc4 snd_ump snd_acp_pci snd_seq snd_intel_dspcfg cec snd_acp_legacy_common wmi_bmof snd_intel_sdw_acpi snd_pci_acp6x snd_rawmidi snd_hda_codec snd_pci_acp5x snd_seq_device snd_hda_core mc snd_hwdep snd_rn_pci_acp3x iwlwifi snd_acp_config snd_pcm snd_soc_acpi mhi_wwan_ctrl i2c_piix4 mhi_wwan_mbim rc_core k10temp snd_pci_acp3x i2c_smbus snd_ctl_led wwan ccp i2c_algo_bit snd_timer cfg80211 thinkpad_acpi nvram i2c_scmi joydev input_leds mac_hid serio_raw sch_fq_codel msr [92840.828125] parport_pc ppdev lp parport nvme_fabrics efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj dm_crypt hid_generic usbhid hid cdc_ether usbnet r8152 mii crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic ghash_clmulni_intel snd nvme rtsx_pci_sdmmc sha256_ssse3 ucsi_acpi soundcore mhi_pci_generic r8169 xhci_pci sha1_ssse3 nvme_core psmouse typec_ucsi video sparse_keymap mhi xhci_pci_renesas rtsx_pci realtek nvme_auth typec platform_profile wmi aesni_intel crypto_simd cryptd [92840.828214] CPU: 11 UID: 0 PID: 1219167 Comm: kworker/11:0 Tainted: G W 6.11.0-13-generic #14-Ubuntu [92840.828219] Tainted: [W]=WARN [92840.828221] Hardware name: LENOVO 21A0CTO1WW/21A0CTO1WW, BIOS R1MET59W (1.29 ) 09/18/2024 [92840.828224] Workqueue: events drm_mode_rmfb_work_fn [92840.828230] RIP: 0010:drm_framebuffer_remove+0x233/0x240 [92840.828235] Code: ea 48 c7 c7 c1 2b c7 8c 48 89 c6 e8 37 60 45 ff 0f 0b e9 16 fe ff ff 4c 8b 2f eb d6 89 c6 48 c7 c7 b8 47 d4 8c e8 1d 60 45 ff <0f> 0b e9 3c fe ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 [92840.828238] RSP: 0018:ffffa9e5103a7df0 EFLAGS: 00010246 [92840.828242] RAX: 0000000000000000 RBX: ffff915a297ec200 RCX: 0000000000000000 [92840.828245] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [92840.828247] RBP: ffffa9e5103a7e10 R08: 0000000000000000 R09: 0000000000000000 [92840.828250] R10: 0000000000000000 R11: 0000000000000000 R12: ffff915a55d80010 [92840.828252] R13: ffffa9e5115dfd80 R14: ffffa9e5115dfd60 R15: 0000000000000000 [92840.828255] FS: 0000000000000000(0000) GS:ffff916011d80000(0000) knlGS:0000000000000000 [92840.828257] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [92840.828260] CR2: 0000728564a66bbc CR3: 00000001e0f36000 CR4: 0000000000f50ef0 [92840.828263] PKRU: 55555554 [92840.828265] Call Trace: [92840.828268] <TASK> [92840.828270] ? srso_alias_return_thunk+0x5/0xfbef5 [92840.828275] ? show_trace_log_lvl+0x273/0x310 [92840.828282] ? show_trace_log_lvl+0x273/0x310 [92840.828289] ? drm_mode_rmfb_work_fn+0x6f/0xa0 [92840.828294] ? show_regs.part.0+0x22/0x30 [92840.828298] ? show_regs.cold+0x8/0x10 [92840.828301] ? drm_framebuffer_remove+0x233/0x240 [92840.828305] ? __warn.cold+0xa7/0x101 [92840.828309] ? drm_framebuffer_remove+0x233/0x240 [92840.828313] ? report_bug+0x114/0x160 [92840.828318] ? handle_bug+0x51/0xa0 [92840.828323] ? exc_invalid_op+0x18/0x80 [92840.828327] ? asm_exc_invalid_op+0x1b/0x20 [92840.828335] ? drm_framebuffer_remove+0x233/0x240 [92840.828341] drm_mode_rmfb_work_fn+0x6f/0xa0 [92840.828346] process_one_work+0x177/0x350 [92840.828351] worker_thread+0x32a/0x460 [92840.828355] ? srso_alias_return_thunk+0x5/0xfbef5 [92840.828358] ? _raw_spin_lock_irqsave+0xe/0x20 [92840.828362] ? __pfx_worker_thread+0x10/0x10 [92840.828366] kthread+0xe4/0x110 [92840.828370] ? __pfx_kthread+0x10/0x10 [92840.828375] ret_from_fork+0x47/0x70 [92840.828378] ? __pfx_kthread+0x10/0x10 [92840.828382] ret_from_fork_asm+0x1a/0x30 [92840.828391] </TASK> [92840.828393] ---[ end trace 0000000000000000 ]--- ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: linux-image-6.11.0-13-generic 6.11.0-13.14 ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0 Uname: Linux 6.11.0-13-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Jan 16 15:37:54 2025 HibernationDevice: RESUME=/dev/mapper/vg--ubuntu-lv--ubuntu--swap InstallationDate: Installed on 2022-07-04 (927 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) IwConfig: Error: [Errno 2] Aucun fichier ou dossier de ce nom: 'iwconfig' MachineType: LENOVO 21A0CTO1WW ProcEnviron: LANG=fr_FR.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.11.0-13-generic root=/dev/mapper/vg--ubuntu-lv--ubuntu--root ro rootflags=subvol=@ quiet splash resume=/dev/mapper/vg--ubuntu-lv--ubuntu--swap crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-6.11.0-13-generic N/A linux-backports-modules-6.11.0-13-generic N/A linux-firmware 20240913.gita34e7a5f-0ubuntu2.2 SourcePackage: linux UpgradeStatus: Upgraded to oracular on 2024-10-15 (93 days ago) dmi.bios.date: 09/18/2024 dmi.bios.release: 1.29 dmi.bios.vendor: LENOVO dmi.bios.version: R1MET59W (1.29 ) dmi.board.asset.tag: Not Available dmi.board.name: 21A0CTO1WW dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.29 dmi.modalias: dmi:bvnLENOVO:bvrR1MET59W(1.29):bd09/18/2024:br1.29:efr1.29:svnLENOVO:pn21A0CTO1WW:pvrThinkPadP14sGen2a:rvnLENOVO:rn21A0CTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a: dmi.product.family: ThinkPad P14s Gen 2a dmi.product.name: 21A0CTO1WW dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a dmi.product.version: ThinkPad P14s Gen 2a dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2095100/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp