Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test wayland #10

Open
dilyn-corner opened this issue Oct 15, 2020 · 11 comments
Open

Test wayland #10

dilyn-corner opened this issue Oct 15, 2020 · 11 comments

Comments

@dilyn-corner
Copy link
Owner

With the release of plasma 5.20.0, Wayland support is at the fore. This issue exists to track progress on dropping Xorg dependencies. Currently it should be perfectly possible to start a Wayland session. Any issues relating to better Wayland support in this repository will be documented here.

@dilyn-corner
Copy link
Owner Author

The first issue I have encountered: I cannot start a Wayland session.

@sdsddsd1, tips or tricks?

@sdsddsd1
Copy link
Contributor

I dont have a kde-system anymore, but I am glad to give my "expertise" :D
What are prerequisites you have already done? Like do you start with elogind, from tty or sddm? Without elogind the xdg_runntime_dir needs to be set. Things you probably know with your wl experience but just to make sure.
Going after KDE docs https://community.kde.org/KWin/Wayland#Start_a_Plasma_session_on_Wayland
dbus-run-session startplasma-wayland

@dilyn-corner
Copy link
Owner Author

Just a TTY for now :)

I thought I had done all of these things but I will retest.
Presumably forking xorg-server to add xwayland support will be necessary for now, but we'll see!

@sdsddsd1
Copy link
Contributor

sdsddsd1 commented Oct 18, 2020

I am just snooping around (:
What do you try do start, kwin or kwinft?
Arch wiki references to the same docs I found above https://wiki.archlinux.org/index.php/KDE#From_the_console .
Arch also provides a "kde wayland" package. May be good to look over this.
https://www.archlinux.org/packages/extra/x86_64/plasma-wayland-session/

@dilyn-corner
Copy link
Owner Author

Their package only installs a .desktop file, which might be relevant.

The error I'm actually getting that seems to stop this is "no libinput :(". Which is a weird error to get.

@sdsddsd1
Copy link
Contributor

I noticed that kwayland and plasma-wayland is missing as a package in the plasma repo.

@dilyn-corner
Copy link
Owner Author

kwayland is in frameworks and plasma-wayland is not a package (though *-session and *-protocols are, and we have discussed the former and the latter is in this repo).

@dilyn-corner
Copy link
Owner Author

As it stands, a pseudo list of currently required xorg libs:

kscreenlocker -> qt5-x11extras, xcb-util-keysyms
kwindowsystem -> qt5-x11extras
libkscreen -> qt5-x11extras
plasma-integration -> qt5-x11extras
plasma-desktop -> xorg-server
kwin -> libX11
kwayland -> EGL. This means mesa requires x11 platform support

There are a few more small deps sprinked in (like xcb-util-* stuff), but ultimately it all comes down to when kwayland stops being... Dumb? Like, that's the dumbest framework ever. It's literally named kWAYLAND for crying out loud.

@dilyn-corner
Copy link
Owner Author

kwin has a sneaky line in its build output:

xwayland required to launch kwin_wayland

This can't be it, right?

Will test, of course 🙃

@dilyn-corner
Copy link
Owner Author

Update: have tested all changes thus far. No longer have the aforementioned issue about libinput. Which is good.
New issue: session appears to launch, but it is merely a black screen. What fun.

@sdsddsd1
Copy link
Contributor

sdsddsd1 commented Nov 2, 2020

Thats some progress.🍹
Looking for 'kwin blackscreen' brings up mostly issues related to nvidia. And also issues 4 years old :
💻 🧑‍🚒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants