Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to suspend and hibernate

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
sheltiedog
Posts: 2
Joined: 2022-07-05 05:45

Unable to suspend and hibernate

#1 Post by sheltiedog »

Greetings.
I just installed Debian 11, and just from the start, it's not been possible to suspend or to hibernate. Interface buttons don't work, and neither does

Code: Select all

systemctl suspend
. When set to suspend everything freezes, the scree turns black (but does not fully turn off) and then, after a minute or two, the login screen is shown.
Swap partition is twice as big as available RAM .
I'm using an Intel G33 as GPU, and xserver-xorg-video-intel as its driver.

Any ideas?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Unable to suspend and hibernate

#2 Post by Head_on_a_Stick »

sheltiedog wrote: 2022-07-05 06:18xserver-xorg-video-intel as its driver
Does removing that package help? The modesetting DDX driver is reported to be less buggy and Debian advise using that instead.

You can also try adding the i915 kernel module to /etc/initramfs-tools/modules to enable early KMS. Remember to update the initramfs afterwards:

Code: Select all

# update-initramfs -u -k all
Otherwise check the journal for errors.
deadbang

sheltiedog
Posts: 2
Joined: 2022-07-05 05:45

Re: Unable to suspend and hibernate

#3 Post by sheltiedog »

No, I had alredy tried that, but when removed, it won't boot.

This is what I have:

Code: Select all

[  282.533655] Freezing of tasks failed after 20.008 seconds (2 tasks refusing to freeze, wq_busy=0):
[  282.533774] task:gst-plugin-scan state:D stack:    0 pid: 1307 ppid:   978 flags:0x00000004

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Unable to suspend and hibernate

#4 Post by Aki »

Hello,
You should try to identify the two processes that cannot be suspended: perharps more info are in the system journal.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Unable to suspend and hibernate

#5 Post by Head_on_a_Stick »

sheltiedog wrote: 2022-07-06 09:45No, I had alredy tried that, but when removed, it won't boot.
Don't be silly. Removing a DDX video driver would only stop the graphical desktop from loading. The consoles should be working just fine if you switch to one. From there you can check the X.Org log to find the location of the configuration file that is attempting to force the Intel DDX driver. If you can't figure that out then post the X.Org log here using the pastebinit package.

Did you try enabling early KMS for the i915 kernel module?
deadbang

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Unable to suspend and hibernate

#6 Post by p.H »

It seems that many people call "boot" anything that happens from power-up till the desktop environment is loaded.

Post Reply