Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSpades crashes upon launching with OpenGL renderer #1079

Open
Ixve opened this issue Apr 8, 2023 · 1 comment
Open

OpenSpades crashes upon launching with OpenGL renderer #1079

Ixve opened this issue Apr 8, 2023 · 1 comment

Comments

@Ixve
Copy link

Ixve commented Apr 8, 2023

OS: Artix Linux 64-bit
Building OpenSpades from the source works perfectly fine, however upon launching the game with the OpenGL renderer it starts loading and then crashes with the following message:

2023/04/08 02:13:28 [GLProgramManager.cpp:147] Loading GLSL shader 'Shaders/Fog.vs'
2023/04/08 02:13:28 [GLProgramManager.cpp:189] Successfully compiled GLSL program 'Shaders/Fog.vs' in 0.007ms
2023/04/08 02:13:28 [GLProgramManager.cpp:138] Successfully linked GLSL program 'Shaders/OptimizedVoxelModelShadowMap.program' in 0.480ms
2023/04/08 02:13:28 [GLRenderer.cpp:202] GLRenderer initialized
2023/04/08 02:13:28 [GLRenderer.cpp:298] New map loaded; freeing old renderers...
2023/04/08 02:13:28 [GLRenderer.cpp:313] Creating new renderers...
2023/04/08 02:13:28 [GLRenderer.cpp:315] Creating Terrain Shadow Map Renderer
2023/04/08 02:13:28 [GLRenderer.cpp:317] Creating TerrainRenderer
2023/04/08 02:13:28 [GLProgramManager.cpp:87] Loading GLSL program 'Shaders/BasicBlockTextures.program'
2023/04/08 02:13:28 [Runner.cpp:48] [!] Unhandled exception in SDLRunner:
Caught an exception from the application @ [/Gui/MainScreen/MainScreenUI.as:72,13] void spades::MainScreenUI::SetupRenderer()
 > [/Gui/MainScreen/MainScreenUI.as:49,13] spades::MainScreenUI::MainScreenUI(spades::Renderer@, spades::AudioDevice@, spades::FontManager@, spades::MainScreenHelper@)
 > [/Gui/MainScreen/MainScreenUI.as:0,0] spades::MainScreenUI@ MainScreenUI(spades::Renderer@, spades::AudioDevice@, spades::FontManager@, spades::MainScreenHelper@)
 > [/Gui/MainScreen/MainScreenUI.as:192,9] spades::MainScreenUI@ spades::CreateMainScreenUI(spades::Renderer@, spades::AudioDevice@, spades::FontManager@, spades::MainScreenHelper@)
at /home/synth/workspace/openspades/Sources/ScriptBindings/ScriptManager.cpp:361
void spades::ScriptContextUtils::ExecuteChecked() at ScriptManager.cpp:338
void spades::ScriptContextHandle::ExecuteChecked() at ScriptManager.cpp:277
void spades::gui::MainScreen::DoInit() at MainScreen.cpp:273
virtual void spades::gui::MainScreen::RunFrame(float) at MainScreen.cpp:232
void spades::gui::SDLRunner::Run(int, int) at SDLRunner.cpp:427
void spades::gui::Runner::Run() at Runner.cpp:70
void spades::gui::Runner::RunProtected() at Runner.cpp:42
int main(int, char**) at Main.cpp:312

2023/04/08 02:13:28 [Settings.cpp:277] Saving preference to SPConfig.cfg
2023/04/08 02:13:28 [Settings.cpp:183] Saving preferences to SPConfig.cfg

I have tried re-installing SDL2 already to no avail.

@Evvgnn
Copy link

Evvgnn commented Sep 24, 2023

I have the same problem, but on Windows 11. Even "[/Gui/MainScreen/MainScreenUI.as:72,13]" part is there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants