sibradzic / upp

A tool for parsing, dumping and modifying data in Radeon PowerPlay tables
GNU General Public License v3.0
154 stars 24 forks source link

powerplay table default location is not always card0 #22

Closed harakiru closed 3 years ago

harakiru commented 3 years ago

As the title suggests the powerplay table isnt in the /sys/class/drm/card0/device/pp_table directory all of the time. Some setups, such as my laptop which has the graphics card connected via an egpu adapter, has this file in /card1/ instead. Therefore the program fails to run since it cant find the file when i tell it to dump it.

sibradzic commented 3 years ago

RTFM:

-p, --pp-file <filename>        Input/output PP table file.