Score:0

Switching to Nvidia driver switched my system to X11. Now I'm back to using Nouveau but can't seem to switch back to Wayland? [Ubuntu 22.04]

cn flag
rmc

I was using 22.04 LTS out of the box with Nouveau and Wayland. It was working really well (I could even choose to run programs with the integrated GPU or the discrete GPU!), but I had an issue I thought was related to the graphics driver (TLDR: it wasn't).

As part of my troubleshooting I switched to the Nvidia driver. I went to Settings -> About -> Software Updates -> Additional Drivers. From there I checked the box for NVIDIA driver (open kernel) metapackage from nvidia-driver-530-open (proprietary, tested). After restarting and logging in, I noticed my system had switched to X11.

However, now I am no longer using the Nvidia driver. I went back into the Additional Drivers tab and checked the box for Nouveau, but my system is still using X11. In fact, the only Nouveau option now listed there is Nouveau with X.Org (see screenshot below).

settings screenshot

I don't have a gear icon at the login screen that lets me choose, as some answers have suggested. Likewise, editing /etc/gdm3/custom.conf and setting WaylandEnable=true does nothing. So right now it seems I'm stuck with X11 and no longer have the graphics card switcher options I had out of the box. It's pretty frustrating that I can't seem to just revert back to the prior settings...

How can I switch back to Wayland?

cc flag
The gear only appears when the password field is being displayed (after user selection). Choices vary, depending upon hardware but when "Wayland" is not visible, and the non "ubuntu" choice is xorg, ubuntu is the default with Wayland. check with ps ax |grep wayland to see if you are running wayland.
rmc avatar
cn flag
rmc
@ubfan1 I've checked and there's no gear icon even when I've selected a user and the password field is displayed. Likewise, I confirmed Wayland is not running by checking *Settings->About*, and under *Windowing System* it says "X11". Similarly, ```loginctl show-session $SESSIONID -p Type``` returns ```Type=x11```
cc flag
You mean WaylandEnable in youur config file? What Nvida hardware do you use? Did you try an Nvidia driver not ending in "-open" (sometimes a script gets confused looking for a version number)?
rmc avatar
cn flag
rmc
Whoops, yes I meant WaylandEnable, that's merely a typo in my question, not the .conf file itself. For some reason at the moment lshw, lspci, etc. are detecting the Nvidia GPU but merely reporting the model as "NVIDIA Corporation". And I only tried the one Nvidia driver, though I don't think that's important since I'm now back to Nouveau which was my original setup.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.