The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Laptop resume from sleep stopped working [SOLVED] » 2025-01-28 11:19:34

Sorry for noise.
My fault. Script should be following instead:

#!/bin/sh

/usr/bin/logger -t "DEBUG" -s "/etc/elogind/system-sleep/nvidia $1 $2"

case "$1/$2" in
    pre/suspend)
        /usr/bin/nvidia-sleep.sh "suspend"
        ;;
    post/suspend)
        /usr/bin/nvidia-sleep.sh "resume"
        ;;
esac

#2 Hardware & System Configuration » Laptop resume from sleep stopped working [SOLVED] » 2025-01-25 15:34:54

MageSlayer
Replies: 1

Hi all

I am under Excalibur.
I am not sure what is the culprit, but day or two ago I upgraded elogind to version 255.17-1 and polkitd 126-2devuan1.

Now my script in /etc/elogind/system-sleep/nvidia for resuming NVidia Prime hackery below does not show resumes neither under "deep" nor "s2idle" settings.
I tried changing SuspendMode in /etc/elogind/sleep.conf.d/10-elogind.conf.
user.log shows only "pre/post" "suspend" invocations.

Manually executing /etc/elogind/system-sleep/nvidia script and passing "post" "resume" args to it works fine & resumes GUI.

#!/bin/sh

/usr/bin/logger -t "DEBUG" -s "/etc/elogind/system-sleep/nvidia $1 $2"

case "$1/$2" in
    pre/suspend)
        /usr/bin/nvidia-sleep.sh "suspend"
        ;;
    post/resume)
        /usr/bin/nvidia-sleep.sh "resume"
        ;;
esac

 

P.S. Recent elogind-255.17-2 does NOT solve the problem (neither in "deep" nor in "s2idle" modes)

Any help?

#3 Re: Hardware & System Configuration » NVidia driver needs more hacks » 2024-10-14 17:40:38

Just in case if it's still matters.

Creating /etc/elogind/system-sleep/nvidia with following contents & making it executable:

#!/bin/sh

case "$1" in
    pre)
        /usr/bin/nvidia-sleep.sh "suspend"
        ;;
    post)
        /usr/bin/nvidia-sleep.sh "resume"
        ;;
esac

... and uncommenting following line in /etc/modprobe.d/nvidia-options.conf:

options nvidia-current NVreg_PreserveVideoMemoryAllocations=1

... seems to make it work. And Firefox becomes stable again!

#4 Hardware & System Configuration » NVidia driver needs more hacks » 2024-09-28 07:01:07

MageSlayer
Replies: 2

Hi all

I don't know if it's the right place to report issues.
But I'd like to report.
Looks like nvidia driver needs some more attention to work properly.

Currently it requires nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service running to avoid crashes on resume for certain application.
Specifically Firefox with hardware acceleration enabled crashes on resume without those "services".

See https://github.com/elFarto/nvidia-vaapi … 2164389423 and https://wiki.archlinux.org/title/NVIDIA … er_suspend for details.

BR

#5 Re: Installation » libelogind-compat has incompatible version » 2024-03-03 21:48:38

Nope.

But usrmerge is already installed for some reason:

$ sudo apt policy usrmerge
usrmerge:
  Installed: 39
  Candidate: 39
  Version table:
 *** 39 500
        500 http://deb.devuan.org/merged excalibur/main amd64 Packages
        500 http://deb.devuan.org/merged excalibur/main i386 Packages

#6 Re: Installation » libelogind-compat has incompatible version » 2024-03-03 21:35:31

I tried having following only.

deb http://deb.devuan.org/merged excalibur main non-free contrib non-free-firmware
deb-src http://deb.devuan.org/merged excalibur          main non-free contrib

... but it does not help.

Ok, I'll try to wait a bit.

#7 Installation » libelogind-compat has incompatible version » 2024-03-03 20:22:37

MageSlayer
Replies: 6

Hi

After dist-upgrade I am getting errors with libpam-modules-bin & related packages.
See below.
I managed to install them anyway, because otherwise OS stopped booting.

As far as I understand, it happens because libelogind-compat has version 252.9-2, but libpam-modules-bin requires 254 and later.

$ sudo apt-get install mc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mc is already the newest version (3:4.8.30-1).
mc set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libpam-modules-bin:i386 : Depends: libsystemd0:i386 (>= 254)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

$ sudo apt policy libelogind-compat
libelogind-compat:
  Installed: 252.9-2
  Candidate: 252.9-2
  Version table:
 *** 252.9-2 500
        500 http://deb.devuan.org/merged ceres/main amd64 Packages
        500 http://deb.devuan.org/merged excalibur/main amd64 Packages
        100 /var/lib/dpkg/status

My apt/sources.list is:

deb http://deb.devuan.org/merged ceres          main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged ceres          main contrib non-free

deb http://deb.devuan.org/merged excalibur main non-free contrib non-free-firmware
deb-src http://deb.devuan.org/merged excalibur          main non-free contrib

Any help?

Board footer

Forum Software