this post was submitted on 27 Feb 2024
86 points (94.8% liked)

Linux

48220 readers
877 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Recently bought a new laptop that comes with an AMD Radeon gpu and installed OpenSuse Tumbleweed on it which I had installed on my previous laptop as well but never had issues with suspending and resuming. However, with the new laptop, I am unable to resume after suspending or closing the lid unless I force it to shut down by holding the power button which is a major inconvenience.

I'm also dual booting alongside Windows and have secure boot enabled and have the Linux and Windows partitions encrypted if that's what's causing it which I doubt since this is the same setup I had on my old laptop

Any suggestions or advice would be greatly appreciated.

Edit: I was able to figure out that it does not suspend at all when I close the lid or click the suspend button on Gnome. Only found this out because when going through YaST Services Manager and manually starting systemctl suspend, the laptop suspends just fine and wakes back up. So I'm starting to think it's more of a systemd issue? Any inputs?

Edit: turns out it was an issue with the official opensuse built kernel not sitting well. Downloaded a community version from the opensuse repository and it works fine. Very odd

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 8 months ago (2 children)

Can you check dmesg and/or journald? What model Laptop is it?

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago) (1 children)
[–] [email protected] 2 points 8 months ago (1 children)

sudo dmesg | less and something with journalctl (not sure because I don't use that currently). There should be some other logs you can check in /var/log too, kern.log sounds useful (though that might just come from sysklogd).

[–] [email protected] 1 points 8 months ago

journalctl -b -1 should get you logs from the last boot

[–] [email protected] 2 points 8 months ago

I was able to figure out that it does not suspend at all when I close the lid or click the suspend button on Gnome. Only found this out because when going through YaST Services Manager and manually starting systemctl suspend, the laptop suspends just fine and wakes back up. So I'm starting to think it's more of a systemd issue? Any inputs?