RamenRider wrote: ↑08 Jul 2020, 21:04
deama wrote: ↑04 Jul 2020, 10:41
You can make a script that disables dwm when you run a .bat file.
You could also use something like autohotkey and hotkey that script to a button on your keyboard/mouse.
The script works fine for me on windows 8.1 (sometimes I have to restart explorer.exe cause sometimes I get a black box at the top left, but that can be easily fixed by just adding a kill explorer.exe and then run explorer.exe).
You'll need to download PSTools from microsoft, and drop pssuspend.exe and pskill.exe into your windows folder, and then run each of them once (double click) and accept a terms of service type thing, then you can use the script.
Donno how well this would work on win 10 though, haven't tried.
Oh and make sure you run them as admin.
Before I try that, I want to compare it to the other methods I found. Now I've never used them before, I don't understand coding, so I've been afraid to try them. Which one do you think is best?
[*]This guy Chef Koch has a really good guide that's updated often.
https://github.com/CHEF-KOCH/GamingTwea ... -ltsc-2019
Within his guide, he recommends KillDwm.
Anyone know how to use it?
https://github.com/Biswa96/Junkyard/blo ... /KillDwm.c
[*]There's u/aveyo on reddit who made this script that automatically updates all apps even new ones. He was the same one who made the pastebin script.
https://www.reddit.com/r/Windows10/comm ... mizations/
[*]Then there's DWM Force Switch. Keep in mind I haven't tried any of them.
https://github.com/Phorofor/DWM.ForceSwitch
So apparently Windows 10 does a shit ton of rendering on desktop, alt tabbing, and around applications, basically the entire OS as you are using it. The more rendering you can disable, the closer you come to perfection.
The Alt Tab fix you can find on my input lag post. It's another necessary change.
viewtopic.php?f=10&t=7168
My script is fairly simple compared to that. I actually wrote it about a week ago but changed my mind because restarting explorer.exe while the game is running sometimes screwed it up, but you might be fine.
There's a bunch of different ways of doing about it, they should all be the same performance wise cause they all do the same thing: disable the dwm; doing it another way won't give you +10fps, unless it disables other stuff including the dwm.
To me, some of those seem overkill, but I've never used windows 10, so I don't really know what it would involve to disable it, especially permanently.
You can try to disable it temporarily, manually, when you have the game open, and if that works fine you can then try to write a script for that.
So I guess just open up a game in windowed mode, and then use a common manual way to disable the dwm, e.g. suspend winlogon.exe, kill dwm.exe. Once you're done with your testing, unsuspend winlogon.exe to bring back dwm.
Oh and keep in mind, dx12 won't work without dwm, so don't try it with games that use dx12.