GithubHelp home page GithubHelp logo

utility-scripts's Introduction

Custom Utility Scripts

1. gamemode_on: Gamemode Toggler - On

  • Disables XFCE compositor to improve framerate
  • Turns off the output from the left and right monitor in order to ensure Nvidia GSync can run
    • Run xrandr to see which monitors are connected and which portion of the screen they render

2. gamemode_off: Gamemode Toggler - Off

  • Enables XFCE compositor
  • Reapplies saved display configuration profile to re-enable monitors and proper render positions

3. gamemodestream_on: Game Streaming Mode Toggler - On

  • Disables XFCE compositor to improve framerate
  • Turns off the output from the left and right monitor in order to properly place rendering/encode to sunshine
    • Run xrandr to see which monitors are connected and which portion of the screen they render
  • Turns off GSync
  • Sets NIC to 100MB/s full duplex (fixes intermittent stuttering issues)
  • Ensures sunshine caps are on

4. gamemodestream_off: Game Streaming Mode Toggler - Off

  • Enables XFCE compositor
  • Reapplies saved display configuration profile to re-enable monitors and proper render positions
  • Turns on GSync
  • Sets NIC to 1000MB/s full duplex
  • Ensures sunshine caps are off

5. swkvm: Software KVM

  • A script to change the display input with software via ddcutil
  • To get configuration options run ddcutil detect to determine which displays are numbered what
  • To determine which hex value maps to which input source run ddcutil vcpinfo --display=<num> --verbose 60

Usage: swkvm <number>

Configuration file should live at ~/.config/swkvm/<number> in the following format:

<display num>:<hex for display input>
<display num>:<hex for display input>

Example Configuration:

1:0x11
2:0x0f
3:0x0f

utility-scripts's People

Contributors

josephndenton avatar

Watchers

 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.