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

Error while linking a program 'Shaders/BasicBlockDepthOnly.program' #750

Closed
damienflament opened this issue Jun 20, 2018 · 4 comments
Closed

Comments

@damienflament
Copy link
Contributor

Hi !

I just downloaded OpenSpades 0.1.2 for Windows. The launcher shows up fine. As this computer is quite old, I put all graphical configuration options to "Low", disable Antialiasing and other graphical improvements.

Using software rendering, it works.

But when starting the game using OpenGL rendering, it fails showing a error message:

 A serious error caused OpenSpades to stop working:
 Error while linking a program 'Shaders/BasicBlockDepthOnly.program'

BackTrace from SystemMessages.log

Error while linking a program 'Shaders/BasicBlockDepthOnly.program':


at C:\Users\tcpp\Documents\Projects\openspades\Sources\Draw\GLProgram.cpp:67
?Link@GLProgram@draw@spades@@QAEXXZ at C:\Users\tcpp\Documents\Projects\openspades\Sources\Draw\GLProgram.cpp:51
?CreateProgram@GLProgramManager@draw@spades@@AAEPAVGLProgram@23@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z at C:\Users\tcpp\Documents\Projects\openspades\Sources\Draw\GLProgramManager.cpp:85
?RegisterProgram@GLProgramManager@draw@spades@@QAEPAVGLProgram@23@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z at C:\Users\tcpp\Documents\Projects\openspades\Sources\Draw\GLProgramManager.cpp:57
?DoInit@MainScreen@gui@spades@@AAEXXZ at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\MainScreen.cpp:273
?RunFrame@MainScreen@gui@spades@@UAEXM@Z at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\MainScreen.cpp:232
?Run@SDLRunner@gui@spades@@QAEXHH@Z at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\SDLRunner.cpp:403
?Run@Runner@gui@spades@@QAEXXZ at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\Runner.cpp:70
?RunProtected@Runner@gui@spades@@QAEXXZ at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\Runner.cpp:42
_SDL_main at C:\Users\tcpp\Documents\Projects\openspades\Sources\Gui\Main.cpp:312

See complete SystemMessages.log.

System Info

OpenGL-capable graphics accelerator is available.
Vendor: Intel
Name: Mobile Intel(R) 4 Series Express Chipset Family
Version: 2.1.0 - Build 8.15.10.1892
GLSL Version: 1.20  - Intel Build 8.15.10.1892

GL_ARB_framebuffer_sRGB is NOT SUPPORTED
  r_srgb is disabled.
GL_EXT_framebuffer_blit is NOT SUPPORTED
  r_blitFramebuffer is disabled.
GL_EXT_texture_array is NOT SUPPORTED
  Water 2 is disabled.
Max Texture Size: 4096
Max 3D Texture Size: 128
  Global Illumination is disabled (512 required)
Max Combined Texture Image Units: 16
Max Vertex Texture Image Units: 16
Max Varying Components: 41

Your video card supports all required OpenGL extensions/features.

Environment

OS: Windows 7 Family Premium, build 7601, x64 architecture

@damienflament
Copy link
Contributor Author

damienflament commented Jun 20, 2018

Maybe is it due to some missing libraries or bad libraries versions ?

Which are the requirements on Windows (usually I play on Linux) ?

@yvt
Copy link
Owner

yvt commented Jun 21, 2018

Probably it’s a duplicate of #741. It’s a video driver’s bug that causes compilation failure with no-op shaders.

Please see my comment that includes a temporary work-around for this issue.

@feikname
Copy link
Collaborator

@damienflament Could you please check if the aforementioned workaround fixes your probem?

@damienflament
Copy link
Contributor Author

Yes. It works. I got other issues but the game launches
.
As said by @yvt, it seems to be a video driver bug, because some graphic issues appends with AoS too. But it's not my computer so I will not investigate further.

Tanks.

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

No branches or pull requests

3 participants