Giter Club home page Giter Club logo

vibrantcs's Introduction

VibrantCS

NVIDIA provides a way to set the 'Digital Vibrance' which improves the contrast for a game where you may gain an advantage such as CS:GO.

Simple Execution

If you want to run the script manually from a terminal in the background you can simply download the scripts and update the PRIMARY_MONITOR value to match your nvidia-settings panel then execute the script with /bin/bash.

If you really want to find this value using command line instead of the GUI then use the following commands:

# Get a list of the GPUs you can choose from. Typically should only be one reasonable choice here
nvidia-settings -q gpus

1 GPU on Nekrogoblikon:0

    [0] Nekrogoblikon:0[gpu:0] (GeForce RTX 2070 SUPER)

      Has the following names:
        GPU-0
        GPU-f3c1a429-7658-bc60-9ee6-d2712a5329c5

# Get the displays connected to the GPU (I imagine there's a better way I just haven't found it)
nvidia-settings -L | awk '{print $NF}' | sed '/^[[:space:]]*$/d' | uniq | sed 's/[()]//g'
SCREEN-0
DP-0
HDMI-0
DP-4

Then pick whichever screen looks the most reasonable. and substitute that into the main script where I have PRIMARY_MONITOR being set

Systemd Service Installation

If you want to enable this program to always be running in the background and start at bootup time via systemd then you can use the following steps.

# You need to enable xhost so the systemd service can communicate properly
echo "xhost +" >> ~/.bashrc

# NOTE: Before copying this file make sure you update the "User" and "ExecStart" fields
sudo cp vibrantcs.service /etc/systemd/system/vibrantcs.service

sudo systemctl start vibrantcs
sudo systemctl enable vibrantcs 

vibrantcs's People

Contributors

michohl avatar

Stargazers

 avatar

Watchers

 avatar

vibrantcs's Issues

Update to Work With CS2

With the release of Counter Strike 2 there is no more CS GO so our hard coded references to the binary and our log message are no longer accurate.

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.