Desktop cannot resume after suspend: screen not detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Mario Limonciello |
Bug Description
Hardware:
- Desktop PC (Intel i5 4th gen)
- GPU: AMD RX580
- Ubuntu 22.04 with kernel HWE 6.2
Steps to reproduce:
1. Start the device
2. Suspend
3. Resume by pressing a key on the keyboard
Expected results:
The screen lights up, showing the screen to put my password to resume the session.
Actual result:
The screen OSD displays a "No Signal" message before turning off. Nothing seems to happen when I press keyboard keys or move the mouse.
Switching to a TTY by pressing Ctrl+Alt+F3 works: I can login and see the logs (that's how I filed this bug).
Switching back to graphics session (Ctrl+Alt+F2) does't work: it shows the cursor and nothing else (black screen).
Switching to login screen (Ctrl+Alt+F1) works: I can see the list of users, select on and enter my password... but then I'm back to the same black screen with the mouse cursor.
This is not a regression, as the same problem happened already with the previous point release (I believe it was Linux kernel 5.15).
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.2.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Tue Aug 29 09:15:49 2023
InstallationDate: Installed on 2022-12-28 (243 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
/dev/snd/
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-12-28 (245 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
IwConfig:
lo no wireless extensions.
enp3s0 no wireless extensions.
MachineType: ASUS All Series
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
RfKill:
StagingDrivers: r8188eu
Tags: jammy staging
Uname: Linux 6.2.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/26/2018
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3602
dmi.board.
dmi.board.name: B85M-K
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.sku: All
dmi.product.
dmi.sys.vendor: ASUS
affects: | linux-signed-hwe-6.2 (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
assignee: | nobody → Mario Limonciello (superm1) |
Attached are the logs for the last boot. As you can see, the device had been running for a week without any problem, but suspending/resuming killed it.
We can see the following stack trace in the logs:
Aug 29 09:12:32 coltrane kernel: kworker/u8:24: page allocation failure: order:5, mode:0x40d00( GFP_NOIO| __GFP_COMP| __GFP_ZERO) , nodemask= (null), cpuset= /,mems_ allowed= 0 lvl+0x48/ 0x70 0x10/0x20 0x14b/0x1c0 pages_direct_ compact+ 0xa7/0x240 pages_slowpath. constprop. 0+0x910/ 0x990 pages+0x32c/ 0x360 large_node+ 0x89/0x170 large+0x21/ 0xc0 power_state+ 0x49/0x190 [amdgpu] 0x9f/0x290 [amdgpu] set_clockgating _state+ 0xd7/0x190 [amdgpu] device_ ip_suspend_ phase1+ 0xb9/0x1d0 [amdgpu] device_ suspend+ 0xca/0x1d0 [amdgpu] pmops_suspend+ 0x33/0x50 [amdgpu] suspend+ 0x8a/0x1c0 pm_suspend+ 0x10/0x10 callback+ 0x54/0x1a0 suspend+ 0x14b/0x400 0x1f/0x80 entry_fn+ 0x33/0x130 one_work+ 0x21f/0x440 thread+ 0x50/0x3f0 thread+ 0x10/0x10 0x10/0x10 fork+0x2c/ 0x50 anon:2748750 isolated_anon:0
active_ file:309 inactive_file:232 isolated_file:0
unevictab le:41 dirty:1 writeback:8
slab_ reclaimable: 60650 slab_unreclaima ble:80021
mapped: 1 shmem:70425 pagetables:29671
sec_ pagetables: 0 bounce:0
kernel_ misc_reclaimabl e:0
free: 106406 free_pcp:0 free_cma:0 anon:10995000. ..
Aug 29 09:12:32 coltrane kernel: CPU: 3 PID: 903164 Comm: kworker/u8:24 Not tainted 6.2.0-26-generic #26~22.04.1-Ubuntu
Aug 29 09:12:32 coltrane kernel: Hardware name: ASUS All Series/B85M-K, BIOS 3602 03/26/2018
Aug 29 09:12:32 coltrane kernel: Workqueue: events_unbound async_run_entry_fn
Aug 29 09:12:32 coltrane kernel: Call Trace:
Aug 29 09:12:32 coltrane kernel: <TASK>
Aug 29 09:12:32 coltrane kernel: dump_stack_
Aug 29 09:12:32 coltrane kernel: dump_stack+
Aug 29 09:12:32 coltrane kernel: warn_alloc+
Aug 29 09:12:32 coltrane kernel: ? __alloc_
Aug 29 09:12:32 coltrane kernel: __alloc_
Aug 29 09:12:32 coltrane kernel: __alloc_
Aug 29 09:12:32 coltrane kernel: __kmalloc_
Aug 29 09:12:32 coltrane kernel: kmalloc_
Aug 29 09:12:32 coltrane kernel: dc_set_
Aug 29 09:12:32 coltrane kernel: dm_suspend+
Aug 29 09:12:32 coltrane kernel: ? vi_common_
Aug 29 09:12:32 coltrane kernel: amdgpu_
Aug 29 09:12:32 coltrane kernel: amdgpu_
Aug 29 09:12:32 coltrane kernel: amdgpu_
Aug 29 09:12:32 coltrane kernel: pci_pm_
Aug 29 09:12:32 coltrane kernel: ? __pfx_pci_
Aug 29 09:12:32 coltrane kernel: dpm_run_
Aug 29 09:12:32 coltrane kernel: __device_
Aug 29 09:12:32 coltrane kernel: async_suspend+
Aug 29 09:12:32 coltrane kernel: async_run_
Aug 29 09:12:32 coltrane kernel: process_
Aug 29 09:12:32 coltrane kernel: worker_
Aug 29 09:12:32 coltrane kernel: ? __pfx_worker_
Aug 29 09:12:32 coltrane kernel: kthread+0xee/0x120
Aug 29 09:12:32 coltrane kernel: ? __pfx_kthread+
Aug 29 09:12:32 coltrane kernel: ret_from_
Aug 29 09:12:32 coltrane kernel: </TASK>
Aug 29 09:12:32 coltrane kernel: Mem-Info:
Aug 29 09:12:32 coltrane kernel: active_anon:6 inactive_
Aug 29 09:12:32 coltrane kernel: Node 0 active_anon:24kB inactive_