ValveSoftware / Source-1-Games

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

[TF2] [Linux] Frequent Crashing Upon Loading Into Map #6369

Open Stattek opened 3 weeks ago

Stattek commented 3 weeks ago

I am on Linux Mint 22, and on two separate computers both running the same version of Linux Mint, I have had issues with the game often crashing upon loading into a map (when joining a server). I believe this to be related to my config.

It won't happen every time, but upon loading into a map, it will often crash without giving me any error message. I have not been able to figure out why this is happening, but it seems to occur even on different computers.

System info: image

My launch options: -novid -refresh 165 -refreshrate 165 -freq 165

My autoexec:
```text // Networking settings cl_cmdrate 66 cl_interp 0 cl_interp_ratio 1 cl_lagcompensation 1 cl_pred_optimize 2 cl_smooth 0 cl_smoothtime 0.01 cl_updaterate 66 rate 60000 // If there are ping issues, turn this down to 60000 cl_spraydisable 1 r_spray_lifetime 0 r_shadowmaxrendered 0 r_shadowrendertotexture 0 r_shadows 1 nb_shadow_dist 400 // Graphics Settings r_eyes 1 r_flex 1 r_lod 1 r_teeth 0 r_rootlod 2 // Model detail (-2 very high, 2 low) r_waterforcereflectentities 0 r_shadowrendertotexture 1 mat_picmip 0 mat_reducefillrate 0 mat_antialias 0 mat_aaquality 0 mat_trilinear 1 mat_forceaniso 0 fps_max 200 cl_ragdoll_fade_time 0 cl_ragdoll_forcefade 1 cl_ragdoll_physics_enable 0 g_ragdoll_fadespeed 0 g_ragdoll_lvfadespeed 0 ragdoll_sleepaftertime 0 cl_phys_props_enable 0 cl_phys_props_max 0 props_break_max_pieces 0 r_propsmaxdist 1 violence_agibs 0 violence_hgibs 0 cl_burninggibs 0 // Sound Settings dsp_enhance_stereo 0 dsp_slow_cpu 0 snd_async_fullyasync 1 snd_pitchquality 1 snd_spatialize_roundrobin 1 snd_mixahead 0.1 snd_mix_async 1 // Client Graphics Settings cl_hud_playerclass_use_playermodel 1 cl_drawmonitors 0 cl_jiggle_bone_framerate_cutoff 20 cl_new_impact_effects 0 cl_show_splashes 0 func_break_max_pieces 0 glow_outline_effect_enable 0 lod_transitiondist 0 mat_bumpmap 0 mat_colcorrection_disableentities 0 mat_colorcorrection 0 mat_disable_fancy_blending 1 mat_disable_lightwarp 1 mat_disable_ps_patch 1 mat_filterlightmaps 1 mat_filtertextures 1 mat_hdr_level 0 mat_max_worldmesh_vertices 65535 mat_monitorgamma 1.6 mat_motion_blur_enabled 0 mat_mipmaptextures 1 mat_reduceparticles 1 mat_autoexposure_max 0 mat_autoexposure_min 0 mat_alphacoverage 1 mat_specular 0 mat_viewportscale 1 mat_wateroverlaysize 1 mp_decals 9 r_3dsky 1 r_ambientboost 0 r_cheapwaterend 1 r_cheapwaterstart 1 r_decals 9 r_maxmodeldecal 9 r_decalstaticprops 0 r_decal_cullsize 15 r_drawdetailprops 0 r_drawmodeldecals 0 r_drawflecks 0 r_dynamic 0 r_maxdlights 32 r_physpropstaticlighting 1 r_occlusion 1 r_forcewaterleaf 1 r_lightaverage 0 r_dopixelvisibility 0 r_propsmaxdist 0 r_renderoverlayfragment 0 r_staticprop_lod 10 r_waterdrawreflection 0 r_waterdrawrefraction 1 rope_averagelight 0 rope_collide 0 rope_rendersolid 1 rope_shake 0 rope_smooth 0 rope_subdiv 0 rope_wind_dist 0 tf_particles_disable_weather 1 tracer_extra 0 violence_ablood 1 violence_hblood 1 mat_specular 0 r_worldlights 0 mat_phong 0 mat_software_aa_quality 0 mat_software_aa_strength 0 mat_software_aa_strength_vgui -1 mat_software_aa_blur_one_pixel_lines 0 mat_software_aa_edge_threshold 9 mat_software_aa_tap_offset 1 flex_smooth 1 in_usekeyboardsampletime 0 mat_clipz 1 mat_forcehardwaresync 0 mat_levelflush 1 m_rawinput 1 mat_vsync 0 r_fastzreject -1 mat_queue_mode 2 cl_threaded_client_leaf_system 0 r_queued_ropes 1 r_threaded_client_shadow_manager 1 r_threaded_particles 1 cl_software_cursor 0 cl_ejectbrass 0 cl_localnetworkbackdoor 0 ai_expression_optimization 1 r_pixelfog 1 fast_fogvolume 1 filesystem_native 0 host_thread_mode 0 mod_load_anims_async 1 mod_load_mesh_async 1 mod_load_vcollide_async 1 r_queued_post_processing 1 r_threaded_renderables 1 cl_mvm_wave_status_visible_during_wave 1 cl_use_tournament_specgui 1 cl_ask_blacklist_opt_out 1 cl_ask_favorite_opt_out 1 // annoying prompts cl_ask_blacklist_opt_out "1" cl_ask_favorite_opt_out "1" sb_dontshow_maxplayer_warning "1" tf_explanations_backpackpanel "1" tf_explanations_charinfo_armory_panel "1" tf_explanations_charinfopanel "1" tf_explanations_craftingpanel "1" tf_explanations_discardpanel "1" tf_explanations_store "1" tf_training_has_prompted_for_forums "1" tf_training_has_prompted_for_loadout "1" tf_training_has_prompted_for_offline_practice "1" tf_training_has_prompted_for_options "1" tf_training_has_prompted_for_training "1" tf_inspect_hint_count "1000" tf_taunt_always_show_hint "0" // Game Settings sensitivity 1.55 // Sensitivity (preferred 1.55) volume .03 // Volume (preferred 0.03) fov_desired 90 viewmodel_fov 70 tf_use_min_viewmodels 1 // Minimal viewmodels viewmodel_fov_demo 70 cl_hud_minmode 0 // Hud minimal mode cl_disablehtmlmotd 1 // Disable web message of the day cl_autorezoom 0 // Auto rezooming after sniping tf_hud_no_crosshair_on_scope_zoom 1 // Crosshair on scope-in when playing sniper cl_autoreload 1 // Autoreload hud_fastswitch 1 // Fastswitch hud_classautokill 0 hud_combattext 1 // Damage text hud_combattext_blue 0 // Damage text blue hud_combattext_green 255 // Damage text green hud_combattext_red 255 // Damage text red tf_dingalingaling 1 // Enables hitsound tf_dingaling_volume .6 // Hitsound volume tf_dingaling_pitchmindmg 140 // Hitsound minimum (lowest pitch) tf_dingaling_pitchmaxdmg 5 // Hitsound maximum (highest pitch) cl_crosshair_red 0 // Red color in crosshair cl_crosshair_green 255 // Green color in crosshair cl_crosshair_blue 0 // Blue color in crosshair cl_crosshair_file crosshair3 // Choice of crosshair cl_crosshair_scale 40 // Crosshair size tf_medigun_autoheal 1 // Whether medic has to hold left click to heal cam_ideallag 0 cl_spec_carrieditems 0 // Whether to view players items when spectating sv_allow_point_servercommand always tf_scoreboard_ping_as_text 1 // Show ping as text instead of bars cl_hud_playerclass_playermodel_showed_confirm_dialog 1 // Outdated command tf_explanations_backpackpanel 1 tf_show_preset_explanation_in_class_loadout 0 tf_show_taunt_explanation_in_class_loadout 0 tf_explanations_charinfo_armory_panel 1 tf_explanations_charinfopanel 1 tf_explanations_craftingpanel 1 tf_explanations_discardpanel 1 tf_explanations_store 1 cl_notifications_show_ingame 0 // Whether to see notifications in game tf_hud_target_id_disable_floating_health 1 con_enable 1 // Enable developer console tf_hud_show_servertimelimit 1 // Show the map time limit cl_hud_playerclass_use_playermodel 0 // disables the class icon in the corner of the screen // NULL-Movement Script bind w +mfwd bind s +mback bind a +mleft bind d +mright alias +mfwd "-back;+forward;alias checkfwd +forward" alias +mback "-forward;+back;alias checkback +back" alias +mleft "-moveright;+moveleft;alias checkleft +moveleft" alias +mright "-moveleft;+moveright;alias checkright +moveright" alias -mfwd "-forward;checkback;alias checkfwd none" alias -mback "-back;checkfwd;alias checkback none" alias -mleft "-moveleft;checkright;alias checkleft none" alias -mright "-moveright;checkleft;alias checkright none" alias checkfwd none alias checkback none alias checkleft none alias checkright none alias none "" // Error Logging con_enable 1 con_timestamp 1 con_logfile console.log ```
JoriKos commented 3 weeks ago

Does this happen when first loading into a map, or when already in a map and then loading into another one?

Stattek commented 3 weeks ago

This can happen when loading into a map from the main menu or when loading into another one when already in a map. It has been happening to me since the 64 bit update, and when I was on Windows, it would happen but not as frequently as on Linux.

JoriKos commented 3 weeks ago

Seems like it may be possible related to #5885? Try some of the fixes listed in there and see if that helps.

Stattek commented 3 weeks ago

Thanks for pointing me there. I Have not tested this enough yet, but this change seems promising, as I have not crashed yet!

I changed these commands:

mod_load_anims_async 1
mod_load_mesh_async 1
mod_load_vcollide_async 1

To this:

mod_load_anims_async 0
mod_load_mesh_async 0
mod_load_vcollide_async 0