Skip to content

Instantly share code, notes, and snippets.

@stephdl
Last active February 23, 2026 16:08
Show Gist options
  • Select an option

  • Save stephdl/b118f1f8ba1c82cec1720ff4b164baaa to your computer and use it in GitHub Desktop.

Select an option

Save stephdl/b118f1f8ba1c82cec1720ff4b164baaa to your computer and use it in GitHub Desktop.
Fix DMCUB errors on AMD HawkPoint (Ryzen 8040) - Fedora
# Fix DMCUB errors on AMD HawkPoint (Ryzen 8040) - Fedora
## Symptômes
- `amdgpu: *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error`
- `amdgpu: *ERROR* [CRTC:80:crtc-0] flip_done timed out`
- Freezes d'écran momentanés
## Cause
CVE-2024-47662 — bug dans le driver DCN3.5 lié au PSR (Panel Self Refresh)
sur l'écran intégré (eDP-1). Le bit DC_DISABLE_PSR = 0x10 dans l'enum
DC_DEBUG_MASK de amd_shared.h désactive PSR v1 et PSR-SU.
## Fix
sudo grubby --update-kernel=ALL --args="amdgpu.dcdebugmask=0x10"
sudo reboot
## Vérification
cat /proc/cmdline | grep -o "amdgpu[^ ]*"
sudo journalctl -k | grep -i "dmcub\|flip_done"
https://claude.ai/share/ec25513d-91c0-4f9a-bef4-2166d4a2bb8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment