Make plasma mobile work with software OpenGL
Created by: ollieparanoid
@bhush9, you suggested that it should be possible to run plasma mobile with software OpenGL. I can't make it work yet, do you have any idea?
framebuffer
What I did:
- Installed
postmarketos-ui-plasma-mobile
on thei9100
(sd card) - Booted into it, changed
/etc/profile.d/start_plasma.sh
manually, then rebooted:
# ck-launch-session kwin_wayland --drm --xwayland -- plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
ck-launch-session kwin_wayland --framebuffer --xwayland -- plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
Upon the boot, postmarktOS stays at the splash screen, and the log says:
localhost:~$ logread | grep plasma
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: kglobalaccel-runtime: Failed to register service org.kde.kglobalaccel
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: kwin_core: Failed to initialize compositing, compositing disabled
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: kwin_core: The used windowing system requires compositing
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: kwin_core: We are going to quit KWin now as it is broken
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
swrast
What I did:
- Installed
postmarketos-ui-plasma-mobile
on thei9100
(sd card) - Added
mesa-dri-swrast
+ dependencies
Upon the boot, postmarktOS stays at the splash screen, and the log says:
localhost:~$ logread | grep plasma
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: kglobalaccel-runtime: Failed to register service org.kde.kglobalaccel
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Jan 1 01:59:59 localhost user.notice user:plasma-mobile: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")