Summary: | kwin_wayland fails to start with "Running on a compositor with no screens is not supported" | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Bhushan Shah <bhush94> |
Component: | platform-fbdev | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | ata2001, ctatlor97+kde |
Priority: | NOR | ||
Version: | 5.10.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | signature.asc |
Description
Bhushan Shah
2017-08-14 10:14:03 UTC
Launching it with the following script on tty1: #!/bin/bash export XDG_RUNTIME_DIR="/var/run/user/12345" export $(dbus-launch) export KWIN_COMPOSE=Q export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORMTHEME=KDE export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export XDG_CURRENT_DESKTOP=KDE export KSCREEN_BACKEND=QScreen export KDE_FULL_SESSION=1 export KDE_SESSION_VERSION=5 ck-launch-session kwin_wayland --framebuffer --xwayland Log: kwin_core: Platform does not support input, enforcing libinput support kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5084:46: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5086:48: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5088:48: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5092:47: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5094:46: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5102:48: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5106:46: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5108:46: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5112:45: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5115:46: this compose sequence is a duplicate of another; skipping line kwin_xkbcommon: XKB: created compose table from locale C with path /usr/share/X11/locale/en_US.UTF-8/Compose kwin_core: KGlobalAcceld inited kwin_core: Session path: "/org/freedesktop/ConsoleKit/Session1" kwin_core: "ConsoleKit" seat: "/org/freedesktop/ConsoleKit/Seat1" / "/org/freedesktop/ConsoleKit/Seat1" kwin_core: "ConsoleKit" seat: "/org/freedesktop/ConsoleKit/Seat1" / "/org/freedesktop/ConsoleKit/Seat1" kwin_core: Failed to get Active Property of "ConsoleKit" session: "No such property 'activate'" kwin_core: Gained session control kwin_libinput: Libinput: event2 - kwin_libinput: Libinput: qpnp_chg_unplug_key: kwin_libinput: Libinput: is tagged by udev as: Keyboard kwin_libinput: Libinput: event2 - kwin_libinput: Libinput: qpnp_chg_unplug_key: kwin_libinput: Libinput: device is a keyboard kwin_libinput: Libinput: event3 - kwin_libinput: Libinput: gpio-keys: kwin_libinput: Libinput: is tagged by udev as: Keyboard kwin_libinput: Libinput: event3 - kwin_libinput: Libinput: gpio-keys: kwin_libinput: Libinput: device is a keyboard kwin_libinput: Libinput: event0 - kwin_libinput: Libinput: mhl-rcp: kwin_libinput: Libinput: is tagged by udev as: Keyboard kwin_libinput: Libinput: event0 - kwin_libinput: Libinput: mhl-rcp: kwin_libinput: Libinput: device is a keyboard kwin_libinput: Libinput: event1 - kwin_libinput: Libinput: qpnp_pon: kwin_libinput: Libinput: is tagged by udev as: Keyboard kwin_libinput: Libinput: event1 - kwin_libinput: Libinput: qpnp_pon: kwin_libinput: Libinput: device is a keyboard kwin_libinput: Libinput: event4 - kwin_libinput: Libinput: clearpad: kwin_libinput: Libinput: is tagged by udev as: Touchscreen kwin_libinput: Libinput: event4 - kwin_libinput: Libinput: clearpad: kwin_libinput: Libinput: device is a touch device kwin_core: Could not take device /dev/fb0 , cause: "Failed to get file descriptor for device" kwin_wayland_framebuffer: Failed to open frame buffer device through logind, trying without kwin_wayland_framebuffer: Bits Per Pixel: 32 kwin_wayland_framebuffer: Buffer Length: 7536640 kwin_wayland_framebuffer: Bytes Per Line: 2944 kwin_wayland_framebuffer: Alpha Length: 8 kwin_wayland_framebuffer: Red Length: 8 kwin_wayland_framebuffer: Green Length: 8 kwin_wayland_framebuffer: Blue Length: 8 kwin_wayland_framebuffer: Blue Offset: 16 kwin_wayland_framebuffer: Green Offset: 8 kwin_wayland_framebuffer: Red Offset: 0 kwin_wayland_framebuffer: Alpha Offset: 24 kwin_wayland_framebuffer: Framebuffer format is RGBA8888 kwin_wayland_framebuffer: Framebuffer format is unknown kwin_core: Compositing forced to QPainter mode by environment variable kwin_core: Initializing QPainter compositing Disabling glamor and dri3, EGL setup failed Failed to initialize glamor, falling back to sw X-Server started on display :0 kwin_core: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "50" randr: 0x "14" sync: 0x "31" damage: 0x "11" kwin_core: Compositing forced to QPainter mode by environment variable org.kde.kwindowsystem: Could not find any platform plugin JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform. Running on a compositor with no screens is not supported (EE) Fatal server error: (EE) failed to read Wayland events: Broken pipe (EE) It looks like the fbdev platform does not create any screens. Please check whether FramebufferBackend::queryScreenInfo() queries the proper m_resolution. please also note that using fbdev platform plugin on such a device will not result in a pleasant experience. It means no OpenGL ES at all for any application. This same issue also affects drm If the same also happens on drm platform than you have an issue with the hardware you try to integrate with. Created attachment 107287 [details] signature.asc On Mon, Aug 14, 2017 at 07:08:30PM +0000, Martin Flöser wrote: > If the same also happens on drm platform than you have an issue with the > hardware you try to integrate with. What I find suspicious is, this error popped up even when we tried to run kwin in --virtual mode, where literally there is no hardware requirement I believe. While it might not be obvious from the debug output: the problem here is not KWin failing, it's XWayland failing. XWayland gives up because "there are no screens" and without XWayland KWin gives up. So the question is why does XWayland think there are no screens. Possibilities are a "strange" XWayland version (too old, too new, custom patches). actually after reading through the messages again I think the problem is somewhere completely different: kwin is not compiled with the breeze dependency. Due to that Aurorae is used which pulls in QtQuick. And that might be failing and asserting KWin. So best try with breeze dependency. Bhushan, did comment #9 help to resolve the issue? If you can provide the information requested in comment #10, please add it. To further investigate this issue, KDE developers need the information requested in comment #10. If you can provide it, or need help with finding that information, please add a comment. I'll close this bug as downstream bug, since later in Dec 2017-ish we learned that Alpine is building qtdeclarative without JIT enabled (since it provides only armv6 packages), and that resulted in instant crash in anything which uses QML, after fixing the qtdeclarative Plasma Mobile and kwin worked on the device(s) https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#plasma-mobile |