• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 38 39 40 41 42 ... 117 Next »

Vsync implementation with Windows DWM
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Vsync implementation with Windows DWM
11-27-2014, 09:18 PM (This post was last modified: 11-27-2014, 09:24 PM by Franpa.)
#1
Franpa Offline
Member
***
Posts: 188
Threads: 31
Joined: Feb 2010
How do the Direct3D and OpenGL renderers perform Vsync while the Windows Vista, 7, 8 & 10 DWM is active? Does it simply poll for VBlank? Because it shouldn't. That method with the DWM active creates the potential for various edge cases where a video frame can be displayed for way longer than it should be and induce intermittent visual stutter in the output. I just so happen to have a computer that is very susceptible to these edge cases. If it does poll for VBlank, and you want information on an alternative way to handle vsync under these operating systems than I'll be happy to provide some additional details that both explains the various edge cases that can occur and offer a simple alternative method to handling vsync.

Exclusive Fullscreen Display Mode programs don't exhibit any problems even when they poll for VBlank because the DWM doesn't interfere with them in any way, I've noticed that work is being done on implementing Direct3D Fullscreen Exclusive Display Mode support but this won't apply to the OpenGL renderer sadly.
Computer specifications:
Windows 10 Pro x64 | Ryzen 3700X | ASUS Crosshair VIII Hero WiFi Motherboard | 16GB 3600MHz | Geforce 1070Ti | Corsair AX760 PSU
Find
Reply
11-28-2014, 05:26 AM
#2
Aleron Ives Offline
Senior Member
****
Posts: 662
Threads: 7
Joined: Apr 2014
Both OGL and D3D are supposed to have exclusive fullscreen support now. Make sure the "Borderless Fullscreen" option under the Advanced tab of the graphics settings is not checked to enable exclusive mode.
Find
Reply
11-28-2014, 05:41 AM
#3
Franpa Offline
Member
***
Posts: 188
Threads: 31
Joined: Feb 2010
Ah, okay then. That is very good.
Computer specifications:
Windows 10 Pro x64 | Ryzen 3700X | ASUS Crosshair VIII Hero WiFi Motherboard | 16GB 3600MHz | Geforce 1070Ti | Corsair AX760 PSU
Find
Reply
11-28-2014, 08:28 AM
#4
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,577
Threads: 47
Joined: Dec 2010
Render to main Window must be unchecked too, otherwise exclusive full screen won't work...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
11-28-2014, 01:22 PM (This post was last modified: 11-28-2014, 01:22 PM by Franpa.)
#5
Franpa Offline
Member
***
Posts: 188
Threads: 31
Joined: Feb 2010
Yes, I did see that in the other thread. Thanks for the information none the less.
Computer specifications:
Windows 10 Pro x64 | Ryzen 3700X | ASUS Crosshair VIII Hero WiFi Motherboard | 16GB 3600MHz | Geforce 1070Ti | Corsair AX760 PSU
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode