Lambdagon / fc

Fortress Connected is a Team Fortress 2 Source mod adding new content to the game
44 stars 12 forks source link

[CRASH] Game crashes at loading screen (Linux) #15

Open STARMAN8B opened 3 weeks ago

STARMAN8B commented 3 weeks ago

So I'm opening an issue since i couldn't solve it myself. As the title says the game starts into the loading screen and just crashes, no message.

Im running the flatpak version of steam and running Gentoo Linux x64(multilib).

The console displays the following when trying to run the game:

/bin/sh\0-c\0/home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=243750 -- /home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/hl2.sh' -game sourcetest -steam -game "/home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/sourcemods/fc" \0 chdir "/home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer" shared-library-guard active for /home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/hl2_linux Blocked library /home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/bin/libtcmalloc_minimal.so.4 WARNING: discarding _NET_WM_PID 2071 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 2071 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 2071 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 2083 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 3407 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 3407 as invalid for X11 window - use specialized XCB_X11_TO_PID function! SDL video target is 'x11' SDL video target is 'x11' This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension GL_EXT_framebuffer_blit. This system supports the OpenGL extension GL_EXT_framebuffer_multisample. This system DOES NOT support the OpenGL extension GL_APPLE_fence. This system DOES NOT support the OpenGL extension GL_NV_fence. This system supports the OpenGL extension GL_ARB_sync. This system supports the OpenGL extension GL_EXT_draw_buffers2. This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform. This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. This system supports the OpenGL extension GL_ARB_map_buffer_range. This system supports the OpenGL extension GL_ARB_vertex_buffer_object. This system supports the OpenGL extension GL_ARB_occlusion_query. This system DOES NOT support the OpenGL extension GL_APPLE_texture_range. This system DOES NOT support the OpenGL extension GL_APPLE_client_storage. This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer. This system supports the OpenGL extension GL_ARB_vertex_array_bgra. This system supports the OpenGL extension GL_EXT_vertex_array_bgra. This system supports the OpenGL extension GL_ARB_framebuffer_object. This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker. This system supports the OpenGL extension GL_ARB_debug_output. This system supports the OpenGL extension GL_EXT_direct_state_access. This system DOES NOT support the OpenGL extension GL_NV_bindless_texture. This system supports the OpenGL extension GL_AMD_pinned_memory. This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled. This system supports the OpenGL extension GL_EXT_texture_sRGB_decode. This system supports the OpenGL extension GL_NVX_gpu_memory_info. This system supports the OpenGL extension GL_ATI_meminfo. This system supports the OpenGL extension GL_EXT_texture_compression_s3tc. This system supports the OpenGL extension GL_EXT_texture_compression_dxt1. This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3. This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5. This system supports the OpenGL extension GL_ARB_buffer_storage. This system supports the OpenGL extension GLX_EXT_swap_control_tear. OpenGL: PITCAIRN (radeonsi, , LLVM 17.0.6, DRM 2.50, 6.6.30-gentoo-minimal) 4.5 (Compatibility Profile) Mesa 24.0.7 (git-cc175010c5) (4.5.0) GL_NV_bindless_texture: DISABLED GL_AMD_pinned_memory: DISABLED GL_ARB_buffer_storage: NOT AVAILABLE GL_EXT_texture_sRGB_decode: AVAILABLE Using Breakpad minidump system. Version: 5394425 AppID: 243750 Setting breakpad minidump AppID = 243750 Using breakpad crash handler [S_API] SteamAPI_Init(): Loaded '/home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/linux32/steamclient.so' OK. Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 06/09 22:15:43 minidumps folder is set to /tmp/dumps 06/09 22:15:43 Init: Installing breakpad exception handler for appid(243750)/version(5394425)/tid(2752) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198986479706 [API loaded yes] SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561198986479706 Did not detect any valid joysticks. GL_NVX_gpu_memory_info: AVAILABLE GL_ATI_meminfo: AVAILABLE GL_NVX_gpu_memory_info: Total Dedicated: 2097152, Total Avail: 4190000, Current Avail: 1668356 GL_MAX_SAMPLES_EXT: 8 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3192 MHz, Processor: GenuineIntel GlobalMemoryStatus: 4294967295 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3192 MHz, Processor: GenuineIntel GlobalMemoryStatus: 4294967295 CreateInterfaceInternal 'ShaderDLL004' IDirect3DDevice9::Create: BackBufWidth: 1360, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0 GL sampler object usage: DISABLED

swap interval = 0 swap limit = 1

Could not load program cache file glbaseshaders.cfg Could not find base GL shader cache file Loaded program cache file "glshaders.cfg", total keyvalues: 270, total successfully linked: 270 Precache: Took 2421 ms, Vertex 2729, Pixel 2481 CreateInterfaceInternal 'VClient017' CreateInterfaceInternal 'ClientRenderTargets001' ConVarRef mat_dxlevel doesn't point to an existing ConVar CreateInterfaceInternal 'ServerGameDLL010' CreateInterfaceInternal 'ServerGameEnts001' CreateInterfaceInternal 'ServerGameClients004' CreateInterfaceInternal 'HLTVDirector001' CreateInterfaceInternal 'ServerGameTags001' server.so loaded for "FC: Co-op (1024.1)" CreateInterfaceInternal 'VClientDllSharedAppSystems001' CreateInterfaceInternal 'VServerDllSharedAppSystems001' Unable to remove /home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/sourcemods/fc/gamestats.log! IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3 crash_20240609221600_2.dmp[2788]: Uploading dump (out-of-process) /tmp/dumps/crash_20240609221600_2.dmp /home/starman/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/hl2.sh: line 72: 2752 Segmentation fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" crash_20240609221600_2.dmp[2788]: Finished uploading minidump (out-of-process): success = yes crash_20240609221600_2.dmp[2788]: response: Discarded=1 crash_20240609221600_2.dmp[2788]: file ''/tmp/dumps/crash_20240609221600_2.dmp'', upload yes: ''Discarded=1'' Game 12017273122190506022 created interface STEAMAPPLIST_INTERFACE_VERSION001 / Game 12017273122190506022 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList Game 12017273122190506022 created interface STEAMAPPS_INTERFACE_VERSION008 / Game 12017273122190506022 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps Game 12017273122190506022 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_003 / HTMLSurface Game 12017273122190506022 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / Game 12017273122190506022 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP Game 12017273122190506022 created interface STEAMHTTP_INTERFACE_VERSION003 / Game 12017273122190506022 created interface STEAMINVENTORY_INTERFACE_V003 / Game 12017273122190506022 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / Game 12017273122190506022 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote Game 12017273122190506022 created interface STEAMMUSIC_INTERFACE_VERSION001 / Game 12017273122190506022 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music Game 12017273122190506022 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / Game 12017273122190506022 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / Game 12017273122190506022 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage Game 12017273122190506022 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Game 12017273122190506022 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots Game 12017273122190506022 created interface STEAMUGC_INTERFACE_VERSION010 / UGC Game 12017273122190506022 created interface STEAMUGC_INTERFACE_VERSION014 / Game 12017273122190506022 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages Game 12017273122190506022 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats Game 12017273122190506022 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / Game 12017273122190506022 created interface STEAMVIDEO_INTERFACE_V002 / Game 12017273122190506022 created interface SteamController005 / Controller Game 12017273122190506022 created interface SteamController007 / Game 12017273122190506022 created interface SteamFriends015 / Friends Game 12017273122190506022 created interface SteamFriends017 / Game 12017273122190506022 created interface SteamInput001 / Game 12017273122190506022 created interface SteamMatchGameSearch001 / Game 12017273122190506022 created interface SteamMatchMaking009 / Game 12017273122190506022 created interface SteamMatchMaking009 / Matchmaking Game 12017273122190506022 created interface SteamMatchMakingServers002 / Game 12017273122190506022 created interface SteamMatchMakingServers002 / MatchmakingServers Game 12017273122190506022 created interface SteamNetworking005 / Networking Game 12017273122190506022 created interface SteamNetworking006 / Game 12017273122190506022 created interface SteamUser019 / User Game 12017273122190506022 created interface SteamUser021 / Game 12017273122190506022 created interface SteamUser021 / User Game 12017273122190506022 created interface SteamUtils002 / Utils Game 12017273122190506022 created interface SteamUtils009 / Utils Game 12017273122190506022 created interface SteamUtils010 / Game 12017273122190506022 method call count for IClientRemoteStorage::IsCloudEnabledForApp : 1 Game 12017273122190506022 method call count for IClientAppManager::GetCurrentLanguage : 2 Game 12017273122190506022 method call count for IClientAppManager::BIsDlcEnabled : 1 Game 12017273122190506022 method call count for IClientAppManager::GetAppInstallDir : 11 Game 12017273122190506022 method call count for IClientUtils::RecordSteamInterfaceCreation : 100 Game 12017273122190506022 method call count for IClientUtils::AllocPendingAPICallHandle : 1 Game 12017273122190506022 method call count for IClientUtils::GetAppID : 102 Game 12017273122190506022 method call count for IClientUser::BIsSubscribedApp : 1 Game 12017273122190506022 method call count for IClientUser::GetSteamID : 2 Game 12017273122190506022 method call count for IClientUser::BLoggedOn : 2 Uploaded AppInterfaceStats to Steam

Any help is appreciated, if you need more info, ask me. Thanks in advance

blackletum commented 3 weeks ago

are you running main or dev?

STARMAN8B commented 3 weeks ago

Running the main branch

STARMAN8B commented 3 weeks ago

Funnily enough i tried with proton and it worked but at 10 fps

blackletum commented 3 weeks ago

I see it segfaults when it tries to launch, do you have SDK2013SP installed and on beta branch as well as SDK2013MP. HL2, and TF2 installed?

Do those other games launch fine outside of wine or proton?

STARMAN8B commented 3 weeks ago

Got sdk2013mp, tf2 and hl2 installed.

I dont have sdk2013sp and sdk2013mp isnt on beta version.

The 3 mentioned above work natively on linux with no issues.

STARMAN8B commented 3 weeks ago

So im gonna try and see if installing the beta branch of sdk2013sp does something and ill give you news about it

STARMAN8B commented 3 weeks ago

So no it didn't work

DudeTheNinja commented 3 weeks ago

You have to install the beta branch of Source SDK 2013 Multiplayer. Not Singleplayer.

STARMAN8B commented 3 weeks ago

So with beta you mean upcoming or prerelease?

STARMAN8B commented 3 weeks ago

It doesn't let me select upcoming

STARMAN8B commented 3 weeks ago

So ill leave the issue here and ill keep investigating tomorrow, because its really late and i need to sleep

DudeTheNinja commented 3 weeks ago

My bad, I'm a bit stupid.

This is what I have set up (though it's Windows, so YMMV): Source SDK 2013 Multiplayer on no beta branch Source SDK 2013 Singleplayer on beta branch upcoming

Let us know if anything changes with that. If not, it might be a Linux compile issue.

STARMAN8B commented 3 weeks ago

So i believe there might be something wrong with the linux compilation, since even when having everything set up correctly it only works through proton(its slow since d3d emulation isnt the greatest).

So maybe, just maybe, there is something wrong with the code? Maybe its possible to debug it to find out why doesn't it work.

Thats all i can think of, since i dont really know how source works.