[amdgpu] gnome-shell: page allocation failure

Bug #1995207 reported by Dmitrii Shcherbakov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Gnome shell crashed while I was doing web browsing.

A crash report was also submitted via apport. This is a fresh install of Ubuntu 22.10.

~$ uname -r
5.19.0-23-generic

HW: 21D4000HUS with integrated graphics in Ryzen 7 PRO 6850H and AMD Radeon RX 6500M discrete card (AMD SmartShift).

$ lspci -n -s 03:00.0
03:00.0 0380: 1002:743f (rev c3)

$ lspci -n -s 67:00.0
67:00.0 0300: 1002:1681 (rev 12)

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400 / 6500 XT] (rev c3)
67:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev 12)

$ printenv XDG_SESSION_TYPE
wayland

oct 30 13:36:19 z16 kernel: gnome-shell: page allocation failure: order:0, mode:0x104dc4(GFP_USER|GFP_DMA32|__GFP_RETRY_MAYFAIL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
oct 30 13:36:19 z16 kernel: CPU: 1 PID: 2446 Comm: gnome-shell Not tainted 5.19.0-23-generic #24-Ubuntu
oct 30 13:36:19 z16 kernel: Hardware name: LENOVO 21D4000HUS/21D4000HUS, BIOS N3GET42W (1.22 ) 09/06/2022
oct 30 13:36:19 z16 kernel: Call Trace:
oct 30 13:36:19 z16 kernel: <TASK>
oct 30 13:36:19 z16 kernel: show_stack+0x4e/0x61
oct 30 13:36:19 z16 kernel: dump_stack_lvl+0x4a/0x6d
oct 30 13:36:19 z16 kernel: dump_stack+0x10/0x18
oct 30 13:36:19 z16 kernel: warn_alloc+0x164/0x190
oct 30 13:36:19 z16 kernel: __alloc_pages_slowpath.constprop.0+0x975/0x9b0
oct 30 13:36:19 z16 kernel: __alloc_pages+0x31d/0x350
oct 30 13:36:19 z16 kernel: alloc_pages+0x90/0x1c0
oct 30 13:36:19 z16 kernel: ttm_pool_alloc+0x395/0x580 [ttm]
oct 30 13:36:19 z16 kernel: amdgpu_ttm_tt_populate+0x42/0xa0 [amdgpu]
oct 30 13:36:19 z16 kernel: ttm_tt_populate+0xbc/0x1a0 [ttm]
oct 30 13:36:19 z16 kernel: ttm_bo_handle_move_mem+0x21a/0x280 [ttm]
oct 30 13:36:19 z16 kernel: ttm_bo_validate+0xf8/0x130 [ttm]
oct 30 13:36:19 z16 kernel: ttm_bo_init_reserved+0x18d/0x260 [ttm]
oct 30 13:36:19 z16 kernel: amdgpu_bo_create+0x1d0/0x4b0 [amdgpu]
oct 30 13:36:19 z16 kernel: ? amdgpu_bo_vm_destroy+0x80/0x80 [amdgpu]
oct 30 13:36:19 z16 kernel: amdgpu_bo_create_user+0x40/0x70 [amdgpu]
oct 30 13:36:19 z16 kernel: amdgpu_gem_create_ioctl+0x155/0x3c0 [amdgpu]
oct 30 13:36:19 z16 kernel: ? amdgpu_bo_vm_destroy+0x80/0x80 [amdgpu]
oct 30 13:36:19 z16 kernel: ? amdgpu_gem_force_release+0x190/0x190 [amdgpu]
oct 30 13:36:19 z16 kernel: drm_ioctl_kernel+0xd6/0x180 [drm]
oct 30 13:36:19 z16 kernel: drm_ioctl+0x29d/0x4d0 [drm]
oct 30 13:36:19 z16 kernel: ? amdgpu_gem_force_release+0x190/0x190 [amdgpu]
oct 30 13:36:19 z16 kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
oct 30 13:36:19 z16 kernel: __x64_sys_ioctl+0xa0/0xe0
oct 30 13:36:19 z16 kernel: do_syscall_64+0x5b/0x90
oct 30 13:36:19 z16 kernel: ? do_user_addr_fault+0x1df/0x680
oct 30 13:36:19 z16 kernel: ? do_syscall_64+0x67/0x90
oct 30 13:36:19 z16 kernel: ? exit_to_user_mode_prepare+0x30/0xb0
oct 30 13:36:19 z16 kernel: ? irqentry_exit_to_user_mode+0x9/0x20
oct 30 13:36:19 z16 kernel: ? irqentry_exit+0x43/0x50
oct 30 13:36:19 z16 kernel: ? exc_page_fault+0x91/0x1b0
oct 30 13:36:19 z16 kernel: entry_SYSCALL_64_after_hwframe+0x63/0xcd
oct 30 13:36:19 z16 kernel: RIP: 0033:0x7fc5dcd12d8f
oct 30 13:36:19 z16 kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
oct 30 13:36:19 z16 kernel: RSP: 002b:00007fff03e93c60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
oct 30 13:36:19 z16 kernel: RAX: ffffffffffffffda RBX: 000055645821ecf0 RCX: 00007fc5dcd12d8f
oct 30 13:36:19 z16 kernel: RDX: 00007fff03e93d00 RSI: 00000000c0206440 RDI: 0000000000000011
oct 30 13:36:19 z16 kernel: RBP: 00007fff03e93d00 R08: 00005564562407e0 R09: 00007fc5dcdf6ec0
oct 30 13:36:19 z16 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c0206440
oct 30 13:36:19 z16 kernel: R13: 0000000000000011 R14: 0000000002298000 R15: 0000000000000013
oct 30 13:36:19 z16 kernel: </TASK>
oct 30 13:36:19 z16 kernel: Mem-Info:
oct 30 13:36:19 z16 kernel: active_anon:1358 inactive_anon:955291 isolated_anon:0
                                 active_file:448331 inactive_file:919182 isolated_file:0
                                 unevictable:214 dirty:247 writeback:2
                                 slab_reclaimable:41947 slab_unreclaimable:65287
                                 mapped:352660 shmem:166458 pagetables:11885 bounce:0
                                 kernel_misc_reclaimable:0
                                 free:5048298 free_pcp:2656 free_cma:0
oct 30 13:36:19 z16 kernel: Node 0 active_anon:5432kB inactive_anon:3821164kB active_file:1793324kB inactive_file:3676728kB unevictable:856kB isolated(anon):0kB isolated(file):0kB mapped:1410640kB dirty:988kB writeback:8kB shmem:665832kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:24076kB pagetables:47540kB all_unreclaimable? yes
oct 30 13:36:19 z16 kernel: Node 0 DMA free:6608kB 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
oct 30 13:36:19 z16 kernel: lowmem_reserve[]: 0 1649 31227 31227 31227
oct 30 13:36:19 z16 kernel: Node 0 DMA32 free:3032kB boost:0kB min:3564kB low:5252kB high:6940kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1869324kB managed:1801348kB mlocked:0kB bounce:0kB free_pcp:2304kB local_pcp:2048kB free_cma:0kB
oct 30 13:36:19 z16 kernel: lowmem_reserve[]: 0 0 29578 29578 29578
oct 30 13:36:19 z16 kernel: Node 0 Normal free:20183552kB boost:0kB min:63984kB low:94272kB high:124560kB reserved_highatomic:0KB active_anon:5432kB inactive_anon:3821164kB active_file:1793324kB inactive_file:3676728kB unevictable:856kB writepending:996kB present:30903296kB managed:30296312kB mlocked:856kB bounce:0kB free_pcp:8320kB local_pcp:2552kB free_cma:0kB
oct 30 13:36:19 z16 kernel: lowmem_reserve[]: 0 0 0 0 0
oct 30 13:36:19 z16 kernel: Node 0 DMA: 0*4kB 0*8kB 1*16kB (U) 0*32kB 1*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 0*1024kB 1*2048kB (M) 1*4096kB (M) = 6608kB
oct 30 13:36:19 z16 kernel: Node 0 DMA32: 40*4kB (U) 44*8kB (U) 32*16kB (U) 0*32kB 0*64kB 1*128kB (U) 0*256kB 0*512kB 0*1024kB 1*2048kB (U) 0*4096kB = 3200kB
oct 30 13:36:19 z16 kernel: Node 0 Normal: 947*4kB (UME) 2992*8kB (UME) 3151*16kB (UME) 1613*32kB (UME) 463*64kB (UME) 289*128kB (UME) 186*256kB (UME) 71*512kB (UME) 47*1024kB (UME) 25*2048kB (UME) 4835*4096kB (UM) = 20183836kB
oct 30 13:36:19 z16 kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
oct 30 13:36:19 z16 kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
oct 30 13:36:19 z16 kernel: 1533972 total pagecache pages
oct 30 13:36:19 z16 kernel: 0 pages in swap cache
oct 30 13:36:19 z16 kernel: Swap cache stats: add 0, delete 0, find 0/0
oct 30 13:36:19 z16 kernel: Free swap = 0kB
oct 30 13:36:19 z16 kernel: Total swap = 0kB
oct 30 13:36:19 z16 kernel: 8197154 pages RAM
oct 30 13:36:19 z16 kernel: 0 pages HighMem/MovableOnly
oct 30 13:36:19 z16 kernel: 168899 pages reserved
oct 30 13:36:19 z16 kernel: 0 pages hwpoisoned
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: Failed to allocate a buffer:
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: size : 36274176 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: alignment : 2097152 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: domains : 4
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: flags : 6
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: Failed to allocate a buffer:
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: size : 36274176 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: alignment : 2097152 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: domains : 4
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: flags : 6
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: Failed to allocate a buffer:
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: size : 36274176 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: alignment : 2097152 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: domains : 4
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: flags : 6
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: Failed to allocate a buffer:
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: size : 36274176 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: alignment : 2097152 bytes
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: domains : 4
oct 30 13:36:19 z16 gnome-shell[2446]: amdgpu: flags : 6
oct 30 13:36:19 z16 gnome-shell[2446]: GNOME Shell crashed with signal 11
oct 30 13:36:19 z16 gnome-shell[2446]: == Stack trace for context 0x556452f61ad0 ==
oct 30 13:36:19 z16 gnome-shell[2446]: Could not import pending buffer: Out of memory
oct 30 13:36:20 z16 systemd[1]: Started crash report submission.
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-10-29 (0 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
Package: gnome-shell 43.0-1ubuntu2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
RelatedPackageVersions: mutter-common 43.0-1ubuntu4
Tags: wayland-session kinetic
Uname: Linux 5.19.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-10-29 (2 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: LENOVO 21D4000HUS
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.19.0-23-generic root=UUID=4e5f706e-3d4e-4096-bc41-db418c3ec3e4 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
RelatedPackageVersions:
 linux-restricted-modules-5.19.0-23-generic N/A
 linux-backports-modules-5.19.0-23-generic N/A
 linux-firmware 20220923.gitf09bebf3-0ubuntu1
Tags: wayland-session kinetic
Uname: Linux 5.19.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/06/2022
dmi.bios.release: 1.22
dmi.bios.vendor: LENOVO
dmi.bios.version: N3GET42W (1.22 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21D4000HUS
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.51
dmi.modalias: dmi:bvnLENOVO:bvrN3GET42W(1.22):bd09/06/2022:br1.22:efr1.51:svnLENOVO:pn21D4000HUS:pvrThinkPadZ16Gen1:rvnLENOVO:rn21D4000HUS:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21D4_BU_Think_FM_ThinkPadZ16Gen1:
dmi.product.family: ThinkPad Z16 Gen 1
dmi.product.name: 21D4000HUS
dmi.product.sku: LENOVO_MT_21D4_BU_Think_FM_ThinkPad Z16 Gen 1
dmi.product.version: ThinkPad Z16 Gen 1
dmi.sys.vendor: LENOVO

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Dependencies.txt

apport information

tags: added: apport-collected kinetic wayland-session
description: updated
Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ShellJournal.txt

apport information

summary: - [22.10] gnome-shell: page allocation failure
+ [amdgpu] gnome-shell: page allocation failure
affects: gnome-shell (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1995207

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : IwConfig.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Lspci.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Lspci-vt.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Lsusb.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Lsusb-t.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Lsusb-v.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : ProcModules.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : RfKill.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : UdevDb.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : WifiSyslog.txt

apport information

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.