You are not logged in.
I have upgraded my system simply by starting paru. After the restart suspend stopped to work. I suspect that the problem is the linux kernel or nvidia-340xx-dkms package, but I don't know how do diagnose the problem. I don't know which log file should I post. Please help.
Last edited by barney (2024-08-06 18:53:21)
Offline
Paru is not an official tool. Paru is an AUR helper. You don't "simply start" paru, You run it. You run it for specific things. (My opinion anyway.) Pacman should be used for system updates
As regards the suspend issue, have a look at the link, perhaps it will help.
https://download.nvidia.com/XFree86/Lin … ement.html
Below, this helped a person on this platform . Basically what he did was the part listed below, this might not necessarily be exactly the same for you.
The NVIDIA systemd services that need to be enabled:
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
Last edited by johnpiers (2024-08-06 02:03:31)
Offline
Paru is not an official tool. Paru is an AUR helper. You don't "simply start" paru, You run it. You run it for specific things. (My opinion anyway.) Pacman should be used for system updates
I have used paru for system upgrades for more then a year, never have problems. This is the first time.
As regards the suspend issue, have a look at the link, perhaps it will help.
https://download.nvidia.com/XFree86/Lin … ement.html
The link is incomplete/incorrect.
Below, this helped a person on this platform . Basically what he did was the part listed below, this might not necessarily be exactly the same for you.
The NVIDIA systemd services that need to be enabled:
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
I don't have any of these services.
Offline
I have used paru for system upgrades for more then a year, never have problems.
Yes, but most certainly not by "simply starting" it… AUR helpers are for convenience, they don't excuse having no idea about what's actually going on.
On topic: the problem might be the systemd userspace freeze, it doesn't work w/ nvidia
https://bbs.archlinux.org/viewtopic.php?id=296954
But also the nvidia modules failed to build against 6.10
dkms status
uname -a
modinfo nvidia 2>&1 | head -10Online
I have used paru for system upgrades for more then a year, never have problems.
Yes, but most certainly not by "simply starting" it… AUR helpers are for convenience, they don't excuse having no idea about what's actually going on.
What is the advice here? Use pacman -Syu for system update and after that use paru to update the packages from AUR?
On topic: the problem might be the systemd userspace freeze, it doesn't work w/ nvidia
https://bbs.archlinux.org/viewtopic.php?id=296954
I know nothing about systemd drop in files. What I have understand from context from the link you have posted. I have made two directories in /etc/systemd/system, one systemd-suspend.service.d and the second systemd-homed.service.d. In these directories I have placed two files, one disable_freeze_user_session.conf and the second systemd_home_lock_freeze_sesion.conf with contents:
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"and
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"This didn't helped.
But also the nvidia modules failed to build against 6.10
dkms status uname -a modinfo nvidia 2>&1 | head -10
dkms status
nvidia/340.108, 6.10.2-arch1-2, x86_64: installed
uname -a
Linux living 6.10.2-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 03 Aug 2024 17:56:17 +0000 x86_64 GNU/Linux
modinfo nvidia 2>&1 | head -10
filename: /lib/modules/6.10.2-arch1-2/updates/dkms/nvidia.ko.zst
alias: char-major-195-*
version: 340.108
supported: external
license: GPL
srcversion: 07387C7C5FD301C178C304A
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*Offline
Update:
After pacman -Syu and added two drop in files suspend works again.
Offline