Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Change NVIDIA configuration through EventGhost

If you have a question or need help, this is the place to be.
Post Reply
User avatar
dexter98
Plugin Developer
Posts: 49
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands
Contact:

Change NVIDIA configuration through EventGhost

Post by dexter98 »

I've found that it is possible to do some extensive control of your NVIDIA based graphics card through the command-line!
I wanted to switch the secondary display (in DualView config) between VGA2 output (my beamer) and TV-out (my TV), but normally this is only possible via the control panel, which is quite a few clicks and not user-friendly at all for a quick switch.

While searching, I stumbled on this document:
http://developer.download.nvidia.com/SD ... el_API.pdf

Scrolling to page 20 revealed the magic commands:
To switch the secondary display to TV out, use the command:
rundll32.exe NvCpl.dll,dtcfg setview 1 dualview #A0 #T0

To switch the secondary display to VGA2, use the command:
rundll32.exe NvCpl.dll,dtcfg setview 1 dualview #A0 #A1


If you read on, it is even possible to do all sorts of configuration tasks through this interface, such as refresh rate, tv-format, resolution etc etc. In the document they also describe how to directly access the nvcpl.dll API, so it might be possible to write a EventGhost plugin for it...


If more people are interested in a special plugin for this, I might be tempted to write yet-another-plugin for it....
regi24
Posts: 3
Joined: Thu Sep 09, 2010 5:44 pm

Re: Change NVIDIA configuration through EventGhost

Post by regi24 »

(two years later..) A plugin for that would be great!
Post Reply