Facepunch / garrysmod-issues

Garry's Mod issue tracker
142 stars 56 forks source link

GMod menu realm fails to render at random times... #4419

Open Acecool opened 4 years ago

Acecool commented 4 years ago

Details

I have been having an issue with Garry's Mod X64 bit variant - I am unsure if this happens on the 32 bit variant as it is impossible for that to run ( Crashes every other changelevel ) for an extended period.

I can run GMod for days at a time and be in a server and everything remains stable for the entire time with the console working properly.

When I edit files rapidly, client and server or shared, after some time the console fails to open. Additionally, when this happens I can't press Escape to open the menu, I can't hold ` to open the console ( as is required if you are in the main menu ), etc...

I am not removing any hud elements when this occurs, but it may happen when there is an error in HUDPaint? I've been doing a lot of 2D gui design, and coding lately along with physics, 3d rendering, and other things. But it doesn't seem to matter what I'm doing - but every time I edit files, I do a bit of gui coding, a bit of this, a bit of that. the 2d gui coding is the only link I can think of at the moment.

When this happens I can continue to play, but the console refuses to open. If I have contimes set above 0, I can still see console output, so that part isn't broken leading me to believe the menu realm is encountering an issue.

I can also force a typo or other issue in 2d or 3d rendering and the issue doesn't appear when that happens. It just seems to randomly break.

I typically alt tab out of the game by hitting the windows key and then clicking on Sublime Text.

I run in Windowed mode, latest drivers, latest version of Windows X64 Pro. Latest drivers on everything else. x7820 Intel 8 Core, 16 thread, running at 4.5GHz. 32GB DDR4 at 3.0GHz. 1TB Samsung 970 Pro NVME x4 SSD is where the server is installed. 1TB Sandisk X400 SATA SSD is where the game is installed. I share the maps folder from the game dir to the default server dir. I then create other server dirs using symbolic links with the only unique folders being addons, gamemodes and data.

Batch file attached: Create all servers: https://www.dropbox.com/s/tkrzifvssug8d2q/_setup_gmod_server_symbolic_links_.bat?dl=0 Updater: https://www.dropbox.com/s/211xn97fktz6xjp/_updater%20-%20srcds_default_gmod%20-%20beta%20dev.bat?dl=0

Note: I don't run all of the servers which are in the batch file. I have 2 or so right now. One for my framework, one for a friend. The others are examples.

I doubt Symbolic links are the cause of it, but it's better to mention them.

Steps to reproduce

Unable to reliably reproduce.... It happens randomly, and constantly. I am looking for the pattern, but I spend most of my time outside of the client so if one save causes it, I may not enter gmod for n more saves... I'll try to check after every one, especially errors, typos, etc..

robotboy655 commented 4 years ago

This is a known and fairly common issue, I myself get it every day pretty much, it fixes itself for me and I do believe everyone else by simply alt+tab-ing out of the game and back in.

I don't think it has anything to do with it "failing to render", more likely something to do input system failing somewhere. Can't really look into it without knowing why it happens/how to reproduce it since you know, alt+tabing fixes it.