Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run mod on linux #538

Open
Hugo01 opened this issue Mar 14, 2022 · 2 comments
Open

Unable to run mod on linux #538

Hugo01 opened this issue Mar 14, 2022 · 2 comments

Comments

@Hugo01
Copy link

Hugo01 commented Mar 14, 2022

Hello everyone

I've tried following this guide (https://developer.valvesoftware.com/wiki/Source_SDK_2013#Linux) several times now and I keep getting the same results no matter what I do

Every step works as expected, build works, I can see the client.so and server.so files on the bin folder just as expected
as the final step I move the "mod_hl2" folder from the "source sdk path" to "/.steam/steam/steamapps/sourcemods/"
and the mod shows on the steam library
When trying to launch it crashes right after the valve logo
On the console I have this:

You can see that theres a line which says : /home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh: line 67: 49606 Segmentation fault (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Maybe this guide is outdated?
I'm building using Manjaro
GCC - 11.2.0

GameAction [AppID 2147483649, ActionID 6] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 2147483649, ActionID 6] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 2147483649, ActionID 6] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 2147483649, ActionID 6] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 2147483649, ActionID 6] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/hugo/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=243730 -- '/home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh' -game sourcetest -steam -game "/home/hugo/.local/share/Steam/steamapps/sourcemods/mod_hl2" \0
Game process added : AppID 243730 "/home/hugo/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=243730 -- '/home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh' -game sourcetest -steam -game "/home/hugo/.local/share/Steam/steamapps/sourcemods/mod_hl2" ", ProcID 49602, IP 0.0.0.0:0
chdir /home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer
GameAction [AppID 2147483649, ActionID 6] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 2147483649, ActionID 6] : LaunchApp changed task to Completed with ""
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 GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
Using breakpad crash handler
Setting breakpad minidump AppID = 243730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Game process updated : AppID 243730 "/home/hugo/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=243730 -- '/home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh' -game sourcetest -steam -game "/home/hugo/.local/share/Steam/steamapps/sourcemods/mod_hl2" ", ProcID 49606, IP 0.0.0.0:0
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198032498151 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561198032498151
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: 5242880, Current Avail: 685120
GL_MAX_SAMPLES_EXT: 8
[0314/113519:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 4672 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 4672 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 3440, BackBufHeight: 1440, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: ENABLED
GL prefer MapBufferRange: NO

 ##### swap interval = 0     swap limit = 1 #####
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Could not load program cache file glshaders.cfg
Could not find user GL shader cache file
Precache: Took 0 ms, Vertex 0, Pixel 0
ConVarRef mat_dxlevel doesn't point to an existing ConVar
server.so loaded for "Half-Life 2"
crash_20220314113521_2.dmp[49657]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220314113521_2.dmp
crash_20220314113521_2.dmp[49657]: Finished uploading minidump (out-of-process): success = yes
crash_20220314113521_2.dmp[49657]: response: CrashID=bp-71b33844-f68c-4c28-a2e1-2911c2220314
crash_20220314113521_2.dmp[49657]: file ''/tmp/dumps/crash_20220314113521_2.dmp'', upload yes: ''CrashID=bp-71b33844-f68c-4c28-a2e1-2911c2220314''
/home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh: line 67: 49606 Segmentation fault      (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game process removed: AppID 243730 "/home/hugo/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=243730 -- '/home/hugo/.local/share/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/hl2.sh' -game sourcetest -steam -game "/home/hugo/.local/share/Steam/steamapps/sourcemods/mod_hl2" ", ProcID 49606 
ThreadGetProcessExitCode: no such process 49606
Game 13125862189116405778 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 13125862189116405778 created interface STEAMAPPS_INTERFACE_VERSION006 / Apps
Game 13125862189116405778 created interface STEAMCONTROLLER_INTERFACE_VERSION / Controller
Game 13125862189116405778 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 13125862189116405778 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 13125862189116405778 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION012 / RemoteStorage
Game 13125862189116405778 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 13125862189116405778 created interface STEAMUGC_INTERFACE_VERSION002 / UGC
Game 13125862189116405778 created interface STEAMUGC_INTERFACE_VERSION003 / UGC
Game 13125862189116405778 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 13125862189116405778 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 13125862189116405778 created interface SteamFriends014 / Friends
Game 13125862189116405778 created interface SteamMatchMaking009 / Matchmaking
Game 13125862189116405778 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 13125862189116405778 created interface SteamNetworking005 / Networking
Game 13125862189116405778 created interface SteamUser017 / User
Game 13125862189116405778 created interface SteamUtils007 / Utils
Game 13125862189116405778 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 13125862189116405778 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 13125862189116405778 method call count for IClientUtils::RecordSteamInterfaceCreation : 34
Game 13125862189116405778 method call count for IClientUtils::IsSteamRunningInVR : 1
Game 13125862189116405778 method call count for IClientUtils::GetAppID : 35
Game 13125862189116405778 method call count for IClientUser::BIsSubscribedApp : 1
Game 13125862189116405778 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam

@tschumann
Copy link

You'll probably need to debug the .dmp file it created to see what's going on. I've left myself some notes on how to do it: https://github.com/tschumann/sandbot/blob/master/notes.txt (possibly outdated but worked for me).

@GuestSneezeOSDev
Copy link

have you tried running the source sdk with proton? that may help with compatibility issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants