2025-07-19 00:43 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005718Spring engineGeneralpublic2017-08-22 17:44
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target Version104.0Fixed in Version 
Summary0005718: [f=-000001] Warning: [OPENGL_DEBUG] id=7 source=API type=ERROR severity=HIGH msg="GL_INVALID_OPERATION in unsupported function c
Descriptionwhen DebugGL = 1 spring spams with GL_INVALID_OPERATION

    SDL version : 2.0.5 (linked) / 2.0.5 (compiled)
    GL version : 3.0 Mesa 13.0.6
    GL vendor : X.Org
    GL renderer : Gallium 0.4 on AMD JUNIPER (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1)
    GLSL version: 1.30
    GLEW version: 2.0.0
    GPU memory : 1024MB (total) / 1024MB (available)
    SDL swap-int: 1

+ see attached logfile
Steps To Reproducestart spring with DebugGL = 1, start ba:test
Additional Information[f=-000001] Warning: [OPENGL_DEBUG] id=7 source=API type=ERROR severity=HIGH msg="GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)"
[f=-000001] [CrashHandler] Warning: Stacktrace (rendering) for Spring 103.0.1-1278-gc8c9cad52 develop (Debug):
[f=-000001] [CrashHandler] Warning: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:714 CrashHandler::Stacktrace(bool*, unsigned long*, char const*, int)
[f=-000001] [CrashHandler] Warning: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:749 CrashHandler::Stacktrace(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char [...]
[f=-000001] [CrashHandler] Warning: [02] /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:1132 (discriminator 6) glDebugMessageCallbackFunc(unsigned int, unsigned int, unsigned int, unsigned int, int, char c [...]
[f=-000001] [CrashHandler] Warning: [03] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xb019d) [0x7f3b3e0ab19d] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [04] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x8b7e2) [0x7f3b3e0867e2] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [05] /home/abma/dev/spring/develop/rts/Rendering/GL/glMarkers.cpp:11 CGraphicsMarker::Begin(char const*)
[f=-000001] [CrashHandler] Warning: [06] /home/abma/dev/spring/develop/rts/Rendering/GL/glMarkers.h:13 CGraphicsMarker::CGraphicsMarker(char const*)
[f=-000001] [CrashHandler] Warning: [07] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:532 CProjectileDrawer::DrawFlyingPieces(int)
[f=-000001] [CrashHandler] Warning: [08] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:384 CProjectileDrawer::DrawProjectiles(int, bool, bool)
[f=-000001] [CrashHandler] Warning: [09] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:580 (discriminator 2) CProjectileDrawer::Draw(bool, bool)
[f=-000001] [CrashHandler] Warning: [10] /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:253 CWorldDrawer::Draw() const
[f=-000001] [CrashHandler] Warning: [11] /home/abma/dev/spring/develop/rts/Game/Game.cpp:1330 CGame::Draw()
[f=-000001] [CrashHandler] Warning: [12] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:860 (discriminator 3) SpringApp::Update()
[f=-000001] [CrashHandler] Warning: [13] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:890 SpringApp::Run()
[f=-000001] [CrashHandler] Warning: [14] /home/abma/dev/spring/develop/rts/System/Main.cpp:43 Run(int, char**)
[f=-000001] [CrashHandler] Warning: [15] /home/abma/dev/spring/develop/rts/System/Main.cpp:92 main
[f=-000001] [CrashHandler] Warning: [16] /build/glibc-p3Km7c/glibc-2.24/csu/../csu/libc-start.c:325 __libc_start_main
[f=-000001] [CrashHandler] Warning: [17] ./spring(_start+0x2a) [0x5588cf0b361a] _start
[f=-000001] Warning: [OPENGL_DEBUG] id=7 source=API type=ERROR severity=HIGH msg="GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)"
[f=-000001] [CrashHandler] Warning: Stacktrace (rendering) for Spring 103.0.1-1278-gc8c9cad52 develop (Debug):
[f=-000001] [CrashHandler] Warning: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:714 CrashHandler::Stacktrace(bool*, unsigned long*, char const*, int)
[f=-000001] [CrashHandler] Warning: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:749 CrashHandler::Stacktrace(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char [...]
[f=-000001] [CrashHandler] Warning: [02] /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:1132 (discriminator 6) glDebugMessageCallbackFunc(unsigned int, unsigned int, unsigned int, unsigned int, int, char c [...]
[f=-000001] [CrashHandler] Warning: [03] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xb019d) [0x7f3b3e0ab19d] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [04] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x8b7e2) [0x7f3b3e0867e2] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [05] /home/abma/dev/spring/develop/rts/Rendering/GL/glMarkers.cpp:18 CGraphicsMarker::End()
[f=-000001] [CrashHandler] Warning: [06] /home/abma/dev/spring/develop/rts/Rendering/GL/glMarkers.h:17 CGraphicsMarker::~CGraphicsMarker()
[f=-000001] [CrashHandler] Warning: [07] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:559 CProjectileDrawer::DrawFlyingPieces(int)
[f=-000001] [CrashHandler] Warning: [08] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:384 CProjectileDrawer::DrawProjectiles(int, bool, bool)
[f=-000001] [CrashHandler] Warning: [09] /home/abma/dev/spring/develop/rts/Rendering/Env/Particles/ProjectileDrawer.cpp:580 (discriminator 2) CProjectileDrawer::Draw(bool, bool)
[f=-000001] [CrashHandler] Warning: [10] /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:253 CWorldDrawer::Draw() const
[f=-000001] [CrashHandler] Warning: [11] /home/abma/dev/spring/develop/rts/Game/Game.cpp:1330 CGame::Draw()
[f=-000001] [CrashHandler] Warning: [12] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:860 (discriminator 3) SpringApp::Update()
[f=-000001] [CrashHandler] Warning: [13] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:890 SpringApp::Run()
[f=-000001] [CrashHandler] Warning: [14] /home/abma/dev/spring/develop/rts/System/Main.cpp:43 Run(int, char**)
[f=-000001] [CrashHandler] Warning: [15] /home/abma/dev/spring/develop/rts/System/Main.cpp:92 main
[f=-000001] [CrashHandler] Warning: [16] /build/glibc-p3Km7c/glibc-2.24/csu/../csu/libc-start.c:325 __libc_start_main
[f=-000001] [CrashHandler] Warning: [17] ./spring(_start+0x2a) [0x5588cf0b361a] _start
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0018238

abma (administrator)

for me it looks like rts/Rendering/GL/glMarkers.* can be safely removed?!

~0018256

abma (administrator)

Fix 5e7f398c844b8b627d0d92b403abcee958708f65 committed to develop branch: fix 0005718:
remove glMarkers: "unsupported extension or deprecated function", repo: spring changeset id: 8615
+Notes

-Issue History
Date Modified Username Field Change
2017-08-21 21:28 abma New Issue
2017-08-21 21:28 abma File Added: infolog.txt
2017-08-21 21:29 abma Product Version => 103.0 +git
2017-08-21 21:31 abma Note Added: 0018238
2017-08-22 17:44 abma Changeset attached => spring develop 5e7f398c
2017-08-22 17:44 abma Note Added: 0018256
2017-08-22 17:44 abma Assigned To => abma
2017-08-22 17:44 abma Status new => resolved
2017-08-22 17:44 abma Resolution open => fixed
+Issue History