Hello!
I have the same problem.
There doesn’t seem to be much information about this problem, even the Arch wiki says that the (possible) solution (https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend) might lack accuracy.
Also, or there’s too few people with this kind of problem, or nobody has found a true solution for this problem, and, if someone actually has one, they apparently haven’t shared it, or the problem is very hardware dependent (I seriously doubt this) or I don’t know what, but nothing points to something that actually solves the problem.
I personally tried that “solution” from the Arch wiki (and a few other things that didn’t work either), but it didn’t do anything (while the “solution” was active in my system at least).
The strange thing is that right after removing the configuration (I removed it because it apparently wasn’t doing anything anyway and I didn’t reboot the system after that), the “Sleep” function started “magically” “working” on Wayland (at least until now, this because I did that just a day ago and I haven’t rebooted the system since then)(I have put it to sleep twice until now), and I say “working” because the computer at least goes to sleep (before this, it just went to “sleep” and awoke itself immediately, making it impossible to put the thing to sleep).
I still have to deal with a totally freaking distorted interface after waking it up, but, at least I just have to logout and then login again and everything goes back to normal (better than nothing I guess).
I also tried these:
https://wiki.archlinux.org/title/Wayland#Requirements
but nothing seems to do anything.
There’s a pattern that I have noticed (as I been using my system with EOS since it exists), and that is that most of the time (at least until before a few months before this date) those functions worked just fine with “X11”, and they do work at least sporadically with Wayland (on my system at least, since a few months before today), then, when they don’t (not even with X11), it always happens after updating the Linux Kernel, and that makes me wonder if the solution has something to do with something in the Kernel itself, or at least with something connected to the kernel, also, considering that those functions sometimes work just fine (at least with X11), that some other times they kind of work and that other times they don’t work at all, that makes me wonder if maybe the “solution” suddenly “appears” there by “accident”, because they had something there that made those work and some other times they change that something or remove it and then it doesn’t work again.
In my case, those two functions haven’t worked as they should since like a couple of months ago, neither on X11 nor or Wayland.
I have an Nvidia GTX 1080 by the way.
I wonder if more recent models don’t have those issues. Can somebody tell me if that is the case?.
I have to say that at this point my system works just fine with Wayland (on KDE Plasma), but, even when the “Sleep” function works, after waking it up I am always greeted with a at least slightly distorted interface (usually it is totally distorted) and in the worst “days”, I do have to just turn the system off, because it doesn’t respond at all.
Does anybody else has this problem?
Does anybody have any other possible (viable) solutions?
I hope that this stuff gets a fix before X11 becomes obsolete.
Note: I guess you could try the “solution” I added and see if it works for you.