• A CONSOLE command to restart the graphics subsystem in Source games?
    7 replies, posted
The only place I thought I could turn to is here. Long story short, my driver crashes a lot within (but not limited to) many Source games, and after the freeze, I get situations where the game is running but I can't see shite. Just a blank window. I need a way that I can change the resolution or do something that gets the graphics to restart through the console. I can't navigate the GUI either, as you probably have already guessed. More recently, I have been using mat_dxlevel and setting it to some other value, however, once I exhaust all of the possible values, the game stops restarting the window. Many thanks in advance to whoever can figure this one out. Seriously, I've been looking through all the source games cvar lists for a while now and nothing good came up. And no, restarting the game is not good a solution :P Oh, and I almost forgot: this happens to me in CS:S, TF2, Dota 2 (although the new source engine restarts the video after crashes more often), etc, but surprisingly this NEVER has happened to me in GMod. Not even a single crash, let alone the blank window afterwards. Don't bother helping me with the actual crashing problem, though. My chipset's been horribly bugged since day 1. I don't even think that it's a GPU issue.
For online games I dont know if theres any command that do this, but I'm pretty sure you could try the command restart for single player games if you didn't already.
[QUOTE=ferdam;45907195]For online games I dont know if theres any command that do this, but I'm pretty sure you could try the command restart for single player games if you didn't already.[/QUOTE] But "restart" restarts the map normally.
[QUOTE=Bitl;45912027]But "restart" restarts the map normally.[/QUOTE] I guess it wasn't restart then. Maybe it was "reload_materials 1; wait; reload". I remember I used to fire some console commands in GMod to reload materials and models while I was trying to get some models into Source Engine, this would prevent me from restarting GMod manually just to fix materials and other .qc problems..
r_flushlod This reloads all models in your game's folders. mat_reloadallmaterials And this the materials.
so you would probably want to go "bind "mat_reloadallmaterials; r_flushlod" X"
[QUOTE=Da Big Man;45912903]r_flushlod This reloads all models in your game's folders. mat_reloadallmaterials And this the materials.[/QUOTE] Thank you my man
Sorry, you need to Log In to post a reply to this thread.