mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.6K
active users

Booting system cold: 13s (firmware) + 3s (loader) + 5s (kernel) + 3s (userspace) = 24s

Booting system from hibernate image: 13s (firmware) + 3s (loader) + 5s (kernel) + 3s (userspace) = 24s

If it weren't for the logs or my programs being restored properly I'd say hibernate doesn't even work.

@memoriesin8bit I think it about same for me.
but you finally fixed your sleep with nvidia?

@danil Nah. I think I can fix it if I try enough suggestions (it's likely some ACPI setting). But each failed attempt means an unclean boot. Sorry if I said that already. So I rather played with Hibernate or just turning the PC off if I'm away for half an hour or more.

@memoriesin8bit what work for me:

- Opensuse Tumbleweed
- Nvidia driver from nvidia website in run package
- install packages in yast kernel-source kernel-devel and gcc (default development, I dont remember full list, maybe this enough)
- reboot - press E in Grub menu - move to "kernel options" ...splash=silent quiet... - add(number) 3
- boot will be terminal screen - get root(su) - sh nvidia.run
- after it installed and you boot normaly - edit from root files - gist.github.com/danilw/000f6aa

Nvidia make suspend work in Linux in Wayland. GitHub Gist: instantly share code, notes, and snippets.
GistNvidia make suspend work in Linux in WaylandNvidia make suspend work in Linux in Wayland. GitHub Gist: instantly share code, notes, and snippets.

@danil Before I do ALL of that, how do I even know if it's related to the nvidia driver?

@memoriesin8bit what you mean "related to driver"?

if you on integrated+discrete - and use integrated gpu - you can uninstall Nvidia drivers that you currently have (in package I assume) - reboot and test if suspend work (it should)

I have amd integrated+nvidia discrete - without nvidia drivers suspend work, and with also
but now I use nvidia as main - this why I needed all this setup

@danil No I mean you just assume that the suspend doesn't work because the Nvidia GPU. What makes you think that? How do you know if it's not related to the mainboard? Or ACPI settings? Or any other arbitrary hardware connected via USB? If I had the exact same machine as you, I'd understand, but this seems like a long shot. a VERY long shot if it includes switching my OS.

@memoriesin8bit reset bios to default - (just click reset to default options in bios menu) - suspend must work with default options

You can install WIndows to test - if it work there it obviously should work on Linux.

Even if your PC from 2015 - it already "good enough" to have everything work as expected in Linux - I do not know "huge serious conflicts" in suspend in Linux-mainboard.

All I knew - were fixed before 2015.

8Bit | :linux: :godot: | 🍶🦊

@danil I appreciate the efforts, but you assume a LOT. Yes, suspend works on Windows. So resetting the BIOS - which I did just the other day when I upgraded the firmware. None of that helps. And no matter the amount of "works for me" or "it should work" will help.

Even the system journal doesn't help as it ends with "suspend state reached". It gets there. Linux thinks the system is suspended. But the board doesn't switch it off.

@memoriesin8bit it just default steps for this context

do you use secure boot?
maybe it because of it....
but ye it weird if you did alot of testing and it still does not work.

another obvious stuff to say is - try different distros