You are not logged in.

#1 2018-09-23 09:11:47

koreankiwitea
Banned
Registered: 2018-02-12
Posts: 49

Wayland session doesn't start.

setup: Arch + KDE with vfio custom kernel and Nvidia-dkms

Trying out Wayland just to see how it is. I have a proprietary driver with dkms patch (AUR) on GTX1070.

    archMachine% pacman -Q | grep plasma
    kdeplasma-addons 5.13.5-1
    plasma-browser-integration 5.13.5-1
    plasma-desktop 5.13.5-1
    plasma-framework 5.50.0-1
    plasma-integration 5.13.5-1
    plasma-nm 5.13.5-1
    plasma-pa 5.13.5-1
    plasma-sdk 5.13.5-1
    plasma-vault 5.13.5-1
    plasma-wayland-session 5.13.5-2
    plasma-workspace 5.13.5-2
    plasma-workspace-wallpapers 5.13.5-1

    archMachine% pacman -Q | grep wayland
    egl-wayland 1.1.0-1
    kwayland 5.50.0-1
    kwayland-integration 5.13.5-1
    lib32-wayland 1.16.0-1
    plasma-wayland-session 5.13.5-2
    qt5-wayland 5.11.2-1
    wayland 1.16.0-1
    wayland-protocols 1.16-1
    xorg-server-xwayland 1.20.1-1

I also have GNOME and weston installed just to see if other DE will play with Wayland. Nothing works so far.

The process is:

1. I log out of my X session KDE
2. on SDDM I change it to KDE(Wayland) or other DE with wayland.
3. black screen for a few seconds, bump me out to tty1 with "started bpfilter"
4. Can't access any other tty, keyboard input is not responding. I have to force reboot.


I'm not sure what I did wrong. Can anyone have any suggestions?

Thank yoU!


EDIT: I can run Weston within X using terminal.


very n00b.

Offline

#2 2018-09-23 10:20:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Wayland session doesn't start.

You can't. KDE does  not support the method nvidia supports for Wayland. GNOME used to support it for a short while but that was  pedaled back on in recent releases due to instability. Only weston is remotely possible afaik, but that does at the very least require that you enable modesetting in the nvidia driver by loading nvidia-drm.modeset=1 in your kernel params/ a relevant modprobe.d file.

Wayland has two different protocols for implementation, everyone but nvidia standardized on GBM, nvidia claimed GBM to be insufficient for their needs and proposed a different solution called EGLStreams. Most implementations only support GBM. Afaik there's some work being done on a solution that should satisfy both parties, but there's nothing usable yet.

Last edited by V1del (2018-09-23 10:25:30)

Offline

#3 2018-09-23 13:58:53

koreankiwitea
Banned
Registered: 2018-02-12
Posts: 49

Re: Wayland session doesn't start.

Wayland with the proprietary NVIDIA driver currently suffers from very poor performance: FS#53284.

Huh, so it's not even that it suffers from performance hit, it literally doens't work then? Well everytime I do a linux project I get hit by nvidia in the face!


very n00b.

Offline

#4 2018-09-23 14:37:57

john29
Member
Registered: 2014-11-27
Posts: 29

Re: Wayland session doesn't start.

It work with Gnome 3.30 and Nvidia driver  and nvidia-drm.modeset=1 gdm does not work, sddm work
but it not fast

Last edited by john29 (2018-09-23 14:39:50)

Offline

Board footer

Powered by FluxBB