[SOLVED] Reverting back to Wayland after ujust setup-virtualization

I set up virtualization and enabled VFIO, but later learned that it's difficult to GPU passthrough on my laptop. So I went and disabled VFIO using the ujust command, but every time I reboot/login, it starts in an X11 session rather than Wayland. I'd like to keep virt-manager/kvm/qemu etc and Wayland at the same time.
Solution:
Maybe the trick was the full poweroff. All the other attempts were restarts
Jump to solution
46 Replies
wolfyreload
wolfyreload•5mo ago
The X11 session rather than Wayland is an option that you choose at login, enabling virtualisation shouldn't change that at all. In your login screen, in the bottom left hand corner select "Plasma" instead of "Plasma (X11)" for KDE and bottom right hand corner in Gnome. Note that if you have an Nvidia GPU might might have some issues such as flickering etc if you use Wayland until the Nvidia 555 drivers move to stable release
SMNFXCN
SMNFXCNOP•5mo ago
i don't get that bottom right hand corner button on the gnome login screen
wolfyreload
wolfyreload•5mo ago
That's really odd, are you perhaps using a custom login skin/theme? Where are you seeing that you are in an X11 session rather than Wayland?
SMNFXCN
SMNFXCNOP•5mo ago
i'm on bazzite-gnome-nvidia no custom login skin, and i see it in settings, system details
No description
Kyle Gospo
Kyle Gospo•5mo ago
do you not have a user password?
SMNFXCN
SMNFXCNOP•5mo ago
i do have a password
Kyle Gospo
Kyle Gospo•5mo ago
gear icon should be bottom right of the login screen after picking your user
SMNFXCN
SMNFXCNOP•5mo ago
one second
SMNFXCN
SMNFXCNOP•5mo ago
No description
No description
Kyle Gospo
Kyle Gospo•5mo ago
that is extremly weird
wolfyreload
wolfyreload•5mo ago
It's also weird that you have X11 available at all, you have an AMD GPU. What image are you using? could you please run rpm-ostree status?
SMNFXCN
SMNFXCNOP•5mo ago
amd igpu, nvidia dgpu
SMNFXCN
SMNFXCNOP•5mo ago
No description
wolfyreload
wolfyreload•5mo ago
Ah ok, makes sense why you have X11 available but no clue why you cannot select Wayland. There was a ticket a while back where someone also couldn't select wayland due to bios setting of custom udev rule. Let me see if I can find it Have a look as M2's answer in this ticket https://discord.com/channels/1072614816579063828/1237406854863130714/1238104694304280678 either way looks like your machine is falling back on to X11 for some reason
SMNFXCN
SMNFXCNOP•5mo ago
there isn't a no-wayland file in /run/gdm
SMNFXCN
SMNFXCNOP•5mo ago
No description
wolfyreload
wolfyreload•5mo ago
If you try restarting is the wayland option also not there? In the login I mean. In the other ticket, the Wayland option was sometimes there and sometimes not
SMNFXCN
SMNFXCNOP•5mo ago
when i restarted the option wasn't there
HikariKnight
HikariKnight•5mo ago
no idea why the wayland option is gone as vfio does not touch that. also there is a 90% chance the nvidia gpu is a 3D controller and not a VGA controller, meaning passthrough would never be possible anyway. and if it was a VGA controller, you would only get the passthrough output using an external monitor (or dummy plug+looking-glass) the only thing i can think of is maybe compare the gdm config from /etc with the one from /usr/etc? see if it has been changed somehow 🤔 /usr/etc should contain the original
SMNFXCN
SMNFXCNOP•5mo ago
okay, something weird, i shut down the laptop last night and went to sleep. after i powered it on it is now in the wayland session
SMNFXCN
SMNFXCNOP•5mo ago
No description
HikariKnight
HikariKnight•5mo ago
weird laptop being weird
SMNFXCN
SMNFXCNOP•5mo ago
i restarted this laptop like 4-5 times last night
Solution
wolfyreload
wolfyreload•5mo ago
Maybe the trick was the full poweroff. All the other attempts were restarts
SMNFXCN
SMNFXCNOP•5mo ago
oh
SMNFXCN
SMNFXCNOP•5mo ago
New problem. Ever since I've set up virtualization. It seems like some programs randomly crash the session. I launched Dolphin and it crashed, I launched Spotify, also crashed. Now the gear in the corner of the login screen lets me choose GNOME or GNOME on Xorg it appears now, unlike before
HikariKnight
HikariKnight•5mo ago
you using dolphin in gnome?
SMNFXCN
SMNFXCNOP•5mo ago
yeah
HikariKnight
HikariKnight•5mo ago
ah ok
SMNFXCN
SMNFXCNOP•5mo ago
I'm on wayland now
HikariKnight
HikariKnight•5mo ago
idk about that since i dont use gnome myself but dolphin and everything works fine with virtualization enabled shouldnt affect anything
SMNFXCN
SMNFXCNOP•5mo ago
seems to be random apps randomly crashing the session
HikariKnight
HikariKnight•5mo ago
make a new user and see if it happens on that too
SMNFXCN
SMNFXCNOP•5mo ago
i launched my bottles shortcut for foobar2000 for example and it crashed the session
HikariKnight
HikariKnight•5mo ago
that would be my first step to debug random apps crashing is it a system problem or a user homefolder config problem
SMNFXCN
SMNFXCNOP•5mo ago
dolphin crashes the session for the other user not the KDE file manager but the emulator
HikariKnight
HikariKnight•5mo ago
might be a gnome specific issue then 🤔 but nobody else has reported anything similar
SMNFXCN
SMNFXCNOP•5mo ago
i disabled vfio earlier, is there any remnants that could be interfering? I noticed in flatseal dolphin had X11 windowing system enabled by default Setting it to Wayland causes dolphin not to start, and enabling fallback to X11 does the same Enabling X11 and disabling Wayland causes the session to crash Noticing a pattern. Seems like flatpaks with X11 by default crash the session, where flatpaks with all 3 options or both X11/Wayland don't crash switching to X11 seems more stable. dolphin works under x11 session
HikariKnight
HikariKnight•5mo ago
nope its part of the kernel, just disabled by default
SMNFXCN
SMNFXCNOP•5mo ago
i have no idea what to do, it feels like ever since i ran those commands my system became less stable
HikariKnight
HikariKnight•5mo ago
well all the vfio command does is create the file /etc/dracut.conf.d/vfio.conf with the list of drivers to load and removing it deletes it your problem is caused by something else
wolfyreload
wolfyreload•5mo ago
Could the "initramfs: regenerate" cause any issues? It gets enabled by one of the ujust virtualisation commands.
HikariKnight
HikariKnight•5mo ago
can disable that with rpm-ostree initramfs --disable but i highly doubt that is the cause as it doesnt do anything but include dracut stuff
Kyle Gospo
Kyle Gospo•5mo ago
@SMNFXCN do me a favor and update Let me know if it still happens
SMNFXCN
SMNFXCNOP•5mo ago
it works. i don't have the issue of x11 apps crashing on wayland anymore
Kyle Gospo
Kyle Gospo•5mo ago
Sweet
Want results from more Discord servers?
Add your server