Skip to content

Packss/Linux-NitroSense

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NitroSense™ "clone" for linux

Controls fan speed, gaming modes and undervolting on Linux.

Current supported devices:

  • AN515-44
  • AN515-46
  • AN515-56
  • AN515-58

[OPTIONAL]

  • Install amdctl for undervolt and voltage readings on amd.
  • Install acer-predator-module for keyboard rgb control

Binary release:

  • Get the latest binary here
  • Download nitrosense
  • Execute sudo -E ./nitrosense
  • No dependencies needed

Dependencies [Development]:

  • All:

    pip install -r requirements.txt
  • Ubuntu / Linux Mint:

    git clone https://github.com/musikid/acpi_ec/
    cd acpi_ec
    sudo ./install.sh
    modprobe acpi_ec
    sudo cat /dev/ec #confirm access to EC
  • Arch Linux:

    # amdctl and acpi_ec can be installed via git, or from the AUR
    paru -Syu amdctl acpi_ec-dkms-git
    sudo modprobe acpi_ec
    sudo cat /dev/ec #confirm access to EC

Usage:

COMMAND LINE

  • sudo is required in order to access the Super I/O EC registers and apply undervolt offsets.
  • From the command line run the main script as root:
    sudo -E python3 main.py

ICON

  • Alternatively you can copy the .desktop file to your applications folder and launch the program via it's icon.
  • Open nitro-sense.desktop in a text editor.
  • Set <path_to_NitroSense> to the directory where you downloaded this project.
    Exec=sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY sh -c 'cd <path_to_NitroSense> && python3 main.py'"
    Icon=<path_to_NitroSense>/app_icon.ico
  • Copy the file to the application directory
    sudo cp nitro-sense.desktop /usr/share/applications/
  • Now launch via the application and on initialization it will prompt for the user password.

NVIDIA-POWERD

  • After switching nitro modes * YOU MAY NEED TO RESTART NVIDIA-POWERD SERVICE IN ORDER TO DETECT NEW TGP *
    sudo systemctl restart nvidia-powerd
  • You can check the current GPU TGP via
    nvidia-smi
    

Packages:

Hey! I'm an undergraduate student and would be awesome if you could support me!

ko-fi

I'm doing this project because i wanted something like this to exist, but afaik no other project supports more than one device.

You can also contribute by opening a PR!

About

Clone of Acer's NitroSense™ application for Linux.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages

  • Python 76.6%
  • QML 18.0%
  • C 5.3%
  • JavaScript 0.1%
  • PowerShell 0.0%
  • Shell 0.0%