I sadly do not have the choice of starting a Gnome with Wayland session when logging in (no gear icon showing).
Using a Thinkpad with integrated Intel GPU, WaylandEnable option in /etc/gdm3/custom.conf is commented.
No idea what to do, maybe someone can help?
TY
After doing much searching of the internet I have come up with this solution. This solution will enable Wayland even if you have proprietary NVIDIA drivers on Ubuntu 20.04.
sudo apt install gnome-session-wayland
./etc/gdm3/custom.conf
and ensureWaylandEnable=false
is commented./usr/lib/udev/rules.d/61-gdm.rules
and comment all lines.sudo systemctl restart gdm3
.echo $XDG_SESSION_TYPE
in order to confirm you are running Wayland (output should be "wayland").This solution can be a bit buggy, for example the Ubuntu environment took a long time to fully load in my case. In my case I am running a GTX 1050 Ti on proprietary drivers.
EDIT: Performance in games is terrible if running this solution. Would not recommend for gaming.
In my case:
I'm running Ubuntu 20.04.1 with NVIDIA driver metapackage from nvidia-driver-455 (open source).
I did not have to install the
gnome-session-wayland
package.I commented out all lines in the
/lib/udev/rules.d/61-gdm.rules
file (file/usr/lib/udev/rules.d/61-gdm.rules
didn't exist).Rebooted the system just in case.
That fixed the problem for me.