367.35: Talos Principle Vulkan takes a long time to load and crashes a few seconds after loading a l

The newest beta of “The Talos Principle” using the Vulkan renderer takes a very long time to load, and crashes apparently inside libnvidia-glcore.so 4-5 seconds after loading a level.

This here is printed a few hundred times:

Unable to parse built-ins
ERROR: 0:1: '' : array size must be a positive integer 
ERROR: 0:1: '' : array size must be a positive integer 
ERROR: 0:1: '' : array size must be a positive integer 
ERROR: 0:1: '' : array size must be a positive integer 
INTERNAL ERROR: Unable to parse built-ins

const int  gl_MaxVertexAttribs = 16;const int  gl_MaxVertexTextureImageUnits = 8;const int  gl_MaxCombinedTextureImageUnits = 80;const int  gl_MaxTextureImageUnits = 16;const int  gl_MaxDrawBuffers = 32;const int  gl_MaxLights = 0;const int  gl_MaxClipPlanes = 0;const int  gl_MaxTextureUnits = 16;const int  gl_MaxTextureCoords = 32;const int  gl_MaxVertexUniformComponents = 4096;const int  gl_MaxVaryingFloats = 64;const int  gl_MaxFragmentUniformComponents = 4096;uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];uniforInstalling breakpad exception handler for appid(steam)/version(1469850758)
m vec4  gl_ClipPlane[gl_MaxClipPlanes];uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];const int gl_MaxClipDistances = 8;const int gl_MaxVaryingComponents = 60;const mediump int  gl_MinProgramTexelOffset = -8;const mediump int  gl_MaxProgramTexelOffset = 7;const int gl_MaxCombinedImageUnitsAndFragmentOutputs = 8;const int gl_MaxImageSamples = 0;const int gl_MaxTessControlImageUniforms = 0;const int gl_MaxTessEvaluationImageUniforms = 0;const int gl_MaxGeometryImageUniforms = 0;const int gl_MaxImageUnits = 8;const int gl_MaxCombinedShaderOutputResources = 8;const int gl_MaxVertexImageUniforms = 0;const int gl_MaxFragmentImageUniforms = 8;const int gl_MaxCombinedImageUniforms = 0;

And then it crashes here:

INF:  AutoDetect: storing new settings: sys_bUserSpaceGPU=true,gfx_ctConcurrentGPUs=1,sys_strCPUVendor=GenuineIntel,sys_iCPUMHz=2893,gfx_ulFreeTextureMemoryMB=4096,gfx_iShaderModelVersion=50,sys_strPlatform=Linux,sys_b32bitOS=0,sys_iCPUFamily=6,sys_iGPUVendorID=4318,gfx_iRelaxedOcclusionTest=0,gfx_bTileBasedGPU=false,sys_iGPUDeviceID=4536,sys_slRAMPhysMB=32129,gfx_ulVideoMemoryMB=8192,
INF:  Started simulation on 'Content/Talos/Levels/Menu.wld' in 0.29 seconds.
INF:  Started simulation on 'Content/Talos/Levels/Menu2.wld' in 0.08 seconds.
INF:  Started simulation on 'Content/Talos/Levels/Menu/Intro.wld' in 0.06 seconds.
INF:  Started simulation on 'Content/Talos/Levels/DLC_01_01.wld' in 13.37 seconds.
INF:  Crash! (Segmentation fault)
DBG:  
DBG:  //=====================================================
DBG:  Report generated at: unsupported unsupported
DBG:  Version: $Version: Talos_PC_distro; Talos_Executables-Linux-Final; 267252 2016-07-28 13:49:22 @builderl01; Linux-x64-Static-Final-Default$
DBG:  Build type: Linux-x64-Static-Final-Default
DBG:  Dump type: Crash
DBG:  
DBG:  Received signal 11 (Segmentation fault).
DBG:  
DBG:  Dumping registers:
DBG:  RAX:0000000000000001
DBG:  RBX:00007F517262AF40
DBG:  RCX:0000000000000D6A
DBG:  RDX:0000000000000021
DBG:  RSP:00007FFC860696E0
DBG:  RBP:000000000C12C1E0
DBG:  
DBG:  RSI:0000000000000000
DBG:  RDI:0000000000000001
DBG:  R08:00007F5172BC2120
DBG:  R09:0000000000000001
DBG:  R10:000000000B2E3520
DBG:  R11:00007F517AE1E420
DBG:  R12:00007F517262CCE0
DBG:  R13:0000000000000000
DBG:  
DBG:  R14:000000000000000A
DBG:  R15:0000000000000000
DBG:  
DBG:  
DBG:  RIP:00007F5171C674F7
DBG:  Flags:00000007
DBG:  
DBG:  Dumping stack back trace:
DBG:  00007F5171C674F7 00000001 $adr: "/usr/lib64/libnvidia-glcore.so.367.35" 0001:00000000013674F7
DBG:  00007F5171C674F7 00000001 $adr: "/usr/lib64/libnvidia-glcore.so.367.35" 0001:00000000013674F7
DBG:  0000000001AE77D1 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016E77D1
DBG:  0000000001ADF146 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016DF146
DBG:  0000000001ADF2DC 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016DF2DC
DBG:  000000000192C526 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:000000000152C526
DBG:  00000000008F6B99 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000004F6B99
DBG:  00000000008F8C0F 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000004F8C0F

