Summary: | Nested kwin_wayland crashed when starting in gbm_bo_create_with_modifiers on bare metal using the llvmpipe driver | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Matt Fagnani <matt.fagnani> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 5.27.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=466281 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/b97e6f6c73317fef0570aa3fe504fb745e8a6a5a | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | The full trace of all threads of the nested kwin_wayland crash. |
Description
Matt Fagnani
2023-02-23 13:43:44 UTC
> kwin_wayland_backend: Failed to open drm render node /dev/dri/renderD128
I assume that /dev/dri/renderD128 doesn't exist on your system?
(In reply to Zamundaaa from comment #1) > > kwin_wayland_backend: Failed to open drm render node /dev/dri/renderD128 > > I assume that /dev/dri/renderD128 doesn't exist on your system? /dev/dri/renderD128 doesn't exist in basic graphics mode with nomodeset on the kernel command line and the llvmpipe and simpledrm drivers on bare metal and in a QEMU/KVM VM with the Fedora 38 live image I mentioned; /dev/dri/card0 exists in such cases. /dev/dri/renderD128 exists with llvmpipe and virtio_gpu, virgl and virtio_gpu in VMs and radeonsi and amdgpu on bare metal with the same image. The kernel might not create /dev/dri/renderD128 when using nomodeset and/or simpledrm. Thanks. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3676 Git commit 5f0ea95bfa0bba8cfd67d364fda7b108826c9db2 by Xaver Hugl. Committed on 23/02/2023 at 18:46. Pushed by zamundaaa into branch 'master'. backends/wayland: fall back to qpainter when there's no render node While we could still access the primary node, as we're not getting GPU acceleration anyways we might as well fall back to CPU rendering directly M +4 -2 src/backends/wayland/wayland_backend.cpp https://invent.kde.org/plasma/kwin/commit/5f0ea95bfa0bba8cfd67d364fda7b108826c9db2 Git commit b97e6f6c73317fef0570aa3fe504fb745e8a6a5a by Xaver Hugl. Committed on 23/02/2023 at 20:16. Pushed by zamundaaa into branch 'Plasma/5.27'. backends/wayland: fall back to qpainter when there's no render node While we could still access the primary node, as we're not getting GPU acceleration anyways we might as well fall back to CPU rendering directly (cherry picked from commit 5f0ea95bfa0bba8cfd67d364fda7b108826c9db2) M +4 -2 src/backends/wayland/wayland_backend.cpp https://invent.kde.org/plasma/kwin/commit/b97e6f6c73317fef0570aa3fe504fb745e8a6a5a |