You are not logged in.
Hello, how are you?
Sorry for my English, I really tried to write correctly.
This week I was testing ArchLinux with **Gnome Shell + Wayland** and I noticed an annoying problem.
I noticed that the system is freezing when it is idle for a while.
I did several tests that didn't work, until I decided to test the system in an X11 session.
There was **no problem with Gnome Shell + X11**, so I switched back to the Wayland session for more tests.
I found that the following packages solve the problem:
xorg-xwayland xorg-xlsclients glfw-wayland
After installing these packages, there were no more freezes when idle. It worked as well as an X11 session.
The `libinput` and `wayland` packages were already installed.
Just to reinforce, I later installed the "`wayland-protocols`" package, but I don't know if this is really necessary, since the other 3 have already fixed the problem.
However, there is one more detail:
The system stopped crashing with these packages when it is left untouched for a while, but I noticed that when it goes into Standby (or tries to do so), the problem occurs.
If I set the variable "GDK_BACKEND=wayland", the system works normally, but it disables "copy-paste" between Host and VM.
If I set GDK_BACKEND=wayland,x11 or remove it, the problem occurs again.
How can I fix this problem?
Thank you very much in advance!
Offline
Mod note: Moving to Applications & Desktop Environments.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
What version of GNOME are you running?
I am having the same issue now (gnome freezing every few minutes) - I am testing the new GNOME 48 from gnome-unstable and extra-testing. The kernel is still working, because music keeps playing, and I can ssh to the machine over the network.
Installing those 3 packages (xorg-xwayland xorg-xlsclients glfw-wayland) didn't fix it for me.
What does help unfreeze it, is opening my laptop lid - it immediately comes back to life, and then I can close it again.
Offline
I'm using Gnome Shell version 47.
Try this variable, "GDK_BACKEND=wayland" in the /etc/environment file to see if it works for you.
It works for me, but the downside is that it disables copy-paste between Host and VM.
Offline
In my case, I think the problem is one of these issues:
https://gitlab.gnome.org/GNOME/mutter/-/issues/3974
https://gitlab.gnome.org/GNOME/mutter/-/issues/3955
Offline
The recent update to mutter 48.0-3 fixed this issue for me.
https://gitlab.archlinux.org/archlinux/ … 8ad31996d8
Offline
The recent update to mutter 48.0-3 fixed this issue for me.
https://gitlab.archlinux.org/archlinux/ … 8ad31996d8
I'm using the stable version, so I'll wait for version 48 to arrive to test it. From what I've seen, it won't take long, so I'll be patient.
When I test it, I'll come back with the results.
Offline
Finally, the packages have been updated to Stable.
I tested it in VM, QEMU/KVM with the QXL video model and Gnome froze.
So I configured the model to Virtio and surprisingly, it didn't freeze, it continued normally.
In short: Systems with Wayland in QEMU/KVM, test it using Virtio.
So this topic is resolved. Thank you very much for everything and see you next time.
Offline