HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
FlyGoat
RyzenAdj
C2022–2025
FlyGoat / RyzenAdj

RyzenAdj

Adjust power management settings for Ryzen APUs

5Distinct people
12Mentions
1Explicit recommenders
2.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Adjust power management settings for Ryzen APUs

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

It looks like the same Tong Fang ID4H1 chassis that Schenker Vision 14/Tuxedo InfinityBook Pro 14 use (also XPG Xenia 14 I believe). If you do a search online, Notebook check,…

lhl used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year12 dated mentions

Observed mentions: 2022-01-10 20:57:34 UTC to 2025-06-18 22:53:23 UTC.

02462022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC505
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC606
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

12 sources
A few years ago I did a bunch of poking w/ a 4800H, you can see the actual mechanics of using RyzenAdj. There are also Geekbench 5 benchmarks linked from the doc at different power limits which you can compare to 4800U devices on Geekbench's site: https://github.com/lhl/linuxlaptops/wiki/2020-MECHREVO-Code-... Note, each laptop manufacturer may choose their different power limits (and like Intel, AMD's curves are largely driven by temperature, so dependent on cooling solution and other settings). This is a good summary of some of how Ryzen Mobile's power limiting works (actually, read that whole wiki if you're interested in the topic): https://github.com/FlyGoat/RyzenAdj/wiki/Renoir-Tuning-Guide I'd also look up "AMD PMF" (their equivalent of DPTF) which only recently made it's way to the Linux kernel (but of course, that will include loa
Read the rest
ds of details anyone can look through): https://www.phoronix.com/news/AMD-PMF-CnQF-Linux-6.1
In AMD Ryzen 7 7840U Performance Benchmarks on Linux
For those interested in seeing more about how these new 7040 APUs (Zen4 + RDNA3 "Phoenix") perform, Notebookcheck just reviewed a 7840HS (65W max TDP I believe) minipc: https://www.notebookcheck.net/AMD-Ryzen-7-7840HS-performance... Although not Linux specific, the nice thing about Notebookcheck is they have a nice database of other CPUs/devices that you can easily compare against. ServeTheHome has been reviewing a lot of these minipcs as well, here's their review of another one w/ Linux compile times and a few other Linux benchmarks: https://www.servethehome.com/minisforum-um790-pro-review-big... For those that don't know, the U, HS, and H chips are basically the same chip with slightly different bins and usually can have their TDP modified in BIOS, via Ryzen Master, or third party tools like RyzenAdj (Phoenix support: https://github.com
Read the rest
/FlyGoat/RyzenAdj/pull/256) to perform pretty closely. (This generation the HX is a '7045' chip is closer to a desktop chip than a mobile APU)
In AMD Ryzen 7 7840U Performance Benchmarks on Linux
Look at these HN comments about Linux laptop battery life, for example: - "you can get a brand new Lenovo idling under 5w without that knowledge and by simply installing tlp. With additional know how you can get it under 3w" - https://news.ycombinator.com/item?id=35327618 - "have you looked into tlp? Have you tried tuning it for battery life?" - https://news.ycombinator.com/item?id=35327071 - "It's only a few years ago that we could expect decent battery life without tweaking on Linux, probably just after the T495 series. (-: These days, tweaking with TLP &c could yield worse battery life, in my experience." - https://news.ycombinator.com/item?id=35244689 - "I have a Thinkpad T495 which is also AMD based. [...] Kernel release 5.17 greatly helped battery life. Now it is just horrible even with TLP installed." - https://news.ycombinator.com
Read the rest
/item?id=35219692 - "Not once, regardless of tlp and other tweaks and many hours of twiddling and forum-reading and keeping stats for weeks on end, has Linux ever approached Windows' battery life on the same machine" - https://news.ycombinator.com/item?id=33858033 - "Install TLP, uninstall thermald, and make sure turbo mode is off (it's on by default in Linux - probably applies to Intel only)." - https://news.ycombinator.com/item?id=33651208 - "by using $ powertop --auto-tune and $ tlp start. Disabling touchscreen, and disabling cores directly also works extremely well when I know I need a longer battery life" - https://news.ycombinator.com/item?id=32965109 - "on Linux, I used https://github.com/FlyGoat/RyzenAdj all the time for my preferred use cases (eg, setting the temp limit below when fans turn on to get a completely silent laptop on battery, lowering max power limits if I wanted to hit a certain amount of battery life, etc). (TLP has run-on-ac and run-on-bat commands so you can easily set your defaults based on whether you're plugged in or not (udev can see power events too)." - https://news.ycombinator.com/item?id=32689327 - "Every release of Ubuntu and Fedora since has caused a lowering of battery life. Current versions of both get me about 2 1/2 hours of battery life extended to 3 hours if I install TLP." - https://news.ycombinator.com/item?id=31594346 From: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... Tell me that isn't just "accumulating more knowledge of how to partially unfuck Linux"? Stumble upon the magic three letter command you'd never guess, something which you can tune and tweak which ideally requires "additional knowledge", which may not help at all and may make things worse, but several hours of trying will let you know - and to quote one of the other side comments "Can't say anything about quality of Bluetooth stack though since I don't use it". There's a reason that the thing most people do with Linux is put it in a container, on the end of an SSH session, at the remote end of hundreds of miles of internet link, hand the SSH keys to Ansible, and use it to serve HTTP/S requests to mobile phone users - and that reason is primarily no license fee. There's a reason people use it as a home fileserver and that reason is that installing Asterisk drives a feeling of being clever and getting "something for nothing". Instead of fixing this like it's a benign papercut, let the full badness wash over you, and then ... leave.
In The Windows 11 Trash Party
If you're running on Linux, almost all of this is completely configurable using ryzenadj for AMD laptops or powercap and thermald for Intel chips. Here's a document on how you might go about adjusting this w/ powercap: https://github.com/junaruga/framework-laptop-config/wiki/Imp... For anyone looking for a good summary of the knobs available for AMD: https://github.com/FlyGoat/RyzenAdj/wiki/Renoir-Tuning-Guide Or for Intel: https://github.com/lhl/linuxlaptops/wiki/2022-Framework-Lapt...
In Intel Core i9-13900T CPU benchmarks show faster than 12900K 125W performance
Besides the short battery life, I hope your new laptop is treating you well otherwise! I don't know about your workload, but in you case you ever wanted to poke around, one thing that might be worth looking into is to see whether the MUX switch (only accessible in Windows) is on its dGPU-only mode. On iGPU mode, the battery life tests for idle and wifi web browsing seem pretty good in Windows: https://www.notebookcheck.net/Asus-ROG-Zephyrus-G14-GA402R-G... On Windows, 3rd parties have been working on a utility called AATU to improve performance and longevity: https://amdaputuningutility.com/ And on Linux, I used https://github.com/FlyGoat/RyzenAdj all the time for my preferred use cases (eg, setting the temp limit below when fans turn on to get a completely silent laptop on battery, lowering max power limits if I wanted to hit a certain a
Read the rest
mount of battery life, etc). (TLP has run-on-ac and run-on-bat commands so you can easily set your defaults based on whether you're plugged in or not (udev can see power events too).
In Framework is now available in Australia
AMD does automatically switch to a "power saving" profile on battery that lowers power consumption significantly vs on charger, but if you want, you can tweak even further with a fantastic tool: https://github.com/FlyGoat/RyzenAdj - it's a simple CLI util so easy to set up w/ udev rules to run automatically. On my old Ryzen laptop, I have it set to run `ryzenadj -f 48` when I go on battery, which limits the temperature below my laptop's fan hysteresis for a very efficient and totally silent system, and `ryzenadj -f 95` to set it back, but you can also adjust most power and clock parameters (not everything works on Ryzen 6000 yet, but the basics should). The docs/wiki are also great and has lots of charts illustrating what each setting does: https://github.com/FlyGoat/RyzenAdj/wiki/Renoir-Tuning-Guide The other tool you could check out (an
Read the rest
d use in conjunction or instead of ryzenadj) is a tool called auto-cpufreq: https://github.com/AdnanHodzic/auto-cpufreq - it lets you switch governor and turbo/clock speeds automatically base on battery if you're just looking for a simpler way to set that. 5.19 has a bunch of amdgpu fixes that might fix some things https://lists.freedesktop.org/archives/dri-devel/2022-April/... but sadly there are often also sometimes regressions/weird bugs: https://gitlab.freedesktop.org/drm/amd/-/issues?page=90&sort...
In How fast is 12th Gen Intel Core?
This looks like an EliteBook or ProBook (they're the only ones with trackpoints, the chassis looks most similar to the 845 G8/G9, but the logo and display looks more like a ProBook - it's not using the classic not the premium HP logo). Both these models which typically have 2 x SODIMMs, making it one of the better options for thin and lights for upgradeability. HP never has high-res panels for their business laptops, which is one of the reasons I don't even consider them (the other is that they usually don't have S3 suspend support, but for an officially supported Linux version, I'll assume they're at least going to spend a bit more time making sure it can suspend properly). For the price, it seems fine, although I'd probably go for the similarly priced Starlabs Starbook Mk V if you were ok w/ FHD: https://us.starlabs.systems/pages/starb
Read the rest
ook (it has a 5800U) Or bite the bullet w/ 12th-gen Alder Lake P and go with the latest Framework: https://news.ycombinator.com/item?id=31433556 Personally, I'm looking most closely atm at the newly announced (but not yet shipping anywhere) Asus Vivobook S 14X OLED (M5402): https://www.asus.com/Laptops/For-Home/Vivobook/Vivobook-S-14... * 45W Ryzen 6900HX (I'll assume RyzenAdj support will come eventually https://github.com/FlyGoat/RyzenAdj/issues/197) * 8GB DDR5 soldered, 1 SO-DIMM so up to 40GB of memory * A ridiculously good display: 14.5" 2880x1800 16:10 120Hz OLED w/ 550nit brightness, 100% DCI-P3, HDR500, Pantone validated (and reportedly no PWM flicker on this generation) * Decent ports - 1xUSB 2.0, 1xUSB 3.2, 2xUSB C, HDMI 2.0, 3.5mm combo audio jack * 1.6kg
In HP Dev One Laptop with Pop_OS
lhl·Apr 15, 2022Recommendation phrase
It looks like the same Tong Fang ID4H1 chassis that Schenker Vision 14/Tuxedo InfinityBook Pro 14 use (also XPG Xenia 14 I believe). If you do a search online, Notebook check, YouTubers (including some Linux-oriented ones) and various subreddits will probably have reviews. Basically looks good to me but ideally for performance/efficiency I'd wait for the 12th gen refresh (this particular chassis is Intel-only, although TF has other AMD models). Below 45W, Ryzen 6000 outperforms, and it's battery-life can be up to twice as good as Intel 12th gen in idle/low intensity tasks like web browsing though, so for a thin and light, my hope is to see a decent AMD model come out in the next couple months. BTW, a couple years ago I did a review of one of the first 4800H Tong Fang systems (versions of this have been available as the Schenker VIA 15 Pro
Read the rest
, Tuxedo Pulse 15, KDE Slimbook, and Eluktronics Thinn 15): https://www.reddit.com/r/AMDLaptops/comments/hunyv6/my_mechr... It was pretty thorough and I answered a lot of questions so maye relevant still. Also, one of the things that I liked about the Ryzen laptops is that while it mostly wasn't possible to exactly undervolt, enthusiasts have done a great job documenting mobile Ryzen's power and thermal behaviors, and you can basically script it to behave how you want, when you want: https://github.com/FlyGoat/RyzenAdj/wiki/Renoir-Tuning-Guide I use a toggle that runs `ryzenadj -f 50` for example, which allows full turbo/speeds, but hard throttles to keep my temps right below my fan hysteresis temp to keep it completely silent. This tends to be my favorite run-mode on battery (I have it attached to a udev script for when unplugged).
In StarBook 14-inch
Those 10 year old Thinkpads are still surprisingly capable. I still didn't completely stop using my X220 (also with some HW upgrades like 16GB RAM and ac Wifi) although I bought a Thinkpad P14s Gen 2 (AMD) this year. Some remarks for running Linux on the P14s: > On AMD models, performance was less than stellar for my workloads and not a significant jump over a laptop from 2018. Might be that you need to bump up some power management settings to get full performance via e.g. [1] or [2]. There is also /sys/firmware/acpi/platform_profile but this is broken currently for T14/P14s Gen2 AMD and maybe other models [3]. > Wi-Fi/Bluetooth would not work on one of the laptops, even when I was using an up-to-date Linux distro. Likely related to the type of adapter used (not Intel). Lenovo switched to using a Realtek adapter for some models (due to c
Read the rest
hip shortage according to their Linux support team). Linux 5.16 includes the driver now, there is also a backport [2] for older kernel versions available. [1] https://github.com/FlyGoat/RyzenAdj [2] https://github.com/xsmile/ryzen-ppd [3] https://bugzilla.kernel.org/show_bug.cgi?id=215177 [4] https://github.com/lwfinger/rtw89
In I went back to using a ThinkPad from 2012

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.