Repository navigation
Conversation
The page can now keep a setup under a name and put it back in one click: a power limit, or the whole fan, clock and voltage state. A profile saves what the kext confirmed, together with the card it was made on (its PCI device id and the limits the kext reported), in the app's defaults under one versioned key. Names are trimmed and unique; a file from a newer build is left alone. Loading goes through the same call the controls make, so every limit is checked again: a profile made on another card still loads, and a value this card does not take now is left out with a sentence under the list while the rest of the state goes as usual. A raised GFX maximum, and a power limit above the start-up one, need "Allow overclocking", as they do by hand. With Remember on, a loaded profile becomes the remembered state once the kext confirms it. Profiles live in Settings > GPU control > Profiles: one row each with Load, Rename and Delete, a checkmark on the one that matches what the card holds now, "Save current settings..." asking for a name in a sheet, and a confirmation before deleting. All strings in every language, a section in docs/GPU_CONTROL.md and a changelog line. ./build.sh --test: 35195 checks OK.
- The fresh-readings read before a write now goes to the AMD accelerator only, so an Intel iGPU or another card that enumerates first can't swallow it and leave the kext refusing for want of fresh readings. - A remembered retry that a sleep cut short starts its 30 s window again after the wake instead of running out during the settle delay. - Picking by hand the exact value a remembered retry is asking for makes it the owner's: their refusal shows and the remembered filter no longer rewrites it. - A remembered power limit above the start-up one is dropped while "Allow overclocking" is off, like a raised GFX maximum already was. - The card id a profile records is read from the AMD card only. - The line about the last profile loaded stays until what the card holds changes, instead of going away with the next status reading. - The name sheet saves the name as typed, not the one it opened with.
On a kext build the curve rules were not checked with, a profile with a
fan state used to load nothing at all. Now the fan part is left out (and
named under the list) while the clocks and the voltage still go; only a
profile that is nothing but a fan state is refused.
A profile's line under its name lists the values ("A fan curve, a GFX
maximum of 2300 MHz…") instead of reusing the status sentence that starts
with "RyzenStatus is holding".
Merged
Owner
Author
|
Shipped in 1.90.0 (merged through #162). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Save the GPU control setup under a name and load it back in one click: a power limit, or the whole fan curve, zero RPM, GFX max/min and voltage state.
Settings > GPU control > Profiles has one row per profile (Load, Rename, Delete), a checkmark on the one the card holds right now, "Save current settings…" with a name sheet, and a confirmation before deleting. Loading goes through the same path as changing a value by hand, so every limit is checked again. A raised clock or power limit only goes out with "Allow overclocking" on, and anything this card doesn't take is left out, with a line that says which part. A profile made on another card still loads; its values get checked against this one.
Profiles are stored in the app's defaults as one versioned blob. A file written by a newer build is left alone.
The second commit fixes a few things found in review of the restore fix (9a8911a): the fresh-readings read now targets the AMD accelerator, a retry cut short by a sleep gets its window back, a hand pick of the value being retried becomes the owner's, and a remembered power raise is dropped while overclocking is off.
Stacked on #159.
The third commit lets a profile with a fan state still load its clocks on a kext build whose curve rules weren't checked, and makes each row's line list the values.
Checks:
./build.sh --test, 35201 OK. The section was clicked through in a Developer copy on the fake card: Save (a duplicate name is caught, spaces trimmed), Load (another card's profile loads with its note, checkmark moves), Rename, and Delete with its confirmation. Not tried on the real card yet.