| 1 |
NV-CONTROL X Extension Samples |
| 2 |
|
| 3 |
The `nvidia-settings` application is fairly involved, and is not |
| 4 |
the easiest source code to read through for someone interested in |
| 5 |
learning how to use the NV-CONTROL X extension. |
| 6 |
|
| 7 |
The applications in this directory are trivial examples demonstrating |
| 8 |
how to use the NV-CONTROL X extension. For more thorough |
| 9 |
documentation on the extension, please see the NV-CONTROL-API.txt |
| 10 |
document (located in the doc/ directory of the nvidia-settings |
| 11 |
source package). |
| 12 |
|
| 13 |
Sample applications: |
| 14 |
|
| 15 |
nv-control-info: Demonstrates how to query for extension |
| 16 |
presence and basic information. |
| 17 |
|
| 18 |
nv-control-dvc: Demonstrates how to query and assign an |
| 19 |
integer attribute (NV_CTRL_DIGITAL_VIBRANCE); also |
| 20 |
shows how to handle multiple display devices. |
| 21 |
|
| 22 |
nv-control-events: Demonstrates how to register to receive and |
| 23 |
interpret NV-CONTROL events. |
| 24 |
|
| 25 |
nv-control-dpy: Demonstrates how to configure display devices |
| 26 |
using the NV-CONTROL X extension. |
| 27 |
|
| 28 |
nv-control-targets: Demonstrates how to query various attributes |
| 29 |
from varying target types (GPUs, X Screens, |
| 30 |
Frame Lock Boards) using the XNVCTRL target |
| 31 |
functions. |
| 32 |
|
| 33 |
nv-control-framelock: Demonstrates how to query frame lock related |
| 34 |
attributes. Also demonstrates how to enable/ |
| 35 |
disable frame lock. |