ack. Is yours the "ubuntu" session? i.e. auto-detection, the default, not "ubuntu-xorg" which is manually selecting "Ubuntu on Xorg" from gdm. Check $DESKTOP_SESSION. I can confirm that if I pick ubuntu-xorg then nvidia-smi looks like yours.
I see from `lsmod` that nvidia is loaded - apparently that's not enough to get it to be used though. I would have expected the udev rule (61-gdm.rules) to have fired here and caused gdm-disable-wayland to run, so that I got Xorg and things running on the nvidia GPU; is that a valid expectation? On Tue, Jun 01, 2021 at 02:22:34PM -0000, Alberto Milone wrote: > I don't get that at all (see the attached screenshot). > > Detection seems to work well here: > > giu 01 16:05:52 dell-g7 systemd[1725]: Starting GNOME Shell on Wayland... > giu 01 16:05:52 dell-g7 systemd[1725]: Starting GNOME Shell on X11... > giu 01 16:05:52 dell-g7 systemd[1725]: > app-gnome-gnome\x2dkeyring\x2dpkcs11-2001.scope: Succeeded. > giu 01 16:05:52 dell-g7 systemd[1725]: org.gnome.Shell@wayland.service: > Control process exited, code=exited, status=2/INVALIDARGUMENT > giu 01 16:05:52 dell-g7 systemd[1725]: org.gnome.Shell@wayland.service: > Skipped due to 'exec-condition'. > giu 01 16:05:52 dell-g7 systemd[1725]: Condition check resulted in GNOME > Shell on Wayland being skipped. > > ** Attachment added: "Screenshot from 2021-06-01 16-08-04.png" > > https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+attachment/5501675/+files/Screenshot%20from%202021-06-01%2016-08-04.png > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1925238 > > Title: > [nvidia-prime] switches between xorg and wayland session > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+subscriptions -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [ la...@debian.org ] Ubuntu Developer [ la...@ubuntu.com ] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1925238 Title: [nvidia-prime] switches between xorg and wayland session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1925238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs