roshkins / IddSampleDriver

Add virtual monitors to your windows 10 device! Works with Oculus software, obs, and any desktop sharing software
626 stars 249 forks source link

bypass HZ in monitor #20

Open pokiXa opened 2 years ago

pokiXa commented 2 years ago

hello i was wondering is it possible bypass 500hz? i try increase KHZ/MHZ even clock but without success

the max is 500hz i cant get over that

`const UINT64 MHZ = 10000000000; const UINT64 KHZ = 10000000000;

constexpr DISPLAYCONFIG_VIDEO_SIGNAL_INFO dispinfo(UINT32 h, UINT32 v, UINT32 r) { const UINT32 clock_rate = r (v + 4) (v + 4) + 10000; return { clock_rate, // pixel clock rate [Hz] { clock_rate, v + 4 }, // fractional horizontal refresh rate [Hz] { clock_rate, (v + 4) * (v + 4) }, // fractional vertical refresh rate [Hz] { h, v }, // (horizontal, vertical) active pixel resolution { h + 4, v + 4 }, // (horizontal, vertical) total pixel resolution { { 255, 0 }}, // video standard and vsync divider DISPLAYCONFIG_SCANLINE_ORDERING_PROGRESSIVE }; }`