sibradzic / stapmlifier Goto Github PK
View Code? Open in Web Editor NEWCustomized ACPI method for overriding mobile AMD APU STAPM values
License: GNU General Public License v2.0
Customized ACPI method for overriding mobile AMD APU STAPM values
License: GNU General Public License v2.0
I thought I'd point this out since your uProf example used Ubuntu 18.10. The ACPI custom_method module doesn't appear to be present in this distro at all.
System not running on stock kernel (kernel come by default with their iso) have these problem.
for example: i have upgraded to 4.20 kernel but my stock kernel was 4.15
The command
apt source linux-modules-$(uname -r)
Downloads source of stock kernel not installed kernel.
if you proceed with wrong kernel version there will be an error while performing 'sudo modprobe custom_method'
But it can be solved by downloading the source of your currently installed kernel from kernel.org and performing the steps.
I used the helper script to set parameters to 45 PPT-fast 40 PPT-slow and 40 STAPM. And while looking at uProf, SOC wattage never goes above 30 watts. Is this a glitch of is it just a lock on my laptop
OS: Manjaro Deepin @ kernel 4.19
Machine: Lenovo ideapad 330(15arr 2018) Ryzen 2700u
I am trying to run this on an Inspiron 7375 but unfortunately, I can't compile the custom ACPI method due to the following errors:
Compiling custom ACPI method
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180105
Copyright (c) 2000 - 2018 Intel Corporation
stapmlifier.asl 3: Method (\STPM, 2, Serialized)
Warning 4089 - ^ Object is not referenced
stapmlifier.asl 39: \_SB.ALIB (0x0C, XXAA)
Error 6084 - ^ Object does not exist (\_SB.ALIB)
ASL Input: stapmlifier.asl - 43 lines, 1238 bytes, 13 keywords
Compilation complete. 1 Errors, 1 Warnings, 0 Remarks, 1 Optimizations
I have dumped and attached the DSDT table from my system to aid in debugging the error for other similar systems (probably all Dells).
Edit: Zipped up the raw file instead of the decompiled one. Updated.
Is it possible to make the
VER=$(cat /proc/AMDPowerProfiler/device) && sudo mknod /dev/AMDPowerProfiler -m 666 c $VER 0
command persistent? I'd like for AMD uProf to not make me execute it on every reboot just to see power usage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.