I have Ubuntu 22.04.3 LTS, Gnome 42.9, windowing system X11. I try to use Wayland, but I can't switch to it because I do not have gear icon or cogwheel the sign in button on my on the login (username) page.
My settings:
# GDM configuration storage # # See /usr/share/gdm/gdm.schemas for a list of available options.[daemon]# Uncomment the line below to force the login screen to use XorgWaylandEnable=true# Enabling automatic login# AutomaticLoginEnable = true# AutomaticLogin = user1# Enabling timed login# TimedLoginEnable = true# TimedLogin = user1# TimedLoginDelay = 10[security][xdmcp][chooser][debug]# Uncomment the line below to turn on debugging# More verbose logs# Additionally lets the X server dump core if it crashes#Enable=true
cat /etc/X11/default-display-manager/usr/sbin/gdm3 ps -e | grep tty 2286 tty2 00:00:00 gdm-x-session 2288 tty2 00:03:01 Xorg 2340 tty2 00:00:00 gnome-session-bps -e | grep X2288 tty2 00:03:03 Xorg
sudo gedit /etc/gdm3/custom.conf
# Disable wayland when nvidia modeset is disabled or when drivers are a lower# version than 470,# For versions above 470 but lower than 510 prefer Xorg,# Above 510, prefer Wayland.KERNEL!="nvidia_drm", GOTO="gdm_nvidia_drm_end"SUBSYSTEM!="module", GOTO="gdm_nvidia_drm_end"ACTION!="add", GOTO="gdm_nvidia_drm_end"# disable wayland if nvidia-drm modeset is not enabledATTR{parameters/modeset}!="Y", GOTO="gdm_disable_wayland"# disable wayland for nvidia drivers versions lower than 470ATTR{version}=="4[0-6][0-9].*|[0-3][0-9][0-9].*|[0-9][0-9].*|[0-9].*", GOTO="gdm_disable_wayland"# For nvidia drivers versions Above 510, prefer Xorg by defaultATTR{version}=="[5-9][1-9][0-9].*", GOTO="gdm_prefer_xorg"# For nvidia drivers versions 470-495, prefer Xorg by defaultGOTO="gdm_prefer_xorg"LABEL="gdm_nvidia_drm_end"GOTO="gdm_end"LABEL="gdm_prefer_xorg"#RUN+="/usr/libexec/gdm-runtime-config set daemon PreferredDisplayServer xorg"GOTO="gdm_end"LABEL="gdm_disable_wayland"#RUN+="/usr/libexec/gdm-runtime-config set daemon WaylandEnable false"GOTO="gdm_end"LABEL="gdm_end"
My GPU : NVIDIA Corporation GK104 [GeForce GTX 770] uses
nvidia-smiTue Aug 22 14:06:23 2023 +-----------------------------------------------------------------------------+| NVIDIA-SMI 470.199.02 Driver Version: 470.199.02 CUDA Version: 11.4 ||-------------------------------+----------------------+----------------------+| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC || Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. || | | MIG M. ||===============================+======================+======================|| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 N/A | N/A || 23% 46C P0 N/A / N/A | 189MiB / 1996MiB | N/A Default || | | N/A |+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+| Processes: || GPU GI CI PID Type Process name GPU Memory || ID ID Usage ||=============================================================================|| No running processes found |+-----------------------------------------------------------------------------+
echo $XDG_SESSION_TYPEx11
Does it mean that my GPU is not compatybile with wayland?What should I do ?