Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend working, hibernate intermittently + fb console issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sjbiaga
n00b
n00b


Joined: 10 Jul 2024
Posts: 7

PostPosted: Tue Jul 30, 2024 12:00 pm    Post subject: suspend working, hibernate intermittently + fb console issue Reply with quote

Hi,

I have a Dell OptiPlex 7010 with Gentoo and pf-sources 6.9.7, systemd, fluxbox, xfce4, display rotated left.

[EDITED] The chvt switch between X and framebuffer is sometimes buggy: the screen is illuminated, but blank, yet I can use [Ctrl+]Alt+Fx combinations to switch between invisible framebuffer console and X.

lspci (i915 driver) output:
Code:
VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller


Whether I try hibernating from xfce4 by a mouse click or hibernating from framebuffer console long pressing the power button, when resuming from hibernation sometimes works, sometimes it just shows a blinking cursor in the top-left corner and no key combination works.

Is this a kernel config problem?

Thanks,
Sebastian

[EDITED] Relevant journalctl output:
Code:

jul 31 14:27:57 unu systemd[1]: Got message type=method_call sender=:1.1 destination=org.freedesktop.systemd1 path=/org/freede>
jul 31 14:27:57 unu systemd[1]: Sent message type=method_return sender=n/a destination=:1.1 path=n/a interface=n/a member=n/a >
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: hibernate.target: Collecting.
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Collecting.
jul 31 14:27:57 unu systemd[1]: sleep.target: Collecting.
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: systemd-networkd.service: Got notification message from PID 1679 (WATCHDOG=1)
jul 31 14:27:57 unu systemd[1]: Got message type=method_call sender=:1.1 destination=org.freedesktop.systemd1 path=/org/freede>
jul 31 14:27:57 unu systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedeskto>
jul 31 14:27:57 unu systemd[1]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.3 path=n/a interface>
jul 31 14:27:57 unu systemd[1]: hibernate.target: Trying to enqueue job hibernate.target/start/replace-irreversibly
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Installed new job systemd-hibernate.service/start as 994
jul 31 14:27:57 unu systemd[1]: hibernate.target: Installed new job hibernate.target/start as 993
jul 31 14:27:57 unu systemd[1]: sleep.target: Installed new job sleep.target/start as 995
jul 31 14:27:57 unu systemd[1]: hibernate.target: Enqueued job hibernate.target/start as 993
jul 31 14:27:57 unu systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedeskto>
jul 31 14:27:57 unu systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedeskto>
jul 31 14:27:57 unu systemd[1]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.3 path=n/a interface>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=method_return sender=n/a destination=:1.1 path=n/a interface=n/a member=n/a >
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.3 path=n/a interface>
jul 31 14:27:57 unu systemd[1]: Match type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.>
jul 31 14:27:57 unu systemd[1]: hibernate.target: starting held back, waiting for: systemd-hibernate.service
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/sleep_>
jul 31 14:27:57 unu systemd[1]: sleep.target changed dead -> active
jul 31 14:27:57 unu systemd[1]: sleep.target: Job 995 sleep.target/start finished, result=done
jul 31 14:27:57 unu systemd[1]: Reached target sleep.target.
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/sleep_>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=o>
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Will spawn child (service_enter_start): /lib/systemd/systemd-sleep
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Passing 0 fds to service
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: About to execute: /lib/systemd/systemd-sleep hibernate
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Forked /lib/systemd/systemd-sleep as 5546
jul 31 14:27:57 unu (md-sleep)[5546]: Found cgroup2 on /sys/fs/cgroup/unified, unified hierarchy for systemd controller
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: systemd-hibernate.service: Changed dead -> start
jul 31 14:27:57 unu systemd[1]: Starting systemd-hibernate.service...
jul 31 14:27:57 unu (md-sleep)[5546]: systemd-hibernate.service: Executing: /lib/systemd/systemd-sleep hibernate
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/sleep_>
jul 31 14:27:57 unu systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/job/994 int>
jul 31 14:27:57 unu systemd[1]: systemd-journald.service: Got notification message from PID 1605 (FDSTORE=1)
jul 31 14:27:57 unu systemd[1]: systemd-journald.service: Trying to stash fd for dev=0:9/inode=35079
jul 31 14:27:57 unu systemd[1]: systemd-journald.service: Added fd 69 (stored) to fd store.
jul 31 14:27:57 unu systemd-sleep[5546]: Entering sleep state 'hibernate'...
jul 31 14:27:57 unu kernel: PM: hibernation: hibernation entry
-- Boot 7c7399c3ee7743d39c560c8d92de36c4 --
jul 31 14:30:27 unu kernel: Linux version 6.9.0-pf7 (root@unu) (x86_64-pc-linux-gnu-gcc (Gentoo Hardened 14.1.1_p20240622 p2) >
jul 31 14:30:27 unu kernel: Command line: auto BOOT_IMAGE=Gentoo-6.9* ro root=801 acpi_osi=Linux processor.max_cstate=2 selinux=0 quiet net.ifnames=0 real_init=/lib/systemd/systemd


Last edited by sjbiaga on Wed Jul 31, 2024 12:07 pm; edited 3 times in total
Back to top
View user's profile Send private message
sublogic
Apprentice
Apprentice


Joined: 21 Mar 2022
Posts: 265
Location: Pennsylvania, USA

PostPosted: Tue Jul 30, 2024 10:34 pm    Post subject: Reply with quote

If resuming to the xfce4 screen, try running xrandr --auto. This means blind-typing ALT-F2 to get a command menu, then xrandr -- auto<RET>. No promises.

From the framebuffer console, I don't know. Usually that works.

EDIT: xrandr is x11-apps/xrandr .
Back to top
View user's profile Send private message
sjbiaga
n00b
n00b


Joined: 10 Jul 2024
Posts: 7

PostPosted: Wed Jul 31, 2024 11:26 am    Post subject: Reply with quote

Despite xfce4 being in graphics mode, while hibernating it switches from X to console.

And when resuming, it gets stuck in the console (the cursor blinking - if visible, sometimes even the cursor is not visible, only the screen blank but illuminated), without a chance to switch back to graphics mode.

I cannot do it blindly because I use fluxbox and ALT-F2 just switches the desktop to 1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum