You are not logged in.

#1 2025-05-03 02:32:21

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

[SOLVED] 9070XT Crashing and Freezing After Waking Up From Sleep

Hi,

Recently I upgraded from an Nvidia GPU to an AMD 9070XT. Whenever I resume from sleep my games refuse to run and my system crashes/freezes. I can replicate this by having my system naturally go into sleep or triggering sleep. After waking up I always have issues. Usually a restart fixes it and as long as the computer doesn't sleep it works fine. Another thing is sometimes there are artifacts on screen and flickering. This didn't happen before with my 30 series Nvidia GPU. For additional context I use wayland session 99% of the time. Could this be because the GPU is too new? I installed the packages suggested here: https://wiki.archlinux.org/title/AMDGPU

These included mesa, lib32-mesa, vulkan-radeon and lib32-vulkan-radeon.

System:

                  -`                     kmadmin@arch-rig
                 .o+`                    ----------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Kernel: Linux 6.14.4-arch1-2
              `+oooooo:                  Uptime: 16 mins
              -+oooooo+:                 Packages: 923 (pacman)
            `/:-:++oooo+:                Shell: bash 5.2.37
           `/++++/+++++++:               Display (LG ULTRAGEAR): 2560x1440 @ 144 Hz (as 2229x1253) in 27" [External]
          `/++++++++++++++:              DE: KDE Plasma 6.3.4
         `/+++ooooooooooooo/`            WM: KWin (Wayland)
        ./ooosssso++osssssso+`           WM Theme: Breeze
       .oossssso-````/ossssss+`          Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
      -osssssso.      :ssssssso.         Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
     :osssssss/        osssso+++.        Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Cursor: Oxygen_Black (24px)
  `/ossssso+/:-        -:/+osssso+-      Terminal: konsole 25.4.0
 `+sso+:-`                 `.-/+oso:     CPU: AMD Ryzen 7 9800X3D (16) @ 5.27 GHz
`++:.                           `-/+/    GPU 1: AMD RX 9070/9070 XT [Discrete]
.`                                 `/    GPU 2: AMD Radeon Graphics [Integrated]
                                         Memory: 3.04 GiB / 30.49 GiB (10%)
                                         Swap: 0 B / 32.00 GiB (0%)
                                         Disk (/): 33.72 GiB / 883.33 GiB (4%) - ext4
                                         Disk (/mnt/Games): 599.70 GiB / 915.82 GiB (65%) - ext4
                                         Disk (/mnt/Games-2): 508.54 GiB / 915.81 GiB (56%) - ext4
                                         Disk (/mnt/Games-Windows): 1.75 TiB / 1.82 TiB (96%) - ntfs3
                                         Disk (/run/media/kmadmin/Games-Windows-Cold): 2.21 TiB / 3.64 TiB (61%) - ntfs3
                                         Local IP (eno1): 192.168.60.2/24
                                         Locale: en_US.UTF-8

                                                                 
                                                                 

amdgpu drivers:

└─[22:21]-(^_^)-[$] sudo pacman -Qs mesa
local/glu 9.0.3-2
    Mesa OpenGL utility library
local/lib32-mesa 1:25.0.4-1
    Open-source OpenGL drivers - 32-bit
local/mesa 1:25.0.4-1
    Open-source OpenGL drivers
local/mesa-utils 9.0.0-5
    Essential Mesa utilities
└─[22:22]-(^_^)-[$] sudo pacman -Qs vulkan-radeon
local/lib32-vulkan-radeon 1:25.0.4-1
    Open-source Vulkan driver for AMD GPUs - 32-bit
local/vulkan-radeon 1:25.0.4-1
    Open-source Vulkan driver for AMD GPUs]

Journalctl:

May 02 22:02:16 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:16 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:16 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:15 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:15 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:15 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:14 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:14 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:14 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:13 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:13 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:13 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:12 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:12 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:12 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:11 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:11 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:11 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:10 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:10 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:10 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:09 arch-rig kwin_wayland[1056]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
May 02 22:02:09 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
May 02 22:02:09 arch-rig kwin_wayland[1056]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
May 02 22:02:07 arch-rig discord[2245]: 22:02:07.280 › [OverlayUsageStatsManager] ScreenTypeAnalytics: Unknown screen type: 

sudo dmesg -W -l err,crit

