Coder Social home page Coder Social logo

radix007 / stopnvidiainarch Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 159 KB

Guide to stop Nvidia in Arch and Manjaro.

Home Page: https://radix007.github.io/StopNvidiaInArch/

License: GNU General Public License v3.0

Shell 100.00%
arch archlinux arch-linux linux manjaro manjaro-linux archwiki nvidia nvidia-gpu nvidia-driver

stopnvidiainarch's Introduction

Stop Nvidia In Arch And Manjaro

For Discrete Nvidia GPU ::

  • This is for when you want to stop Nvidia GPU in your Arch/Manjaro Linux completely

  • I am using Dell G3 3579(Nvidia Geforce GTX 1050)

  • This method will increase the battery's performance.

  • Also, any lag and bootup issues will be fixed after doing this.

  • This guide will help you automate Arch Linux's wiki script.

  • You can download the same bash script from the Arch Wiki.

  • You can use either of the methods. The recommended one is DisableNvidia.sh.

Steps if you want to use DisableNvidia.sh ::

  • After cloning, go to the downloaded folder. Open a terminal there.
  • Enter the following in the terminal ::
 chmod +x DisableNvidia.sh
  • To run the script, enter this ::
  ./DisableNvidia.sh
  • You will be asked to enter your password and once you enter it your Nvidia GPU will be disabled permanently .
  • You should see something like this .

Steps if you don't want to use DisableNvidia.sh ::

  • After cloning the files, copy the StopNvidiaInArch.sh to /usr/bin/
  • Now make this file executable
  • To Make any file executable just do this chmod +x filename. In this case ::
  chmod +x StopNvidiaInArch.sh
  • Now we have to create and enable systemd service

  • To do this just copy the file you have downloaded(Name of the file StopNvidiaInArch.service) to the directory /etc/systemd/system/

  • Now you just have to enable the service on startup. To do that just enter the following commands ::

sudo systemctl enable StopNvidiaInArch.service
  • Output for the above command will be :
Created symlink /etc/systemd/system/multi-user.target.wants/StopNvidiaInArch.service โ†’ /etc/systemd/system/StopNvidiaInArch.service.
  • To start it right now
sudo systemctl start StopNvidiaInArch.service
  • To check the status of the service
sudo systemctl status StopNvidiaInArch.service
  • Output Of status systemctlstatus

Reference List

Contributing ::

Please check out the contributing.md guide on how you can actively participate in the development of this project.

License GitHub

This project is licensed under the GNU General Public License v3.0 - see the License.md file for more details.

stopnvidiainarch's People

Contributors

radix007 avatar

Stargazers

 avatar  avatar  avatar  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.