View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004741 | Spring engine | Gfx driver issues | public | 2015-04-12 02:53 | 2015-04-29 02:04 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | high | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | unable to reproduce | ||||||
Product Version | 98.0.1+git | ||||||||
Target Version | 99.0 | Fixed in Version | |||||||
Summary | 0004741: opengl error: glDrawRangeElements called in state where it is not allowed | ||||||||
Description | 1,315 OpenGL function calls glDrawRangeElements(GL_TRIANGLES, 0, 49923, 549, GL_UNSIGNED_INT, 0x00000000) | ||||||||
Steps To Reproduce | run spring 98.0.1-524-ged46987 with default settings, start imperial winter + some random map + CodeXL attached Break Reason OpenGL Error Break on glDrawRangeElements(GL_TRIANGLES , 0 , 49923 , 549 , GL_UNSIGNED_INT , 0x00000000) Error Code GL_INVALID_OPERATION Error Description The specified operation is not allowed in the current state. The offending function is ignored, having no side effect other than to set the error flag. * Stopped before function execution | ||||||||
Additional Information | call stack: 0x00609968 - spring.exe 0x0060adb6 - spring.exe 0x00640ec0 - spring.exe 0x00641180 - spring.exe 0x0042b707 - spring.exe 0x007367fd - spring.exe 0x0073d7a8 - spring.exe 0x00716a35 - spring.exe skirmishAiCallback_Cheats_setEnabled - spring.exe 0x00401401 - spring.exe BaseThreadInitThunk - kernel32.dll RtlInitializeExceptionChain - ntdll.dll | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
abma (administrator) 2015-04-12 02:55 Last edited: 2015-04-13 03:39 |
this error seems to happen repeatedly (i guess once each frame), so should be fixed. this explains also why it seems to "hang" with DebugGLStacktraces = 1. |
abma (administrator) 2015-04-13 03:51 |
translated from infolog: C:\Windows\SysWOW64\ntdll.dll 0x77251D85 ?? 0 98.0.1-524-ged46987\spring.exe 0x0077BF80 rts/System/Platform/Win/CrashHandler.cpp 135 98.0.1-524-ged46987\spring.exe 0x00668A40 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h 539 C:\Windows\system32\atioglxx.dll 0x035A4E17 ?? 0 C:\Windows\system32\atioglxx.dll 0x035A4625 ?? 0 C:\Windows\system32\atioglxx.dll 0x0347CC4E ?? 0 C:\Windows\system32\atioglxx.dll 0x035A5EFA ?? 0 C:\Windows\system32\atioglxx.dll 0x03B3AB44 ?? 0 98.0.1-524-ged46987\spring.exe 0x0060ADB7 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_iterator.h 748 98.0.1-524-ged46987\spring.exe 0x005DC81E rts/Map/BaseGroundDrawer.cpp 100 98.0.1-524-ged46987\spring.exe 0x005F7293 rts/Map/SMF/SMFGroundDrawer.cpp 303 98.0.1-524-ged46987\spring.exe 0x0062EF4E rts/Rendering/Env/BasicSky.cpp 252 98.0.1-524-ged46987\spring.exe 0x00640EC1 rts/Rendering/Env/CubeMapHandler.cpp 208 98.0.1-524-ged46987\spring.exe 0x00641181 rts/Rendering/Env/CubeMapHandler.cpp 136 98.0.1-524-ged46987\spring.exe 0x0042B708 rts/Game/Game.cpp 1285 98.0.1-524-ged46987\spring.exe 0x007367FE rts/System/SpringApp.cpp 922 98.0.1-524-ged46987\spring.exe 0x0073D7A9 rts/System/SpringApp.cpp 954 98.0.1-524-ged46987\spring.exe 0x00716A36 rts/System/Main.cpp 48 98.0.1-524-ged46987\spring.exe 0x00EB9B84 rts/System/Main.cpp 107 hmm, not sure if stacktrace makes sense :-| |
abma (administrator) 2015-04-13 21:17 |
still present in spring 98.0.1-529-g86a5f10: C:\Windows\SysWOW64\ntdll.dll 0x77751D85 ??:0 98.0.1-529-g86a5f10\spring.exe 0x0077BC80 rts/System/Platform/Win/CrashHandler.cpp:135 98.0.1-529-g86a5f10\spring.exe 0x00668B80 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h:539 C:\Windows\system32\atioglxx.dll 0x69964E17 ??:0 C:\Windows\system32\atioglxx.dll 0x69964625 ??:0 C:\Windows\system32\atioglxx.dll 0x6983CC4E ??:0 C:\Windows\system32\atioglxx.dll 0x69965EFA ??:0 C:\Windows\system32\atioglxx.dll 0x69EFAB44 ??:0 98.0.1-529-g86a5f10\spring.exe 0x0060AD77 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_iterator.h:748 98.0.1-529-g86a5f10\spring.exe 0x005DC7DE rts/Map/BaseGroundDrawer.cpp:100 98.0.1-529-g86a5f10\spring.exe 0x005F7253 rts/Map/SMF/SMFGroundDrawer.cpp:303 98.0.1-529-g86a5f10\spring.exe 0x00640FD1 rts/Rendering/Env/CubeMapHandler.cpp:208 98.0.1-529-g86a5f10\spring.exe 0x00641291 rts/Rendering/Env/CubeMapHandler.cpp:136 98.0.1-529-g86a5f10\spring.exe 0x0042B738 rts/Game/Game.cpp:1285 98.0.1-529-g86a5f10\spring.exe 0x007364FE rts/System/SpringApp.cpp:922 98.0.1-529-g86a5f10\spring.exe 0x0073D4A9 rts/System/SpringApp.cpp:954 98.0.1-529-g86a5f10\spring.exe 0x00716736 rts/System/Main.cpp:48 98.0.1-529-g86a5f10\spring.exe 0x00EB9E44 rts/System/Main.cpp:107 98.0.1-529-g86a5f10\spring.exe 0x00401402 /opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317 |
jK (developer) 2015-04-14 16:45 |
1. cannot reproduce 2. the error is not related to glDrawRangeElements (at least none of its rules for a GL_INVALID_OPERATION are given) 3. the stacktrace is totally borked by damn ati driver -> more info needed: 1. test different ROAM render modes (DL or VA) 2. bisect the commit that causes it |
abma (administrator) 2015-04-17 00:27 |
sorry, will need a bit... |
abma (administrator) 2015-04-19 22:43 Last edited: 2015-04-19 22:45 |
works: 98.0.1-451-g0804ae1 develop doesn't work: 98.0.1-457-g9736910 develop https://github.com/spring/spring/compare/98.0.1-451-g0804ae1...98.0.1-457-g9736910 |
abma (administrator) 2015-04-19 22:56 |
when switching rendering: glDrawRangeElements has generated an error (GL_INVALID_OPERATION) [f=0000000] Error: OpenGL: source<API> type<error> id<2003> severity<high>: glDrawRangeElements failed because the currently active shader combination is invalid (GL_INVALID_OPERATION) [f=0000000] Switching to Legacy Mesh Rendering [f=0000000] Error: OpenGL: source<API> type<error> id<1000> severity<high>: glDrawArrays has generated an error (GL_INVALID_OPERATION) [f=0000000] Error: OpenGL: source<API> type<error> id<2003> severity<high>: glDrawArrays failed because the currently active shader combination is invalid (GL_INVALID_OPERATION) [f=0000000] Error: OpenGL: source<API> type<error> id<2003> severity<high>: |
abma (administrator) 2015-04-19 23:07 Last edited: 2015-04-19 23:10 |
98.0.1-557-gab9cf88 develop: ROAM = 0 C:\Windows\SysWOW64\ntdll.dll 0x776F1D81 ??:0 spring.exe 0x0077CD20 rts/System/Platform/Win/CrashHandler.cpp:135 spring.exe 0x006698F0 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h:539 C:\Windows\system32\atioglxx.dll 0x72304E17 ??:0 C:\Windows\system32\atioglxx.dll 0x72304625 ??:0 C:\Windows\system32\atioglxx.dll 0x721DCC4E ??:0 C:\Windows\system32\atioglxx.dll 0x72305EFA ??:0 C:\Windows\system32\atioglxx.dll 0x72899CB0 ??:0 spring.exe 0x006639D8 rts/Rendering/GL/VertexArray.cpp:138 spring.exe 0x00663FAC rts/Rendering/GL/VertexArray.cpp:203 spring.exe 0x00609674 rts/Map/SMF/Legacy/LegacyMeshDrawer.cpp:55 spring.exe 0x006097C3 rts/Map/SMF/Legacy/LegacyMeshDrawer.cpp:575 spring.exe 0x005F7B53 rts/Map/SMF/SMFGroundDrawer.cpp:303 spring.exe 0x00641C81 rts/Rendering/Env/CubeMapHandler.cpp:208 spring.exe 0x00641F41 rts/Rendering/Env/CubeMapHandler.cpp:136 spring.exe 0x0042B738 rts/Game/Game.cpp:1285 spring.exe 0x0073759E rts/System/SpringApp.cpp:922 spring.exe 0x0073E549 rts/System/SpringApp.cpp:954 spring.exe 0x007177D6 rts/System/Main.cpp:48 spring.exe 0x00EBA6E4 rts/System/Main.cpp:107 spring.exe 0x00401402 /opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317 |
abma (administrator) 2015-04-19 23:09 Last edited: 2015-04-19 23:10 |
ROAM = 1: [f=0000000] Error: OpenGL: source<API> type<error> id<1000> severity<high>: glDrawRangeElements has generated an error (GL_INVALID_OPERATION) C:\Windows\SysWOW64\ntdll.dll 0x776F1D81 ??:0 spring.exe 0x0077CD20 rts/System/Platform/Win/CrashHandler.cpp:135 spring.exe 0x006698F0 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h:539 C:\Windows\system32\atioglxx.dll 0x72304E17 ??:0 C:\Windows\system32\atioglxx.dll 0x72304625 ??:0 C:\Windows\system32\atioglxx.dll 0x721DCC4E ??:0 C:\Windows\system32\atioglxx.dll 0x72305EFA ??:0 C:\Windows\system32\atioglxx.dll 0x7289AB44 ??:0 spring.exe 0x0060BA27 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_iterator.h:748 spring.exe 0x005DC82E rts/Map/BaseGroundDrawer.cpp:100 spring.exe 0x005F7B53 rts/Map/SMF/SMFGroundDrawer.cpp:303 spring.exe 0x00641C81 rts/Rendering/Env/CubeMapHandler.cpp:208 spring.exe 0x00641F41 rts/Rendering/Env/CubeMapHandler.cpp:136 spring.exe 0x0042B738 rts/Game/Game.cpp:1285 spring.exe 0x0073759E rts/System/SpringApp.cpp:922 spring.exe 0x0073E549 rts/System/SpringApp.cpp:954 spring.exe 0x007177D6 rts/System/Main.cpp:48 spring.exe 0x00EBA6E4 rts/System/Main.cpp:107 spring.exe 0x00401402 /opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317 |
abma (administrator) 2015-04-19 23:11 |
visually the result is the same: map is "invisible". |
jK (developer) 2015-04-26 19:25 |
so did you tested `UseShaderCache = 0` ? |
abma (administrator) 2015-04-27 00:49 Last edited: 2015-04-27 00:49 |
yes, same error. :-| atm i'm compiling spring on windows trying to bisect / partly applying the breaking commit. |
abma (administrator) 2015-04-27 00:57 Last edited: 2015-04-27 09:02 |
hmmm, "same" isn't correct: glDrawArrays has generated an error (GL_INVALID_OPERATION) [f=0000000] Error: OpenGL: source<API> type<error> id<2003> severity<high>: glDrawArrays failed because the currently active shader combination is invalid (GL_INVALID_OPERATION) |
abma (administrator) 2015-04-29 02:04 |
can't reproduce: https://github.com/spring/spring/commit/30593880d415da1f074e4f15e816d6f83cc7966b ( but i've updated gfx drivers as well :-| ) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-04-12 02:53 | abma | New Issue | |
2015-04-12 02:55 | abma | Note Added: 0014340 | |
2015-04-12 02:56 | abma | Steps to Reproduce Updated | View Revisions |
2015-04-12 02:56 | abma | Summary | opengl error: glDrawRangeElements called in state where it is not allowed => (CodeXL) opengl error: glDrawRangeElements called in state where it is not allowed |
2015-04-12 02:56 | abma | Steps to Reproduce Updated | View Revisions |
2015-04-13 03:38 | abma | File Added: infolog.txt | |
2015-04-13 03:39 | abma | Note Edited: 0014340 | View Revisions |
2015-04-13 03:41 | abma | Priority | normal => high |
2015-04-13 03:51 | abma | Note Added: 0014345 | |
2015-04-13 09:32 | abma | Summary | (CodeXL) opengl error: glDrawRangeElements called in state where it is not allowed => opengl error: glDrawRangeElements called in state where it is not allowed |
2015-04-13 21:17 | abma | Note Added: 0014351 | |
2015-04-13 21:17 | abma | File Added: 98.0.1-529-g86a5f10_infolog.txt | |
2015-04-14 16:45 | jK | Note Added: 0014354 | |
2015-04-17 00:27 | abma | Note Added: 0014361 | |
2015-04-17 00:27 | abma | Assigned To | => abma |
2015-04-17 00:27 | abma | Status | new => feedback |
2015-04-19 22:43 | abma | Note Added: 0014366 | |
2015-04-19 22:43 | abma | Status | feedback => assigned |
2015-04-19 22:44 | abma | Assigned To | abma => |
2015-04-19 22:44 | abma | Status | assigned => new |
2015-04-19 22:45 | abma | Note Edited: 0014366 | View Revisions |
2015-04-19 22:49 | abma | Relationship added | related to 0004715 |
2015-04-19 22:56 | abma | Note Added: 0014368 | |
2015-04-19 23:07 | abma | Note Added: 0014369 | |
2015-04-19 23:09 | abma | Note Added: 0014370 | |
2015-04-19 23:10 | abma | Note Edited: 0014369 | View Revisions |
2015-04-19 23:10 | abma | Note Edited: 0014370 | View Revisions |
2015-04-19 23:11 | abma | Note Added: 0014371 | |
2015-04-20 00:32 | abma | Target Version | => 99.0 |
2015-04-25 17:59 | jK | Changeset attached | => spring develop 5855bf1e |
2015-04-26 19:25 | jK | Note Added: 0014403 | |
2015-04-27 00:49 | abma | Note Added: 0014404 | |
2015-04-27 00:49 | abma | Note Edited: 0014404 | View Revisions |
2015-04-27 00:56 | abma | File Added: 98.0.1-564-ge61875a_infolog.txt | |
2015-04-27 00:57 | abma | Note Added: 0014405 | |
2015-04-27 09:02 | abma | Note Edited: 0014405 | View Revisions |
2015-04-29 02:04 | abma | Note Added: 0014409 | |
2015-04-29 02:04 | abma | Status | new => resolved |
2015-04-29 02:04 | abma | Resolution | open => unable to reproduce |
2015-04-29 02:04 | abma | Assigned To | => abma |