Hi, i'm having difficulties getting it to run on WSL 2 with Ubuntu 22.04 LTS
@sibuna try this: https://github.com/HumbleUI/humble-starter
gives the same error
Looks like WSL is missing some X11 compatibility package. Do other GUI Linux programs run there correctly on your machine?
Or maybe it's as simple as setting DISPLAY=:0 in the env?
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
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:(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)
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)
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
I don’t remember any details
And it was pretty bad anyways, certainly not good enough to develop Linux version full-time