ValveSoftware / Source-1-Games

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

[HL2DM|Linux client only] Crash when exposed to singleplayer character models #2225

Open henk717 opened 7 years ago

henk717 commented 7 years ago

[Description] Many of the singleplayer character models can crash the linux client if mat_softwareskin is left to 0. mat_softwareskin is a cheat protected command so a workaround for this crash is not possible during normal play.

[Replication steps] Play on a map with an npc or a prop from the campaign npc models (For example Dr.Breen, Kleiner or Father Gregori). Observe the model closely with a linux client, you will crash in most cases. When the client is set to mat_softwareskin 1 the crash can not be replicated. We verified this crash on AMD, NVidia and Intel GPU's. (If the crash can not be replicated feel free to ask me for a map or demo). The crash is does not happen for Alyx and G-man.

[Expected behavior] A OpenGL client can view any model in the game without crashing even if they are corrupt.

[Observed behavior] Frequent player crashes around these models especially when in direct view.

scorpius2k1 commented 4 years ago

I can verify this issue happens as @henk717 describes as well as all others that are playing the game on Linux clients that I have spoke with (regardless of Linux distribution or hardware). HL2DM has servers that mostly run custom models (including the single player models) and this issue happens very frequently. I can also confirm using the cvar 'mat_softwareskin 1' workaround that was reported over 2 years ago does seem to help but is not viable being a "cheat". @kisak-valve @VivekValve any update on this perennial issue would be greatly appreciated by the community. Many thanks.

DosMike commented 3 years ago

Just want to add that this also/still happens on Team Fortress 2 for a friend of mine, same symptoms, same workaround. I can bug them about their distro a bit if required