ge9 / IddSampleDriver

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

Wrong refresh rate on multi-monitor #10

Open MarcoRoccagliSigma opened 1 year ago

MarcoRoccagliSigma commented 1 year ago

Hi and thanks for very useful driver. I'm using it in combination with a real screen to extend it on my laptop screen. So this is the configuration: Virtual machine with gpu passthrough that outputs on a real screen (primary) and the Virtual driver used as reference screen in looking glass under linux, that acts as a secondary screen that i can use on my laptop. Everything works fine, except for the refresh rate. The real screen is capped at 60hz, while the virtual one should be capped at 144hz (i've set in the config file, and in windows properties). Anyway also the virtual one is visualized at 60hz (i can spot the difference from a 144hz). I can confirm that if i do NOT use the physical screen but only the virtual one as main screen the refresh rate is correctly set at 144hz. Any clues for this?

Thanks

ge9 commented 1 year ago

I've never tried higher refresh rates than 60Hz, so I don't have any clues as for this driver. Actually, I encountered a similar problem in situations irrelevant to this driver. When I use Linux with multiple monitors, the refresh rate was capped at the lowest of the connected monitors. This is kind of known issue and the graphic driver or Xorg may be responsible (for example, see https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-418/+bug/1820832 ). The problem doesn't happen on Windows. In my case, using Gnome (which works on Wayland instead of Xorg) solved the issue. I recommend installing Gnome or checking configuration of the graphic driver.

ge9 commented 1 year ago

or you can test two real monitors with different refresh rates if you have ones. Also note that some applications may not work on Wayland.