Manjaro often crash after hibernating or just sleeping

Symptoms
Since few times, my laptop wasn’t so reliable than before and every time it goes in sleep mode then hibernate mode, I found it with full speed fans and blank screen.
My only way out was [Alt]+[Print]+“R”“E”“I”“S”“U”“B”

Troubleshooting
First, I was suspecting my hybrid nvidia/intel GPU card.
Starting with some command like journalctl -b -1 | grep "19:50 to search by hours… often I found some video card related message.
I tried some utilities like sudo envycontrol --switch [integrated/hybrid/nvidia] but no success. By the way, integrated mode let me only one screen (laptop’s one) without any way to use my ultrawide screen: frustrating.

I was then thinking about some peripherals that didn’t want to sleep:
cat /proc/acpi/wakeup | grep "*enabled" help me to search some of them, but that’s not the good way.

Problems stills occurs, like randomly but on video, USB or network card.

I start to resolve problems (using Claude 3.7 AI to learn about commands and parameters, like lspci.
At this point, I was suspecting network Ethernet driver because when coming out from sleep, laptop loose it Ethernet card (realtek).

Solutions
I start to search (still with AI) and it appears r8168 would be better than r8169:
sudo modprobe -r r8169 && sleep 3 && sudo modprobe r8168 && systemctl restart NetworkManager

In the same time, I start to check my kernel:
mhwd-kernel -li
My system was using 6.13.xx kernel, and it’s not an LTS one, so I reboot my laptop, using advanced menu from grub, to restart with 6.12 kernel. Then remove 6.13 and reboot.

These two actions help me a lot, after three consecutive sleeping and hibernating cycles (no shutdown between and no REISUB), laptop resume perfectly (screen, USB and network).

Conclusion
So I decide to write this help for those who are living a similar experience: I’m not an expert (I dislike writing commands if a graphic tool exists… sorry, coming from thirty years of windows :laughing:) but I’m fond of Manjaro and really want to keep it (don’t want Ubuntu or similar distribution)
Today, I’m happy with this great linux OS, with a lot of GUI tool (thanks for Manjaro settings manager, that let me choose kernel for example), KDE plasma and rolling release (but not very happy with *.conf.pacnew management).

Do not use AI for answers. It may often be right, but I’ve seen people really mess up their Manjaro systems by following wrong information given by AI. Current AI models are unaware of when they don’t know something and will give convincing but wrong answers. The Arch Wiki and the Manjaro wiki are accurate sources.

5 Likes

You’re right of course, but I use AI more like a instructor who knows commands and parameters (so it can explain to me) and not as a tool to configure my system.
My prompts are often “could you explain why my laptop isn’t able to leave sleep mode and give me command to troubleshoot this” or "I want to check my configuration file joined here, could you explain it settings?

I use arch wiki, however it’s sometime very complex (a page need information on another page that need operations present on another page, etc) and the level to read it in often for expert.
Last problem, are date and version (example with nvidia: prime, nouveau or optimus ???)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.