Coder Social home page Coder Social logo

amezin / amdgpu-pptable-editor-qt Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 433 KB

Qt GUI editor for AMDGPU PowerPlay tables. Based on https://github.com/amezin/amdgpu-pptable

License: MIT License

Python 100.00%
amdgpu powerplay radeon linux qt

amdgpu-pptable-editor-qt's Introduction

flake8 lint badge

AMDGPU PowerPlay table editor

A simple GUI tool to inspect and modify AMD GPU powerplay tables. Tries to parse tables the same way as Linux driver does.

screenshot.png

Installation

Dependencies:

  • Python 3.6 or later
  • PyQt 5

On recent Debians/Ubuntus:

$ sudo apt-get install python3-pyqt5 python3-pip git
$ pip3 install --user git+https://github.com/amezin/amdgpu-pptable-editor-qt.git

At least on current Debian Testing, installation fails with:

ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpebufmefo Check the logs for full command output.

In this case, add --no-use-pep517 flag:

$ sudo apt-get install python3-pyqt5 python3-pip git
$ pip3 install --user --no-use-pep517 git+https://github.com/amezin/amdgpu-pptable-editor-qt.git

Usage

GUI app:

$ amdgpu-pptable-editor-qt

View current pptable:

$ amdgpu-pptable-editor-qt /sys/class/drm/card*/device/pp_table

pp_table is only writable by root, so you'll have to save the file to a temporary location and then cp it back to /sys/class/drm/card*/device/pp_table. Or use sudoedit:

$ env EDITOR=amdgpu-pptable-editor-qt sudoedit /sys/class/drm/card*/device/pp_table

Caution!

You can completely screw up your card by modifying its pp_table.

amdgpu-pptable-editor-qt's People

Contributors

amezin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gxhshw

amdgpu-pptable-editor-qt's Issues

pip3 installation fails on my debian/testing system

Hello amezin,

i tried to install the current version of this great tool, following your instructions, but get the following trouble:

pip.log

Do you have an idea what i'am doing wrong? Maybe there is an directory mismatch in a script?

Thank you very much.

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.