MetalHDR 0.9.2 Beta Converts SDR to HDR in Real Time, App by App on Mac
The article's text, from Joho no Todai's page.
A Mac with an HDR (high dynamic range) display can show a broader range of brightness than conventional SDR (standard dynamic range) video uses. MetalHDR lets users put that extra range to work with SDR content.
On December 4 UTC, the developer known as SheruShafiq released MetalHDR 0.9.0 as the first public beta. It is an independent, open-source project inspired by NVIDIA RTX HDR on Windows and distributed under the MIT license.
MetalHDR needs a Mac with Apple silicon, macOS 15 or later, and an HDR-capable display. From the menu bar, users can enable conversion for individual games, video players, web browsers, and other apps.
Peak brightness, contrast, and saturation can also be adjusted per app. Turning down the Mac’s display brightness also dims the converted HDR picture.
Capturing the screen and drawing an HDR overlay
According to the developer’s technical documentation, MetalHDR uses ScreenCaptureKit, the macOS screen capture API, to capture an HDR-capable display. By default, it uses a half-precision floating-point format in a linear color space.
The app processes the capture on the GPU with Metal and renders the converted image into a transparent overlay window on top of the original app. Mouse input goes through to the underlying app, so users can keep playing a game while viewing the converted image.
What happens when an app with conversion turned off overlaps a game with conversion on?
MetalHDR builds a mask from the window stacking order to identify which app each pixel belongs to. It applies the foreground app’s settings where that app covers the game and converts the visible parts of the game to HDR.
MetalHDR also excludes its own overlay from capture, preventing it from capturing and reprocessing an image it already converted.
The overlay uses macOS Extended Dynamic Range (EDR), which supports pixels brighter than SDR white. This gives it a wider brightness range according to the display’s capabilities and brightness setting.
Where the source already contains pixels brighter than SDR white, MetalHDR makes the overlay transparent so the original image shows through. That lets it handle HDR and SDR content on the same screen.
Preserving shadow detail and hue
A main question in HDR conversion is where to add brightness. Brightening the whole picture can change how a light source looks in a dark scene.
MetalHDR uses inverse tone mapping to keep shadows and midtones close to their SDR brightness while extending highlights smoothly toward a specified peak.
Version 0.9.1, released later on December 4 UTC, changed the processing to preserve shadow detail. It also fixed cases in which conversion was not applied, including fullscreen games that cover the menu bar and Moonlight game streaming at the Mac’s native resolution.
The developer also released 0.9.2 on December 4 UTC. At strong settings, earlier versions could shift hues, for example turning orange toward red. Version 0.9.2 uses the Oklab color space for saturation and gamut adjustments to preserve the original hue.
Contrast processing now pivots around middle gray, deepening darker areas and brightening lighter ones. Settings near 50 can obscure shadow detail, so the developer suggests starting around 15 to 20.
Inverse tone mapping starts with an SDR image that has already been rendered. Since it assigns new brightness values to existing pixels, preserving the original hue matters even when the aim is to make lights look brighter. The amount of brightness and saturation that looks natural can vary from one title to another.
Three milliseconds of processing and game frame rates
The developer tested on a 16-inch MacBook Pro with an M5 Pro. A synthetic test at 3,456 × 2,234 pixels took 0.7 ms of GPU time per frame. Processing real screen content took about 3 ms.
A 120 Hz display refreshes about every 8.33 ms, so 3 ms is about 36% of that interval. This compares GPU processing time with the refresh interval. A game’s frame-rate change and display latency need separate measurements.
A user testing on an M4 Pro with a 20-core GPU reported that the Cyberpunk graphics benchmark went from 55–60 fps with the overlay off to 35–40 fps with it on.
The user also noticed lag in actions such as navigating System Settings. The report did not specify the MetalHDR version or detailed game settings.
The developer replied that they were aware of the performance issue and were working on it.
Screen capture runs only while an app with HDR conversion enabled is running. The 0.9.2 documentation says the added display latency and effect on battery life had yet to be measured.
GPU processing to improve the picture can compete with a game’s rendering. Users may prefer the visual effect when watching video or when the GPU has capacity to spare. For games that demand fast reactions, it is worth checking how the controls feel in addition to the processing time.
A browser extension processes YouTube video frames directly
MetalHDR 0.9.2 also ships an experimental Chrome extension as a separate download. It targets Macs with Apple silicon and an XDR display and can apply HDR conversion and upscaling to YouTube videos.
The extension’s technical documentation describes how it processes decoded video frames at their native resolution before the browser scales them to fit the window. The main app captures what is on the display. The extension processes video frames directly.
For upscaling, it implements a spatial method based on AMD’s FidelityFX Super Resolution 1.0 (FSR 1.0) in WGSL, a shading language for GPU processing. It also offers a method that uses ArtCNN’s published network weights and runs the neural network with WebGPU.
MetalHDR for macOS and its Chrome extension
| Item | macOS app 0.9.2 | Experimental Chrome extension |
|---|---|---|
| Both require a Mac with Apple silicon | ||
| Content | Games and video Other apps | YouTube videos |
| Requirements | macOS 15 or later HDR-capable display | XDR display |
| Input | Content already on the screen | Frames before scaling |
| HDR processing | Converts with Metal Draws a screen overlay | Converts video directly |
| Additional features | Per-app settings Brightness and color adjustment | Upscaling FSR 1.0・ArtCNN |
FSR 1.0 and ArtCNN are available under the MIT license, and the MetalHDR distribution includes their copyright notices. The developer has also mentioned preparing for a Chrome Web Store release.
The screen recording permission HDR conversion requires
MetalHDR works with what appears on screen so it can apply conversion regardless of an app’s own HDR support. The macOS app requires screen recording permission.
The developer says in the privacy policy and other documentation that the app does not save or transmit screen captures and makes no network connections itself. Granting screen recording permission gives the app access to what is displayed, so users should consider whether they trust the source and the published implementation.
Known issues in 0.9.2 include protected video from services such as Netflix and Apple TV+ appearing black and the conversion effect potentially appearing in screenshots or screen sharing. The documentation says windows are treated as rounded rectangles. The mask may not follow unusual shapes accurately, and the overlay edges can trail slightly when windows move.
The app reads display brightness through DisplayServices, a private macOS framework, and falls back to a configured brightness value if the reading fails. How well that keeps working across OS updates is a question for long-term use.
The 0.9.2 release notes say the developer tested on just the Mac described above and had not tested external HDR displays. Anyone trying the public beta should check both picture quality and performance in the games or videos they plan to use.
Should a favorite title be seen with brighter highlights, or enjoyed as it always has been? Being able to choose how it looks is part of MetalHDR’s appeal.
