Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: How to switch from Xorg to wayland or xwayland?  (Read 469 times)

Offline Gordaun

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
How to switch from Xorg to wayland or xwayland?
« on: May 15, 2021, 08:07:45 pm »
So,my desktop environment is Kde,it already has the necessities installed by default it seems (thank you sparky team) but i can't see how to log into the wayland or xwayland version on the lightdm,and terminal switching to wayland only seens to work on gnome.

So,any hints of what to do?I am doing because i want to experiment and read that althought wayland has less compatibility,it's faster.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: How to switch from Xorg to wayland or xwayland?
« Reply #1 on: May 16, 2021, 12:23:33 am »
You might want to install the plasma-workspace-wayland package as described here:
https://wiki.debian.org/Wayland#KDE

To run Wayland, you need a compositor. GNOME has one out of the box, so the experience is quite seamless. As for KDE, you'll probably need to install the package above to replace KWin "the Xorg window manager" with KWin "the Wayland compositor" (basically also a window manager, but integrated on a much lower level and much more powerful).

Also note, that this works nicely on Intel and AMD GPUs. NVIDIA with nouveau is probably OK too, but with proprietary drivers additional steps are required - you need to ensure that the driver is running in modesetting mode as described here:
https://community.kde.org/Plasma/Wayland/Nvidia
There's no such thing as "impossible". :)

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 852
  • Karma: 4
  • https://forum.sparkylinux.org/index.php/topic,4614
Re: How to switch from Xorg to wayland or xwayland?
« Reply #2 on: May 16, 2021, 06:13:46 am »
I did have fun with wayland and Sway WM (no DE, tiling WM) over a year ago back on Sid, i386 on an old old atom, but it died (the netbook - not sway).  If you are in rolling, you can follow Norbert Preining"s posts on Planet Debian.org about the newest things in KDE.  Note, I don't use KDE, but have nothing bad to say about it. 

https://www.preining.info/blog/2021/04/debian-kde-plasma-and-digikam-status-2021-04-07/
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: How to switch from Xorg to wayland or xwayland?
« Reply #3 on: May 16, 2021, 10:07:17 am »
I did have fun with wayland and Sway WM

That's my current setup and I find it very refreshing and... productive. ;)
« Last Edit: May 16, 2021, 10:11:21 am by MoroS »
There's no such thing as "impossible". :)