Coder Social home page Coder Social logo

tailslide / gsyncswitch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kwizatz88/gsyncswitch

0.0 0.0 0.0 39.38 MB

Simple and light Windows App to switch G-Sync, HDR on/off, Vsync, Frame limiter, resolutions/frequencies, monitors with one click in taskbar

Home Page: https://www.paypal.com/donate/?business=WXF6USZK3597Y&no_recurring=1&currency_code=EUR

C++ 13.66% C 0.09% C# 78.54% HTML 7.71%

gsyncswitch's Introduction

GsyncSwitch

Simple and light Windows App to switch G-Sync, HDR on/off, Vsync, Frame limiter, resolutions/frequencies, monitors with one click in taskbar

.NET 6.0 runtime needed to run the app : https://dotnet.microsoft.com/en-us/download/dotnet/6.0
(just take what's under ".NET Desktop Runtime 6.x.x.x")

(Vsync and Frame limiter are the global 3D settings you can change in NVCP)

Icons color shows the current status (green = On, black = Off)

As a gamer I don't want an app using resources on background, so the app does nothing unless you click on it (no timed status update nor stuff like that) :

GsyncSwitchApp

If you take the release (here on the right), just put the files in the same folder, update the config.ini file as needed : you can remove, add or change the resolutions/frequencies switches and labels shown in app as you want (the line "To 144 Hz=3840 2160 32 144" can be changed to "Toto 2K 24 Hz=2560 1440 32 24" if you want): GsyncSwitchConfig "Try to open previous configuration" menu doesn't revert anything, it just opens your previous config.ini file, so you can copy what you want here to manually put it in new configuration

Monitors Ids are the name they have in NVCP -note that part of the name works in ini file, if you have huge monitor names - (you can use the label you want): GsyncSwitchMonitorsIds

and launch GsyncSwitch.exe for toolbar app (you can check launch on startup if needed)

Best use the setup.exe file to install the app and get auto updates at launch

Icons color shows the current status (green = On, black = Off) : note that the status aren't updated on right click, so if values are changed out of the app, desync my occured, until one switch is done or app reloaded.

To switch both Gsync mode and HDR mode at same time, you can also double click on icon in taskbar : image (if their status is unsync, HDR will be switched first to sync them)


If you want to build the projects yourself :

  • GsyncSwitchNVAPI : C++ project to make a dll wrapper to switch Gsync (using NVAPI), or for other NVAPI calls
  • GsyncSwitch : C# project for the simple app in taskbar

To compile GsyncSwitchNVAPI project, you need NVAPI (not included for copyright purpose) available here : https://developer.nvidia.com/nvapi

Note: for frequencies/resolutions switches, the app uses a free tool : nircmd.exe

gsyncswitch's People

Contributors

kwizatz88 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.