Pmbootstrap: Let's get KDE plasma mobile running!

Created on 14 Aug 2017  路  5Comments  路  Source: postmarketOS/pmbootstrap

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.

enhancement help wanted packaging upstream

Most helpful comment

We got kwin (and postmarketos-demos on it) to run succesfully! 馃帀

screenshot_2017-08-19_14-56-20

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.

All 5 comments

We got kwin (and postmarketos-demos on it) to run succesfully! 馃帀

screenshot_2017-08-19_14-56-20

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:

  • ConsoleKit isn't started at boot, so kwin hangs forever.
  • After I manually start console-kit-daemon, kwin exits with
    "FATAL ERROR: backend failed to initialize, exiting now"

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/

Was this page helpful?
0 / 5 - 0 ratings