Magica 2 fails to lanuch on 361.28 (disabled glvnd) Error in gl_render_device/gl_shader.cpp:238, bui

The game fails to launch on 361.28 drivers, acording to devs it’s failing compiling their shader.

Seems it worked on previous drivers and currently only on mesa.

Best Regards.

[Crash] Error in gl_render_device/gl_shader.cpp:238, build (no build identifier)                                                                                                                                                             

Assertion failed: bi.variable_index != -1                                                                                                                                                                                                    

The local shader constant `_main_gaussian_taps_0` in program 101 was not found in it's constant buffer.                                                                                                                                      

[Crash] In thread renderer                                                                                                                                                                                                                   
[BitSquid engine callstack]                                                                                                                                                                                                                  
#00    [0x0084c725] bitsquid::GLShaderPass::init(bitsquid::GLRenderContext&, bitsquid::GLShaderData&, bitsquid::GLShaderPassData&)+0xbad                                                                                                     
#01    [0x0084ca6c] bitsquid::GLShader::init(bitsquid::GLRenderContext&, bitsquid::ShaderData const&)+0x1ee                                                                                                                                  
#02    [0x00847259] bitsquid::GLResourceManager::allocate_resource(bitsquid::GLRenderContext*, bitsquid::RenderResource const*, void*)+0x875                                                                                                 
#03    [0x0084756f] bitsquid::GLResourceManager::dispatch(bitsquid::GLRenderContext*, bitsquid::RenderResourceContext*)+0x2f
#04    [0x008430bb] bitsquid::GLRenderDevice::dispatch(unsigned int, bitsquid::RenderResourceContext**)+0x53
#05    [0x0060caa2] bitsquid::RenderInterface::internal_dispatch(bitsquid::ResourceContextsMsg*)+0x1a
#06    [0x0060fb9a] bitsquid::RenderInterface::process_message(bitsquid::RenderInterface::RenderMessage*)+0x82
#07    [0x0060fd3e] bitsquid::RenderInterface::thread_entry()+0x2c
#08    [0x0060fd7f] bitsquid::RenderInterface::static_thread_entry(void*)+0x9
#09    [0x005c907c] bitsquid::ThreadManager::thread_proc(void*)+0x18
#10    [0xa3e7c424] (null)+0xa3e7c424
#11    [0xa2e44cbd] clone+0x6d

[Crash] Address not mapped to object (SIGSEGV) in build (no build identifier)
[Crash]         accessing address 0x88cfc090
[Crash] In thread renderer
[BitSquid engine callstack] 
#00    [0x0084ca6c] bitsquid::GLShader::init(bitsquid::GLRenderContext&, bitsquid::ShaderData const&)+0x1ee
#01    [0x00847259] bitsquid::GLResourceManager::allocate_resource(bitsquid::GLRenderContext*, bitsquid::RenderResource const*, void*)+0x875
#02    [0x0084756f] bitsquid::GLResourceManager::dispatch(bitsquid::GLRenderContext*, bitsquid::RenderResourceContext*)+0x2f
#03    [0x008430bb] bitsquid::GLRenderDevice::dispatch(unsigned int, bitsquid::RenderResourceContext**)+0x53
#04    [0x0060caa2] bitsquid::RenderInterface::internal_dispatch(bitsquid::ResourceContextsMsg*)+0x1a
#05    [0x0060fb9a] bitsquid::RenderInterface::process_message(bitsquid::RenderInterface::RenderMessage*)+0x82
#06    [0x0060fd3e] bitsquid::RenderInterface::thread_entry()+0x2c
#07    [0x0060fd7f] bitsquid::RenderInterface::static_thread_entry(void*)+0x9
#08    [0x005c907c] bitsquid::ThreadManager::thread_proc(void*)+0x18
#09    [0xa3e7c424] (null)+0xa3e7c424
#10    [0xa2e44cbd] clone+0x6d

nvidia-bug-report.log.gz (271 KB)

we are tracking this issue under bug 200181284

Just to update, it is also an issue with 364.12

Any update on this?
364.15 still same issue.

We are still investigating. We’ll keep you posted …

Any updates?

I’m also being affected by this issue, driver version 361.42.

Still happening with 364.19.

I’m having the problem too.

[Crash][Crash] In thread renderer
[BitSquid engine callstack] 
#00    [0x0084c725] bitsquid::GLShaderPass::init(bitsquid::GLRenderContext&, bitsquid::GLShaderData&, bitsquid::GLShaderPassData&)+0xbad
#01    [0x0084ca6c] bitsquid::GLShader::init(bitsquid::GLRenderContext&, bitsquid::ShaderData const&)+0x1ee
#02    [0x00847259] bitsquid::GLResourceManager::allocate_resource(bitsquid::GLRenderContext*, bitsquid::RenderResource const*, void*)+0x875
#03    [0x0084756f] bitsquid::GLResourceManager::dispatch(bitsquid::GLRenderContext*, bitsquid::RenderResourceContext*)+0x2f
#04    [0x008430bb] bitsquid::GLRenderDevice::dispatch(unsigned int, bitsquid::RenderResourceContext**)+0x53
#05    [0x0060caa2] bitsquid::RenderInterface::internal_dispatch(bitsquid::ResourceContextsMsg*)+0x1a
#06    [0x0060fb9a] bitsquid::RenderInterface::process_message(bitsquid::RenderInterface::RenderMessage*)+0x82
#07    [0x0060fd3e] bitsquid::RenderInterface::thread_entry()+0x2c
#08    [0x0060fd7f] bitsquid::RenderInterface::static_thread_entry(void*)+0x9
#09    [0x005c907c] bitsquid::ThreadManager::thread_proc(void*)+0x18
#10    [0xd8b62424] (null)+0xd8b62424
#11    [0xd7c07cbd] clone+0x6d

[Crash] Unknown signal code (SIGSEGV) in build (no build identifier)
[Crash] 	accessing address 0x00000000
[Crash] In thread renderer
[BitSquid engine callstack] 
#00    [0x0084ca6c] bitsquid::GLShader::init(bitsquid::GLRenderContext&, bitsquid::ShaderData const&)+0x1ee
#01    [0x00847259] bitsquid::GLResourceManager::allocate_resource(bitsquid::GLRenderContext*, bitsquid::RenderResource const*, void*)+0x875
#02    [0x0084756f] bitsquid::GLResourceManager::dispatch(bitsquid::GLRenderContext*, bitsquid::RenderResourceContext*)+0x2f
#03    [0x008430bb] bitsquid::GLRenderDevice::dispatch(unsigned int, bitsquid::RenderResourceContext**)+0x53
#04    [0x0060caa2] bitsquid::RenderInterface::internal_dispatch(bitsquid::ResourceContextsMsg*)+0x1a
#05    [0x0060fb9a] bitsquid::RenderInterface::process_message(bitsquid::RenderInterface::RenderMessage*)+0x82
#06    [0x0060fd3e] bitsquid::RenderInterface::thread_entry()+0x2c
#07    [0x0060fd7f] bitsquid::RenderInterface::static_thread_entry(void*)+0x9
#08    [0x005c907c] bitsquid::ThreadManager::thread_proc(void*)+0x18
#09    [0xd8b62424] (null)+0xd8b62424
#10    [0xd7c07cbd] clone+0x6d

Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Game removed: AppID 238370 "Magicka 2", ProcID 5096

Also, could we get the title fixed to “Magicka”? Helps with SEO. ;)

Fixed in 367.18.