After upgrade to to Tumbleweed on my desktop the suspend function appears not to function properly, i.e. does not suspend completely, and cannot be recalled from this mode.
The machine has to be forcibly shut down and restarted.# System Details Report
I suggest to try sudo zypper in kernel-longterm and then reboot. That old 945G iGPU, if thatâs what you are still depending on, requires xf86-video-intel, which has been in maintenance only mode for a very long time.
Doesnât work with kernel-longterm and xf86-video-intel. By the way, after installation of the xf86-video-intel via Yast, the only reference to it under root/ was a license file
The effect was that after power on (cold start) and not logging in yet, the machine went into âsuspendâ mode after a while, from which it was possible to recover and continue as normal. In other words âsuspendâ seemed to work in part.
I confirmed that, in general, logging out first and then performing suspend and recover from suspend also seems to work as expected. So what are the steps needed to get âsuspendâ properly again, i.e. without the workaround of having to log out first?
And, by the way, shouldnât log out/log in operation return the desktop to the status before logout? Now, however, the whole cold start sequence starts âzypp-main, btrfs-cleaner, usw
Apparently, Svyatko believes your 2G current swapspace may be inadequate in size for proper operation of suspend. I believe that could be a correct supposition. It is generally recommended that swapspace be no smaller than installed RAM size, and you have 4G of RAM.
Sounds like I have to backup and reformat disks etc. I would not have taken this risk had I known what it entailed - somewhat untypical in my long experience with OpenSUSE. Migrate back to Leap 15.6? Is that an option?
What OP needs - âSuspend (to memory)â or "Hibernation (suspend to disk) "?
For âSuspend (to memory)â big swap is not needed.
But for 4 GB RAM and TW I recommend bigger swap anyway.
Your CPU is not compatible with Leap 16.0 - you cannot upgrade Leap 15.6 to it in the future.
Bad idea, but there may be other options to suggest if you provide output from fdisk -l.
Even without that information you have a relatively simple way out: Buy a 250G or 256G or larger SSD to replace the existing. By cloning from your 240 to a 250 you gain ~10G freespace that can be allocated to a new swap partition.
1 Swap partition/swap file
The swap partition was set up by the OpenSUSE installation procedure. I might have approved the Leap 15 suggestion at the time but how would I overwrite that now?
2. Whatâs the difference between suspend and hibernation? I have always assumed they are alternative names for the same thing.
Re. 1:
There is quite a lot of good reads about the difference
Re. 2:
Suspend keeps the RAM powered, so waking up uses the RAM state
Hibernation (by openSUSE default) writes the RAM state to the swap (partition or file ), sets some flag and then powers off. Waking up loads the data from swap.
It looks like I am faced with 2 options in that scenario
Releasing 4 GB of memory from my main partition and creating a new snap partition from 2, currently non-contiguous, memory sections. Presumably, this would require reformatting both partitions and reinstalling everything.
Deleting the current 2GB swap partition and allocating the memory to the main partition. Is this what is called deactivating the swap partition? Then, presumably, I could extend the memory of the main partition and allocate 6 GB for swap file.
Is my understand correct? What do I have to bear in mind in the case 2 regard protection of data and system integrity?