Follow up to Package Plasma Mobile #161.
The current status is, that kwin does not run yet, and we're working together with KDE's developers in this ticket: https://bugs.kde.org/show_bug.cgi?id=383486
Additionally, the dependency dbus-launch hangs for a minute or so, see #377.
We got kwin (and postmarketos-demos on it) to run succesfully! 馃帀

Note that the mouse is stuck, as for some reason kwin_libinput doesn't detect the mouse, as a mouse. Quite strange, I know.
But a lot of progress! Next up is getting the mouse working, and then launching the Plasma Shell. Should be relatively smooth sailing from here on out.
It now runs!
Plasma shell running on postmarketOS
As you can see in the video, there is still some work to do, but we're getting really close!
@PureTryOut I tested your branch on my Nexus 6P (checked out postmarketos-ui-plasma-mobile branch, rebased on top of master, fixed a few checksum issues and kinit's recursive dependency (?)). Found two issues:
The last line before this in strace was:
ioctl(21, FBIOGET_VSCREENINFO, 0x7fe2332c80) = 0
so it looks like it hates my framebuffer.
My fbset is:
mode "1440x2560-0"
# D: 1.101 MHz, H: 0.655 kHz, V: 0.249 Hz
geometry 1440 2560 1440 2560 32
timings 908582 100 100 31 30 40 8
accel false
rgba 8/0,8/8,8/16,8/24
endmode
note the last line: my framebuffer's RGBA offsets are opposite from what KDE expects (ARGB).
https://github.com/KDE/kwin/blob/v5.10.5/plugins/platforms/fbdev/fb_backend.cpp#L188
Edit: I forced my framebuffer into a mode that kwin supports by creating a fb.modes file, editing it to ARGB, and then running fbset 1440x2560-0. Finally I set the QTQuick renderer based on the wiki page. Now kwin starts up slightly further: https://gist.github.com/zhuowei/cb0f2db36478a7bd15ba0108afc0e5df
Edit: It launches! Sent a PR.
Could you take a photo? \o/
It works, with video proof:
https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#plasma-mobile
Most helpful comment
We got
kwin(andpostmarketos-demoson it) to run succesfully! 馃帀Note that the mouse is stuck, as for some reason kwin_libinput doesn't detect the mouse, as a mouse. Quite strange, I know.
But a lot of progress! Next up is getting the mouse working, and then launching the Plasma Shell. Should be relatively smooth sailing from here on out.