Windows 10: Disable V-sync for specific windowed applications DWM

Discus and support Disable V-sync for specific windowed applications DWM in Windows 10 BSOD Crashes and Debugging to solve the problem; My Windows 10 version is 1909 build 18363.1082. So there is a game that I want to run in windowed mode so I can put other things over it not... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Kabanodim, Oct 14, 2020.

  1. Kabanodim Win User

    Disable V-sync for specific windowed applications DWM


    My Windows 10 version is 1909 build 18363.1082.


    So there is a game that I want to run in windowed mode so I can put other things over it not exclusive fullscreen, dll injection for overlays is not an option.

    And there is the mandatory Desktop Window Manager that forces vertical synchronization on every desktop window it renders.

    Vertical sync adds a sensible amount of input lag, so is there a way to somehow run an application around the DWM, but not in exclusive full screen? Or is there an opportunity to somehow ask the DWM to not enable vsync on my window?…


    Things I tried so far:

    Disabled vsync in game's settings for starters;

    Set compatibility flags: ~ DISABLEDWM DISABLEDXMAXIMIZEDWINDOWEDMODE for all users

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers;

    Since it is a Steam game, tried running Steam with these compatibility flags as well;

    Set Nvidia driver options both globally and for the particular application to not use vertical sync.


    Specs:
    Xeon E3-1270 V2

    GeForce GTX 1070

    16 GB RAM

    The system is running from a SATA3 SSD.

    :)
     
    Kabanodim, Oct 14, 2020
    #1

  2. Get better Game Performance under Vista by disabling DWM on a per-application basis!

    I just came across this tip/tweak, which probably many who are familiar with Vista already know... It's about disabling the aero effect on a per-application basis, so that you get vista basic interface during gameplay (when you're not going to see it) and it switches back to aero when you exit the game.

    DWM, or the Desktop Window Manager, turns the graphics card into a shared resource which allows for the Aeroglass effects and the tear-free desktop. When running normal applications, this is a good thing because it offloads the graphics work (the bulk of which was handled by the CPU in Windows XP) to the GPU, which, when running normal applications is sitting in your computer doing nothing. With Aeroglass/DWM on, the CPU is freed up for other duties as all of the desktop graphics are now handled by the GPU.

    In DirectX 9 and OpenGL games however, having Aeroglass/DWM on can decrease performance. This is for a number of reasons :
    1.DWM makes the video card a shared resource. When DWM is on, programs are not allowed direct access to the video card.
    2.DWM uses both System RAM and VRAM because it maintains an offscreen buffer for every window.

    Fortunately, Microsoft has provided a way to disable DWM on a per-application basis so you can still enjoy Aeroglass when not running games. To disable DWM on a per-application basis, right click on the application/game's icon and select properties. Navigate to the compatibility tab, then find and check Disable Desktop Compositing. Now, whenever you launch that program, Windows Vista will temporarily switch back to the Windows XP style graphics subsystem.

    DirectX 10 games shouldn't be affected as much (if at all) by having DWM on because the DirectX 10 API is designed around having the GPU as a shared resource and is better able to handle GPU multitasking.

    With a few simple steps, on most setups, you can easily make your games run as fast or faster than in Windows XP under Windows Vista.

    This will work on both the 32-bit and 64-bit versions of Windows Vista.
     
    Black Panther, Oct 14, 2020
    #2
  3. ricardobohner, Oct 14, 2020
    #3
  4. Xylee Del Win User

    Disable V-sync for specific windowed applications DWM

    How to always allow administrator permissions for a specific application

    Hi Lyon,

    Windows 10 gives users the ability to customize how they run applications. We suggest that you follow the steps below on how to grant administrator permission to a specific application:

    • Click the Windows icon on your Windows 10 screen that will open the list of applications. Right click on the specific application that you wish to have an admin permission, click the
      More and click Open file location.
    • A new window will open to the location of the program. Right-click on the program and click
      Properties from the pop-up menu.
    • In the Properties window, click the Shortcut tab and then click
      Advanced.
    • In the Advanced Properties window, check the box next to
      Run as administrator
      and click OK.
    • The program will now open in administrator mode when you click the shortcut from the Start menu. Repeat the steps above for other desired applications.

    Let us know if you need further assistance.
     
    Xylee Del, Oct 14, 2020
    #4
