Score:0

Ubuntu 22.04 suspend only lock the screen

ms flag

linux newbie here. Sorry for my bad english before. So i have Acer Aspire Vero AV15-51 laptop running Ubuntu 22.04.2 LTS. Overall, everythings run great (except fingerprint login always failure to match my fingerprint). But my main problem is my laptop cannot suspend properly. When i close the lid or click on suspend option, the screen is going black but the fan still spinning, and wake up when i press a key or open the lid up.

Things that i've tried before writing post here:

  1. run systemctl suspend from terminal
  2. editing /etc/systemd/sleep.conf and enable this line: AllowSuspend=yes AllowHybridSleep=yes SuspendMode=platform standby
  3. switching from wayland to xorg on login screen and vice versa
  4. installing intel driver for intel iris xe : https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-jammy-legacy.html
  5. run pm-utils suspend from terminal

all things above returning a same condition, black screen (locked) with spinning fan.

this is the output from inxi -Fxxz

System:
  Kernel: 5.19.0-35-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.5
    tk: GTK 3.24.33 wm: gnome-shell dm: GDM3
    Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
  Type: Laptop System: Acer product: Aspire AV15-51 v: V1.01
    serial: <superuser required>
  Mobo: TGL model: Jade_TL v: V1.01 serial: <superuser required>
    UEFI: Insyde v: 1.01 date: 07/20/2021
Battery:
  ID-1: BAT1 charge: 40.8 Wh (81.3%) condition: 50.2/53.2 Wh (94.3%)
    volts: 11.9 min: 11.6 model: COSMX AP20CBL serial: <filter>
    status: Discharging
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1155G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 2 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 2076 high: 2500 min/max: 400/4500 cores: 1: 2500
    2: 2500 3: 737 4: 2500 5: 2500 6: 2500 7: 2500 8: 871 bogomips: 39936
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics]
    vendor: Acer Incorporated ALI driver: i915 v: kernel ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
  Device-2: Chicony HD User Facing type: USB driver: uvcvideo bus-ID: 1-8:3
    chip-ID: 04f2:b72b
  Display: x11 server: X.Org v: 1.21.1.3 compositor: gnome-shell driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2)
    v: 4.6 Mesa 23.0.0-devel (git-4b077ffb98) direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-tgl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8
  Sound Server-1: ALSA v: k5.19.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: no
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:a0f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000
    bus-ID: 0000:01:00.0 chip-ID: 10ec:8168
  IF: enp1s0 state: down mac: <filter>
  IF-ID-1: zt7nnaznga state: unknown speed: 10 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-10:4 chip-ID: 8087:0026
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 237e
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b
Drives:
  Local Storage: total: 476.94 GiB used: 55.62 GiB (11.7%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: OM8PDP3512B-AA1
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
Partition:
  ID-1: / size: 116.78 GiB used: 28.69 GiB (24.6%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 486 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 7.63 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 329 Uptime: 21m Memory: 15.41 GiB used: 3.11 GiB (20.2%)
  Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12
  Packages: 2126 apt: 2098 flatpak: 11 snap: 17 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13

any suggestion for what should i do? or do i need to check something in my system? if yes, please tell me the command on terminal. thank you before and have a nice day!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.