The officially official Devuan Forum!

You are not logged in.

#1 2023-10-20 02:43:08

rbit
Member
Registered: 2018-06-12
Posts: 41  

video not waking up after suspend

I'm running Daedalus amd64 with xfce and sysvinit, kernel 6.1.0-13.
The problem just started happening some time in the week or so.  I regularly suspend my PC overnight and awaken it in the morning.  Now, when I awaken it, the monitors are all blank for about a minute, and then show some strange patterns on them.  My suspend script (which has not changed recently) calls /usr/bin/xflock4 followed by /usr/sbin/pm-suspend .  The computer, upon awakening, is not completely frozen; I can use the SysRq keys to force a reboot, or even switch to a vt (ctrl-alt-function key) and then ctrl-alt-delete to reboot.  But it is annoying; I generally have some (or many) things open and ready to resume  work with in the morning.  From browsing through my apt history.log, I am suspecting it may be the recent updates to xserver-xorg-cor and xserver-common, but I don't have the older debs to downgrade those packages.  I have tried a few things, in an attempt to narrow down the problem.  1st, I tried booting into an older kernel (6.1.0-12), that made no difference.  I tried re-installing my nvidia driver (470.199.02; the card is GeForce GTX 650), that made no difference.  I tried closing X down, logged into a VT, and ran pm-suspend.  In the morning, blank screen on the VT, but I could type startx and had the GUI working, but all the VTs (ctrl-alt-function keys) were blank.  So that was weird.  And not really a solution because I would like to have things open in X when I suspend/resume.  The very latest package I had installed before this started was arandr; but I purged that and it didn't help.  Other than that, there were several package upgrades around that time, but nothing seemed suspicious to me.  Any ideas / what else can I check?

Start-Date: 2023-10-07  14:06:37
Commandline: apt upgrade
Install: linux-headers-6.1.0-13-amd64:amd64 (6.1.55-1, automatic), linux-image-6.1.0-13-amd64:amd64 (6.1.55-1, automatic), linux-headers-6.1.0-13-common:amd64 (6.1.55-1, automatic)
Upgrade: telnet:amd64 (0.17+2.4-2, 0.17+2.4-2+deb12u1), libcups2:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u1, 7.88.1-10+deb12u3), qemu-system-x86:amd64 (1:7.2+dfsg-7+deb12u1, 1:7.2+dfsg-7+deb12u2), libcurl4:amd64 (7.88.1-10+deb12u1, 7.88.1-10+deb12u3), libxnvctrl0:amd64 (525.85.05-1, 525.85.05-3~deb12u1), libpam-runtime:amd64 (1.5.2-6, 1.5.2-6+deb12u1), libvpx7:amd64 (1.12.0-1+deb12u1, 1.12.0-1+deb12u2), krb5-locales:amd64 (1.20.1-2, 1.20.1-2+deb12u1), libgssapi-krb5-2:amd64 (1.20.1-2, 1.20.1-2+deb12u1), libcurl3-gnutls:amd64 (7.88.1-10+deb12u1, 7.88.1-10+deb12u3), openssh-client:amd64 (1:9.2p1-2, 1:9.2p1-2+deb12u1), calibre-bin:amd64 (6.13.0+repack-2, 6.13.0+repack-2+deb12u1), libkf5plasmaquick5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), libnftables1:amd64 (1.0.6-2+deb12u1, 1.0.6-2+deb12u2), libgtk-4-common:amd64 (4.8.3+ds-2, 4.8.3+ds-2+deb12u1), cups-bsd:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), libx11-xcb1:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), cups-common:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), libldb2:amd64 (2:2.6.2+samba4.17.10+dfsg-0+deb12u1, 2:2.6.2+samba4.17.11+dfsg-0+deb12u1), mariadb-client-core:amd64 (1:10.11.3-1, 1:10.11.4-1~deb12u1), libqt5positioning5:amd64 (5.15.8+dfsg-3, 5.15.8+dfsg-3+deb12u1), libc++1:amd64 (1:14.0-55.6, 1:14.0-55.7~deb12u1), libbrlapi0.8:amd64 (6.5-7, 6.5-7+deb12u1), grub-pc-bin:amd64 (2.06-13, 2.06-13+deb12u1), libgs10-common:amd64 (10.0.0~dfsg-11+deb12u1, 10.0.0~dfsg-11+deb12u2), cups-client:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), cups-ppdc:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), cups-daemon:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), linux-compiler-gcc-12-x86:amd64 (6.1.52-1, 6.1.55-1), libgs10:amd64 (10.0.0~dfsg-11+deb12u1, 10.0.0~dfsg-11+deb12u2), pandoc-data:amd64 (2.17.1.1-1.1, 2.17.1.1-2~deb12u1), transmission-gtk:amd64 (3.00-2.1+b1, 3.00-2.1+deb12u1), mariadb-server-core:amd64 (1:10.11.3-1, 1:10.11.4-1~deb12u1), debianutils:amd64 (5.7-0.4, 5.7-0.5~deb12u1), libwbclient0:amd64 (2:4.17.10+dfsg-0+deb12u1, 2:4.17.11+dfsg-0+deb12u1), linux-headers-amd64:amd64 (6.1.52-1, 6.1.55-1), openssh-server:amd64 (1:9.2p1-2, 1:9.2p1-2+deb12u1), libkrb5support0:amd64 (1.20.1-2, 1.20.1-2+deb12u1), libsmbclient:amd64 (2:4.17.10+dfsg-0+deb12u1, 2:4.17.11+dfsg-0+deb12u1), libimlib2:amd64 (1.10.0-4+b1, 1.10.0-4+deb12u1), gir1.2-gtk-3.0:amd64 (3.24.37-2, 3.24.38-2~deb12u1), libxpm4:amd64 (1:3.5.12-1.1, 1:3.5.12-1.1+deb12u1), linux-kbuild-6.1:amd64 (6.1.52-1, 6.1.55-1), cups-ipp-utils:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), debian-archive-keyring:amd64 (2023.3, 2023.3+deb12u1), qemu-utils:amd64 (1:7.2+dfsg-7+deb12u1, 1:7.2+dfsg-7+deb12u2), libx11-data:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), inetutils-ping:amd64 (2:2.4-2, 2:2.4-2+deb12u1), ghostscript:amd64 (10.0.0~dfsg-11+deb12u1, 10.0.0~dfsg-11+deb12u2), libssl3:amd64 (3.0.9-1, 3.0.11-1~deb12u1), libkrb5-3:amd64 (1.20.1-2, 1.20.1-2+deb12u1), libpam-modules:amd64 (1.5.2-6, 1.5.2-6+deb12u1), libhwy1:amd64 (1.0.3-3, 1.0.3-3+deb12u1), linux-image-amd64:amd64 (6.1.52-1, 6.1.55-1), libvte-2.91-common:amd64 (0.70.6-1~deb12u1, 0.70.6-2~deb12u1), inetutils-telnet:amd64 (2:2.4-2, 2:2.4-2+deb12u1), libk5crypto3:amd64 (1.20.1-2, 1.20.1-2+deb12u1), libssl-dev:amd64 (3.0.9-1, 3.0.11-1~deb12u1), libx11-xcb-dev:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), calibre:amd64 (6.13.0+repack-2, 6.13.0+repack-2+deb12u1), libcupsimage2:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), mariadb-common:amd64 (1:10.11.3-1, 1:10.11.4-1~deb12u1), libpam-modules-bin:amd64 (1.5.2-6, 1.5.2-6+deb12u1), grub2-common:amd64 (2.06-13, 2.06-13+deb12u1), qemu-system-common:amd64 (1:7.2+dfsg-7+deb12u1, 1:7.2+dfsg-7+deb12u2), libx11-dev:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), libx11-doc:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), openssh-sftp-server:amd64 (1:9.2p1-2, 1:9.2p1-2+deb12u1), libpam0g:amd64 (1.5.2-6, 1.5.2-6+deb12u1), grub-common:amd64 (2.06-13, 2.06-13+deb12u1), libgtk-3-0:amd64 (3.24.37-2, 3.24.38-2~deb12u1), libgtk-4-1:amd64 (4.8.3+ds-2, 4.8.3+ds-2+deb12u1), cups-core-drivers:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), samba-libs:amd64 (2:4.17.10+dfsg-0+deb12u1, 2:4.17.11+dfsg-0+deb12u1), libmariadb3:amd64 (1:10.11.3-1, 1:10.11.4-1~deb12u1), transmission-common:amd64 (3.00-2.1, 3.00-2.1+deb12u1), gtk-update-icon-cache:amd64 (3.24.37-2, 3.24.38-2~deb12u1), libgtk-3-common:amd64 (3.24.37-2, 3.24.38-2~deb12u1), libkf5plasma5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), libvpx-dev:amd64 (1.12.0-1+deb12u1, 1.12.0-1+deb12u2), libgtk-3-bin:amd64 (3.24.37-2, 3.24.38-2~deb12u1), libmariadb-dev:amd64 (1:10.11.3-1, 1:10.11.4-1~deb12u1), libgtk-3-dev:amd64 (3.24.37-2, 3.24.38-2~deb12u1), cups:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), curl:amd64 (7.88.1-10+deb12u1, 7.88.1-10+deb12u3), libgs-common:amd64 (10.0.0~dfsg-11+deb12u1, 10.0.0~dfsg-11+deb12u2), libx11-6:amd64 (2:1.8.4-2+deb12u1, 2:1.8.4-2+deb12u2), transmission:amd64 (3.00-2.1, 3.00-2.1+deb12u1), cups-server-common:amd64 (2.4.2-3+deb12u1, 2.4.2-3+deb12u4), libvte-2.91-0:amd64 (0.70.6-1~deb12u1, 0.70.6-2~deb12u1), qemu-system-data:amd64 (1:7.2+dfsg-7+deb12u1, 1:7.2+dfsg-7+deb12u2), plasma-framework:amd64 (5.103.0-1, 5.103.0-1+deb12u1), grub-pc:amd64 (2.06-13, 2.06-13+deb12u1), qemu-system-gui:amd64 (1:7.2+dfsg-7+deb12u1, 1:7.2+dfsg-7+deb12u2), openssl:amd64 (3.0.9-1, 3.0.11-1~deb12u1), pandoc:amd64 (2.17.1.1-1.1, 2.17.1.1-2~deb12u1), nftables:amd64 (1.0.6-2+deb12u1, 1.0.6-2+deb12u2), linux-libc-dev:amd64 (6.1.52-1, 6.1.55-1)
End-Date: 2023-10-07  14:08:07

