Giter VIP home page Giter VIP logo

ddcci.debiansetup's Introduction

DDC/CI: Debian Setup

This repository contains Shell scripts which automatically install packages required to run DDC/CI software for NVIDIA GPU. DDC/CI packages introduced in this repository are as follows:

  • ddccontrol
    • Exclusive to Debian 9 "stretch"
  • ddcutil
    • Available on Debian 9 "stretch" and 10 "buster"

As mentioned above, this repository focuses DDC/CI on NVIDIA graphic card; the Shell scripts does not have graphic card detection, thus should not be used on AMD.

Changing Linux Repository

Reference: https://wiki.debian.org/NvidiaGraphicsDrivers/

To install NVIDIA graphic packages to Debian distribution, new components needs to be added on Linux repository located in /etc/apt/sources.list; change the component from main to main contrib non-free and update repository.

$ sudo apt update

NVIDIA Configuration

Reference: http://www.ddcutil.com/nvidia/

Depending on NVIDIA graphic card, there may require additional modification on NVIDIA parameters. Copy /usr/share/X11/xorg.conf.d/ directory to /etc/X11 and modify 90-nvidia_i2c.conf file as shown below:

Section "Device"
    Driver        "nvidia"
    Identifier    "Dev0"
    Option        "RegistryDwords" "RMUseSwI2c=0x01; RMI2cSpeed=100"
    # solves problem of i2c errors with nvidia driver
    # per https://devtalk.nvidia.com/default/topic/572292/-solved-does-gddccontrol-work-for-anyone-here-nvidia-i2c-monitor-display-ddc/#4309293
EndSection

This changes the NVIDIA parameter setting on I2C switching and and speed options.

Additionally, add the following code to /etc/modprobe.d/nvidia-kernel-common.conf file which is about NVIDIA kernel related Linux modules.

options nvidia NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=100

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.