Maassoft / ColorControl

Easily change NVIDIA display settings and/or control LG TV's
GNU General Public License v3.0
984 stars 42 forks source link

[BUG?] Toggling Stereoscopic 3D on and off #198

Open GammaLyrae opened 1 year ago

GammaLyrae commented 1 year ago

Can't seem to toggle this setting of the Nvidia Driver.

Expected behavior based on 8.5.0.0 release notes: Ability to assign a hotkey to turn "Stereoscopic 3D" on or off in the Nvidia Control Panel, using the Nvidia controller section of ColorControl.

Version Tested: 8.5.0.0, windows 10 22H2, nvidia driver version 531.41 using latest version of the Stereoscopic 3D drivers that were last included in driver version 425.31

Setting attempted to change: "Enable Stereoscopic 3D" in the Nvidia Control panel. No setting visible in the Nvidia Controller -> Driver Settings area of ColorControl seems to correspond to, or affect this toggle in the Nvidia driver. I did observe that the settings visible in this area of the Driver Settings do correspond to the "Default Profile" viewed in Nvidia Inspector and do actually change those. However, none of those options in the Nvidia Profile Inspector actually seem toggle Stereoscopic 3D on or off, they only affect stereo driver behavior if Stereoscopic 3D is already on inside the control panel itself.

Reason for request: Stereoscopic 3D support is aging. A series of hacks and tricks can be used to maintain its presence in modern versions of windows and drivers. This involves hex editing driver dlls, which can be flagged as modded drivers by anti-cheat software, leading to bans in multiplayer games. If Stereoscopic 3D isn't "On", these hex edited drivers are not loaded and don't get tripped up by anti-cheat or anti-malware software.

Potential Quality of Life to be gained by implementing support akin to expected behavior listed above: Using a combination of the LG Controller, Nvidia Controller, and Game Launcher settings, assign a single hotkey to tune the Nvidia Drivers and change TV settings to be appropriate for 3D, with a safe "2D" mode hotkey you can assign to turn Stereoscopic 3D off in the driver and revert to settings more appropriate for standard 2D Desktop use.

Note: The "Set up stereoscopic 3D" section of the Nvidia Control panel is separate from the "Manage 3D settings" area that ColorControl can manage as expected.

Maassoft commented 1 year ago

I think activating/deactivating Stereoscopic 3D is not possible via the driver settings. I see an option "7 - Stereo" -> "Stereo Enable", but that's probably only toggling if it is enabled for that profile and not whether the functionality is globally activated. I could however add a specific setting to the Nvidia presets to handle activating/deactivating the functionality. I see that this will probably work through the NvApi-wrapper I'm using. I will test if this is indeed working and will then add it to a next release.