Start-Date: 2023-10-07  16:54:29
Commandline: apt upgrade --fix-missing
Upgrade: dbus-daemon:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), libdbus-1-3:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), dbus-bin:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), dbus-x11:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), eudev:amd64 (3.2.12-1, 3.2.12-4+deb12u1), dbus-session-bus-common:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), libeudev-dev:amd64 (3.2.12-1, 3.2.12-4+deb12u1), libdbus-1-dev:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), dbus-system-bus-common:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), dbus:amd64 (1.14.6-1devuan1, 1.14.10-1~deb12u1devuan1), libeudev1:amd64 (3.2.12-1, 3.2.12-4+deb12u1)
End-Date: 2023-10-07  16:54:40

Start-Date: 2023-10-07  17:00:58
Commandline: apt autoremove
Purge: linux-image-6.1.0-11-amd64:amd64 (6.1.38-4), linux-headers-6.1.0-11-common:amd64 (6.1.38-4), linux-headers-6.1.0-11-amd64:amd64 (6.1.38-4)
End-Date: 2023-10-07  17:01:07

Start-Date: 2023-10-08  17:18:56
Commandline: apt upgrade
Upgrade: python2.7-minimal:amd64 (2.7.18-13ubuntu2, 2.7.18-13ubuntu2), xserver-xorg-core:amd64 (2:21.1.7-3devuan1, 2:21.1.7-3devuan2), palemoon:amd64 (32.4.0.1-1.gtk2, 32.4.0.1-1.gtk2), xserver-common:amd64 (2:21.1.7-3devuan1, 2:21.1.7-3devuan2)
End-Date: 2023-10-08  17:19:00

Start-Date: 2023-10-08  17:20:25
Commandline: apt remove python2.7 python2.7-minimal libpython2.7-minimal libpython2.7-stdlib
Purge: python2.7-minimal:amd64 (2.7.18-13ubuntu2), python2.7:amd64 (2.7.18-13ubuntu2), libpython2.7-minimal:amd64 (2.7.18-13ubuntu2), libpython2.7-stdlib:amd64 (2.7.18-13ubuntu2)
End-Date: 2023-10-08  17:20:27

Start-Date: 2023-10-13  00:00:03
Commandline: apt upgrade --fix-missing
Upgrade: libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u3, 7.88.1-10+deb12u4), libcurl4:amd64 (7.88.1-10+deb12u3, 7.88.1-10+deb12u4), libcurl3-gnutls:amd64 (7.88.1-10+deb12u3, 7.88.1-10+deb12u4), chromium-sandbox:amd64 (117.0.5938.149-1~deb12u1, 118.0.5993.70-1~deb12u1), libldb2:amd64 (2:2.6.2+samba4.17.11+dfsg-0+deb12u1, 2:2.6.2+samba4.17.12+dfsg-0+deb12u1), libjavascriptcoregtk-4.1-0:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), gir1.2-javascriptcoregtk-4.0:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), gir1.2-webkit2-4.0:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), libwbclient0:amd64 (2:4.17.11+dfsg-0+deb12u1, 2:4.17.12+dfsg-0+deb12u1), libsmbclient:amd64 (2:4.17.11+dfsg-0+deb12u1, 2:4.17.12+dfsg-0+deb12u1), chromium:amd64 (117.0.5938.149-1~deb12u1, 118.0.5993.70-1~deb12u1), libjavascriptcoregtk-4.0-18:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), libwebkit2gtk-4.1-0:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), chromium-common:amd64 (117.0.5938.149-1~deb12u1, 118.0.5993.70-1~deb12u1), samba-libs:amd64 (2:4.17.11+dfsg-0+deb12u1, 2:4.17.12+dfsg-0+deb12u1), libwebkit2gtk-4.0-37:amd64 (2.40.5-1~deb12u1, 2.42.1-1~deb12u1), curl:amd64 (7.88.1-10+deb12u3, 7.88.1-10+deb12u4)
End-Date: 2023-10-13  00:00:14

