Public bug reported:
I was scrolling around on a webpage using the firefox snap when my
display output froze for ~30 seconds (very rough estimate). This felt
not dissimilar from recent freezes when I was trying to run steam with
mesa 24, since my graphics card (9070XT) requires mesa 25. But I'm using
mesa 25 for everything I was running this time, as far as I can tell.
And I haven't experienced this kind of freeze in the past week since
switching the mesa-2404 snap to latest/beta/kisak (25.0.2-snap173).
At time of freeze, my memory usage was at around 20GiB (out of 32), and
after it unfroze, it was down to around 16GiB. I switched to a different
TTY when frozen to see if it was a GNOME session crash or something
(seems not), so logged back into my desktop TTY after it unfroze and
everything was still open when I logged back in, but I don't think
switching TTY should have affected running programs, so the change in
memory usage seems related to the freeze.
I'm not sure if this is a kernel bug, a mesa bug, or something else, so
I'm not sure the best place to report it. If I should report elsewhere,
please let me know.
System details:
Ubuntu 25.04
Kernel 6.14.0-15-generic #15-Ubuntu
System mesa 25.0.3-1ubuntu2
Firefox snap 139.0-2 (rev 6227) -- this is newly installed since last night, so
a potential clue?
CPU: Ryzen 9700X
GPU: Radeon RX 9070XT
dmesg logs:
[37050.576201] kworker/u64:3: page allocation failure: order:9,
mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO),
nodemask=(null),cpuset=/,mems_allowed=0
[37050.576216] CPU: 14 UID: 0 PID: 2661446 Comm: kworker/u64:3 Kdump: loaded
Tainted: P O 6.14.0-15-generic #15-Ubuntu
[37050.576219] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
[37050.576220] Hardware name: Gigabyte Technology Co., Ltd. B650 GAMING X AX
V2/B650 GAMING X AX V2, BIOS F30 05/22/2024
[37050.576221] Workqueue: events_unbound commit_work
[37050.576227] Call Trace:
[37050.576229] <TASK>
[37050.576232] show_stack+0x49/0x60
[37050.576236] dump_stack_lvl+0x5f/0x90
[37050.576239] dump_stack+0x10/0x18
[37050.576240] warn_alloc+0x173/0x1a0
[37050.576243] ? __alloc_pages_direct_compact+0x1e0/0x230
[37050.576244] __alloc_pages_slowpath.constprop.0+0x60c/0x940
[37050.576245] ? get_page_from_freelist+0x3c4/0x670
[37050.576247] __alloc_frozen_pages_noprof+0x320/0x340
[37050.576248] __alloc_pages_noprof+0xe/0x30
[37050.576249] ___kmalloc_large_node+0x6e/0x100
[37050.576251] __kmalloc_large_noprof+0x22/0xc0
[37050.576254] ? dml2_initialize_instance+0x24/0x30 [amdgpu]
[37050.576492] dml21_allocate_memory+0x37/0xe0 [amdgpu]
[37050.576689] dml21_create_copy+0x19/0x40 [amdgpu]
[37050.576850] dml2_create_copy+0x51/0x70 [amdgpu]
[37050.576998] dc_state_create_copy+0x8d/0xc0 [amdgpu]
[37050.577148] update_planes_and_stream_state+0x1cf/0x5d0 [amdgpu]
[37050.577253] update_planes_and_stream_v3+0x52/0x1e0 [amdgpu]
[37050.577341] dc_update_planes_and_stream+0x5d/0x110 [amdgpu]
[37050.577424] amdgpu_dm_commit_planes+0x5bf/0x1650 [amdgpu]
[37050.577541] amdgpu_dm_atomic_commit_tail+0xa5e/0x1220 [amdgpu]
[37050.577650] commit_tail+0xca/0x1b0
[37050.577653] ? __schedule+0x2ca/0x660
[37050.577655] commit_work+0x12/0x20
[37050.577656] process_one_work+0x174/0x350
[37050.577659] worker_thread+0x34a/0x480
[37050.577659] ? _raw_spin_lock_irqsave+0xe/0x20
[37050.577661] ? __pfx_worker_thread+0x10/0x10
[37050.577661] kthread+0xf9/0x230
[37050.577663] ? __pfx_kthread+0x10/0x10
[37050.577664] ret_from_fork+0x44/0x70
[37050.577665] ? __pfx_kthread+0x10/0x10
[37050.577666] ret_from_fork_asm+0x1a/0x30
[37050.577668] </TASK>
[37050.577678] Mem-Info:
[37050.577679] active_anon:2487432 inactive_anon:2394289 isolated_anon:0
active_file:258046 inactive_file:1437240 isolated_file:0
unevictable:108 dirty:875 writeback:0
slab_reclaimable:189243 slab_unreclaimable:182946
mapped:434114 shmem:1230500 pagetables:31901
sec_pagetables:1283 bounce:0
kernel_misc_reclaimable:0
free:137883 free_pcp:731 free_cma:0
[37050.577683] Node 0 active_anon:9949728kB inactive_anon:9577156kB
active_file:1032184kB inactive_file:5748960kB unevictable:432kB
isolated(anon):0kB isolated(file):0kB mapped:1736456kB dirty:3500kB
writeback:0kB shmem:4922000kB shmem_thp:0kB shmem_pmdmapped:0kB
anon_thp:3151872kB writeback_tmp:0kB kernel_stack:42192kB pagetables:127604kB
sec_pagetables:5132kB all_unreclaimable? no
[37050.577685] Node 0 DMA free:11264kB boost:0kB min:32kB low:44kB high:56kB
reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB
inactive_file:0kB unevictable:0kB writepending:0kB present:15996kB
managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[37050.577688] lowmem_reserve[]: 0 1446 30512 30512 30512
[37050.577690] Node 0 DMA32 free:123876kB boost:0kB min:3028kB low:4424kB
high:5820kB reserved_highatomic:0KB active_anon:533344kB inactive_anon:592676kB
active_file:68kB inactive_file:164820kB unevictable:0kB writepending:8kB
present:2071728kB managed:1481676kB mlocked:0kB bounce:0kB free_pcp:4kB
local_pcp:0kB free_cma:0kB
[37050.577692] lowmem_reserve[]: 0 0 29066 29066 29066
[37050.577694] Node 0 Normal free:417120kB boost:0kB min:64516kB low:94268kB
high:124020kB reserved_highatomic:45056KB active_anon:9416384kB
inactive_anon:8984480kB active_file:1032116kB inactive_file:5584140kB
unevictable:432kB writepending:3492kB present:30374400kB managed:29763588kB
mlocked:432kB bounce:0kB free_pcp:2292kB local_pcp:0kB free_cma:0kB
[37050.577696] lowmem_reserve[]: 0 0 0 0 0
[37050.577698] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB
0*512kB 1*1024kB (U) 1*2048kB (M) 2*4096kB (M) = 11264kB
[37050.577704] Node 0 DMA32: 564*4kB (UME) 353*8kB (UME) 323*16kB (UME)
323*32kB (UME) 229*64kB (UME) 137*128kB (UME) 92*256kB (UME) 63*512kB (UE)
15*1024kB (UE) 0*2048kB 0*4096kB = 123944kB
[37050.577710] Node 0 Normal: 1276*4kB (UMEH) 6830*8kB (UMEH) 2268*16kB (UMEH)
8029*32kB (UMEH) 160*64kB (UMEH) 261*128kB (MEH) 44*256kB (UMEH) 8*512kB (MH)
3*1024kB (UM) 1*2048kB (H) 0*4096kB = 417088kB
[37050.577717] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0
hugepages_size=1048576kB
[37050.577718] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0
hugepages_size=2048kB
[37050.577719] 2925856 total pagecache pages
[37050.577719] 104 pages in swap cache
[37050.577720] Free swap = 8386336kB
[37050.577720] Total swap = 8388604kB
[37050.577721] 8115531 pages RAM
[37050.577721] 0 pages HighMem/MovableOnly
[37050.577722] 300375 pages reserved
[37050.577722] 0 pages hwpoisoned
[37050.577732] amdgpu 0000:03:00.0: amdgpu: [drm] *ERROR* Failed to allocate
new validate context!
[37053.891580] [UFW BLOCK] IN=enp10s0 OUT=
MAC=01:00:5e:00:00:01:5c:e9:31:3e:a7:20:08:00 SRC=192.168.0.1 DST=224.0.0.1
LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=4959 DF PROTO=2
[37055.888354] [UFW BLOCK] IN=enp10s0 OUT=
MAC=01:00:5e:00:00:fb:dc:a6:32:1a:a5:ab:08:00 SRC=192.168.0.172 DST=224.0.0.251
LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[37060.600817] amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:79:crtc-0] flip_done
timed out
[37085.683718] audit: type=1326 audit(1748647026.812:1546): auid=1000 uid=1000
gid=1000 ses=3 subj=snap.signal-desktop.signal-desktop pid=1568547
comm="signal-desktop" exe="/snap/signal-desktop/793/opt/Signal/signal-desktop"
sig=0 arch=c000003e syscall=92 compat=0 ip=0x7d19eff9e6bb code=0x50000
[37089.271184] audit: type=1400 audit(1748647030.400:1547): apparmor="DENIED"
operation="capable" class="cap"
profile="/snap/snapd/24718/usr/lib/snapd/snap-confine" pid=2713756
comm="snap-confine" capability=12 capname="net_admin"
[37089.271194] audit: type=1400 audit(1748647030.400:1548): apparmor="DENIED"
operation="capable" class="cap"
profile="/snap/snapd/24718/usr/lib/snapd/snap-confine" pid=2713756
comm="snap-confine" capability=38 capname="perfmon"
[37095.416223] amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
[37095.416233] amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:79:crtc-0] commit wait
timed out
[37105.655631] amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
[37105.655640] amdgpu 0000:03:00.0: [drm] *ERROR* [CONNECTOR:106:DP-3] commit
wait timed out
[37115.895360] amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
[37115.895368] amdgpu 0000:03:00.0: [drm] *ERROR* [PLANE:58:plane-3] commit
wait timed out
[37126.135053] amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
[37126.135062] amdgpu 0000:03:00.0: [drm] *ERROR* [PLANE:76:plane-6] commit
wait timed out
[37126.316506] rfkill: input handler enabled
** Affects: ubuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112219
Title:
Graphics crash/freeze for ~30 seconds on AMD Radeon RX 9070XT
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2112219/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs