Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Windows Aero off or on ?  (Read 779 times)

0 Members and 1 Guest are viewing this topic.

cybermat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:June 05, 2023, 08:27:39 am
Windows Aero off or on ?
« on: August 09, 2022, 08:46:20 am »
Hello,
as per my understading, sometimes Windows Aero ON could interfere with "old" windows application, not designed with Aero in mind.

I always put this Aero mode OFF, but lately i struggled to debug an issue i had with Attract Mode and i found out that enabling Aero solved my issue. With fill screen (so not fullscreen) Attract Mode had vsync off and i forced vsync on via Nvidia app panel.

For groovymame on Windows 7, this feature should be On or Off ? According to your experience (windows 7 users) what setting do you suggest ?


psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 453
  • Last login:Today at 05:57:56 am
  • I want to build my own arcade controls!
Re: Windows Aero off or on ?
« Reply #1 on: August 09, 2022, 03:14:51 pm »
Hi,
One of the reasons for W7 vs W10 is aero off. Reduce the latency, this isn't possible with W10.

On the other hand, some apps with backends (d3d11 or vulkan) sometimes needs aero on for vsync purposes.

I have 2 ahk scripts for this

Disable

#NoTrayIcon
DWM_EC_ENABLECOMPOSITION:=1, DWM_EC_DISABLECOMPOSITION:=0
;DllCall("dwmapi\DwmEnableComposition", "uint", false) ; No need for run here.
Run, net stop uxsms, , Hide ; That way there is no cmd window.
;MsgBox, Aero should be off. It should turn back on when 'Ok' is clicked.
; If you want to turn it back on before the program ends, use this:
;DllCall("Dwmapi.dll\DwmEnableComposition", "UInt", DWM_EC_ENABLECOMPOSITION)


Enable

DWM_EC_ENABLECOMPOSITION:=1, DWM_EC_DISABLECOMPOSITION:=0
;DllCall("Dwmapi.dll\DwmEnableComposition", "UInt", DWM_EC_DISABLECOMPOSITION)
;MsgBox, Aero should be off. It should turn back on when 'Ok' is clicked.
; If you want to turn it back on before the program ends, use this:
Run, net start uxsms, , Hide ; That way there is no cmd window.
« Last Edit: August 09, 2022, 03:19:48 pm by psakhis »