Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1a74a39
Harden privileged GPU installer paths
Droga Nov 22, 2026
6e55932
GPU installer: keep the app wording when root runs the staged copy
Droga Nov 22, 2026
d751b90
GPU installer: verify SHA256SUMS against the build pin
Droga Nov 22, 2026
c0f051a
GPU installer test: read the encoder staging from encoder.sh
Droga Nov 22, 2026
1772007
GPU installer: name the app install folder once in the Terminal hint
Droga Nov 22, 2026
a0358ab
GPU decode: JPEG and Motion JPEG plug-in on the VCN JPEG block (off)
Droga Nov 24, 2026
9f1a3ab
GPU decode: JPEG door opens a shared client and connects the video co…
Droga Nov 24, 2026
b5a9a9e
GPU decode: Motion JPEG 4:2:2 on the VCN JPEG block, and a VideoToolb…
Droga Nov 24, 2026
25079ef
GPU: VCNJpeg, the JPEG block of the VCN as a product kext (off by def…
Droga Nov 25, 2026
e4534ad
GPU decode: the JPEG plug-in is always built, and refuses a stuck dec…
Droga Nov 25, 2026
ca15847
GPU install: the JPEG decoder behind --jpeg and --with-jpeg
Droga Nov 25, 2026
818d15f
GPU-Package: rebuild for the JPEG installer changes
Droga Nov 25, 2026
465efa5
GPU: add macOS 26.7.4 (25G422) to the build lists
Droga Nov 24, 2026
8ac022e
GPU JPEG: three checks on the picture's own headers
Droga Nov 25, 2026
a09f862
MPEG-4: refuse B-VOPs with TRD 0, align the size like Mesa, drop matr…
Droga Nov 25, 2026
44f623d
GPUSensors 0.9.0: GFX minimum clock in the OD8 state
Droga Nov 25, 2026
398f85b
GPU JPEG: turns at the door, and the JPEG cleared after each
Droga Nov 25, 2026
c979bf7
Merge origin/main into feat/vcn-mjpeg-vt
Droga Nov 25, 2026
122aa73
GPUSensors 0.9.0: GFX voltage, overclock and a raised power limit
Droga Nov 25, 2026
065a44e
GPU decoders 0.3.6: a session from before a system sleep is not used …
Droga Nov 25, 2026
9a8911a
GPU control: remembered settings come back at launch and wake
Droga Nov 26, 2026
d35a72b
GPU control: profiles for the card's settings
Droga Nov 26, 2026
1c4dc6c
GPU control: profile and restore fixes from review
Droga Nov 26, 2026
3ad25ad
GPU control: profiles load the clocks without an unchecked fan part
Droga Nov 26, 2026
6ce8f27
Merge remote-tracking branch 'origin/feat/vcn-mjpeg-vt' into release/…
Droga Nov 26, 2026
c7aef42
GPU install: skip the JPEG kext only when the config.plist installed …
Droga Nov 26, 2026
6244586
Merge remote-tracking branch 'origin/fix/mpeg4-bvop-guards' into rele…
Droga Nov 26, 2026
01e1d7a
Merge remote-tracking branch 'origin/feat/gpu-profiles' into release/…
Droga Nov 26, 2026
be05e73
GPU decoders: after a sleep, rebuild a session instead of failing it
Droga Nov 26, 2026
dc1328b
GPU decoders 0.3.7: a session from before a sleep keeps decoding, reb…
Droga Nov 26, 2026
c6f0b8a
Merge remote-tracking branch 'origin/fix/vcn-decode-sleep-wake' into …
Droga Nov 26, 2026
d786c51
Merge branch 'feat/macos-26.7.4-uuids' into release/1.90.0
Droga Nov 26, 2026
f1b7d68
GPU control: our own gpucontrol is not another program
Droga Nov 26, 2026
d1d8a9b
Hardware Validation: a row for the GPU sensors kext
Droga Nov 26, 2026
7fe4884
Merge branch 'fix/gpu-installer-pin-sums' into release/1.90.0
Droga Nov 26, 2026
80df5f8
GPU: changelogs and status for RyzenStatus 1.90.0
Droga Nov 26, 2026
da655f8
gpucontrol: formatting only
Droga Nov 26, 2026
553a0c0
Release 1.90.0
Droga Nov 26, 2026
2d96d98
Tests: the GPU control paragraph may be in the newest release
Droga Nov 26, 2026
d5cf253
GPU installer: chown is /usr/sbin/chown
Droga Nov 26, 2026
101b8e8
RyzenStatus GPU: plain words, and keep the JPEG and older-format deco…
Droga Nov 26, 2026
7983f0c
GPU-Package: rebuild with the chown fix and the installer changes
Droga Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
# Changelog

**GPU power limit, from the optional GPUSensors.kext**: when the kext is loaded and an administrator has allowed GPU changes, Settings › GPU control and the panel can lower the RX 6800 XT's power limit in 10 W steps down to the card's own minimum (225 W on a card that starts at 240 W). The kext checks every request and goes back to the start-up limit on its own when RyzenStatus quits, stops answering or the Mac sleeps; a switch on the page asks for the same limit again after launch and wake, only while changes are allowed and never with a password. Another switch, Allow changes after restart too, asks for an administrator password once and then allows GPU changes again at every startup, so the remembered limit comes back after a restart too; turning it off asks again and removes that step. With GPUSensors.kext 0.8.0, Close Changes closes them again without a password, and on an RX 6900 XT the page shows the readings only. GPUSensors.kext is not public yet; without it, nothing changes.
## [1.90.0] — 2026-11-26 — kexts 3.42.0 (No kext changes)

**AWDL / AirDrop activity in the Network card**: with a Wi-Fi driver that publishes AWDL activity in the I/O Registry (`RTLAwdlPeers` and `RTLAwdlChannel` on the `awdl0` interface, and optionally the `RTLLed` status LED mode), the panel's Network card shows a line with the number of peers exchanging data over AWDL (AirDrop, Sidecar, Continuity) and its current channel. Settings › Monitor › Alerts adds an optional notification when AWDL goes from no peers to some; it is off by default and fires at most once a minute. The line can be hidden like the card's other blocks. With other Wi-Fi hardware nothing changes and nothing extra is read.
**More GPU control (minimum clock, undervolt, overclock and profiles), HDR colour and a fix for decoding after sleep in the GPU decoders, optional MPEG-2, VC-1, MPEG-4 and Motion JPEG decoders, FaceTime and Continuity Camera fixes in the encoding fix, and an AWDL line in the Network card.** The AMD processor kexts stay at 3.42.0, so your EFI's CPU kexts need no change. If you use the RyzenStatus GPU parts, open the RyzenStatus GPU installer in the disk image's "GPU RX 6000" folder to update the decoders to 0.3.7, the encoding fix to 1.3.0 and GPU sensors to 0.9.0.

### GPU control (needs GPUSensors.kext)

- **Power limit**: Settings › GPU control and the panel can lower the RX 6800 XT's power limit in 10 W steps down to the card's own minimum. It goes back to the start-up limit by itself when RyzenStatus quits, stops answering or the Mac sleeps. A switch asks for the same limit again after launch and wake, and Allow changes after restart too asks for an administrator password once so the remembered settings also come back after a restart.
- **GFX minimum clock (GPUSensors 0.9.0)**: raises the minimum clock, up to the GFX maximum in force. The card then draws more power and runs warmer at idle, so the kext watches the temperature while it is held.
- **GFX voltage (GPUSensors 0.9.0)**: lowers the voltage in 25 mV steps, down to the card's own minimum (an undervolt). It suggests stock minus 25 mV as a starting point and never applies it by itself.
- **Overclock (GPUSensors 0.9.0)**: off by default. Raises the GFX maximum clock up to the card's own maximum and the power limit up to the card's own percent (never more than +15 %). Every raise is held under the temperature watchdog.
- **Profiles**: save what the card holds (power limit, fan curve with zero RPM, clocks, voltage) under a name and load it again in one click. A value this card does not take is left out, and the page says which one.
- Every GPU change stays inside the limits the card publishes and goes back to stock when RyzenStatus quits, stops answering or the Mac sleeps. Memory clock and fast memory timings are not offered, because the driver cannot apply them on macOS. Only the RX 6800 XT writes; the RX 6900 XT shows readings only. Details in [docs/GPU_CONTROL.md](docs/GPU_CONTROL.md).
- When `gpucontrol hold` from Terminal holds the card, the page now says it is RyzenStatus's own tool instead of "Another program has the control".
- Tested with unit tests only.

### GPU decoders and encoding fix

- **HDR colour (decoders 0.3.7)**: AV1 and VP9 pictures now carry their colour and HDR information, so HDR video is no longer shown washed out. Not tested on the GPU yet.
- **After a sleep (decoders 0.3.7)**: a video that was playing before a sleep keeps decoding after the wake and switches to fresh decoder state at its next key frame, without dropping frames. 0.3.6 was never released: in a real sleep test it made those videos fail.
- **MPEG-2, VC-1 and MPEG-4 decoders (optional, macOS 26.7.2 to 26.7.4)**: hardware decoding of these older formats on the RX 6800 XT. Not installed by default: run `install/install.sh --with-legacy-decoders` from the GPU parts. Installed, they replace Apple's decoders for these formats. MPEG-4 streams with B-frames are left to Apple's decoder, and MPEG-2 field pictures are not decoded on the GPU.
- **JPEG and Motion JPEG decoder (optional, macOS 26.7.3 only)**: decodes JPEG and Motion JPEG video on the card's JPEG block. Not installed by default: `install/install.sh --with-jpeg`. It needs a reboot, and the block is powered only while pictures arrive.
- **Encoding fix 1.3.0**: Continuity Camera and FaceTime video are decoded by the GPU instead of the CPU, and with a MacPro7,1 or iMacPro1,1 SMBIOS FaceTime's encoder no longer looks for a T2 chip, so outgoing video works. This part is for macOS 15.8.2, 26.7.2 and 26.7.3 and is turned off with `--no-cc`. Not tried in a real FaceTime call yet.
- **macOS 26.7.4**: the decoders and the encoding fix know 26.7.4's drivers. Checked from the installer only, not run on a card with 26.7.4 yet.

### Network

- **AWDL / AirDrop activity**: with a Wi-Fi driver that publishes AWDL activity in the I/O Registry, the Network card shows how many peers are exchanging data over AWDL (AirDrop, Sidecar, Continuity) and on which channel. Settings › Monitor › Alerts adds an optional notification when AWDL starts; off by default, at most once a minute. With other Wi-Fi hardware nothing changes.

### Fixes

- **Closed-lid rule**: the passwordless closed-lid rule could not be written, so its setup always failed right after the password. It is now written and checked before it is put in place.
- **Hardware Validation**: a new row says whether GPUSensors.kext is loaded and found a supported card. It is information only and never fails.

## [1.89.0] — 2026-11-23 — kexts 3.42.0 (No kext changes)

Expand Down
171 changes: 171 additions & 0 deletions GPU/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,177 @@

The encoding fix keeps its own history in `encode/CHANGELOG.md`.

## JPEG decoder 1.0.0 (RyzenStatus 1.90.0)

- New, optional, macOS 26.7.3 only: `VCNJpeg.kext` (`jpeg/`) and the VideoToolbox plug-in
`JPEGVCNDecoder.bundle` (`decode/jpeg/`) decode JPEG and Motion JPEG (`jpeg`, `dmb1`) on
the JPEG block of the VCN, which Apple's driver carries but never starts. Baseline 4:2:0
and 4:2:2; anything else goes to Apple's software decoder.
- The kext creates the JPEG queue and a 128 MiB block of buffers (`vcnjpegpool=<MiB>`, 8 to
128) when the driver starts its video queues, and powers the block only while pictures
arrive: PowerPlay client 21 and the queue start with the first picture, both are given
back two seconds after the last one.
- Off by default: `install/install.sh --with-jpeg`, or `install/jpeg.sh install` and
`install/decoders.sh install --jpeg`. The package carries them only when built with
`VCNVT_JPEG_DECODER=1`. The loader kext lists the JPEG plug-in too.
- It comes from the test kext that decoded through the same plug-in on an RX 6800 XT
(4:2:0, 4:2:2 and `dmb1` at 1280x720, under 5 ms a frame, within 1 of FFmpeg). The
product kext ran once on an RX 6800 XT with 26.7.3 (2026-11-25, started from a separate
OpenCore config): four VideoToolbox cases decoded on the GPU at 74 to 75 dB against the
reference, 90 frames through `avconvert`, and the block powered off two seconds after the
last picture.
- `install.sh --with-jpeg` takes the kext as installed only when the config.plist it installs
to lists it: a kext started from another config file (one picked in OpenCore for one boot)
was skipped before, though the next normal boot would not load it.

## GPU sensors 0.9.0 (RyzenStatus 1.90.0; host tests only)

- A program may now hold a raised GFX minimum clock (OD8 id 1) with the rest of the OD8
state: `gpucontrol hold gfxmin 1500 -- <command>`, `gpucontrol check gfxmin 1500`. It is
taken only inside the card's own range for it (the 0x9f entry: 500 to 2800 MHz on the test
RX 6800 XT, stock 500) and never above the GFX maximum of the same state (the stock one, or
the lowered one held with it): the driver's own rule (`PhwComm_OD8_SetGfxClockLimits`: both
requested, each in its range, minimum at most the maximum). Anything else is refused with
the new reason `GfxMinRange` (12), never clamped. It goes back to stock in the same cases
as the rest of OD8 (release, close, 30 s of silence, a wake), through the same stock pair.
- It is the first setting that can make the card warmer at idle, so it is taken only while
the fan watchdog has fresh readings, and the watchdog runs while it is held: 95 C, or no
readings for 10 s, puts stock back and turns writing off. The "too hot with the fan under
90 %" rule stays with a held curve, because the stock fan climbs slowly by design.
- The read-back allows the minimum to read up to 25 MHz lower than sent, never higher, as
for the maximum. Whether the firmware ever rounds it is not known yet.
- The channel stays version 2: `setOd8` takes 14 scalars (the 14th is the minimum) as well as
the 0.7.0 form of 13, `status` sets flag 512 (`kFlagGfxMin`), `OD8WriteState` gains `Held`
bit 16, `GfxMinHeld` and `Takes` (23: what `setOd8` takes). An older kext refuses the
14-scalar form with a wrong-count error; `gpucontrol` and the app send it only with a
minimum.
- A lower GFX voltage (OD8 id 37, the firmware's `VddGfxOffset`): `gpucontrol hold volt 1050
-- <command>`. Read end to end in HWLibs 25G342: the driver offers it with
`PP_OD8VoltageSliderSupport` (the Navi 21 default, 1) as a range from swsmu+328 to swsmu+332
(881 to 1075 mV on the test card, stock 1075), stages value minus the top as the OD table's
`VddGfxOffset` (int16 mV, written whole to the firmware) and reads it back as top plus
offset. So it is a millivolt cap that moves the whole voltage curve down, and it cannot go
above the top. Linux writes the same field and needs SMU firmware 58.41.0 or later (the
test card: 58.76.0). The kext takes it lower only (at or below stock, at or above the card's
minimum) in 25 mV steps from stock, reads it back exactly, and sends the stock value in
every other call so a way back never leaves an offset behind. Refused: `VoltRange` (13);
not offered or not allowed now: `NoFeature`.
- Raises, only when the request asks for them and only inside the card's own OverDrive
range: a GFX maximum above stock up to the 0x9f maximum (2800 MHz here) with `setOd8` flag
4, `gpucontrol hold gfxmax 2500 overclock -- <command>`; and a power limit above the
start-up one with `set`'s new 3-scalar form (flag 1), `gpucontrol hold power 260 raise --
<command>`, up to `PowerRange.CeilW` = start-up limit x (100 + the 0x9f power percent) /
100, the way Linux takes `power1_cap_max`, the percent cut at +15 (261 W on the test card,
+9 %). The driver's 0x6e path has no ceiling of its own (it sends SMU message 0x32 with the
watts as given), so this is the only one. One step past either maximum is refused
(`GfxRange`; the new reply 21 `AboveCeiling`). Each raise is taken only while the watchdog
has fresh readings (new reply 22 `NoReadings` for `set`) and is held under it: 95 C or no
readings for 10 s puts stock back and turns writing off (new `WriteOff` 16
`PowerWatchdog` for the power limit).
- The channel stays version 2: `setOd8` also takes 15 scalars (the 15th is the voltage),
`set` also takes 3, `status` sets flags 1024 (`kFlagVolt`) and 2048 (`kFlagRaise`),
`OD8WriteState` gains `Held` bits 32 (voltage) and 64 (GFX maximum above stock), `VoltHeld`,
and `Takes` 119; `PowerRange` gains `CeilW`. An older kext refuses the new counts.
- Not added, and why (read in the 25G342 driver, 2026-11-25): the memory maximum (id 8) and
fast memory timings (id 14, AC timing). Both start with `PhwComm_OD8_StartMemoryOverclock`
-> `PECI_StartGPUMemoryOverclock`, an IRI call 0x110018 to the display driver, and on macOS
that interface is `AtiAppleDalServices::dalIriFunction`, which has no case for 0x110018 (nor
0x110019, the end) and answers status 1, so the start fails. A memory maximum then makes
`PhwComm_OD8_ApplySettings` return before the OD table is written (the whole call fails
and the new clock stays staged), and fast timings are recorded but never programmed
(nothing could be read back). Also not added: the fan minimum speed (id 10) and fan target
temperature (id 12), which the driver does not offer while the fan curve is offered
(feature 0, and `PhwComm_OD8_SetGenericSetting` skips a setting whose feature is 0).
- `gpucontrol status` names a held GFX maximum above stock "GFX max raised" (it said
"lowered" for every held maximum) and shows a held voltage as "GFX voltage lowered".

## Decoders 0.3.7 (RyzenStatus 1.90.0)

Everything since 0.3.5, the last release. The sleep part was host-tested only; the rest as
said in each item.

- Colour and HDR metadata: every AV1 and VP9 picture now carries its colour primaries,
transfer function and matrix, plus the mastering display colour volume and content light
level when the stream or the container has them. Before, BT.2020 PQ video was shown as
untagged video (washed out, no HDR). AV1 takes them from the sequence header first and the
container where the header says nothing, and keeps the `HDR_MDCV` and `HDR_CLL` metadata
OBUs (a cut or unknown one changes nothing); VP9 takes the container first, then the
bitstream's `color_space` (VP9 has no transfer function of its own). Host tests only; not
run on the GPU yet.
- New, optional, macOS 26.7.2 and 26.7.3 (and 26.7.4, same driver code): MPEG-2, VC-1 and
MPEG-4 part 2 decoders (`decode/mpeg2/`, `decode/vc1/`, `decode/mpeg4/`), installed only
with `install/decoders.sh install --legacy` or `install/install.sh --with-legacy-decoders`;
installed, they replace Apple's decoders for these formats. Run on an RX 6800 XT with 26.7.3
through VideoToolbox: VC-1 bit-exact (advanced profile I/P/B, WMV3 main, 1080i frame and
field interlaced), MPEG-2 frame pictures 58.8 dB or better, MPEG-4 I/P 59 to 67 dB.
Refused before the GPU: MPEG-4 B-VOPs (they stall the firmware, on Linux as well) and MPEG-2
field pictures (the firmware writes their chroma as zeros; Mesa does not decode them on this
card either).
- MPEG-4: a B-VOP whose TRD is 0 is never sent (direct mode divides by it), the size goes to
the firmware aligned to 16 as Mesa does (1920x1080 as 1920x1088; the pictures keep the real
size), and the quantizer matrices always go in stream order.

- A system sleep. 0.3.6 made things worse in the first real sleep test on this Mac (RX 6800 XT, Tahoe
26.7.3): it noticed the sleep (132 s asleep), but every session from before it then
failed all its frames with -12911, and the new sessions after the wake lost their first
frames to the refusal below. The same test with 0.3.5, which knows nothing of sleeps,
kept decoding on the old sessions after the wake with every frame matching its reference.
- So an AV1 or VP9 session from before a sleep now keeps decoding, as 0.3.5 did, and at its
next key frame (AV1: a key frame that refreshes every reference slot; VP9: a key frame, or
an intra-only frame that refreshes every slot and resets every probability context) its
driver objects are replaced inside the same decoder: the old accelerator is closed without
the driver's own teardown and a new accelerator, driver, context and bitstream pool are
opened, and the key frame decodes on them. No frame is dropped and the host sees no error.
- Only when the old session fails after the wake (a driver call, a command that does not
finish, a firmware error) is it replaced at once; that frame and the ones up to the next
key frame are then dropped (no picture, no error), at most 600 of them. A command that did
not finish has its accelerator closed on the background thread. Right after a wake a
command on the old session may take up to 15 s instead of 1 s (in the test one frame of
each decode took about 10 s and then decoded correctly).
- -12911 is left for a replacement that fails, or no key frame within those 600 frames.
- A new session no longer refuses to open while one from before a sleep is still open.
- The MPEG-2, VC-1 and MPEG-4 decoders are unchanged: their sessions from before a sleep
still stop as in 0.3.6.
- Each replacement leaves the old driver handle and its bitstream pool (up to 96 MiB) in the
process, as the quiet close already did.

## Decoders 0.3.6 (not released; replaced by 0.3.7)

- A decode session from before a system sleep is no longer used after it. A user reported
that with the AV1 and VP9 decoders a wake from sleep hung the Mac a while later, with
glitches before it, and that a VP9 video came out red and broken in Chrome right after a
wake while Safari played it fine. Apple's kernel driver keeps a decoder's video context
across a sleep but restarts the video engine under it, and nothing tells the program
(see "A system sleep" in `docs/how-it-works.md`). The plug-ins now notice a sleep from the
time the Mac spent asleep or the time of its last wake, with no notification. A session
opened before it writes and sends nothing more: its frames fail as a malfunction
(-12911), so VideoToolbox makes a new session, and the host gets a working decoder again
or falls back to software. Closing such a session leaves out the driver's own teardown,
which would send the restarted engine a command for the lost session and wait for it
with no time limit; only the accelerator's connections are closed, on a background
thread. The MPEG-2, VC-1 and MPEG-4 decoders share the code and get the same.
- While such a session is still open in a process, no new session opens there, in any of
the plug-ins: VideoToolbox decodes the new stream in software until the old sessions are
closed. The reporter's log showed why: a browser's decoder process kept two VP9 sessions
open across a sleep, the AV1 session it opened after the wake never decoded a frame, and
the Mac hung after the next wake.
- `vtvp9test` has `-renew` (a new session for every `-loop` pass, in the same process) and
prints a line per pass with the time; `vtav1test` gets `-loop` and `-renew` too. They are
for the sleep test in `docs/testing.md`.
- Not run across a real sleep yet.

## macOS 26.7.4 (25G422) (RyzenStatus 1.90.0)

- Decoders: `AMDRadeonVADriver2` of 26.7.4 has a new UUID,
`F7D8F5849EC139DB857C769697294957`, added to `kValidatedDrivers` in `decode/av1/vcnav1.c`,
`decode/vp9/vcnvp9.c` and `decode/common/vcnlegacy.c` (MPEG-2, VC-1, MPEG-4), and 25G422 to
`install/validated-builds.json` with `av1`, `vp9` and `legacy` set to `"untested-on-gpu"`
and `jpeg` false (the VCNJpeg kext knows only 26.7.3's HWLibs and AMDRadeonX6000). Checked from the installer before updating (its cryptex
rebuilt with `rawpatch`): the driver's 2760 functions are identical to 26.7.3's and every
section is the same except one Apple build path in `__cstring`. Not decoded on a card on
26.7.4 yet. New plug-ins mean new code directory hashes, so the loader kext must ship with
them.

## Decoders 0.3.5 (RyzenStatus 1.89.0)

- The `stats` line's slow-frame count now uses the stream's own frame time. It used to count
Expand Down
Loading
Loading