Bug 18954 - KWin dependencies for kwin_wayland
Summary: KWin dependencies for kwin_wayland
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-16 08:32 CEST by Davide Nifosi
Modified: 2016-07-17 11:46 CEST (History)
2 users (show)

See Also:
Source RPM: kwin-5.7.1-2.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Davide Nifosi 2016-07-16 08:32:31 CEST
Description of problem:

Currently trying to launch kwin_wayland (inside X11) fails because it cannot find the Qt platform plugin. Installing the package qtwayland5 solves the problem and makes kwin_wayland start. The qtwayland5 package should be suggested by kwin.

Note that launching kwin_wayland in DRM mode still fails with "FATAL ERROR: could not find a backend". On Graesslin's blog post

https://blog.martin-graesslin.com/blog/2016/07/why-does-kwin_wayland-not-start/

it says the platform/backend plugin is missing, but I don't know in which package it could be

Version-Release number of selected component (if applicable): 5.7.1-2

How reproducible: always

Steps to Reproduce:
1. in a virtual terminal, enter:
   export $(dbus-launch)
   kwin_wayland --xwayland
2. this should open a blank kwin_wayland window; instead, without the qtwayland5 package installed, it will exit with the following error message

    This application failed to start because it could not find or load the Qt platform plugin âwaylandâin ââ.

    Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

    Reinstalling the application may fix this problem.
Marja Van Waes 2016-07-16 08:51:46 CEST

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 1 Nicolas Lécureuil 2016-07-16 11:05:36 CEST
Please test next kwin package.
Comment 2 Davide Nifosi 2016-07-16 16:14:52 CEST
Just installed after manually removing qtwayland5, and now the dependency is installed automatically, so now it's ok.

Regarding the missing DRM backend, I see that the only available Wayland backends are Virtual, X11 and Wayland (nested, I guess); supposedly the missing one is the file KWinWaylandDrmBackend.so, which I didn't find anywhere with urpmf. Does it have another name, or is it not built at all?

Regardless, since the Plasma Wayland session isn't supposed to be in Mageia 6, it's fine if the DRM backend isn't yet available; but if it's just a build mistake or some other oversight, I'd like to have that as well
Comment 3 Nicolas Lécureuil 2016-07-16 17:27:15 CEST
drm backend should be available on next kwin rpm.
Comment 4 Davide Nifosi 2016-07-16 21:03:34 CEST
Thanks, but the backend is still missing.

$ ls /usr/lib64/qt5/plugins/org.kde.kwin.waylandbackends
KWinWaylandVirtualBackend.so*
KWinWaylandWaylandBackend.so*
KWinWaylandX11Backend.so*
Comment 5 Nicolas Lécureuil 2016-07-17 00:09:08 CEST
you should have /usr/lib64/qt5/plugins/org.kde.kwin.waylandbackends/KWinWaylandDrmBackend.so

in the new kwin rpm.
Comment 6 Otto Leipälä 2016-07-17 01:11:45 CEST
Don't upgrade your system,neoclust you breaked kwin with added kdecoration to requires while it don't exist in Cauldron.

A requested package cannot be installed:
kwin-5.7.1-5.mga6.x86_64 (due to unsatisfied kdecoration)

CC: (none) => ozkyster

Comment 7 Nicolas Lécureuil 2016-07-17 01:34:31 CEST
A new rpm is on the way.
Comment 8 Davide Nifosi 2016-07-17 08:21:02 CEST
Now it works! Thanks a lot for your work!

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 9 Otto Leipälä 2016-07-17 11:46:19 CEST
Thanks neoclust now it works.

Note You need to log in before you can comment on or make changes to this bug.