Summary: | kwin hangs when there is no render node e.g. in qemu | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jos van den Oever <jos> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jos van den Oever
2023-07-01 07:18:45 UTC
With the nomodeset kernel parameter, simpledrm is used and I also get no render node. KWin still works with llvmpipe though, so this might be a driver side problem I tried again today with kwin_wayland for kf5 and kf6 compiled from today's git repositories. weston works fine in the same setup, but kwin_wayland from kf5 gives this output: ``` No backend specified, automatically choosing drm pci id for fd 19: 1234:1111, driver (null) MESA-LOADER: failed to open bochs-drm: /run/opengl-driver/lib/dri/bochs-drm_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri) pci id for fd 17: 1234:1111, driver (null) kmsro: driver missing OpenGL vendor string: Mesa OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits) OpenGL version string: 4.5 (Core Profile) Mesa 23.0.3 OpenGL shading language version string: 4.50 Driver: LLVMpipe GPU class: Unknown OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 23.0.3 Linux kernel version: 6.1.31 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_wayland_drm: Failed to create gamma blob! Invalid argument ``` > gbm_bo_get_fd_for_plane() failed: Function not implemented
This is the culprit. It looks like a driver issue. kwin needs to export dmabuf file descriptors to work correctly, otherwise it's not going to work correctly.
Hmm, which is it? Is it a driver issue, or does KWin needs to export dmabuf file descriptors? If the former, this should be RESOLVED UPSTREAM. If the latter, then this should remain open until KWin is changed. This is a driver issue, gbm_bo_get_fd_for_plane needs to be implemented by the driver. |