Sep 08 20:22:43 DietPi sway[1436]: 00:00:00.053 [ERROR] [wlr] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: “eglQueryDeviceStringEXT”
What to do
Can you share more info please. What device are you using?
And what exactly you are doing.
poking around…found this
Rapberry pi 5, dietpi v9.16. I have installed sway, but it doesn’t work. That’s all. ChatGpt didn’t help.
I do not understand
Help please
What should I check
Not working. The same mistake
Where can I ask
Did you install sway via dietpi script?
And di you try what is mentioned in the linked github issue?
I’m not aware this being part of DietPi. But maybe I missed this
Yes, it is not available in dietpi-software.
What script?
Yes, I tried it.
EGL_BAD_PARAMETER · Issue #8872 · swaywm/sway · GitHub (Detailed logs)
2025-09-11 18:57:39 - [main.c:571] wl_display_roundtrip failed
I don’t think we are able to assist on this. I recommend to stick with the GitHub issue you raised.
Generally it would be nice to give some context, as e.g. I did not even know what sway is. So it is a compositor for the i3 window manager, more importantly a Wayland compositor.
I guess you installed it just via
apt install sway
There might be some incompatibility with packages from the RPi repository with those from Debian, since the RPi repo mixes inside own packages with certain changes for their own RPi desktop, which supports Wayland and X11 both. But not sure in this particular case.
Checking other things first:
Is KMS enabled?
/boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d
And did you raise the GPU memory for GUI applications?
/boot/dietpi/func/dietpi-set_hardware gpumemsplit 76
Yes, KMS is enabled and gpumemsplit=76