# How do I run Plasma5 on Wayland?

**URL:** <https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542>\
**Category:** Desktop Environments\
**Created:** [March 7, 2021, 3:27pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542 "2021-03-07T15:27:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 3:27pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/1 "2021-03-07T15:27:45Z")

</div>

Guys, I am wondering what to do to run plasma5 on wayland rather than xorg.  
I have installed plasma-wayland-protocols, plasma-wayland-session, I can select plasma on wayland in the sddm login screen, but when I enter and confirm my password, I do not get to a graphical environment, in fact, it seems that nothing at all happens after logging in in sddm.  
Any ideas?  
J.

---

<div class="post-metadata">

**Author:** ![Trekkie00](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/trekkie00/32/102609_2.png) [@Trekkie00](https://forum.endeavouros.com/u/Trekkie00)\
**Post date:** [March 7, 2021, 3:48pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/2 "2021-03-07T15:48:49Z")

</div>

What’s the output of

```auto
yay -Qs wayland

```

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 3:51pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/3 "2021-03-07T15:51:36Z")

</div>

I just installed plasma-wayland-session and logged in and is working.

Edit:

```auto
[ricklinux@eos-plasma ~]$ yay -Qs wayland
local/kwayland 5.79.0-1 (kf5)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.21.2-1 (plasma)
    Provides integration plugins for various KDE frameworks for the wayland
    windowing system
local/kwayland-server 5.21.2-1 (plasma)
    Wayland server components built on KDE Frameworks
local/libva 2.10.0-1
    Video Acceleration (VA) API for Linux
local/plasma-wayland-session 5.21.2-1
    Plasma Wayland session
local/qt5-wayland 5.15.2-1 (qt qt5)
    Provides APIs for Wayland
local/sddm 0.19.0-3
    QML based X11 and Wayland display manager
local/wayland 1.19.0-1
    A computer display server protocol
local/wayland-protocols 1.20-1
    Specifications of extended Wayland protocols
local/xorg-xwayland 21.0.99.902-1 (xorg)
    run X clients under wayland
[ricklinux@eos-plasma ~]$ 

```

Edit2:

```auto
[ricklinux@eos-plasma ~]$ echo $XDG_SESSION_TYPE
wayland
[ricklinux@eos-plasma ~]$ 

```

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 7, 2021, 3:53pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/4 "2021-03-07T15:53:23Z")

</div>

> [@Jeannie](#):
>
> Any ideas?

Check the logs and see if something is failing when you try to login.

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 4:00pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/5 "2021-03-07T16:00:06Z")

</div>

\<[jeannie@p707 ~]$ yay -Qs wayland  
local/egl-wayland 1.1.6-1  
EGLStream-based Wayland external platform  
local/kwayland 5.79.0-1 (kf5)  
Qt-style Client and Server library wrapper for the Wayland libraries  
local/kwayland-integration 5.21.2-1 (plasma)  
Provides integration plugins for various KDE frameworks for the wayland windowing system  
local/kwayland-server 5.21.2-1 (plasma)  
Wayland server components built on KDE Frameworks  
local/lib32-wayland 1.19.0-1  
A computer display server protocol  
local/libva 2.10.0-1  
Video Acceleration (VA) API for Linux  
local/plasma-wayland-protocols 1.1.1-1  
Plasma Specific Protocols for Wayland  
local/plasma-wayland-session 5.21.2-1  
Plasma Wayland session  
local/qt5-wayland 5.15.2-1 (qt qt5)  
Provides APIs for Wayland  
local/sddm 0.19.0-3  
QML based X11 and Wayland display manager  
local/wayland 1.19.0-1  
A computer display server protocol  
local/wayland-protocols 1.20-1  
Specifications of extended Wayland protocols  
local/xorg-xwayland 21.0.99.902-1 (xorg)  
run X clients under wayland  
[jeannie@p707 ~]$\>

---

<div class="post-metadata">

**Author:** ![Trekkie00](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/trekkie00/32/102609_2.png) [@Trekkie00](https://forum.endeavouros.com/u/Trekkie00)\
**Post date:** [March 7, 2021, 4:06pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/6 "2021-03-07T16:06:13Z")

</div>

As far as I can see, the kwayland components are missing.

```auto
yay -Qs kwayland
local/kwayland 5.79.0-1 (kf5)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.21.2-1 (plasma)
    Provides integration plugins for various KDE frameworks for the wayland windowing system
local/kwayland-server 5.21.2-1 (plasma)
    Wayland server components built on KDE Frameworks

```

Please post command outputs in code tags (\</\>). It’s much easier to read.

Edit : Missed those because of the formatting. You have those installed.

What’s the output of `inxi -G`  
You might have to install inxi first. Not sure about that one.

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 4:10pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/7 "2021-03-07T16:10:36Z")

</div>

The three mentioned kwayland packages are installed.

```auto
[jeannie@p707 ~]$ yay -Qs kwayland
local/kwayland 5.79.0-1 (kf5)
   Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.21.2-1 (plasma)
   Provides integration plugins for various KDE frameworks for the wayland windowing system
local/kwayland-server 5.21.2-1 (plasma)
   Wayland server components built on KDE Frameworks
[jeannie@p707 ~]$ 

```

