itsmikethetech / Virtual-Display-Driver

Add virtual monitors to your windows 10/11 device! Works with VR, OBS, Sunshine, and/or any desktop sharing software.
3.01k stars 125 forks source link

Only see 60hz as an option #23

Closed sittingmongoose closed 6 months ago

sittingmongoose commented 9 months ago

I am using the newest version of Windows 11, using an nvidia 3090 with the newest drivers. I am only getting the option in windows to set to 60hz though. Is there a different place to change refresh rate? This all works outside of that, HDR and different resolutions.

sittingmongoose commented 9 months ago

Looks like you need to add the other refresh rates to the option.txt file.

blackgold9 commented 9 months ago

This was it for me. I added the lines to option.txt then disabled/re-enabled to driver in device manager to see the changes

blackgold9 commented 9 months ago

Recommend closing this issue.

Barina commented 8 months ago

then disabled/re-enabled to driver in device manager

Do you guys have a better way to "turn" the monitor on\off? I tried the devcon.exe approach but it didn't work.

Let me explain.. I ran this: ``` .\devcon.exe findall *idd* ``` And find this: ``` ROOT\DISPLAY\0000 : IddSampleDriver Device HDR 1 matching device(s) found. ``` So I tried using `ROOT\DISPLAY\0000` to enable\disable like so: ``` .\devcon.exe disable "ROOT\DISPLAY\0000" ``` Which gave me: ``` No matching devices found. ```
itsmikethetech commented 6 months ago

Merged a PS script that does this: Script

Barina commented 6 months ago

Merged a PS script that does this: Script

Awesome! It doesn't work for me tho..

PS D:\Roy\Downloads> .\toggle-VDD.ps1
Cannot invoke method. Method invocation is supported only on core types in this language mode.
At D:\Roy\Downloads\toggle-VDD.ps1:2 char:6
+  if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal. ...
+      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage

Enabling device
enable-pnpdevice : Generic failure
At D:\Roy\Downloads\toggle-VDD.ps1:16 char:49
+ ... te-Host "Enabling device"; $device | enable-pnpdevice -Confirm:$false
+                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Win32_PnPEntity...\DISPLAY\0000"):ROOT\cimv2\Win32_PnPEntity) [Enable-PnpDevice],
    CimException
    + FullyQualifiedErrorId : HRESULT 0x80041001,Enable-PnpDevice