[Regression] RX 6700 XT fails to enter S3 after 6290fed026c1; reverting restores S3

Aperta
#1,195 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

Start by inspecting commit 6290fed026c1 and the related AMD DRM work item 5620, then trace the MP1 unload preparation for SMU 11.0.11 and the later MODE1 reset in the kernel source. Reproduce with deep sleep on the specified RX 6700 XT and compare the failing build with one that reverts the commit; done means S3 completes without falling back to s2idle.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

ACPI S3 (deep) aborts during AMDGPU's MODE1 reset on a Gigabyte Radeon RX 6700 XT (Navi 22, PCI ID 1002:73df, rev c5, subsystem 1458:2331). The reproducing build is a local 7.4.0-rc5-1 kernel built from the CachyOS cachyos-7.4-rc5-1 source release. Reverting only 6290fed026c1 restores S3 with the same kernel configuration.

Reproduction

With deep selected in /sys/power/mem_sleep, run systemctl suspend. The unmodified build aborts deep and the system falls back to s2idle.

PM: suspend entry (deep)
amdgpu 0000:2b:00.0: SMU: valid command, bad prerequisites msg_reg: 30 resp_reg: fd
amdgpu 0000:2b:00.0: GPU mode1 reset failed
amdgpu 0000:2b:00.0: PM: failed to suspend async noirq: error -22
PM: suspend exit
PM: suspend entry (s2idle)

With only the commit reverted:

PM: suspend entry (deep)
ACPI: PM: Waking up from system sleep state S3
PM: suspend exit

Comparisons and hardware

  • Local 7.4.0-rc5-1 build before revert: fails both with and without amdgpu.ppfeaturemask=0xffff7fff.
  • Same kernel source and .config with only the commit reverted: completed one S3 cycle with amdgpu.ppfeaturemask=0xffff7fff.
  • CachyOS 7.3.5-2: S3 works with the same flag. CachyOS LTS 6.18.64-1 also works.
  • MP1/SMU IP 11.0.11, SMU firmware 65.63.0. MSI B450M PRO-VDH MAX (MS-7A38), BIOS B.P1.

I found this change in CachyOS's 7.4-rc5-1 tag, and did not find the corresponding suspend change in its 7.4-rc1-1 through rc4-1 tags or the upstream v7.4-rc5 source. I have not boot-tested those earlier RCs. The patch adds MP1 unload preparation for active system suspend on SMU 11.0.11 before the later MODE1 reset. The firmware response identifies the failing command but does not specify its unmet prerequisite.

Related original fix: https://gitlab.freedesktop.org/drm/amd/-/work_items/5620.

I have not attempted reproduction on the Arch stock kernel or on the latest official CachyOS binary. The failing and reverted builds use the same CachyOS source release and kernel configuration.

Lingua principale
Shell
Stelle
4.9k
Fork
190
Merge medio
1g 3h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CachyOS/linux-cachyos

Tutte le issue di CachyOS/linux-cachyos

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.