Thema:

Disable V-sync for specific windowed applications DWM

Loading...
  1. Disable V-sync for specific windowed applications DWM - Similar Threads - Disable sync specific

  2. Disable Control Box for specific applications

    in Windows 10 Customization
    Disable Control Box for specific applications: Hello All, We have an Applications when ever we open , we want to disable control box Maximum/Minimum button. We want to perform this via group policy. Need some one guidance. thanks in advance Ganesh D...
  3. Anyway to bypass or disable DWM or windows Vysnc?

    in Windows 10 Ask Insider
    Anyway to bypass or disable DWM or windows Vysnc?: I know previous versions you were able to, but now they've made it almost impossible on 2004. Please help. submitted by /u/GoyBoyAdvanced [link] [comments] https://www.reddit.com/r/Windows10/comments/ixtnh5/anyway_to_bypass_or_disable_dwm_or_windows_vysnc/
  4. Disabling V-Sync

    in Windows 10 Gaming
    Disabling V-Sync: How do I disable v-sync for all game modes? I despise input lag, and it's why I switched back to Windows 7. Almost all borderless full screen games are affected by this, and a large amount of exclusive full screen games are, also....
  5. disabling dwm access denied

    in Windows 10 Performance & Maintenance
    disabling dwm access denied: I created another post since my first got unasnwered 20 days and editing doesn't bring up my question. I am trying to terminate dwm on windows 10, i found this guide dwm - Temporarily disable Desktop Composition in Windows 10? - Super User After i suspend explorer.exe i try...
  6. error when trying to disable DWM

    in Windows 10 Performance & Maintenance
    error when trying to disable DWM: I follow this guide: https://superuser.com/questions/1016...-in-windows-10 Get no answer there. Even i took permissions in Edit and Advanced tab still can't disable dwm, one time it works and second i get this error: https://superuser.com/questions/1424...-terminate-dwm Tried...
  7. windows dwm

    in Windows 10 Customization
    windows dwm: What is this? https://answers.microsoft.com/en-us/windows/forum/all/windows-dwm/eb8ca886-88f6-4386-be74-211450a060df
  8. Why does DWM force triple buffering and v-sync in windowed games?

    in Windows 10 Customization
    Why does DWM force triple buffering and v-sync in windowed games?: It has just come to my attention that Windows 10 forces triple buffering and V-sync in windowed and borderless-windowed games via Desktop Window Manager. This is baffling to someone who plays latency critical games regularly and uses dual displays, though I would imagine it...
  9. Disabling "V-Sync" in game, will cause the screen to shatter, HELP?

    in Windows 10 BSOD Crashes and Debugging
    Disabling "V-Sync" in game, will cause the screen to shatter, HELP?: When I'm in any game, at settings I disable V-Sync and when I apply the changes, the screen will start to shatter and my fps will drop to 10fps. Please help, I have this issue for like months. Does it have to do anything with Microsoft visual c++ or .Net framework? HELP....
  10. Is it possible to disable a device while a specific application runs?

    in Windows 10 Drivers and Hardware
    Is it possible to disable a device while a specific application runs?: I have an IR receiver constantly attached to my computer. One program I use always registers it as a game controller, and stops me from using my actual game controllers in favor of it. Is it possible to automate disabling the IR receiver while the program runs, and...

Users found this page by searching for:

  1. windows 10 disable dwm vsync

    ,
  2. disable dwm overlay

    ,
  3. how to disable dwm forced vsync