Start-Date: 2023-10-13  22:05:50
Commandline: apt install arandr
Install: arandr:amd64 (0.1.11-1)
End-Date: 2023-10-13  22:05:53

Start-Date: 2023-10-16  08:30:57
Commandline: apt purge arandr
Purge: arandr:amd64 (0.1.11-1)
End-Date: 2023-10-16  08:31:00

Offline

#2 2023-10-20 16:03:44

semil
Member
Registered: 2023-08-05
Posts: 16  

Re: video not waking up after suspend

There's a more recent fix in the X server that could be relevant: https://bugs.devuan.org/cgi/bugreport.cgi?bug=799. And, if nowhere else, I suppose you could get the old debs out of installation media.

Offline

#3 2023-10-21 00:14:06

rbit
Member
Registered: 2018-06-12
Posts: 41  

Re: video not waking up after suspend

semil wrote:

you could get the old debs out of installation media.

Thanks for the suggestion.  Again, I'm not sure what started the problem, but at least I can roll back these updates and try to narrow it down, hopefully :-)

Offline

#4 2023-10-21 01:37:43

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,131  

Re: video not waking up after suspend

Yes Xorg has gone through a couple of steps through partially defunct versions. This originates in the sudden fork need when debian tied Xorg to systemd as way of supporting the use case of "non-root process owner without direct access to input device nodes". The solution was to interact over dbus with logind for mediating input access  and thereby draw Xorg into the systemd  web of entanglement.

The immediate fork remedy was to instead use libseat and offer the alternatives of using seatd as well as logind (over dbus) for input mediation, as well as including a "built-in" variant for system cases where the non-root user does have direct input access.. This forking task has taken a couple of iterations to stabilize. Supposedly it's now in good working condition.

Offline

#5 2023-10-21 14:03:25

rbit
Member
Registered: 2018-06-12
Posts: 41  

Re: video not waking up after suspend

OK, so...yesterday I  downgraded xserver-xorg-core and xserver-common to the versions on the installation media (as suggested by semil).

apt-cache policy xserver-common xserver-xorg-core
xserver-common:
  Installed: 2:21.1.7-3devuan1
  Candidate: 2:21.1.7-3devuan2
  Version table:
     2:21.1.7-3devuan2 500
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
 *** 2:21.1.7-3devuan1 100
        100 /var/lib/dpkg/status
xserver-xorg-core:
  Installed: 2:21.1.7-3devuan1
  Candidate: 2:21.1.7-3devuan2
  Version table:
     2:21.1.7-3devuan2 500
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
 *** 2:21.1.7-3devuan1 100
        100 /var/lib/dpkg/status

I rebooted (maybe not necessary) and restarted X.  Suspended the computer last night; upon waking it up this morning, the screens came back up as they should.  So one of those packages is the culprit.  I can be content using the older versions of these and leave things alone.
Other info:
This system has been upgraded over and over since Jessie.  I don't use a gui login (such as slim) anymore, nor do I run X as root.  Some things that are installed are (or were) defaults and I'm not that knowledgeable about what's best.  When I do apt search seat I find that I have the following installed: elogind, libelogind-compat, libelogind0, libseat1.  I do not have seatd installed.  Does this replace elogind?  Could installing seatd fix the issue I'm having with the latest xserver?  I just might try that anyway and find out...

Offline

#6 2023-10-21 14:54:22

yemuyin
Member
Registered: 2023-09-14
Posts: 16  

Re: video not waking up after suspend

Hi, si guardas tu sessión de xfce, puedes apagar y cuando vuelvas a a arrancar, te abrirá las apps que tenías funcionando
Un saludo

Offline

#7 2023-10-22 16:56:50

rbit
Member
Registered: 2018-06-12
Posts: 41  

Re: video not waking up after suspend

OK, so after installing seatd, and re-upgrading xserver-common and xserver-xorg-core, awaking the computer from suspend did not properly wake up the monitors [no input signal].  Today, I've downgraded xserver-common and left xserver-xorg-core upgraded (weird, I know) to try to see which of those 2 packages is causing this.  I know, I could save the xfce session and shut down as a workaround.  I'd like to get this working properly, though :-)

Offline

Board footer