Hello everyone,
I’m having problems with my laptop waking up after suspending it.
Very works sometimes, especially shortly after boot, but most of the time the screen either stays black, it lets me enter my password but goes black right after or there is some visual glitch and I can only see my mouse moving on screen. I know my keyboard works fine too because I can change the backlight.
The bug doesn’t occur when I close the lid in the BIOS menu, so it can’t just be a purely hardware thing.
It happens both when I close the lid and when I manually suspend in the top-right menu (Gnome).
I know this is a well know issue for Ryzen CPUs, but none of the solutions I found on the forums seem to help.
These include:
- Disabling C6 state using Zenstates
- Adding the
iommu=soft
,idle=nomwait
,amdgpu.noretry=0
,processor.max_cstates=1
,pci=noapci
andacpi=off
kernel args in the grub config - Changing BIOS settings
- Trying kernels 5.10, 5.12, 5.13 and 5.14
- Trying different swap sizes (no swap, 0.5 and 12 GB)
Here’s my obligatory inxi dump:
System:
Kernel: 5.12.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.12-x86_64
root=UUID=d8e0e912-e390-4619-9309-8f70f5a934ec rw rootflags=subvol=@ quiet
splash apparmor=1 security=apparmor udev.log_priority=3 iommu=soft
idle=nomwait amdgpu.noretry=0 processor.max.cstates=1 pci=noapci apci=off
Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP Pavilion Laptop 15-eh0xxx v: N/A
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: HP model: 87C5 v: 35.24 serial: <filter> UEFI: AMI v: F.12
date: 03/04/2021
Battery:
ID-1: BAT0 charge: 40.4 Wh (100.0%) condition: 40.4/40.4 Wh (100.0%)
volts: 13.0 min: 11.3 model: Hewlett-Packard Primary type: Li-ion
serial: N/A status: Full cycles: 363
Memory:
RAM: total: 7.14 GiB used: 1.74 GiB (24.4%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64
type: MCP arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1
microcode: 8600106 cache: L2: 3 MiB bogomips: 28462
Speed: 1397 MHz min/max: 1400/2375 MHz boost: enabled Core speeds (MHz):
1: 1397 2: 1397 3: 1397 4: 1398 5: 1398 6: 1398
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm
lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx
nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter
pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni
popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload vgif
vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
xsaves
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel
bus-ID: 04:00.0 chip-ID: 1002:1636 class-ID: 0300
Device-2: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera
type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 05c8:03df class-ID: 0e02
Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver:
loaded: amdgpu note: n/a (using device driver) - try sudo/root display-ID: 0
resolution: <missing: xdpyinfo>
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.12.19-1-MANJARO LLVM 12.0.1)
v: 4.6 Mesa 21.2.1 direct render: Yes
Audio:
Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel
alternate: snd_pci_acp3x bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 04:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound Server-1: ALSA v: k5.12.19-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.33 running: no
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw_8821ce v: N/A modules: rtw88_8821ce
port: f000 bus-ID: 02:00.0 chip-ID: 10ec:c821 class-ID: 0280
IF: wlo1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb
v: 0.8 bus-ID: 1-4:3 chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 238.47 GiB used: 10.97 GiB (4.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
model: BC511 HFM256GDJTNI-82A0A size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: HPS0 temp: 32.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 10.97 GiB (4.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: d8e0e912-e390-4619-9309-8f70f5a934ec
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 568 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: NO_LABEL uuid: 3290-FA6A
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 10.97 GiB (4.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: d8e0e912-e390-4619-9309-8f70f5a934ec
ID-4: /var/cache raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 10.97 GiB (4.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: d8e0e912-e390-4619-9309-8f70f5a934ec
ID-5: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 10.97 GiB (4.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: d8e0e912-e390-4619-9309-8f70f5a934ec
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-3:2
info: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera
type: Video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s
power: 500mA chip-ID: 05c8:03df class-ID: 0e02
Device-2: 1-4:3 info: Realtek Realtek Bluetooth 4.2 Adapter type: Bluetooth
driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA
chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-4:2 info: Elan Micro ELAN:ARM-M4 type: <vendor specific>
driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 04f3:0c00 class-ID: 0000
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 58.1 C mobo: 45.0 C gpu: amdgpu temp: 45.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 263 Uptime: 1m wakeups: 310 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 Packages: pacman: 1133 lib: 293 flatpak: 0 Shell: Zsh
v: 5.8 running-in: gnome-terminal inxi: 3.3.06
Any thoughts on what more I could try?