最近我在天选air2025(ASUSTeK COMPUTER INC. TX Air FA401KM_FA401KM/FA401KM)上尝试了 CachyOS,开箱即用的高性能arch衍生版。使用外接显示器时它运行得非常完美(此时会激活 dGPU——NVIDIA 5060m)。
然后我断开外接显示器,系统依然运行得很好。然而在重启笔记本后,我发现内置显示屏在sddm成功登录后画面会完全冻结。此时重新插入外接显示器,内置显示屏依然是冻住的,只有外接显示器正常。
我怀疑这是由于 AMD Replay 技术(PSR2)与显示面板的不兼容导致的。这个问题只会在 dGPU未被激活,单独使用 iGPU时出现,也就是最前面说的:在插入外接显示器的时候启动系统时没问题的。
我尝试过在内核参数中添加 amdgpu.dcfeaturemask=0x0 amdgpu.dcdebugmask=0x210,但没有任何效果。下面是启动日志:
12月 17 17:05:34 cachyos kernel: Linux version 6.18.1-2-cachyos (linux-cachyos@cachyos) (clang version 21.1.6, LLD 21.1.6) #1 SMP PREEMPT_DYNAMIC Sat, 13 Dec 2025 11:06:36 +0000
12月 17 17:05:34 cachyos kernel: Command line: initrd=\initramfs-linux-cachyos.img root=UUID=311dd872-1868-45a8-85c3-706e1970e03b rw rootflags=subvol=/@ zswap.enabled=0 amdgpu.dpm=1 amdgpu.dcfeaturemask=0x0 amdgpu.dcdebugmask=0x210 nowatchdog splash quiet
...
12月 17 17:14:07 tx-air-cachy kernel: nvidia 0000:64:00.0: Enabling HDA controller
12月 17 17:14:14 tx-air-cachy kernel: nvme nvme0: using unchecked data buffer
12月 17 17:14:14 tx-air-cachy kernel: block nvme0n1: No UUID available providing old NGUID
12月 17 17:14:15 tx-air-cachy kernel: warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
12月 17 17:14:16 tx-air-cachy kernel: ------------[ cut here ]------------
12月 17 17:14:16 tx-air-cachy kernel: WARNING: CPU: 6 PID: 294 at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_replay.c:90 dmub_replay_enable+0x1d6/0x200 [amdgpu]
12月 17 17:14:16 tx-air-cachy kernel: Modules linked in: snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg uvcvideo uvc videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc bnep btusb btmtk btbcm btintel btrtl bluetooth snd_acp70 snd_acp_pdm snd_acp_i2s snd_acp_pcm snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps snd_soc_acpi_amd_match soundwire_amd soundwire_generic_allocation snd_amd_sdw_acpi soundwire_bus snd_soc_sdca snd_soc_core ac97_bus snd_pcm_dmaengine snd_compress vfat snd_rpl_pci_acp6x snd_acp_pci fat snd_amd_acpi_mach snd_acp_legacy_common snd_pci_acp6x snd_pci_acp5x snd_rn_pci_acp3x snd_acp_config snd_soc_acpi snd_pci_acp3x snd_hda_codec_alc269 snd_hda_scodec_component amd_atl snd_hda_codec_atihdmi intel_rapl_msr snd_hda_codec_nvhdmi snd_hda_codec_realtek_lib intel_rapl_common snd_hda_codec_hdmi snd_hda_codec_generic rtw89_8852ce
12月 17 17:14:16 tx-air-cachy kernel: rtw89_8852c rtw89_pci rtw89_core snd_hda_intel snd_hda_codec snd_hda_core snd_intel_dspcfg joydev kvm_amd snd_intel_sdw_acpi mousedev mac80211 ucsi_acpi asus_nb_wmi snd_hwdep amd_pmf asus_armoury kvm snd_pcm typec_ucsi spd5118 amdtee hid_multitouch snd_timer cfg80211 firmware_attributes_class typec irqbypass asus_wmi ccp snd polyval_clmulni roles sparse_keymap i2c_piix4 ghash_clmulni_intel aesni_intel rapl pcspkr rfkill wmi_bmof nvidia_wmi_ec_backlight amdxdna amd_sfh k10temp soundcore libarc4 i2c_smbus thunderbolt platform_profile i2c_hid_acpi i2c_hid tee amd_pmc ip6t_REJECT nf_reject_ipv6 mac_hid xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables pkcs8_key_parser ntsync i2c_dev crypto_user loop dm_mod nfnetlink zram 842_compress 842_decompress lz4hc_compress lz4_compress ip_tables x_tables nvidia_uvm(O) amdgpu nvidia_drm(O) nvidia_modeset(O) drm_panel_backlight_quirks drm_buddy
12月 17 17:14:16 tx-air-cachy kernel: drm_suballoc_helper rtsx_pci_sdmmc drm_exec mmc_core i2c_algo_bit nvme gpu_sched amdxcp nvme_core drm_display_helper nvme_keyring video nvme_auth drm_ttm_helper cec ttm rtsx_pci hkdf wmi serio_raw nvidia(O)
12月 17 17:14:16 tx-air-cachy kernel: CPU: 6 UID: 0 PID: 294 Comm: kworker/u64:5 Tainted: G O 6.18.1-2-cachyos #1 PREEMPT(full) 0a0d5d58468bc115cd907b5a8b847fcc90d387d4
12月 17 17:14:16 tx-air-cachy kernel: Tainted: [O]=OOT_MODULE
12月 17 17:14:16 tx-air-cachy kernel: Hardware name: ASUSTeK COMPUTER INC. TX Air FA401KM_FA401KM/FA401KM, BIOS FA401KM.304 07/15/2025
12月 17 17:14:16 tx-air-cachy kernel: Workqueue: events_unbound commit_work
12月 17 17:14:16 tx-air-cachy kernel: RIP: 0010:dmub_replay_enable+0x1d6/0x200 [amdgpu]
12月 17 17:14:16 tx-air-cachy kernel: Code: 0b 8b 44 24 04 85 c0 74 18 bf ac c4 20 00 e8 71 24 a7 c3 41 ff c7 41 81 ff e9 03 00 00 75 85 eb 09 41 81 ff e8 03 00 00 75 02 <0f> 0b 65 48 8b 05 e8 d0 99 c6 48 3b 44 24 48 75 12 48 83 c4 50 5b
12月 17 17:14:16 tx-air-cachy kernel: RSP: 0018:ffffcdccc1697a50 EFLAGS: 00010246
12月 17 17:14:16 tx-air-cachy kernel: RAX: 00000000000f3e94 RBX: ffff8b8bc0dd85a0 RCX: 0000000000000006
12月 17 17:14:16 tx-air-cachy kernel: RDX: 000000fdee9b5d38 RSI: 00000000000f3b4d RDI: 000000fdee8c1ea4
12月 17 17:14:16 tx-air-cachy kernel: RBP: 0000000000000000 R08: 0000000000000002 R09: ffff8b8bdbd27800
12月 17 17:14:16 tx-air-cachy kernel: R10: 0000000000000000 R11: ffffffff85bed440 R12: 00000000000003e8
12月 17 17:14:16 tx-air-cachy kernel: R13: 0000000000000001 R14: ffffcdccc1697a54 R15: 00000000000003e9
12月 17 17:14:16 tx-air-cachy kernel: FS: 0000000000000000(0000) GS:ffff8b9375e80000(0000) knlGS:0000000000000000
12月 17 17:14:16 tx-air-cachy kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
12月 17 17:14:16 tx-air-cachy kernel: CR2: 00007fa234e64000 CR3: 0000000119965000 CR4: 0000000000f50ef0
12月 17 17:14:16 tx-air-cachy kernel: PKRU: 55555554
12月 17 17:14:16 tx-air-cachy kernel: Call Trace:
12月 17 17:14:16 tx-air-cachy kernel: <TASK>
12月 17 17:14:16 tx-air-cachy kernel: edp_set_replay_allow_active+0xf5/0x130 [amdgpu dcf888b7071c9ecac3e4de8540d8c85ce876f37c]
12月 17 17:14:16 tx-air-cachy kernel: amdgpu_dm_replay_enable+0xc5/0xf0 [amdgpu dcf888b7071c9ecac3e4de8540d8c85ce876f37c]
12月 17 17:14:16 tx-air-cachy kernel: amdgpu_dm_atomic_commit_tail+0x3ec3/0x41f0 [amdgpu dcf888b7071c9ecac3e4de8540d8c85ce876f37c]
12月 17 17:14:16 tx-air-cachy kernel: ? dm_read_reg_func+0x64/0xd0 [amdgpu dcf888b7071c9ecac3e4de8540d8c85ce876f37c]
12月 17 17:14:16 tx-air-cachy kernel: ? __pfx_amdgpu_crtc_get_scanout_position+0x10/0x10 [amdgpu dcf888b7071c9ecac3e4de8540d8c85ce876f37c]
12月 17 17:14:16 tx-air-cachy kernel: ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x112/0x4a0
12月 17 17:14:16 tx-air-cachy kernel: ? dma_fence_default_wait+0x21c/0x290
12月 17 17:14:16 tx-air-cachy kernel: ? wait_for_common+0x18a/0x1e0
12月 17 17:14:16 tx-air-cachy kernel: commit_tail+0xc2/0x2d0
12月 17 17:14:16 tx-air-cachy kernel: process_scheduled_works+0x24b/0x5a0
12月 17 17:14:16 tx-air-cachy kernel: worker_thread+0x188/0x360
12月 17 17:14:16 tx-air-cachy kernel: ? __pfx_worker_thread+0x10/0x10
12月 17 17:14:16 tx-air-cachy kernel: kthread+0x217/0x250
12月 17 17:14:16 tx-air-cachy kernel: ? __pfx_kthread+0x10/0x10
12月 17 17:14:16 tx-air-cachy kernel: ret_from_fork+0xf1/0x1f0
12月 17 17:14:16 tx-air-cachy kernel: ? __pfx_kthread+0x10/0x10
12月 17 17:14:16 tx-air-cachy kernel: ret_from_fork_asm+0x1a/0x30
12月 17 17:14:16 tx-air-cachy kernel: </TASK>
12月 17 17:14:16 tx-air-cachy kernel: ---[ end trace 0000000000000000 ]---