System is a Core-i7 Haswell and a Quadro K5100M.

Deleted the shader cache (~/.nv/), restarted. Initialization is super fast now, but it still crashes somewhere inside libnvidia-glcore.so.367.35 after a few seconds.

13:37:16 LOG:  Loaded "libvulkan.so.1".
13:37:16 INF:  [Vulkan] Detected devices:
13:37:16 INF:    #0 (0x04D9CE30): K5100M (discrete)
13:37:16 INF:  Using device #0 (0x04D9CE30)...
13:37:16 INF:  [Vulkan] Using transfer queue of copy operations.
13:37:16 LOG:  [Vulkan] Allocated memory pools:
13:37:16 LOG:    device linear: 614 MB in 2 block(s)
13:37:16 LOG:    device optimal: 153 MB in 2 block(s)
13:37:16 LOG:    host linear: 2048 MB in 2 block(s)
13:37:16 LOG:  [Vulkan] Created pipeline cache object with initial size of 0.00 KB.
13:37:16 INF:  
13:37:16 INF:  Gfx API: Vulkan
13:37:16 INF:  Resolution: 1920 x 1080
13:37:16 INF:  Vendor: nVidia (0x10DE)
13:37:16 INF:  Driver: Vulkan (0x11B8)
13:37:16 INF:  Renderer: K5100M
13:37:16 INF:  Version: 1539883008
13:37:16 INF:  Video memory size: 8192 MB
13:37:16 INF:  Available for textures: 4096 MB
13:37:16 INF:  Shader model version: 5.0
13:37:16 INF:  Active GPU(s): 1
13:37:16 INF:  GPU architecture: forward conventional rendering
13:37:16 INF:  Allowed memory size used for streaming: 2048.0 MB
13:37:16 INF:  Driver version: 99999 (required: 30600)
13:37:16 LOG:  Processing file Content/Talos/Config/SystemCompatibility.lua
[...]
13:37:42 INF:  Started simulation on 'Content/Talos/Levels/DLC_01_01.wld' in 13.28 seconds.
13:37:42 TRC:  50 sound channels reinitialized.
13:37:44 LOG:  Created thread 002783D0C57F0000(WorldCopying).
13:38:19 TRC:  Save Talos Progress: delayed request
13:38:19 LOG:  Player profile saved with size 24.39kB(24.39kB) at 2016/08/01 13:38:19.
13:38:19 LOG:  All stats uploaded
13:39:04 TRC:  Save Talos Progress: delayed request
13:39:04 LOG:  Player profile saved with size 24.39kB(24.39kB) at 2016/08/01 13:39:04.
13:39:04 LOG:  All stats uploaded
13:39:04 INF:  Crash! (Segmentation fault)
13:39:04 DBG:  
13:39:04 DBG:  //=====================================================
13:39:04 DBG:  Report generated at: unsupported unsupported
13:39:04 DBG:  Version: $Version: Talos_PC_distro; Talos_Executables-Linux-Final; 267252 2016-07-28 13:49:22 @builderl01; Linux-x64-Static-Final-Default$
13:39:04 DBG:  Build type: Linux-x64-Static-Final-Default
13:39:04 DBG:  Dump type: Crash
13:39:04 DBG:  
13:39:04 DBG:  Received signal 11 (Segmentation fault).
13:39:04 DBG:  
13:39:04 DBG:  Dumping registers:
13:39:04 DBG:  RAX:0000000000000031
13:39:04 DBG:  RBX:00007FC673FF3F40
13:39:04 DBG:  RCX:00000000000005A7
13:39:04 DBG:  RDX:000000000CE9CB00
13:39:04 DBG:  RSP:00007FFD90704FB0
13:39:04 DBG:  RBP:000000000C067330
13:39:04 DBG:  
13:39:04 DBG:  RSI:0000000000000000
13:39:04 DBG:  RDI:0000000000000000
13:39:04 DBG:  R08:00007FC6795DB120
13:39:04 DBG:  R09:00007FC67DCF5410
13:39:04 DBG:  R10:0000000000000000
13:39:04 DBG:  R11:00007FC67DCF5420
13:39:04 DBG:  R12:00007FC673FF5CE0
13:39:04 DBG:  R13:0000000000000000
13:39:04 DBG:  
13:39:04 DBG:  R14:0000000000000012
13:39:04 DBG:  R15:0000000000000000
13:39:04 DBG:  
13:39:04 DBG:  
13:39:04 DBG:  RIP:00007FC67363050C
13:39:04 DBG:  Flags:00000007
13:39:04 DBG:  
13:39:04 DBG:  Dumping stack back trace:
13:39:04 DBG:  00007FC67363050C 00000001 $adr: "/usr/lib64/libnvidia-glcore.so.367.35" 0001:000000000136750C
13:39:04 DBG:  00007FC67363050C 00000001 $adr: "/usr/lib64/libnvidia-glcore.so.367.35" 0001:000000000136750C
13:39:04 DBG:  0000000001AE77D1 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016E77D1
13:39:04 DBG:  0000000001ADF146 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016DF146
13:39:04 DBG:  0000000001ADF2DC 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000016DF2DC
13:39:04 DBG:  000000000192C526 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:000000000152C526
13:39:04 DBG:  00000000008F6B99 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000004F6B99
13:39:04 DBG:  00000000008F8C0F 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000004F8C0F
13:39:04 DBG:  000000000147131A 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:000000000107131A
13:39:04 DBG:  000000000191A522 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:000000000151A522
13:39:04 DBG:  000000000191A804 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:000000000151A804
13:39:04 DBG:  00007FC68248CA10 00000001 $adr: "/lib64/libc.so.6" 0001:000000000001FA10
13:39:04 DBG:  00000000008E460F 00000001 $adr: "/home/mano/.local/share/Steam/SteamApps/common/The Talos Principle/Bin/x64/Talos" 0001:00000000004E460F
13:39:04 DBG:  00007FC68248CA10 00000001 $adr: "/lib64/libc.so.6" 0001:000000000001FA10

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

I’m seeing this as well. I can make it through the entire benchmark and then it crashes at the end. The game crashes randomly with the Vulkan renderer since the update (though the Talos Principle did have an update as well, so it’s possible the devs broke it). Prior to these updates, the game was extremely stable.

Seeing this even more so now with 370.23, except this time I’m seeing a hard crash that pretty much brings X to its knees. I can recover from it after a while, but I get no meaningful errors and a catastrophic crash.

It’s even worse with 370.23, Talos loads, runs for a few seconds, then crashes and apparently takes X down with it. The crash backtrace doesn’t point anywhere interesting either.