ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
647 stars 75 forks source link

[TF2] [Linux] Crash on startup without -novid, crash after reading MOTD with -novid #6366

Open philfour opened 1 month ago

philfour commented 1 month ago

After updating the system (Arch, LTS kernel) my game was crashing with a segmentation fault immediately on startup after creating the window. Adding -novid to the launch options fixed this. However, now whenever I join any kind of server after closing the MOTD the game displays the spectate camera then crashes immediately. This is both on OpenGL and Vulkan. There seems to be no indication at all what caused it in the logs.

Steam Log

``` chdir "/home/user/.local/share/Steam/steamapps/common/Team Fortress 2" ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Adding process 19602 for gameID 440 Adding process 19603 for gameID 440 Adding process 19604 for gameID 440 pid 19693 != 19691, skipping destruction (fork without exec?) Adding process 19691 for gameID 440 SDL video target is 'x11' SDL video target is 'x11' AppFramework : Unable to load module sourcevr.so! Using shader api: shaderapivk info: Game: tf_linux64 info: DXVK: v2.3 info: Vulkan: Found vkGetInstanceProcAddr in libvulkan.so.1 @ 0x78297f0af8a0 info: Built-in extension providers: info: SDL2 WSI info: Enabled instance extensions: info: VK_EXT_surface_maintenance1 info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_xlib_surface info: D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT info: AMD Radeon RX 580 Series (RADV POLARIS10): info: Driver : radv 24.2.2 info: Memory Heap[0]: info: Size: 7917 MiB info: Flags: 0x0 info: Memory Type[2]: Property Flags = 0x6 info: Memory Type[5]: Property Flags = 0xe info: Memory Type[6]: Property Flags = 0xe info: Memory Heap[1]: info: Size: 8192 MiB info: Flags: 0x1 info: Memory Type[0]: Property Flags = 0x1 info: Memory Type[1]: Property Flags = 0x1 info: Memory Type[3]: Property Flags = 0x7 info: Memory Type[4]: Property Flags = 0x7 Convar sdl_displayindex has multiple different change callbacks Adding process 19692 for gameID 440 Adding process 19694 for gameID 440 Adding process 19695 for gameID 440 Using Breakpad minidump system. Version: 9115164 AppID: 440 Setting breakpad minidump AppID = 440 Using breakpad crash handler [S_API] SteamAPI_Init(): Loaded '/home/user/.local/share/Steam/linux64/steamclient.so' OK. Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 09/21 12:57:18 minidumps folder is set to /tmp/dumps 09/21 12:57:18 Init: Installing breakpad exception handler for appid(440)/version(9115164)/tid(19695) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199311921686 [API loaded yes] SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561199311921686 Did not detect any valid joysticks. CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 4899 MHz, Processor: GenuineIntel GlobalMemoryStatus: 4294967295 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 4899 MHz, Processor: GenuineIntel GlobalMemoryStatus: 4294967295 info: Device properties: info: Device : AMD Radeon RX 580 Series (RADV POLARIS10) info: Driver : radv 24.2.2 info: Enabled device extensions: info: VK_AMD_memory_overallocation_behavior info: VK_AMD_shader_fragment_mask info: VK_EXT_attachment_feedback_loop_layout info: VK_EXT_custom_border_color info: VK_EXT_depth_bias_control info: VK_EXT_depth_clip_enable info: VK_EXT_extended_dynamic_state3 info: VK_EXT_graphics_pipeline_library info: VK_EXT_memory_priority info: VK_EXT_non_seamless_cube_map info: VK_EXT_robustness2 info: VK_EXT_shader_module_identifier info: VK_EXT_shader_stencil_export info: VK_EXT_swapchain_maintenance1 info: VK_EXT_transform_feedback info: VK_EXT_vertex_attribute_divisor info: VK_KHR_maintenance5 info: VK_KHR_pipeline_library info: VK_KHR_present_id info: VK_KHR_present_wait info: VK_KHR_swapchain info: Device features: info: robustBufferAccess : 1 info: fullDrawIndexUint32 : 1 info: imageCubeArray : 1 info: independentBlend : 1 info: geometryShader : 1 info: tessellationShader : 0 info: sampleRateShading : 1 info: dualSrcBlend : 0 info: logicOp : 0 info: multiDrawIndirect : 0 info: drawIndirectFirstInstance : 0 info: depthClamp : 1 info: depthBiasClamp : 1 info: fillModeNonSolid : 1 info: depthBounds : 1 info: wideLines : 1 info: multiViewport : 1 info: samplerAnisotropy : 1 info: textureCompressionBC : 1 info: occlusionQueryPrecise : 1 info: pipelineStatisticsQuery : 1 info: vertexPipelineStoresAndAtomics : 1 info: fragmentStoresAndAtomics : 0 info: shaderImageGatherExtended : 0 info: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 0 info: shaderInt64 : 0 info: variableMultisampleRate : 1 info: shaderResourceResidency : 0 info: shaderResourceMinLod : 0 info: sparseBinding : 0 info: sparseResidencyBuffer : 0 info: sparseResidencyImage2D : 0 info: sparseResidencyImage3D : 0 info: sparseResidency2Samples : 0 info: sparseResidency4Samples : 0 info: sparseResidency8Samples : 0 info: sparseResidency16Samples : 0 info: sparseResidencyAliased : 0 info: Vulkan 1.1 info: shaderDrawParameters : 0 info: Vulkan 1.2 info: samplerMirrorClampToEdge : 1 info: drawIndirectCount : 1 info: samplerFilterMinmax : 0 info: hostQueryReset : 1 info: timelineSemaphore : 1 info: bufferDeviceAddress : 0 info: shaderOutputViewportIndex : 1 info: shaderOutputLayer : 1 info: vulkanMemoryModel : 1 info: Vulkan 1.3 info: robustImageAccess : 0 info: pipelineCreationCacheControl : 1 info: shaderDemoteToHelperInvocation : 1 info: shaderZeroInitializeWorkgroupMemory : 0 info: synchronization2 : 1 info: dynamicRendering : 1 info: VK_AMD_shader_fragment_mask info: extension supported : 1 info: VK_EXT_attachment_feedback_loop_layout info: attachmentFeedbackLoopLayout : 1 info: VK_EXT_conservative_rasterization info: extension supported : 0 info: VK_EXT_custom_border_color info: customBorderColors : 1 info: customBorderColorWithoutFormat : 1 info: VK_EXT_depth_clip_enable info: depthClipEnable : 1 info: VK_EXT_depth_bias_control info: depthBiasControl : 1 info: leastRepresentableValueForceUnormRepresentation : 0 info: floatRepresentation : 1 info: depthBiasExact : 1 info: VK_EXT_extended_dynamic_state3 info: extDynamicState3AlphaToCoverageEnable : 1 info: extDynamicState3DepthClipEnable : 1 info: extDynamicState3RasterizationSamples : 1 info: extDynamicState3SampleMask : 1 info: extDynamicState3LineRasterizationMode : 1 info: VK_EXT_fragment_shader_interlock info: fragmentShaderSampleInterlock : 0 info: fragmentShaderPixelInterlock : 0 info: VK_EXT_full_screen_exclusive info: extension supported : 0 info: VK_EXT_graphics_pipeline_library info: graphicsPipelineLibrary : 1 info: VK_EXT_line_rasterization info: rectangularLines : 1 info: smoothLines : 1 info: VK_EXT_memory_budget info: extension supported : 1 info: VK_EXT_memory_priority info: memoryPriority : 1 info: VK_EXT_non_seamless_cube_map info: nonSeamlessCubeMap : 1 info: VK_EXT_robustness2 info: robustBufferAccess2 : 1 info: robustImageAccess2 : 1 info: nullDescriptor : 1 info: VK_EXT_shader_module_identifier info: shaderModuleIdentifier : 1 info: VK_EXT_shader_stencil_export info: extension supported : 1 info: VK_EXT_swapchain_colorspace info: extension supported : 0 info: VK_EXT_swapchain_maintenance1 info: swapchainMaintenance1 : 1 info: VK_EXT_hdr_metadata info: extension supported : 0 info: VK_EXT_transform_feedback info: transformFeedback : 0 info: geometryStreams : 0 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: VK_KHR_external_memory_win32 info: extension supported : 0 info: VK_KHR_external_semaphore_win32 info: extension supported : 0 info: VK_KHR_maintenance5 info: maintenance5 : 1 info: VK_KHR_present_id info: presentId : 1 info: VK_KHR_present_wait info: presentWait : 1 info: VK_NVX_binary_import info: extension supported : 0 info: VK_NVX_image_view_handle info: extension supported : 0 info: VK_KHR_win32_keyed_mutex info: extension supported : 0 info: Queue families: info: Graphics : 0 info: Transfer : 1 info: Sparse : 2 Fossilize INFO: Overriding serialization path: "/home/user/.local/share/Steam/steamapps/shadercache/440/fozpipelinesv6/steamapprun_pipeline_cache". info: DXVK: Read 226 valid state cache entries info: DXVK: Graphics pipeline libraries supported info: D3D9DeviceEx::ResetSwapChain: info: Requested Presentation Parameters info: - Width: 1920 info: - Height: 1080 info: - Format: D3D9Format::A8R8G8B8 info: - Auto Depth Stencil: true info: ^ Format: D3D9Format::D24S8 info: - Windowed: false info: - Swap effect: 1 info: Presenter: Actual swap chain properties: info: Format: VK_FORMAT_B8G8R8A8_UNORM info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes) info: Buffer size: 1920x1080 info: Image count: 4 info: Exclusive FS: 0 warn: D3D9Cursor::ShowCursor: Not supported on current platform. info: DXVK: Using 10 compiler threads warn: D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_MULTISAMPLEANTIALIAS ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/player/items/taunts/loot_crate/mannco_crate.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_balloon.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_balloon_gold.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_balloon_grenade.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_balloon_grenade_gold.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_balloon_grenade_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_bread_bagged.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_bread_bagged_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_bread_robo.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_bread_shortbread.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_bread_shortbread_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/c_items/c_sticky_jumper.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/buildables/mini_dispenser/mini_dispenser.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/buildables/mini_dispenser/mini_dispenser_blue.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/buildables/mini_dispenser/mini_dispenser_phongmask.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_1_blue_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_1_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_1_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_blue_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/demo/true_scotsmans_call/true_scotsmans_call_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/pyro/taunt_spring_rider/taunt_spring_rider_blue_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/pyro/taunt_spring_rider/taunt_spring_rider_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/pyro/taunt_spring_rider/taunt_spring_rider_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/spy/taunt__au_revoir/taunt__au_revoir_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/spy/taunt_hoodoo_hex/taunt_hoodoo_hex_blue_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/spy/taunt_hoodoo_hex/taunt_hoodoo_hex_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/spy/taunt_sant/taunt_sant_color.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/player/items/spy/taunt_sant/taunt_sant_normal.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_assault_minigun/c_assault_minigun.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_dart_gun/c_dart_gun.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_dart_gun/c_dart_gun_dart.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_defib/c_defib_red.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_detonator/c_detonator_phongmask.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_mortar_launcher/c_mortar_launcher.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_pilot_flamer/c_pilot_flamer.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_pilot_flaregun/c_pilot_flare.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_pilot_flaregun/c_pilot_flaregun.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_pistol_knife/c_pistol_knife.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_revolver_sniperrifle/c_revolver_sniperrifle.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_silenced_pistol_instructor/c_silenced_pistol_instructor.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_blue.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_red.vtf ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/workshop/weapons/c_models/c_trench_shotgun/c_trench_shotgun.vtf info: Presenter: Actual swap chain properties: info: Format: VK_FORMAT_B8G8R8A8_UNORM info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes) info: Buffer size: 1920x1080 info: Image count: 4 info: Exclusive FS: 0 server.so loaded for "Team Fortress" Unable to remove /home/user/.local/share/Steam/steamapps/common/Team Fortress 2/tf/textwindow_temp.html! info: Device reset info: D3D9DeviceEx::ResetSwapChain: info: Requested Presentation Parameters info: - Width: 1920 info: - Height: 1080 info: - Format: D3D9Format::A8R8G8B8 info: - Auto Depth Stencil: true info: ^ Format: D3D9Format::D24S8 info: - Windowed: false info: - Swap effect: 1 crash_20240921125836_3.dmp[20081]: Uploading dump (out-of-process) /tmp/dumps/crash_20240921125836_3.dmp /home/user/.local/share/Steam/steamapps/common/Team Fortress 2/tf.sh: line 83: 19695 Segmentation fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" Adding process 20080 for gameID 440 crash_20240921125836_3.dmp[20081]: Finished uploading minidump (out-of-process): success = yes crash_20240921125836_3.dmp[20081]: response: CrashID=bp-82a73066-c6b1-4e9c-9275-570082240921 crash_20240921125836_3.dmp[20081]: file ''/tmp/dumps/crash_20240921125836_3.dmp'', upload yes: ''CrashID=bp-82a73066-c6b1-4e9c-9275-570082240921'' pid 20081 != 20080, skipping destruction (fork without exec?) ```

Tiagoquix commented 1 month ago

Does cl_disablehtmlmotd 1 help?