Closed systems-praxis closed 2 years ago
There is no shader selected by default, so the black screen shouldn't have anything to do with the shader errors. It is expected that shaders don't work across all configurations, which is why no shader is selected by default. Please double check that ~/.stratagus/wc2/preferences.lua
has wc2.preferences.VideoShader = "none"
.
Please double check that
~/.stratagus/wc2/preferences.lua
haswc2.preferences.VideoShader = "none"
.
Yes, it is set to "none" as it is by default.
-James
I've added an option -g
that forces software rendering, which should hopefully give a display even when something with the OpenGL driver goes wrong. It's in the current master and the next release will include this
You can also use SDL_HINT_RENDER_DRIVER=software
as environment variable, it will disable opengl and shaders entirely
Fix released
When trying to run Wargus 3.0.0-r1 on Hardened Gentoo Linux 5.11.16 and Mesa 21.1.0_rc2, it spits out these shader compilation errors and draws a blank (black) window that cannot be interacted with. Try to close the program and it's unresponsive and the process needs to be killed.