If I boot the computer with the second display connected to HDMI output, then I can see a crash in the logs. I already have another monitor (same model) connected to DP and it boots fine only with this monitor. If I connect the second monitor, to the same HDMI port after then computer is booted, then the crash is not happening. The following crashes are from different computer boots. Kernel 6.X.Y, not tried on 5.X.Y Video card: Sapphire Radeon™ RX 6600 PULSE, 8GB GDDR6, 128-bit https://www.sapphiretech.com/en/consumer/pulse-radeon-rx-6600-8g-gddr6 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7) Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller kernel: ------------[ cut here ]------------ kernel: kernel BUG at mm/migrate.c:654! kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI kernel: CPU: 3 PID: 3798 Comm: systemd-sysctl Tainted: P OE 6.5.5-arch1-1 #1 d82a0f532dd8cfe67d5795c1738d9c01059a0c62 kernel: Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS MASTER/X570 AORUS MASTER, BIOS F37c 03/23/2023 kernel: RIP: 0010:migrate_folio_extra+0x6c/0x70 kernel: Code: de 48 89 ef e8 05 e3 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 97 91 9e 00 e8 f2 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 84 91 9e 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f kernel: RSP: 0018:ffff98535db977d0 EFLAGS: 00010282 kernel: RAX: 02ffff0000008025 RBX: ffffe848cc0c3780 RCX: 0000000000000002 kernel: RDX: ffffe848cc0c3780 RSI: ffffe848d0092240 RDI: ffff8b27d341fdd0 kernel: RBP: ffff8b27d341fdd0 R08: 0000000000000000 R09: 0000000000039120 kernel: R10: ffffe848d0092248 R11: 0000000000000000 R12: ffffe848d0092240 kernel: R13: 0000000000000002 R14: ffff98535db97888 R15: ffff98535db97878 kernel: FS: 00007f3c907a3e80(0000) GS:ffff8b468eac0000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 000055af5c5add40 CR3: 00000001441a8000 CR4: 0000000000750ee0 kernel: PKRU: 55555554 kernel: Call Trace: kernel: <TASK> kernel: ? die+0x36/0x90 kernel: ? do_trap+0xda/0x100 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? do_error_trap+0x6a/0x90 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? exc_invalid_op+0x50/0x70 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? asm_exc_invalid_op+0x1a/0x20 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: move_to_new_folio+0x136/0x150 kernel: migrate_pages_batch+0x893/0xc10 kernel: ? __pfx_remove_migration_pte+0x10/0x10 kernel: migrate_pages+0xb9e/0xd20 kernel: ? __pfx_alloc_migration_target+0x10/0x10 kernel: __alloc_contig_migrate_range+0xb1/0x1c0 kernel: alloc_contig_range+0x14e/0x280 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: alloc_contig_pages+0x206/0x260 kernel: alloc_fresh_hugetlb_folio+0xa6/0x230 kernel: alloc_pool_huge_page+0x80/0x100 kernel: set_max_huge_pages+0x1a7/0x420 kernel: hugetlb_sysctl_handler_common+0x10e/0x140 kernel: ? __pfx_hugetlb_sysctl_handler+0x10/0x10 kernel: proc_sys_call_handler+0x1c0/0x2e0 kernel: vfs_write+0x23e/0x420 kernel: ksys_write+0x6f/0xf0 kernel: do_syscall_64+0x60/0x90 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? default_llseek+0x70/0xd0 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? ksys_lseek+0x6c/0xb0 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? syscall_exit_to_user_mode+0x2b/0x40 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? do_syscall_64+0x6c/0x90 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? syscall_exit_to_user_mode+0x2b/0x40 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? do_syscall_64+0x6c/0x90 kernel: ? do_syscall_64+0x6c/0x90 kernel: ? exc_page_fault+0x7f/0x180 kernel: entry_SYSCALL_64_after_hwframe+0x6e/0xd8 kernel: RIP: 0033:0x7f3c912a4f84 kernel: Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d e5 c3 0d 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48 kernel: RSP: 002b:00007ffc47790068 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 kernel: RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f3c912a4f84 kernel: RDX: 0000000000000004 RSI: 00007ffc47790140 RDI: 0000000000000004 kernel: RBP: 00007ffc47790140 R08: 0000557aa0d30010 R09: 0000000000000007 kernel: R10: 0000557aa0d326a0 R11: 0000000000000202 R12: 0000000000000004 kernel: R13: 0000557aa0d302d0 R14: 00007f3c91377f20 R15: 0000000000000004 kernel: </TASK> kernel: Modules linked in: kvm_amd(+) snd_hda_core btintel amdgpu(+) snd_hwdep it87(OE) btmtk hwmon_vid kvm ir_rc6_decoder snd_pcm irqbypass snd_timer bluetooth amdxcp drm_buddy rc_rc6_mce snd sp5100_tco gpu_sched ecdh_generic gigabyte_wmi wmi_bmof pcspkr soundcore i2c_piix4 mceusb drm_suballoc_helper zenpower(OE) rapl crc16 joydev mousedev mac_hid dm_multipath sg crypto_user fuse loop ip_tables x_tables dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj usbhid zfs(POE) dm_mod zunicode(POE) zzstd(OE) zlua(OE) zavl(POE) icp(POE) zcommon(POE) crct10dif_pclmul znvpair(POE) crc32_pclmul crc32c_intel spl(OE) polyval_clmulni iwlmvm polyval_generic gf128mul mac80211 ghash_clmulni_intel libarc4 sha512_ssse3 nvme r8169 aesni_intel mpt3sas realtek nvme_core mdio_devres crypto_simd igb raid_class xhci_pci cryptd ccp iwlwifi libphy xhci_pci_renesas dca scsi_transport_sas nvme_common nouveau cfg80211 drm_ttm_helper rfkill ttm video i2c_algo_bit mxm_wmi wmi drm_display_helper cec vfat fat kernel: ---[ end trace 0000000000000000 ]--- kernel: RIP: 0010:migrate_folio_extra+0x6c/0x70 kernel: Code: de 48 89 ef e8 05 e3 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 97 91 9e 00 e8 f2 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 84 91 9e 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f kernel: RSP: 0018:ffff98535db977d0 EFLAGS: 00010282 kernel: RAX: 02ffff0000008025 RBX: ffffe848cc0c3780 RCX: 0000000000000002 kernel: RDX: ffffe848cc0c3780 RSI: ffffe848d0092240 RDI: ffff8b27d341fdd0 kernel: RBP: ffff8b27d341fdd0 R08: 0000000000000000 R09: 0000000000039120 kernel: R10: ffffe848d0092248 R11: 0000000000000000 R12: ffffe848d0092240 kernel: R13: 0000000000000002 R14: ffff98535db97888 R15: ffff98535db97878 kernel: FS: 00007f3c907a3e80(0000) GS:ffff8b468eac0000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 000055af5c5add40 CR3: 00000001441a8000 CR4: 0000000000750ee0 kernel: PKRU: 55555554 ---------------------------------------------------------------------------------------------------------------------------------------- kernel: ------------[ cut here ]------------ kernel: kernel BUG at mm/migrate.c:654! kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI kernel: CPU: 0 PID: 3786 Comm: systemd-sysctl Tainted: P OE 6.5.5-arch1-1 #1 d82a0f532dd8cfe67d5795c1738d9c01059a0c62 kernel: Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS MASTER/X570 AORUS MASTER, BIOS F37c 03/23/2023 kernel: RIP: 0010:migrate_folio_extra+0x6c/0x70 kernel: Code: de 48 89 ef e8 05 e3 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 97 91 9e 00 e8 f2 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 84 91 9e 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f kernel: RSP: 0018:ffffa538dd66b7f0 EFLAGS: 00010282 kernel: RAX: 02ffff0000008025 RBX: ffffec990c56cc80 RCX: 0000000000000002 kernel: RDX: ffffec990c56cc80 RSI: ffffec9905416d00 RDI: ffff912d4a3d5080 kernel: rc rc1: Media Center Ed. eHome Infrared Remote Transceiver (0471:060c) as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:0a:00.3/usb3/3-6/3-6.3/3-6.3:1.0/rc/rc1 kernel: RBP: ffff912d4a3d5080 R08: 0000000000000000 R09: ffffffffbbfdf65c kernel: R10: ffffec9905416d08 R11: 0000000000000000 R12: ffffec9905416d00 kernel: rc rc1: lirc_dev: driver mceusb registered at minor = 1, raw IR receiver, raw IR transmitter kernel: R13: 0000000000000002 R14: ffffa538dd66b8a8 R15: ffffa538dd66b898 kernel: FS: 00007f9254a92e80(0000) GS:ffff914c0ea00000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 000055cd613fe000 CR3: 0000000105034000 CR4: 0000000000750ef0 kernel: PKRU: 55555554 kernel: Call Trace: kernel: <TASK> kernel: input: Media Center Ed. eHome Infrared Remote Transceiver (0471:060c) as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:0a:00.3/usb3/3-6/3-6.3/3-6.3:1.0/rc/rc1/input34 kernel: ? die+0x36/0x90 kernel: ? do_trap+0xda/0x100 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? do_error_trap+0x6a/0x90 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? exc_invalid_op+0x50/0x70 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: ? asm_exc_invalid_op+0x1a/0x20 kernel: ? migrate_folio_extra+0x6c/0x70 kernel: move_to_new_folio+0x136/0x150 kernel: migrate_pages_batch+0x893/0xc10 kernel: ? __pfx_remove_migration_pte+0x10/0x10 kernel: migrate_pages+0xb9e/0xd20 kernel: ? __pfx_alloc_migration_target+0x10/0x10 kernel: __alloc_contig_migrate_range+0xb1/0x1c0 kernel: alloc_contig_range+0x14e/0x280 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: alloc_contig_pages+0x206/0x260 kernel: alloc_fresh_hugetlb_folio+0xa6/0x230 kernel: alloc_pool_huge_page+0x80/0x100 kernel: set_max_huge_pages+0x1a7/0x420 kernel: hugetlb_sysctl_handler_common+0x10e/0x140 kernel: ? __pfx_hugetlb_sysctl_handler+0x10/0x10 kernel: proc_sys_call_handler+0x1c0/0x2e0 kernel: vfs_write+0x23e/0x420 kernel: ksys_write+0x6f/0xf0 kernel: do_syscall_64+0x60/0x90 kernel: ? do_syscall_64+0x6c/0x90 kernel: ? syscall_exit_to_user_mode+0x2b/0x40 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? do_syscall_64+0x6c/0x90 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? syscall_exit_to_user_mode+0x2b/0x40 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? do_syscall_64+0x6c/0x90 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? syscall_exit_to_user_mode+0x2b/0x40 kernel: ? srso_alias_return_thunk+0x5/0x7f kernel: ? do_syscall_64+0x6c/0x90 kernel: ? do_syscall_64+0x6c/0x90 kernel: ? exc_page_fault+0x7f/0x180 kernel: entry_SYSCALL_64_after_hwframe+0x6e/0xd8 kernel: RIP: 0033:0x7f9255593f84 kernel: Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d e5 c3 0d 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48 kernel: RSP: 002b:00007ffd93994b38 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 kernel: RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f9255593f84 kernel: RDX: 0000000000000004 RSI: 00007ffd93994c10 RDI: 0000000000000004 kernel: RBP: 00007ffd93994c10 R08: 000055eaeea62010 R09: 0000000000000007 kernel: R10: 000055eaeea646e0 R11: 0000000000000202 R12: 0000000000000004 kernel: R13: 000055eaeea622d0 R14: 00007f9255666f20 R15: 0000000000000004 kernel: </TASK> kernel: Modules linked in: amdgpu(+) snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg intel_rapl_msr snd_intel_sdw_acpi intel_rapl_common snd_hda_codec edac_mce_amd snd_hda_core btusb snd_hwdep btrtl btbcm kvm_amd snd_pcm btintel amdxcp it87(OE) btmtk ir_rc6_decoder hwmon_vid snd_timer drm_buddy kvm rc_rc6_mce bluetooth sp5100_tco snd irqbypass gpu_sched wmi_bmof gigabyte_wmi drm_suballoc_helper pcspkr i2c_piix4 soundcore mceusb(+) zenpower(OE) ecdh_generic rapl crc16 mousedev joydev mac_hid dm_multipath sg crypto_user fuse loop ip_tables x_tables dm_crypt cbc encrypted_keys trusted asn1_encoder tee zfs(POE) zunicode(POE) zzstd(OE) iwlmvm zlua(OE) zavl(POE) hid_logitech_hidpp hid_logitech_dj usbhid icp(POE) crct10dif_pclmul zcommon(POE) crc32_pclmul znvpair(POE) dm_mod crc32c_intel spl(OE) polyval_clmulni mac80211 polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 libarc4 r8169 nvme aesni_intel mpt3sas realtek nvme_core mdio_devres crypto_simd igb raid_class xhci_pci cryptd ccp libphy iwlwifi kernel: xhci_pci_renesas dca scsi_transport_sas nvme_common nouveau cfg80211 rfkill drm_ttm_helper ttm video i2c_algo_bit mxm_wmi wmi drm_display_helper cec vfat fat kernel: ---[ end trace 0000000000000000 ]--- kernel: RIP: 0010:migrate_folio_extra+0x6c/0x70 kernel: Code: de 48 89 ef e8 05 e3 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 97 91 9e 00 e8 f2 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 84 91 9e 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f kernel: RSP: 0018:ffffa538dd66b7f0 EFLAGS: 00010282 kernel: RAX: 02ffff0000008025 RBX: ffffec990c56cc80 RCX: 0000000000000002 kernel: RDX: ffffec990c56cc80 RSI: ffffec9905416d00 RDI: ffff912d4a3d5080 kernel: RBP: ffff912d4a3d5080 R08: 0000000000000000 R09: ffffffffbbfdf65c kernel: R10: ffffec9905416d08 R11: 0000000000000000 R12: ffffec9905416d00 kernel: R13: 0000000000000002 R14: ffffa538dd66b8a8 R15: ffffa538dd66b898 kernel: FS: 00007f9254a92e80(0000) GS:ffff914c0ea00000(0000) knlGS:0000000000000000 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: CR2: 000055cd613fe000 CR3: 0000000105034000 CR4: 0000000000750ef0 kernel: PKRU: 55555554 Thank you.
This bug reports belongs to https://gitlab.freedesktop.org/drm/amd/-/issues Please repost.