4

GitHub - BoukeHaarsma23/WattmanGTK: A Wattman-like GTK3+ GUI

 5 years ago
source link: https://github.com/BoukeHaarsma23/WattmanGTK
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

WattmanGTK

This is a Python3 program which uses a simple GTK gui to view, monitor and in the future overclock a Radeon GPU on Linux. Main screen

What can it do?

  • View memory and GPU P-states including voltages.
  • Ability to monitor signals from GPU sensors by means of plotting
  • Write a bash file with overclock settings
  • Multi GPU support by means of prompting user which card to edit at startup

What can't it do?

  • Directly apply values from GUI (this will be a future addition)
  • Fan control (this will be a future addition)
  • Monitor mulitple GPU's

Requirements

  • Linux kernel 4.17+ (Ubuntu 18.10 or newer)
  • Python3
  • Python3-matplotlib
  • Python3-gi
  • A Radeon card which uses the AMDGPU kernel driver
  • The kernel parameter amdgpu.ppfeaturemask=0xffffffff must be set.

Usage

The tool can be launched from the command line. Clone the repository and open a terminal in this folder. First make the wattman.py file executable by

chmod +x wattman.py

Then the GUI can be opened by running

./wattman.py

in the terminal. When you want to apply the settings given in the GUI click apply, and instructions will be given on how to apply the overclock. This is at your own risk!

Contributing & Donations

Contributions can be made in terms of:

  • Hardware debugging, please let me know if your configuration runs or not (mine is run with 4.19 and an RX480)
  • Feature additions, some TODO's are given in the files
  • Packaging of the software
  • Feedback on the code
  • Donations can be made on http://paypal.me/pools/c/89hdUKrx2Z
  • Other contributions are also possible, please let me know

FAQ

How to set the kernel parameter ?

For more information look here https://wiki.archlinux.org/index.php/kernel_parameters For GRUB based systems (like ubuntu): edit the /etc/default/grub file and edit the line:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

And change it to:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.ppfeaturemask=0xffffffff"

Then grub needs to be updated, for ubuntu this is done by running

    sudo update-grub

Then reboot the machine, if

   cat /sys/module/amdgpu/parameters/ppfeaturemask

returns 4294967295 (0xffffffffff) the parameter is set correctly

The programm does not work for me

Please open an issue here. Furthermore, refer to this thread on reddit for additional help: https://www.reddit.com/r/linux/comments/9tnijg/a_gtk_wattman_like_gui_for_amd_radeon_users/

The program can not find a certain senor path and fails

Please refer to: https://github.com/BoukeHaarsma23/WattmanGTK/issues/1


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK