01-02-2025, 10:04 AM
(01-02-2025 05:32 AM)ToastyX Wrote: [ -> ]In theory that could be done, but it's tricky to implement because it has to run as admin, and there isn't an easy way to control or determine the order of startup items, so I'm not sure about the timing. Task Scheduler can run a script as admin on startup or when logging in, but running a script on shutdown is trickier and requires a group policy, which isn't officially available on Home editions of Windows. You can export an .exe file using CRU to create a self-contained EDID installer, and you can call that in a batch file using the command line options listed in the first post. Then you can have one batch file that installs the EDID and restarts the driver, and another batch file that resets the EDID.Well, after a bunch of messing around I did get this to work using a scheduled task to apply settings and do a restart64 on startup and it seems to work without requiring any extra UAC\admin confirmation. I also used a group policy to run reset-all.exe /q on shutdown, and that too seemed to work once I had the right syntax and file paths with no spaces (I know DOS commands quite well, but scripting in powershell and modern command prompt are not my strong suit). So, for some this may work fine... sadly, I realized that in my situation, this won't cut it and it makes a big mess of things.
The two main issues with doing a reset-all every reboot:
1. For the last few months, Windows has refused to see my main display as "display 1", even if the BIOS\UEFI show on that display and the nvidia control panel show it as Display 1. I have investigated this for many many hours recently and found no solution other than physically swapping them.
2. My side monitor (which keeps getting detected as 1) is in portrait mode, so when the displays get reset on reboot I am greeted by a sideways sign-on screen on my side monitor. I then have to fight with moving the displays around (sideways) and then realigning things. Obviously, that's all way too much of a hassle.
Then... it hit me... DUHHH...
At least with my current setup (Gsync is disabled on both), it never gives me the black startup screen with only one display enabled. So, why not just set a shutdown task\policy that always disables the second display, and another that enables it at startup? I just thought of this and I think I will try it later on.
Even if that works, I think I was still getting issues with a single monitor sometimes if Gsync was enabled... but I'll test that out when the time comes.
Also, I'm very pleased to say that removing all of the "extra" display resolutions using SRE and CRU (have to remove them from both displays in CRU) does in fact get rid of the annoying stutter\freeze when certain applications load. AND, I can have DLDSR enabled and switching to that resolution now happens instantly without ever making the display flicker or change the refresh rate from 240Hz.
Holy cow... I can't believe it.
So, this took hours to sort these two issues out, spread across multiple days, but I think I'll have it solved tomorrow once I decide on a simple command line display disabler\enabler to at least baid-aid-fix the black screen on startup.
... sure would be nice if Nvidia would fix this stuff though. :|
(Thank you ToastyX for providing the program that has once again made all of this possible.)
Also, if anyone wants to tinker with group policies but doesn't have Windows Professional, I have seen this recommended to gain similar functionality in any edition:
https://github.com/Fleex255/PolicyPlus
I haven't tried it myself, but it is worth a shot!
