It happens even with regular D3D under the right conditions. What you're describing and looking at it simply what happens when game isn't in focus. I've managed to record an apitrace eventually: Log files I followed the instructions posted on Wiki, don't know what else I can do to obtain an apitrace file. And yes, I've reinstalled Visual C++ Redistributable for Visual Studio 2015, both x86 and 圆4 versions. It says MSVCP140D.dll, VCRUNTIME140D.dll and UCRTBASED.DLL are not found. Unfortunately I cannot generate apitrace.
Game: Grand Theft Auto IV: The Complete Edition v1.2.0.43.It's easy to figure out when the game decides to stop given that it takes way more time than regular loading screen.
Usually loading screens take a few seconds, like 3-5 seconds, but when the game decides to crash/freeze, it will stay longer, like ~10 seconds. Not only did this method stop my frame rate randomly dipping into the 40s and 50s, but it ironed those pesky frame pacing issues out permanently, and now the game is infinitely more playable.GTA IV runs smoothly with DXVK, but sometimes it will crash/freeze after going on a mission, during the loading screen. Run a few benchmarks, or just play for a while, and these will eventually stop-and if all has gone to plan, you'll be playing the game with none of that irritating hitching. This is because (I think) the new renderer is building a cache. But it's important to note that, on your first launch, the game might be even laggier than before. Go to your Steam settings, navigate to the Shader Pre-Caching menu at the bottom, and uncheck Enable Shader Pre-Caching.For example, I have 8010 MB, so I put -availablevidmem 7850 Right click on GTA 4 in Steam, go to properties, and under Launch Options put -managed and -availablevidmem X, where X is a number slightly below your available display memory.Navigate to the Display tab and note down the number next to Display Memory
Press the Windows key + R to open the Run window and type in dxdiag.
How to fix GTA 4 performance issues on PC If you still want to give it a go, follow the steps below to the letter. For reference, I'm running the Complete Edition version of GTA 4 through Steam on Windows 11, with an NVIDIA RTX 2080 Super, Intel i7-9700K, and 16GB of RAM. I can't promise anything, such is the temperamental nature of playing old, abandoned videogames on a modern PC. PC gaming is an unpredictable, finicky thing, of course, so if you have anything other than my specific hardware/software setup, this fix might not work-or even make things worse. Related: Grand Theft Auto 4 Should Be Next In Line For A Remaster You need a Vulkan-compatible graphics card to use this fix, but if you do, your woes could be over. So to make it stop, you have to force the game to use a different, more efficient renderer-specifically Vulkan. I'm no tech expert, so I might be getting some details wrong here, but as far as I can tell, the stuttering is caused by an outdated and/or poorly implemented Direct3D/DirectDraw renderer. After several hours of scouring Reddit threads, blogs, and posts on GTAForums, trying countless alleged 'fixes' that made absolutely no difference, I discovered the root of the problem.