Fails to open on 5120x1440 monitor
When launching the application on my ultra-wide monitor, in its correct resolution, I get the error...
[window] failed to create window: Window is too large.
...but when I switch the display's resolution to 1920x1080, Lagrange opens perfectly fine and continues to work after changing the resolution back to 5120x1440 while keeping the, already open, window open.
Additionally, once open, I can create new windows fine, even under a 5120x1440 resolution.
OS: Ubuntu 20.04.4 Monitor: Samsung Odyssey Neo G9 Downloaded the v1.11.2 x86 Linux appimage from GitHub.
That error message is directly from SDL. Perhaps something in the underlying layers has a limitation for creating windows?
As a possible workaround, windows could always be created with a small size and then resized to the intended size, although ideally this is something that SDL should be handling on its own, if necessary.
GPUs limit the maximum texture size to whatever their circuitry is able to compute over. You might have hit the limit. I had a similar experience with mobile GPUs not being able to allocate textures larger than 4096x4096 pixels.
Try launching the app with --sw? The software renderer has no texture size limitations at least.
glxinfo -l | grep GL_MAX_TEXTURE_SIZE
Should print the actual limit.
GL_MAX_TEXTURE_SIZE = 16384
GL_MAX_TEXTURE_SIZE = 16384
On my Xubuntu 20.04