Open StarFire75 opened 3 months ago
From some references -- this might be an issue with the nVidia driver, DRM and wlroots, not playing well with each other.
Looks like sway (https://swaywm.org/) has a --unsupported-gpu
flag. Would need to look into what this changes, and if/whether to enable a similar workaround.
(pending work on wlmaker side => explore that flag, behaviour and if/whether to do the same)
Two questions for @StarFire75:
nVidia Driver: NVIDIA dlloader X Driver 535.183.01 Sun May 12 19:35:37 UTC 2024
I use the drivers that come with Debian Sid
@StarFire75 -- reading wlroots source code, the behaviour of the X11 driver appears to have changed when it cannot query dri3 DRM FD (with https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/325d8438147ebba6b9756e0d9d2b720c1ced351a).
I updated all dependencies to that version here: https://github.com/phkaeser/wlmaker/tree/nvidia
Can you try a fresh install & build from that branch? From reading the code, it might work. (IIRC, this will also request you to install latest meson)
EDIT: Hm, I had a compile version mess locally. Updating to wlroots-0.18 also comes with non-trivial API changes. Will take a bit to update.
Updates to wlroots-0.18 are done -- PTAL from that branch.
With #107, support for wlroots-0.18 has been merged to the main branch. Also, the build instructions have gotten updated.
To verify: Please use the version from main (https://github.com/phkaeser/wlmaker). The build instructions for Debian Bookworm describe how to build with wlroots-0.18 from source.
Once you find some time, please follow that to verify. Thanks!
It still does not start, but the error message has changed:
2024-09-15 14:56:16.627 (INFO) src/config.c:280 Failed bs_file_resolve_path(~/.wlmaker.plist, 0x7ffc3c6db550): errno(2): No such file or directory
2024-09-15 14:56:16.627 (INFO) src/config.c:293 No configuration file found, using embedded default.
2024-09-15 14:56:16.627 (INFO) src/config.c:314 Failed bs_file_resolve_path(~/.wlmaker-state.plist, 0x7ffc3c6db550): errno(2): No such file or directory
2024-09-15 14:56:16.627 (INFO) src/config.c:327 No state file found, using embedded default.
2024-09-15 14:56:16.627 (INFO) backend/x11/backend.c:400 Creating X11 backend
2024-09-15 14:56:16.627 (INFO) backend/x11/backend.c:487 X11 does not support shared pixmaps
2024-09-15 14:56:16.628 (ERROR) backend/x11/backend.c:264 Failed to open DRI3
2024-09-15 14:56:16.628 (ERROR) backend/x11/backend.c:615 Failed to query DRI3 DRM FD
2024-09-15 14:56:16.628 (INFO) backend/x11/backend.c:616 Disabling DMA-BUF support
2024-09-15 14:56:16.630 (INFO) render/pixman/renderer.c:328 Creating pixman renderer
2024-09-15 14:56:16.633 (INFO) backend/x11/backend.c:164 Starting X11 backend
2024-09-15 14:56:16.635 (ERROR) types/output/render.c:24 output backend and allocator buffer capabilities don't match
2024-09-15 14:56:16.635 (ERROR) src/output.c:130 Failed wlr_output_init_renderer() on X11-1
2024-09-15 14:56:16.635 (INFO) src/output.c:209 Destroy output X11-1
2024-09-15 14:56:16.635 (INFO) src/server.c:620 Failed wlmaker_output_create for server 0x5605d3a4e1f0
2024-09-15 14:56:16.635 (ERROR) src/wlmaker.c:365 No outputs available!
I also tried ot set WLR_RENDERER=pixman, but that not work either which is no surprise as it tries to set up a pixman renderer itself
Hello World,
I have built wlmaker according to the build instructions (latest
main
from github: 3f0f599537a4c98860fbf39a15d715042a2d3529), but I cannot start it:Unfortunately, there is no additional debug output:
There is also no change, if I change the renderer:
I have also tried to install the wlmaker Debian package, but the same error appears:
If I try to run it from a Linux terminal, I get a slightly different error message:
The "Found 0 GPUs" is confusing (Civilization VI says the same), because I have:
I run the whole thing with
strace
, the output is attached as file.What do I do wrong? How can I fix that?
Best regards - Andreas trace.log