[TF2] [Linux] Game crashes when loading a map
Specs TF2 refuses to load into a map through matchmaking, using the map command, or (sometimes) through community servers
Things I have tried:
- verifying the game files
- emptying the custom and cfg folders and running the game with -autoconfig
- deleting the maps folder and verifying files
- uninstalling then reinstalling the game
- changing my graphics driver
- launching the game with the +map argument
- launching the game with -threads 1
console logs:
- this is the most common output, I got it to say
failed to lock vertex buffer in CMeshDX8::LockVertexBuffer: nVertexCount=692, nFirstVertex=0at the end of the log once when i switched to-threads 1, but i forgot to copy it down (the error was copied from a photo i took), I believe I've also seen this error on windows when switching maps. - succesfully joining a community server, then crashing when trying to load into the same map (I've only tried one other community server, which crashed the game).
- the game crashing before loading the main menu
- loading a map through matchmaking, saw the welcome screen and heard the game for about 1/2-1 second.
- two logs with different errors/warnings, I only got the bit after using the map command for these.
I'm new to linux so any help would be appreciated, thanks in advance
Similar situation here. Tf2 crashed near the start of loading any map, community/local/valve, until I tried this: #5313 issuecomment-553748300
After this it got closer to loading the map and sometimes got to the team select screen but ultimately crashed due to an "out of memory error"
Reducing shader detail/mat_reducefillrate 1 has seemingly fixed this for me. Will update on my future findings.
Intel ARC A580 Mesa 24.0 Kernel 6.6.1 Ubuntu 22.04. (Edited for more clarity)
Update: Game is somewhat playable but very unstable. Changing things like texture settings crashes the game & alt-tabbing on startup/map load also crashes the game.
My game started working again after restarting without changing anything (here's the log), I was able to use the map command and join casual and community servers, close the game and start it back up, and put things back in the cfg and custom folders, but then my computer crashed and after starting it back up it no longer worked. I though maybe it had to do with not opening chrome before starting tf2, but that didn't seem to change anything. Unfortunately I won't have access to my computer for the next two weeks or so, so I can't test anything else.
@0CCULTIST
Intel ARC A580 Mesa 24.0
You're probably affected by https://gitlab.freedesktop.org/mesa/mesa/-/issues/9911
@Nicxxk Please retest with the new Vulkan render.