[ 2340.343397] amdgpu 0000:03:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:40 vmid:3 pasid:32807)
[ 2340.343402] amdgpu 0000:03:00.0: amdgpu:  in process GameThread pid 8969 thread vkd3d_queue pid 9164)
[ 2340.343404] amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000047f407e9000 from client 10
[ 2340.343405] amdgpu 0000:03:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00341051
[ 2340.343406] amdgpu 0000:03:00.0: amdgpu:      Faulty UTCL2 client ID: TCP (0x8)
[ 2340.343407] amdgpu 0000:03:00.0: amdgpu:      MORE_FAULTS: 0x1
[ 2340.343408] amdgpu 0000:03:00.0: amdgpu:      WALKER_ERROR: 0x0
[ 2340.343409] amdgpu 0000:03:00.0: amdgpu:      PERMISSION_FAULTS: 0x5
[ 2340.343409] amdgpu 0000:03:00.0: amdgpu:      MAPPING_ERROR: 0x0
[ 2340.343410] amdgpu 0000:03:00.0: amdgpu:      RW: 0x1
[ 2340.343412] amdgpu 0000:03:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:40 vmid:3 pasid:32807)
[ 2340.343413] amdgpu 0000:03:00.0: amdgpu:  in process GameThread pid 8969 thread vkd3d_queue pid 9164)
[ 2340.343414] amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000047f407ea000 from client 10
[ 2340.343417] amdgpu 0000:03:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:40 vmid:3 pasid:32807)
[ 2340.343418] amdgpu 0000:03:00.0: amdgpu:  in process GameThread pid 8969 thread vkd3d_queue pid 9164)
[ 2340.343419] amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000047f407ea000 from client 10

lspci -k -d ::03xx:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [RX 9070/9070 XT] (rev c0)
        Subsystem: XFX Limited Device 8810
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
49:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev cb)
        Subsystem: ASUSTeK Computer Inc. Device 8877
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

lsmod | grep amd

amd_atl                57344  1
kvm_amd               237568  0
kvm                  1384448  1 kvm_amd
ccp                   184320  1 kvm_amd
gpio_amdpt             16384  0
amd_3d_vcache          12288  0
gpio_generic           24576  1 gpio_amdpt
amdgpu              15310848  50
amdxcp                 12288  1 amdgpu
gpu_sched              65536  1 amdgpu
drm_panel_backlight_quirks    12288  1 amdgpu
drm_buddy              24576  1 amdgpu
drm_exec               12288  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_ttm_helper         16384  2 amdgpu
ttm                   106496  2 amdgpu,drm_ttm_helper
i2c_algo_bit           24576  1 amdgpu
drm_display_helper    262144  1 amdgpu
cec                    90112  2 drm_display_helper,amdgpu
video                  81920  2 asus_wmi,amdgpu

Any help would be greatly appreciated.

Last edited by Kmartinez501 (2025-05-03 21:10:49)

Offline

#2 2025-05-03 09:20:28

Xephon
Member
Registered: 2024-12-22
Posts: 116

Re: [SOLVED] 9070XT Crashing and Freezing After Waking Up From Sleep

There have been a number of similar issues lately. For example

https://bbs.archlinux.org/viewtopic.php?id=304303
https://bbs.archlinux.org/viewtopic.php?id=305130
https://bbs.archlinux.org/viewtopic.php?id=305224

Unfortunately there is no universal solution just yet.

Things that might help to mitigate the problem:
- updating UEFI to the latest version
- switching to zen- or lts-kernels
- using kernel parameters {
    amdgpu.aspm=0
    amdgpu.bapm=0
    amdgpu.dcdebugmask=${some_value}
    amdgpu.runpm=0
    processor.max_cstate=1
} individually or in different combinations

In your case (freezes after wake-up) it could also be this bug
https://bugs.kde.org/show_bug.cgi?id=501073

Solution - either disable plasma-powerdevil.service or add POWERDEVIL_NO_DDCUTIL=1 as an environment variable

Last edited by Xephon (2025-05-03 09:21:01)

Offline

#3 2025-05-03 09:54:19

BS86
Member
Registered: 2022-11-03
Posts: 60

Re: [SOLVED] 9070XT Crashing and Freezing After Waking Up From Sleep

having a 9070XT myself and having a trouble free experience since 6.14.4
You can try to install linux-mainline from the AUR as it contains some more fixes and improvements (I was using it prior to the fixes from 6.14.4 because they were contained in the rc state kernels for some longer)
6.15rc* also has a lower idle power consumption (my card idles at 2-5 W instead of 10-15 Watt with 6.14)

This sounds like it would be the exact fix for your scenario and it is contained in mesa 25.0.5 that is currently in testing here on Arch (I would expect it to land in stable today or tomorrow)
https://gitlab.freedesktop.org/mesa/mes … 0c4681051a
It fixes the linked bug reports : https://gitlab.freedesktop.org/mesa/mesa/-/issues/12962 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/12922 which read like exactly your problem

Edit: Mesa 25.0.5 is now in stable, give it a try, it should solve your problem.

Last edited by BS86 (2025-05-03 13:51:42)

Offline

#4 2025-05-03 14:24:52

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

Re: [SOLVED] 9070XT Crashing and Freezing After Waking Up From Sleep

BS86 wrote:

having a 9070XT myself and having a trouble free experience since 6.14.4
You can try to install linux-mainline from the AUR as it contains some more fixes and improvements (I was using it prior to the fixes from 6.14.4 because they were contained in the rc state kernels for some longer)
6.15rc* also has a lower idle power consumption (my card idles at 2-5 W instead of 10-15 Watt with 6.14)

This sounds like it would be the exact fix for your scenario and it is contained in mesa 25.0.5 that is currently in testing here on Arch (I would expect it to land in stable today or tomorrow)
https://gitlab.freedesktop.org/mesa/mes … 0c4681051a
It fixes the linked bug reports : https://gitlab.freedesktop.org/mesa/mesa/-/issues/12962 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/12922 which read like exactly your problem

Edit: Mesa 25.0.5 is now in stable, give it a try, it should solve your problem.

Thanks for the reply,

Just updated my system and got the latest mesa and vulkan-radeon package updates from stable. Ran a quick test by setting my system to sleep, waking it up and then starting a game, Cyberpunk. So far it ran fine and no crashes! I did see a bit of artifacts on-screen when waking up from sleep but went away quickly, I presume it will get squared away the more time passes and the more stable the drivers become. So far so good and If I have another crash I can post here hopefully to let more people know/spread awareness.

pacman -Si mesa:

Repository      : extra
Name            : mesa
Version         : 1:25.0.5-1
Description     : Open-source OpenGL drivers
Architecture    : x86_64
URL             : https://www.mesa3d.org/
Licenses        : MIT AND BSD-3-Clause AND SGI-B-2.0
Groups          : None
Provides        : libva-mesa-driver=1:25.0.5-1  mesa-libgl=1:25.0.5-1  mesa-vdpau=1:25.0.5-1  libva-driver  opengl-driver  vdpau-driver
Depends On      : expat  gcc-libs  glibc  libdrm  libelf  libglvnd  libx11  libxcb  libxext  libxshmfence  libxxf86vm  llvm-libs  lm_sensors  spirv-tools  wayland  zlib  zstd
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Conflicts With  : libva-mesa-driver<1:24.2.7-1  mesa-libgl<17.0.1-2  mesa-vdpau<1:24.2.7-1
Replaces        : libva-mesa-driver<1:24.2.7-1  mesa-libgl<17.0.1-2  mesa-vdpau<1:24.2.7-1
Download Size   : 20.09 MiB
Installed Size  : 100.96 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Wed 30 Apr 2025 05:16:08 PM EDT
Validated By    : SHA-256 Sum  Signature

pacman -Si vulkan-radeon

Repository      : extra
Name            : vulkan-radeon
Version         : 1:25.0.5-1
Description     : Open-source Vulkan driver for AMD GPUs
Architecture    : x86_64
URL             : https://www.mesa3d.org/
Licenses        : MIT AND BSD-3-Clause AND SGI-B-2.0
Groups          : None
Provides        : vulkan-driver
Depends On      : expat  gcc-libs  glibc  libdrm  libelf  libx11  libxcb  libxshmfence  llvm-libs  spirv-tools  systemd-libs  vulkan-icd-loader  wayland  xcb-util-keysyms  zlib
                  zstd
Optional Deps   : vulkan-mesa-layers: additional vulkan layers
Conflicts With  : None
Replaces        : None
Download Size   : 2.76 MiB
Installed Size  : 12.99 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Wed 30 Apr 2025 05:16:08 PM EDT
Validated By    : SHA-256 Sum  Signature

uname -r

6.14.4-arch1-2

Last edited by Kmartinez501 (2025-05-03 14:26:02)

Offline

Board footer

Powered by FluxBB