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]: <email address hidden>: Control process exited, code=exited, status=2/INVALIDARGUMENT
> giu 01 16:05:52 dell-g7 systemd[1725]: <email address hidden>: 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
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: gnome\x2dkeyrin g\x2dpkcs11- 2001.scope: Succeeded. 2/INVALIDARGUME NT /bugs.launchpad .net/ubuntu/ +source/ ubuntu- drivers- common/ +bug/1925238/ +attachment/ 5501675/ +files/ Screenshot% 20from% 202021- 06-01%2016- 08-04.png /bugs.launchpad .net/bugs/ 1925238 /bugs.launchpad .net/ubuntu/ +source/ ubuntu- drivers- common/ +bug/1925238/ +subscriptions
> 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-
> giu 01 16:05:52 dell-g7 systemd[1725]: <email address hidden>: Control process exited, code=exited, status=
> giu 01 16:05:52 dell-g7 systemd[1725]: <email address hidden>: 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:/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [nvidia-prime] switches between xorg and wayland session
>
> To manage notifications about this bug go to:
> https:/
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]