pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.38k stars 81 forks source link

Suspend not working on kernel 6.9.3-76060903-generic #3313

Open phrogpilot73 opened 1 month ago

phrogpilot73 commented 1 month ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

linux-image-6.9.3-76060903-generic:
  Installed: 6.9.3-76060903.202405300957~1718348209~22.04~7817b67
  Candidate: 6.9.3-76060903.202405300957~1718348209~22.04~7817b67
  Version table:
 *** 6.9.3-76060903.202405300957~1718348209~22.04~7817b67 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Issue/Bug Description:

Suspend stopped working correctly. Whether manually suspended, auto-suspended, plugged in, or on battery. Fans ramp up after a minute or two on the black screen and won't wake on touchpad click/keyboard press. Have to shut down with a power button and reboot.

Steps to reproduce (if you know):

Suspend either via menu, or via auto-suspend.

Expected behavior:

Laptop wakes from suspend on keyboard press/touchpad click.

Other Notes:

Does not happen on 6.8.0-76060800daily20240311-generic

Hardware is lemp10

leviport commented 1 month ago

Hmm, I can't seem to recreate this on my lemp10 lab unit. It could be a configuration difference though. What make and model SSD(s) do you have installed, and how much RAM do you have?

edit: also what is your firmware version number? Can find this in dmidecode, and it should look like a date and a short hash.

phrogpilot73 commented 1 month ago

Hmm, I can't seem to recreate this on my lemp10 lab unit. It could be a configuration difference though. What make and model SSD(s) do you have installed, and how much RAM do you have?

edit: also what is your firmware version number? Can find this in dmidecode, and it should look like a date and a short hash.

SSD: Sabrent Rocket Q (RKT30Q.2) RAM: 24GB Firmware: 2023-10-13_5d997d1

This happened way back in the 5.X or early 6.X kernel days, and it was related to bluetooth (i.e. I could turn off BT and it would suspend correctly), tried that and it wasn't the case.

tomdjong commented 1 month ago

I have the same problem on a ThinkPad X1 Carbon Gen 10. I also had this issue with the 6.8.0-76060800daily20240311-generic kernel as reported at #3256.

TermeHansen commented 1 month ago

I see a similar issue for me, though my screen is not black but completely frozen and nothing works only hard reset by holding down power button. Switched back to 6.8.0-76060800daily20240311-generic and no issue for me on this kernel.

I'm using a Lenovo E14.

trappitsch commented 2 weeks ago

Same problem as @TermeHansen here on a Lenovo ThinkPad X1 Yoga Gen 7.

6.9.3-76060903-generic #202405300957~1718348209~22.04~7817b67 SMP PREEMPT_DYNAMIC Mon J x86_64 x86_64 x86_64 GNU/Linux

After suspending, everything stays completely black and all I can do is a hard reset. As for @tomdjong, this was also the case with kernel 6.8

trappitsch commented 2 weeks ago

I ended up downgrading the default kernel to 6.6.10, and now suspend works well again. In case somebody is interested in this "solution": I used kernelstub, info here. Have a look at the section "Set Default Boot Kernel". My steps:

After a reboot, Kernel 6.6.10 is now loaded and suspend works again.

Punk7050 commented 2 days ago

I'm running an older desktop with a 1070. Suspend has stopped working for me as well after the last kernel update.

I tried changing the kernel as @trappitsch noted, but upon boot I only had a single display at 1024x768. Currently, don't have time to figure out how to roll back the nvidia drivers but will play with that later. If there is additional info required, let me know how to get it and I'll post the results.

Apologies for not putting the inxi output into a code tag, it just makes it a wall of text. But this should provide all hardware info that should be needed.

***@pop-os:~$ cat /etc/os-release NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

***@pop-os:~$ apt policy linux-image-6.9.3* linux-image-6.9.3-76060903-generic: Installed: 6.9.3-76060903.202405300957~1721174657~22.04~abb7c06 Candidate: 6.9.3-76060903.202405300957~1721174657~22.04~abb7c06 Version table: *** 6.9.3-76060903.202405300957~1721174657~22.04~abb7c06 1001 1001 http://apt.pop-os.org/release jammy/main amd64 Packages 100 /var/lib/dpkg/status

inxi -Fxz output: System: Kernel: 6.9.3-76060903-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9 Distro: Pop!_OS 22.04 LTS base: Ubuntu 22.04 LTS Jammy Machine: Type: Desktop System: MSI product: MS-7976 v: 1.0 serial: Mobo: MSI model: Z170A GAMING M7 (MS-7976) v: 1.0 serial: UEFI: American Megatrends v: 1.L0 date: 06/28/2018 Battery: Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball charge: 100% (should be ignored) status: Discharging CPU: Info: quad core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB Speed (MHz): avg: 800 min/max: 800/4200 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 63999 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia v: 555.58.02 bus-ID: 01:00.0 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nouveau unloaded: fbdev,modesetting,vesa failed: nvidia gpu: nvidia resolution: 1: 1200x1920 60Hz 2: 2560x1440 3: 1200x1920 60Hz OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 555.58.02 direct render: Yes Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 01:00.1 Device-3: Blue Microphones Yeti Stereo Microphone type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4:3 Sound Server-1: ALSA v: k6.9.3-76060903-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: no Sound Server-3: PipeWire v: 1.0.3 running: yes Network: Device-1: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Micro-Star MSI driver: alx v: kernel port: d000 bus-ID: 04:00.0 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: Bluetooth: Device-1: TP-Link UB500 Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-9:4 Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 3.0 lmp-v: 5.1 Drives: Local Storage: total: 2.27 TiB used: 247.18 GiB (10.6%) ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 1TB size: 931.51 GiB temp: 36.9 C ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 960 EVO 500GB size: 465.76 GiB temp: 44.9 C ID-3: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB Partition: ID-1: / size: 449.01 GiB used: 244.07 GiB (54.4%) fs: ext4 dev: /dev/dm-1 mapped: data-root ID-2: /boot/efi size: 497 MiB used: 278.8 MiB (56.1%) fs: vfat dev: /dev/nvme1n1p1 Swap: ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) dev: /dev/dm-2 mapped: cryptswap ID-2: swap-2 type: zram size: 15.58 GiB used: 0 KiB (0.0%) dev: /dev/zram0 Sensors: System Temperatures: cpu: 29.8 C pch: 43.0 C mobo: 27.8 C gpu: nvidia temp: 54 C Fan Speeds (RPM): N/A gpu: nvidia fan: 0% Info: Processes: 308 Uptime: 10m Memory: 15.58 GiB used: 4.76 GiB (30.6%) Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2854 Shell: Bash v: 5.1.16 inxi: 3.3.13