This repository contains a collection of shell scripts designed for Arch Linux users to manage various aspects of NVIDIA graphics card settings and services. These scripts are particularly useful for those looking to easily switch power management settings and control the nvidia-persistenced
service.
- NVIDIA Power Management Rules Script (
nvidia_pm_rules.sh
): Manages power management rules for NVIDIA GPUs. - NVIDIA Dynamic Power Management Configuration Script (
nvidia_pm_config.sh
): Creates or removes a configuration file for NVIDIA's dynamic power management. - NVIDIA Persistence Daemon Management Script (
manage_nvidia_service.sh
): Controls thenvidia-persistenced.service
to enable or disable automatic startup at boot and start or stop the service.
- An Arch Linux system
- NVIDIA GPU and drivers installed
- Root permissions for executing the scripts
Each script in this repository is standalone and performs a specific function related to NVIDIA GPU management.
- Clone the repository or download the desired script.
- Make the script executable:
chmod +x script_name.sh
- Run the script with root privileges:
sudo ./script_name.sh
- Follow the on-screen prompts to perform the desired actions.
Refer to the top of each script for detailed instructions on what it does and how to use it.
These scripts directly interact with system files and services. It is recommended to understand their functionality and impact before running them. Always backup your system or relevant configuration files before making changes.
Contributions to this repository are welcome. Please ensure that any pull requests or issues are relevant to the NVIDIA management scripts and Arch Linux system configurations.
This repository is provided "as is", without warranty of any kind. Use at your own risk.