humbleui

Bastian 2024-01-20T07:50:00.598929Z

Hi, i'm having difficulties getting it to run on WSL 2 with Ubuntu 22.04 LTS

ru 2024-01-20T14:26:43.687659Z

@sibuna try this: https://github.com/HumbleUI/humble-starter

Bastian 2024-01-20T15:25:12.813319Z

gives the same error

Nundrum 2024-01-20T16:19:14.867569Z

Looks like WSL is missing some X11 compatibility package. Do other GUI Linux programs run there correctly on your machine?

Nundrum 2024-01-20T16:20:02.542619Z

Or maybe it's as simple as setting DISPLAY=:0 in the env?

Bastian 2024-01-20T16:29:50.636499Z

yeah, i suspect something like this too. xeyes and a simple java gui program works, maybe i need some opengl lib, i'll google a bit

Bastian 2024-01-20T07:52:47.074759Z

The repl prints:

X Error: BadMatch (invalid parameter attributes)
X Error: BadValue (integer parameter out of range for operation)
X Error: BadWindow (invalid Window parameter)
X Error: BadWindow (invalid Window parameter)
X Error: BadWindow (invalid Window parameter)
X Error: BadWindow (invalid Window parameter)
X Error: BadWindow (invalid Window parameter)
and this error gets repeated a couple of times:

Bastian 2024-01-20T07:55:33.102019Z

(and a black window opens) thought I probably missed some libs and installed all the required ones to build JWM to no avail libxcomposite-dev libxrandr-dev libgl1-mesa-dev libxi-dev libxcursor-dev any ideas? (not a pressing issue, it is working fine in windows and I can try it there)

Bastian 2024-01-22T17:19:38.758079Z

seems to be an OpenGL issue with WSL and intel graphics drivers in Windows 10:man-shrugging:. (if somebody has the same issue: graphics config can be checked with glxinfo from package mesa-utils, this gives same error [Bad Value ...], so no humbleUI problem)

Niki 2024-01-22T17:30:35.797599Z

I actually had run JWM at least on WSL2 in the past. But it was non-trivial, required some WSL tweaks and some code changes

Niki 2024-01-22T17:31:02.337869Z

I don’t remember any details

Niki 2024-01-22T17:31:24.890449Z

And it was pretty bad anyways, certainly not good enough to develop Linux version full-time