RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.45k stars 253 forks source link

[Vulkan] Crash on Kubuntu 22.04 #728

Closed RobertBeckebans closed 1 year ago

RobertBeckebans commented 1 year ago

Afer fixing the CMakeLists.txt so it compiles it terminates after a few frames in the menu

--- Common Initialization Complete --- QA Timing IIS: 004245ms WARNING: terminal type 'xterm-256color' is unknown. terminal support may not work correctly terminal support enabled ( use +set in_tty 0 to disabled ) pid: 110579 WARNING: unknown event 1619 = 0x653 WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. terminate called after throwing an instance of 'vk::DeviceLostError' what(): vk::Device::waitIdle: ErrorDeviceLost signal caught: Aborted si_code -6 Trying to exit gracefully.. session->GetSaveGameManager().CancelToTerminate(); soundSystem->StopAllSounds(); Stop();

RobertBeckebans commented 1 year ago

Full log:

trebor@Linux-Workstation:~/Projects/RBDOOM-3-BFG$ ./RBDoom3BFG +set r_mode 0 +set r_fullscreen 1 +set r_useValidationLayers 2 QA Timing INIT: 000358ms RBDOOM 3 BFG 1.5.0.1401 linux-x86_64 Nov 22 2022 18:39:09 found interface lo - loopback found interface enp7s0 - 192.168.178.42/255.255.255.0 found interface wlp5s0 - 192.168.178.41/255.255.255.0 ------ Initializing File System ------ Loaded resource file _common.resources Loaded resource file _ordered.resources Loaded resource file _sound_pc.resources Loaded resource file _sound_pc_en.resources Loaded resource file maps/admin.resources Loaded resource file maps/alphalabs1.resources Loaded resource file maps/alphalabs2.resources Loaded resource file maps/alphalabs3.resources Loaded resource file maps/alphalabs4.resources Loaded resource file maps/caverns1.resources Loaded resource file maps/caverns2.resources Loaded resource file maps/comm1.resources Loaded resource file maps/commoutside.resources Loaded resource file maps/cpu.resources Loaded resource file maps/cpuboss.resources Loaded resource file maps/d3ctf1.resources Loaded resource file maps/d3ctf2.resources Loaded resource file maps/d3ctf3.resources Loaded resource file maps/d3ctf4.resources Loaded resource file maps/d3dm1.resources Loaded resource file maps/d3dm2.resources Loaded resource file maps/d3dm3.resources Loaded resource file maps/d3dm4.resources Loaded resource file maps/d3dm5.resources Loaded resource file maps/d3xpdm1.resources Loaded resource file maps/d3xpdm2.resources Loaded resource file maps/d3xpdm3.resources Loaded resource file maps/d3xpdm4.resources Loaded resource file maps/delta1.resources Loaded resource file maps/delta2a.resources Loaded resource file maps/delta2b.resources Loaded resource file maps/delta3.resources Loaded resource file maps/delta4.resources Loaded resource file maps/delta5.resources Loaded resource file maps/deltax.resources Loaded resource file maps/enpro.resources Loaded resource file maps/erebus1.resources Loaded resource file maps/erebus2.resources Loaded resource file maps/erebus3.resources Loaded resource file maps/erebus4.resources Loaded resource file maps/erebus5.resources Loaded resource file maps/erebus6.resources Loaded resource file maps/hell.resources Loaded resource file maps/hell1.resources Loaded resource file maps/hellhole.resources Loaded resource file maps/le_enpro1.resources Loaded resource file maps/le_enpro2.resources Loaded resource file maps/le_exis1.resources Loaded resource file maps/le_exis2.resources Loaded resource file maps/le_hell.resources Loaded resource file maps/le_hell_post.resources Loaded resource file maps/le_underground.resources Loaded resource file maps/le_underground2.resources Loaded resource file maps/mars_city1.resources Loaded resource file maps/mars_city2.resources Loaded resource file maps/mc_underground.resources Loaded resource file maps/monorail.resources Loaded resource file maps/phobos1.resources Loaded resource file maps/phobos2.resources Loaded resource file maps/phobos3.resources Loaded resource file maps/phobos4.resources Loaded resource file maps/recycling1.resources Loaded resource file maps/recycling2.resources Loaded resource file maps/site3.resources Current search path: /home/trebor/.local/share/rbdoom3bfg/base /home/trebor/Projects/RBDOOM-3-BFG/base _common.resources _ordered.resources _sound_pc.resources _sound_pc_en.resources maps/admin.resources maps/alphalabs1.resources maps/alphalabs2.resources maps/alphalabs3.resources maps/alphalabs4.resources maps/caverns1.resources maps/caverns2.resources maps/comm1.resources maps/commoutside.resources maps/cpu.resources maps/cpuboss.resources maps/d3ctf1.resources maps/d3ctf2.resources maps/d3ctf3.resources maps/d3ctf4.resources maps/d3dm1.resources maps/d3dm2.resources maps/d3dm3.resources maps/d3dm4.resources maps/d3dm5.resources maps/d3xpdm1.resources maps/d3xpdm2.resources maps/d3xpdm3.resources maps/d3xpdm4.resources maps/delta1.resources maps/delta2a.resources maps/delta2b.resources maps/delta3.resources maps/delta4.resources maps/delta5.resources maps/deltax.resources maps/enpro.resources maps/erebus1.resources maps/erebus2.resources maps/erebus3.resources maps/erebus4.resources maps/erebus5.resources maps/erebus6.resources maps/hell.resources maps/hell1.resources maps/hellhole.resources maps/le_enpro1.resources maps/le_enpro2.resources maps/le_exis1.resources maps/le_exis2.resources maps/le_hell.resources maps/le_hell_post.resources maps/le_underground.resources maps/le_underground2.resources maps/mars_city1.resources maps/mars_city2.resources maps/mc_underground.resources maps/monorail.resources maps/phobos1.resources maps/phobos2.resources maps/phobos3.resources maps/phobos4.resources maps/recycling1.resources maps/recycling2.resources maps/site3.resources file system initialized. WARNING: Unable to open resource file maps/_startup.resources Couldn't open journal files /proc/cpuinfo CPU processors: 16 /proc/cpuinfo CPU logical cores: 32 execing default.cfg execing D3BFGConfig.cfg couldn't exec autoexec.cfg ----- R_InitOpenGL ----- Initializing Vulkan subsystem Enabled Vulkan instance extensions: VK_EXT_debug_utils VK_KHR_xlib_surface VK_KHR_surface VK_EXT_debug_report VK_KHR_get_physical_device_properties2 Enabled Vulkan layers: VK_LAYER_KHRONOS_validation [Vulkan] ERROR location=0x11fe03f4 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-surface-06211 ] Object 0: handle = 0x55f7e4b49f90, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x11fe03f4 | vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): surface is not supported by the physicalDevice. The Vulkan spec states: surface must be supported by physicalDevice, as reported by vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-surface-06211) [Vulkan] ERROR location=0x706bf88b code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-surface-06211 ] Object 0: handle = 0x55f7e4b49f90, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x706bf88b | vkGetPhysicalDeviceSurfaceFormatsKHR(): surface is not supported by the physicalDevice. The Vulkan spec states: surface must be supported by physicalDevice, as reported by vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism (https://www.khronos.org/registry/vulkan/specs/1.3-khr-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-surface-06211) [Vulkan] ERROR location=0x504cc285 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-06211 ] Object 0: handle = 0x55f7e4b49f90, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x504cc285 | vkGetPhysicalDeviceSurfacePresentModesKHR(): surface is not supported by the physicalDevice. The Vulkan spec states: surface must be supported by physicalDevice, as reported by vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism (https://www.khronos.org/registry/vulkan/specs/1.3-khr-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-06211) [Vulkan] ERROR location=0x504cc285 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-06211 ] Object 0: handle = 0x55f7e4b49f90, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x504cc285 | vkGetPhysicalDeviceSurfacePresentModesKHR(): surface is not supported by the physicalDevice. The Vulkan spec states: surface must be supported by physicalDevice, as reported by vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism (https://www.khronos.org/registry/vulkan/specs/1.3-khr-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-06211) Enabled Vulkan device extensions: VK_NV_mesh_shader VK_KHR_fragment_shading_rate VK_KHR_buffer_device_address VK_EXT_descriptor_indexing VK_KHR_maintenance1 VK_KHR_synchronization2 VK_KHR_swapchain Created Vulkan device: NVIDIA GeForce RTX 2070 SUPER GameController 0 name: Xbox One Wireless Controller GameController 0 is mapped as "030000005e040000ea02000001030000,Xbox One Wireless Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux". ----- Initializing Render Shaders ----- Loading shader program builtin/gui Loading shader program builtin/color Loading shader program builtin/color Loading shader program builtin/vertex_color Loading shader program builtin/lighting/ambient_lighting_IBL Loading shader program builtin/lighting/ambient_lighting_IBL Loading shader program builtin/lighting/ambient_lighting_IBL Loading shader program builtin/lighting/ambient_lighting_IBL Loading shader program builtin/lighting/ambient_lightgrid_IBL Loading shader program builtin/lighting/ambient_lightgrid_IBL Loading shader program builtin/lighting/ambient_lightgrid_IBL Loading shader program builtin/lighting/ambient_lightgrid_IBL Loading shader program builtin/gbuffer Loading shader program builtin/gbuffer Loading shader program builtin/texture Loading shader program builtin/texture_color Loading shader program builtin/texture_color Loading shader program builtin/texture_color Loading shader program builtin/texture_color_texgen Loading shader program builtin/lighting/interaction Loading shader program builtin/lighting/interaction Loading shader program builtin/lighting/interactionAmbient Loading shader program builtin/lighting/interactionAmbient Loading shader program builtin/lighting/interaction Loading shader program builtin/lighting/interaction Loading shader program builtin/lighting/interactionAmbient Loading shader program builtin/lighting/interactionAmbient Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/lighting/interactionSM Loading shader program builtin/debug/lightgrid Loading shader program builtin/debug/lightgrid Loading shader program builtin/debug/octahedron Loading shader program builtin/debug/octahedron Loading shader program builtin/legacy/environment Loading shader program builtin/legacy/environment Loading shader program builtin/legacy/bumpyenvironment Loading shader program builtin/legacy/bumpyenvironment Loading shader program builtin/depth Loading shader program builtin/depth Loading shader program builtin/lighting/shadow Loading shader program builtin/lighting/shadow Loading shader program builtin/debug/shadowDebug Loading shader program builtin/debug/shadowDebug Loading shader program builtin/fog/blendlight Loading shader program builtin/fog/blendlight Loading shader program builtin/fog/fog Loading shader program builtin/fog/fog Loading shader program builtin/legacy/skybox Loading shader program builtin/legacy/wobblesky Loading shader program builtin/post/postprocess Loading shader program builtin/post/screen Loading shader program builtin/post/tonemap Loading shader program builtin/post/tonemap Loading shader program builtin/post/hdr_glare_chromatic Loading shader program builtin/post/tonemap Loading shader program builtin/post/SMAA_edge_detection Loading shader program builtin/post/SMAA_blending_weight_calc Loading shader program builtin/post/SMAA_final Loading shader program builtin/post/motionBlur Loading shader program builtin/post/taa Loading shader program builtin/post/taa Loading shader program builtin/post/taa Loading shader program builtin/post/taa Loading shader program builtin/SSAO/AmbientOcclusion_AO Loading shader program builtin/SSAO/AmbientOcclusion_AO Loading shader program builtin/SSAO/AmbientOcclusion_blur Loading shader program builtin/SSAO/AmbientOcclusion_blur Loading shader program builtin/SSAO/AmbientOcclusion_minify Loading shader program builtin/SSAO/AmbientOcclusion_minify Loading shader program builtin/SSGI/DeepGBufferRadiosity_radiosity Loading shader program builtin/SSGI/DeepGBufferRadiosity_blur Loading shader program builtin/SSGI/DeepGBufferRadiosity_blur Loading shader program builtin/VR/stereoDeGhost Loading shader program builtin/VR/stereoWarp Loading shader program builtin/video/bink Loading shader program builtin/video/bink Loading shader program builtin/video/bink_gui Loading shader program builtin/VR/stereoInterlace Loading shader program builtin/post/motionBlur Loading shader program builtin/debug/debug_shadowmap Loading shader program builtin/blit Loading shader program builtin/rect Loading shader program builtin/post/tonemapping Loading shader program builtin/post/tonemapping Loading shader program builtin/post/histogram Loading shader program builtin/post/histogram Loading shader program builtin/post/exposure ----- Initializing Sound System ------ Setup OpenAL device and context... Done. OpenAL vendor: OpenAL Community OpenAL renderer: OpenAL Soft OpenAL version: 1.1 ALSOFT 1.19.1 OpenAL extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFTX_events AL_SOFTX_filter_gain_ex AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFTX_map_buffer AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize sound system initialized. ------- Initializing renderSystem -------- Binarize File: '_default' - reason 'generated image' Binarize File: '_white' - reason 'generated image' Binarize File: '_black' - reason 'generated image' Binarize File: '_blackDiffuse' - reason 'generated image' Binarize File: '_cyan' - reason 'generated image' Binarize File: '_flat' - reason 'generated image' Binarize File: '_alphaNotch' - reason 'generated image' Binarize File: '_fog' - reason 'generated image' Binarize File: '_fogEnter' - reason 'generated image' Binarize File: '_noFalloff' - reason 'generated image' Binarize File: '_quadratic' - reason 'generated image' Binarize File: '_jitter1' - reason 'generated image' Binarize File: '_jitter4' - reason 'generated image' Binarize File: '_jitter16' - reason 'generated image' Binarize File: '_random256' - reason 'generated image' Binarize File: '_blueNoise256' - reason 'generated image' Binarize File: '_heatmap5' - reason 'generated image' Binarize File: '_heatmap7' - reason 'generated image' Binarize File: '_grain1' - reason 'generated image' Binarize File: '_smaaInput' - reason 'generated image' Binarize File: '_smaaArea' - reason 'generated image' Binarize File: '_smaaSearch' - reason 'generated image' Binarize File: '_imguiFont' - reason 'generated image' Binarize File: '_chromeSpec' - reason 'generated image' Binarize File: '_plasticSpec' - reason 'generated image' Binarize File: '_brdfLut' - reason 'generated image' Binarize File: '_scratch' - reason 'generated image' Binarize File: '_scratch2' - reason 'generated image' Binarize File: '_accum' - reason 'generated image' Binarize File: '_defaultUACIrradiance' - reason 'generated image' Binarize File: '_defaultUACRadiance' - reason 'generated image' renderSystem initialized. Skipping Intro Videos! [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x1210000000121, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vertex shader writes to output location 0.0 which is not consumed by fragment shader WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader Reading strings/english.lang as UTF-8 9104 strings read --------- Initializing Game ---------- gamename: baseDOOM-1 gamedate: Nov 22 2022 WARNING: file def/_tb_models.def, line 4845: entityDef 'genmodel_mapobjects_monitors_hangingmonitor' previously defined at def/_tb_models.def:4831 Initializing event system ...541 event definitions Initializing class hierarchy ...159 classes, 1012752 bytes for event callbacks Initializing scripts measured CPU frequency: 3493.69 MHz Compiled ': 544.0 ms ---------- Compile stats ---------- Memory usage: Strings: 120, 15840 bytes Statements: 95386, 3815440 bytes Functions: 3070, 496728 bytes Variables: 239712 bytes Mem used: 6284512 bytes Static data: 6266520 bytes Allocated: 8567312 bytes Thread size: 14064 bytes ...6 aas types game initialized. Loaded BinkDec file: 'video/intro/introloop.bik', looping=1, 512x512, 30.00 FPS, 12.0 sec Loaded BinkDec file: 'video/mars1.bik', looping=0, 512x512, 30.00 FPS, 32.2 sec Loaded BinkDec file: 'video/mars_rotation.bik', looping=1, 1567x406, 30.00 FPS, 100.0 sec ----- idRenderModelManagerLocal::EndLevelLoad ----- 0 models purged from previous level, 3 models kept.- ----- idImageManager::EndLevelLoad ----- WARNING: Couldn't load image: _cinematicY : _cinematicY#0200 WARNING: Couldn't load image: _cinematicCr : _cinematicCr#0200 WARNING: Couldn't load image: _cinematicCb : _cinematicCb#0200 WARNING: Couldn't load image: _cinematic : _cinematic#0200 WARNING: Couldn't load image: _cinematicY : _cinematicY#0200 WARNING: Couldn't load image: _cinematicCr : _cinematicCr#0200 WARNING: Couldn't load image: _cinematicCb : _cinematicCb#0200 WARNING: Couldn't load image: _cinematic : _cinematic#0200 WARNING: Couldn't load image: _cinematicY : _cinematicY#0200 WARNING: Couldn't load image: _cinematicCr : _cinematicCr#0200 WARNING: Couldn't load image: _cinematicCb : _cinematicCb#0200 WARNING: Couldn't load image: _cinematic : _cinematic#0200 30 images loaded in 0.0 seconds ----- idSoundSystemLocal::EndLevelLoad ----- 7 sounds loaded in 0.0 seconds ------------- Warnings --------------- during DOOM 3: BFG Edition initialization... WARNING: Unable to open resource file maps/_startup.resources WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. WARNING: file def/_tb_models.def, line 4845: entityDef 'genmodel_mapobjects_monitors_hangingmonitor' previously defined at def/_tb_models.def:4831 WARNING: Couldn't load image: _cinematicY : _cinematicY#0200 WARNING: Couldn't load image: _cinematicCr : _cinematicCr#0200 WARNING: Couldn't load image: _cinematicCb : _cinematicCb#0200 WARNING: Couldn't load image: _cinematic : _cinematic#0200 7 warnings Preloading images... 00362 images preloaded ( or were already loaded ) in 0.1 seconds 00259 sounds preloaded in 0.1 seconds WARNING: Couldn't load image: _doomclassic : _doomclassic#0200 WARNING: Couldn't load image: _doomclassic : _doomclassic#0200 --- Common Initialization Complete --- QA Timing IIS: 003760ms WARNING: terminal type 'xterm-256color' is unknown. terminal support may not work correctly terminal support enabled ( use +set in_tty 0 to disabled ) pid: 114981 WARNING: unknown event 1619 = 0x653 [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x1210000000121, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vertex shader writes to output location 0.0 which is not consumed by fragment shader WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader [Vulkan] ERROR location=0x45717876 code=0, layerPrefix='Validation'] Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0x55f7e524c840, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x45717876 | Shader uses descriptor slot 1.2 (expected VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) but not declared in pipeline layout The Vulkan spec states: layout must be consistent with all shaders specified in pStages (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-00756) [Vulkan] ERROR location=0x45717876 code=0, layerPrefix='Validation'] Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0x55f7e524c840, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x45717876 | Shader uses descriptor slot 1.0 (expected VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) but not declared in pipeline layout The Vulkan spec states: layout must be consistent with all shaders specified in pStages (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-00756) [Vulkan] ERROR location=0x45717876 code=0, layerPrefix='Validation'] Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0x55f7e524c840, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x45717876 | Shader uses descriptor slot 2.128 (expected VK_DESCRIPTOR_TYPE_SAMPLER, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) but not declared in pipeline layout The Vulkan spec states: layout must be consistent with all shaders specified in pStages (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-00756) [Vulkan] ERROR location=0x45717876 code=0, layerPrefix='Validation'] Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0x55f7e524c840, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x45717876 | Shader uses descriptor slot 1.1 (expected VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) but not declared in pipeline layout The Vulkan spec states: layout must be consistent with all shaders specified in pStages (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-00756) [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x1170000000117, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x1170000000117, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] ERROR location=0xffffffff9888fef3 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkCmdDrawIndexed-None-02697 ] Object 0: handle = 0x8dd00000008dd, type = VK_OBJECT_TYPE_PIPELINE; Object 1: handle = 0x8dc00000008dc, type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; Object 2: handle = 0x8dc00000008dc, type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; | MessageID = 0x9888fef3 | vkCmdDrawIndexed(): VkPipeline 0x8dd00000008dd[] defined with VkPipelineLayout 0x8dc00000008dc[] is not compatible for maximum set statically used 2 with bound descriptor sets, last bound with VkPipelineLayout 0x8dc00000008dc[] The Vulkan spec states: For each set n that is statically used by the VkPipeline bound to the pipeline bind point used by this command, a descriptor set must have been bound to n at the same pipeline bind point, with a VkPipelineLayout that is compatible for set n, with the VkPipelineLayout used to create the current VkPipeline, as described in Pipeline Layout Compatibility (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDrawIndexed-None-02697) [Vulkan] ERROR location=0xffffffffcde11083 code=0, layerPrefix='Validation'] Validation Error: [ UNASSIGNED-CoreValidation-DrawState-DescriptorSetNotBound ] Object 0: handle = 0x55f7e7a6a220, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xcde11083 | vkCmdDrawIndexed(): VkPipeline 0x8dd00000008dd[] uses set #2 but that set is not bound. [Vulkan] ERROR location=0xffffffffa44449d4 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x8db00000008db, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x8db00000008db[] encountered the following validation error at vkCmdDrawIndexed time: Attempting to validate DrawState for binding #0 which is an invalid binding for this descriptor set. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDrawIndexed-None-02699) [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader WARNING: The depth-stencil state indicates read-only depth and stencil, but the framebuffer has a read-write depth attachment, which is suboptimal. [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x570000000057, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 2 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 3 not consumed by vertex shader [Vulkan] PERFORMANCE WARNING location=0x609a13b code=0, layerPrefix='Validation'] Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x770000000077, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | Vertex attribute at location 5 not consumed by vertex shader terminate called after throwing an instance of 'vk::DeviceLostError' what(): vk::Device::waitIdle: ErrorDeviceLost signal caught: Aborted si_code -6 Trying to exit gracefully.. session->GetSaveGameManager().CancelToTerminate(); soundSystem->StopAllSounds(); Stop(); --------- Game Map Shutdown ----------

CleanupShell(); delete loadGUI; ImGuiHook::Destroy(); delete renderWorld; delete soundWorld; delete menuSoundWorld; session->ShutdownSoundRelatedSystems(); session->Shutdown(); game->Leaderboards_Shutdown(); uiManager->Shutdown(); usercmdGen->Shutdown(); eventLoop->Shutdown(); declManager->Shutdown(); soundSystem->Shutdown(); renderSystem->Shutdown(); idRenderSystem::Shutdown() terminate called recursively double fault Aborted, bailing out shutdown terminal support Segmentation fault (core dumped)

SRSaunders commented 1 year ago

I think the shader errors are due to incorrect Vulkan descriptor set selectors for the bink shaders. I saw this in my recent testing with BINKDEC and have fixed in my recent pull request #730.

Regarding the other errors with vkGetPhysicalDeviceSurfaceCapabilitiesKHR, etc - do you have multiple GPUs in your system, possibly with one not connected or not able to present to a surface?