---

<div class="post-metadata">

**Author:** ![Trekkie00](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/trekkie00/32/102609_2.png) [@Trekkie00](https://forum.endeavouros.com/u/Trekkie00)\
**Post date:** [March 7, 2021, 4:11pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/8 "2021-03-07T16:11:00Z")

</div>

Just edited my previous post. 😉

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 4:12pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/9 "2021-03-07T16:12:19Z")

</div>

```auto
[jeannie@p707 ~]$ inxi -G
Graphics: Device-1: NVIDIA GP106BM [GeForce GTX 1060 Mobile 6GB] driver: nvidia v: 460.56 
           Device-2: Chicony Chicony USB 2.0 Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.10 driver: loaded: nvidia unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~75Hz 
           OpenGL: renderer: GeForce GTX 1060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56 
[jeannie@p707 ~]$ 

```

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 4:16pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/10 "2021-03-07T16:16:38Z")

</div>

Maybe this helps?

[http://blog.davidedmundson.co.uk/blog/running-kwin-wayland-on-nvidia/](http://blog.davidedmundson.co.uk/blog/running-kwin-wayland-on-nvidia/)

[https://community.kde.org/Plasma/Wayland/Nvidia](https://community.kde.org/Plasma/Wayland/Nvidia)

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 4:20pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/11 "2021-03-07T16:20:25Z")

</div>

Huh. Kernel parameter modifications? Never done that.  
J.

---

<div class="post-metadata">

**Author:** ![Trekkie00](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/trekkie00/32/102609_2.png) [@Trekkie00](https://forum.endeavouros.com/u/Trekkie00)\
**Post date:** [March 7, 2021, 4:28pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/12 "2021-03-07T16:28:16Z")

</div>

Might be interesting to have a closer look at

```auto
cat /var/log/Xorg.0.log

```

Maybe we can see some more information what is going wrong.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 4:30pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/13 "2021-03-07T16:30:29Z")

</div>

I must say I am impressed. Wayland is running flawless so far on my amdgpu on KDE. This is the first time i have tried it in a long time. Window effects works exactly as they do in x11. Very fluid and responsive. It is my understanding that wayland works well on graphics that are running on modestting. Nvidia is little more (couple steps) to get working but i haven’t tried it. I have Xfce on my Nvidia system. Sorry. 🙂

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 4:32pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/14 "2021-03-07T16:32:34Z")

</div>

The link you provided states that I need to modify my kernel command line and add the line `nvidia-drm.modeset=1`.  
If I only knew how.  
J.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 4:35pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/15 "2021-03-07T16:35:48Z")

</div>

Just follow the steps here:

Edit2: Just the first section shows it.

> **[Nvidia Optional Enhancements and Troubleshooting](https://endeavouros.com/docs/hardware-and-network/graphic-cards-gpu-driver-and-setup/nvidia/nvidia-optional-enhancements-and-troubleshooting/)**
>
> It can happen that you will fail to load the Nvidia driver in some cases, like the presence of integrated intel GPU (build in on Motherboard) system can get confused and fail to properly load on Nv…

Edit: KDE documentation say’s you also need to have this installed.

`libnvidia-egl-wayland1`

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 4:42pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/16 "2021-03-07T16:42:51Z")

</div>

@Jeannie

The kernel parameter is very straight forward.

sudo nano /etc/default/grub

add the parameter in the grub command line

ctrl +o +enter to write it out  
ctrl +x to close

Then run

sudo grub-mkconfig -o /boot/grub/grub.cfg

reboot

Edit: Make sure you have this file installed also.

`libnvidia-egl-wayland1`

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 4:50pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/17 "2021-03-07T16:50:29Z")

</div>

@Jeannie  
I haven’t tried this on my nvidia so i can’t say whether it works or not. This is just what the KDE documentation says. Hopefully it doesn’t mess stuff up on you. 😇

---

<div class="post-metadata">

**Author:** ![Jeannie](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jeannie/32/204_2.png) [@Jeannie](https://forum.endeavouros.com/u/Jeannie)\
**Post date:** [March 7, 2021, 5:16pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/18 "2021-03-07T17:16:20Z")

</div>

Thanks so far, but tere is no package named `libnvidia-egl-wayland1` in the repos.  
J.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 7, 2021, 5:22pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/19 "2021-03-07T17:22:34Z")

</div>

> [@Jeannie](#):
>
> but tere is no package named `libnvidia-egl-wayland1`

On Arch I believe it is `egl-wayland`

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 7, 2021, 7:44pm UTC](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542/20 "2021-03-07T19:44:08Z")

</div>

Seems to work pretty good on amdgpu now on current kernel.

![Screenshot_20210307_144252](https://forum.endeavouros.com/uploads/default/original/3X/a/5/a53e8bd572954a650b0a124edc88c44cc59e8d10.png)

[Next page](https://forum.endeavouros.com/t/how-do-i-run-plasma5-on-wayland/12542.md?page=2)
