Spyke
kde·KDEbyraptir

Is there any issue with switching frequently between Wayland and X11?

I can't imagine there is but I'm wondering if I am missing something. I use GeForce Now and unfortunately it does not work in Plasma Wayland (issues with input redirection). Is there any problem with logging into an X11 session whenever I want to use that but using Wayland generally?

View original on lemdro.id
lemmy.world

The smaller the interval of each switch between the two, our timeline folds onto itself at a faster rate. If you like this dimension, please just adapt and use Wayland. Or you'll be the harbinger of doom for us all.

12
Owljfienreply
iusearchlinux.fyi

Only thing stopping a permanent switch for me is that counterstrike2 is a strobe light on Wayland nvidia for me. As soon as that's all good, I'll be yeeting x11

3
warmasterreply
lemmy.world

I have a friend running Nobara, playing on Nvidia + Wayland exclusively.

3
Owljfienreply
iusearchlinux.fyi

On cs2? Yeah, it strobes a bunch then goes black, occasionally flickers back in, then I give up and go back to x11

1
Owljfienreply
iusearchlinux.fyi

Ill give it a look in 2 hours when I finish work, what adaptive sync setting should I have for this? I use KDE so the options are auto, always and never. I've experimented with these settings before trying that patch

1

Just tried it but I think the upstream has been patched recently so this package isn't working currently

1

I had issues with Freesync, if I opened an X11 session at launch then it worked with only one screen connected, but it was reliable and didn't need any further tinkering.

If I launched Wayland first and then switched to X11, my screen's refresh rate would get locked on a random value. I'd have to either cycle compositing on/off, or enable the TearFree flag in xrandr.

In the end Wayland gaming got improved on Plasma 6 so I no longer use X11

3

Depends on your DE and DM more than anything. Personally I've found that KDE/SDDM was a bit janky when logging out and back in without rebooting, even if it was just on x11 od wayland.

YMMV, but nothing fundamentally destructive can come from doing this, you're doing something no different to logging out and back in as a different user

2

I doubt it'll do anything, or at worse something that can be easily fixed by resetting a config file somewhere. It's much less weird than even switching between Gnome and KDE.

For the most part, only KWin and KScreen and maybe Plasma Shell might care but I'd expect nothing worse than a panel going to the wrong monitor.

For your input redirection, have you tried running it in gamescope or a rootful xwayland? Not sure gamescope has much special sauce since it's based on wlroots and also runs xwayland, but they may have extra hacks for input grabbing.

1

There shouldn't be, although I've found that Firefox doesn't to automatic Wayland detection well (I need MOZ_ENABLE_WAYLAND and such, but only on Wayland, to get touch pad gestures working) so that's more of a pain than I'd like. If everything works for you, you shouldn't run into any trouble switching back and forth.

1

You reached the end

Is there any issue with switching frequently between Wayland and X11? | Spyke