#[SOLVED (Kinda)] Suspend randomly fails

32 messages · Page 1 of 1 (latest)

zenith wigeon
#

Using systemctl suspend is usually successful, but has a random chance to fail and lock me in a state where I can do nothing but hard reset.
It worked a while back, when I started using arch, I'm sure it still works on my other installs where I don't update too

#

Ends with me doing a hard reset

swift sinew
#

@zenith wigeon Looks like an nvidia problem

#

Are you using nvidia-open or nvidia?

zenith wigeon
#

nvidia-dkms

#

never had issues before

#

As long as I enable some nvidia services

#

and I do have them enabled

swift sinew
#

After you updated it worked right?

zenith wigeon
#

before*

#

idk when, or with what updated

#

but it stopped working at some point

swift sinew
#

When was the last time that worked well?

zenith wigeon
#

uh, probably around kernel 6.4 released?

#

maybe earlier

swift sinew
#

Then try downgrading the kernel and see if the issue still persists @zenith wigeon

#

You know how to do it right?

zenith wigeon
#

nope

#

I doubt I have old package locally, if that's what you mean

#

and idk where I would get it

swift sinew
# zenith wigeon and idk where I would get it

do wget https://archive.archlinux.org/repos/2023/06/27/core/os/x86_64/linux-6.3.9.arch1-1-x86_64.pkg.tar.zst and wget https://archive.archlinux.org/repos/2023/06/27/core/os/x86_64/linux-headers-6.3.9.arch1-1-x86_64.pkg.tar.zst

#

then install them using sudo pacman -U linux-6.3.9.arch1-1-x86_64.pkg.tar.zst linux-headers-6.3.9.arch1-1-x86_64.pkg.tar.zst

#

Restart and then try suspending again

zenith wigeon
#

suspended 3 times with 6.3.9 kernel all seem successful

#

but I still can't say it works for sure

#

since the suspend is crashing randomly

#

and idk what the condition for it even is

#

I'll keep using this kernel version for now, and if I wont encounter this issue anymore, I think it's safe to say it's working

zenith wigeon
#

@swift sinew I think I found the issue? It happens specifically when I'm running xwayland instance of vscode. Even though running it on wayland lets me suspend without issues

#

But vscode on wayland is really unstable and has a high chance to crash on startup

#

But yeah I've been using vscode on wayland before I noticed the issue