error preventing launch on linux
when attempting to launch with xwayland, which was working fine before this update: Error: Unable to load bitmap crosshair texture when attempting to launch by default: Error: OpenGL initialization failed: Unknown error
installed via AUR, please let me know what i should provide
im having this issue too on my nvidia laptop :( also on cachyos
EDIT: seems like an issue with the pkgbuild. download the linux release then put it in your actual supermodel folder... that did it for me :D still don't know why that opengl error happens though
It’s because—for whatever reason—the Linux build expects the Assets directory to be in $HOME/.local/share/supermodel and the Config directory to be in $HOME/.config/supermodel. The source code, however, uses relative paths to the root directory (as expected for a portable release).
I thought this was supposed to all fall back to the same locations. I forget how it performs fallback but my guess is that it checks for the presence of the directories in successive order. If you don’t have these directories created and only have ROMs/ and Config/, as present in the .tgz release archive, then it should load from there provided you launch Supermodel from that directory. Does this not work?
I’m surprised that Assets are loaded from a different place but I didn’t write that code.
For Supermodel.ini, it first checks Config/Supermodel.ini (i.e., the config directory relative to the current working directory) and then falls back to $HOME/.config/Config/Supermodel.ini. For everything else, it ignores the current working directory—or maybe it just fails to read the files there.
Error: OpenGL initialization failed: Unknown error is fixed by before launching run WAYLAND_DISPLAY=""
Error: OpenGL initialization failed: Unknown error is fixed by before launching run WAYLAND_DISPLAY=""
This worked for me latest release of src built on a Fedora Core 43 Distrobox hosted on Bazzite (FCOS43 based as well).