Control the power usage of your Radeon card using OSS drivers. Please look at the README.md file or the github page for instructions on how to use the extension.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
13 | Active |
12 | Active |
11 | Active |
10 | Active |
9 | Active |
8 | Active |
7 | Active |
6 | Rejected |
5 | Inactive |
4 | Inactive |
3 | Inactive |
2 | Rejected |
1 | Rejected |
How about checking if /sys/class/drm/card0/device/power_profile exists in init and failing / showing a message if it doesnt? How does this work with multiple cards?
Thank you for reviewing the extension. This is a great tip - checking for the existence of /sys/class/drm/card0/device/power_profile is an excellent idea! The current approach will only work for "card0". Honestly I did not know that the radeon driver supported multiples cards. Although checking for multiple cards (check if card0 and card1 both exist) and changing the status of both should not be very difficult in theory. Is there anything else you can recommend? This is my first time working with js, so far I have only done any serious work with python. I will implement your suggestions once I have the chance, but I probably won't have that chance until after June's 21st.
I have integrated both changes - the extension now supports multiple cards and checks for power_method too.
OK then.