HDR & Dolby Vision
Nivio can output HDR on supported Android, Windows, Linux and iOS displays. How Dolby Vision plays depends on the platform, the video profile and the display. SDR screens use tone mapping.
Why this is unusual
Flutter apps draw everything, video included, as standard-range (SDR) pictures. Play an HDR movie in a typical Flutter app and it comes out flat, grey and washed out. Nivio takes the video out of Flutter's drawing and renders it with mpv instead, while the controls stay on top as usual:
- Android: the video gets its own Android surface, rendered by a custom build of mpv, so Android can put the screen into HDR mode for it.
- Windows: mpv draws the video in HDR10 into its own window, kept just behind Nivio's window, and Nivio's window turns see-through over the video. Windows then shows the video in HDR and the controls and subtitles at normal brightness on top.
- Linux (Wayland): mpv draws the video in HDR10 into its own Wayland surface, kept just below Nivio's window and marked as HDR10 for the compositor, and Nivio's window turns see-through over the video. The compositor shows the video in HDR and the controls on top.
- iPhone and iPad: mpv sends video through Apple's AVFoundation display layer. iOS chooses how to display HDR and Dolby Vision based on your device and the video.
What you'll see
The HDR tile in the player settings tells you exactly how the current video is playing:
| HDR tile says | What's happening |
|---|---|
| True HDR | HDR10 or HLG video on an HDR screen. The screen is in HDR mode, with real highlights and the video's full colour range. |
| True DV | Dolby Vision decoded by your phone's Dolby Vision hardware and sent straight to the screen, so the display's own Dolby Vision processing kicks in. |
| True HDR (DV Base) | A Dolby Vision video played through its HDR10 layer, in HDR. You'll see this with the Vulkan surface output, or with profile 7 files (see below). |
| True HDR (DV → HDR10) | Windows: a Dolby Vision video (profile 5 or 8) converted to HDR10 by mpv, with correct colours, and shown in HDR. |
| Tone mapped | HDR video converted to SDR, because the screen has no HDR or HDR output is off. |
| SDR | A normal video. Nothing to convert. |
Opening the tile also shows the video's format: HDR10 (PQ), HLG, Dolby Vision with its profile, or SDR.
What you need
- For true HDR: an Android phone or tablet with an HDR screen. Most recent mid-range and flagship phones have one. On Android TV, the TV box reports what your TV supports.
- For true HDR on Windows: Windows 10 or 11 and an HDR monitor with Use HDR turned on in Settings → System → Display (or press Win+Alt+B). Nivio checks the monitor its window is on, so with several monitors, put it on the HDR one.
- For true HDR on Linux: a Wayland session on a desktop with HDR support (KDE Plasma 6, GNOME 48 or newer, Hyprland), and HDR turned on for the screen in its display settings (on Hyprland,
cm, hdrin the monitor rule). X11 sessions always tone-map. - For Dolby Vision: a phone with a hardware Dolby Vision decoder, which most recent Snapdragon flagships have. These decode profiles 5 and 8, the profiles used by streaming services and most web releases.
- For tone mapping: nothing. It works on every device.
4K Blu-ray remuxes use Dolby Vision profile 7. Phones and most TV boxes can't decode it as Dolby Vision. Nivio plays those files through their HDR10 layer instead, which still looks great in HDR. On-the-fly conversion of profile 7 to 8.1 is on the roadmap.
HDR settings
These are in the player's HDR tile and in Settings → Playback. They're the same settings in both places.
HDR Output
On by default. Turn it off to prefer SDR, for example if HDR looks too dim or bright on your screen. On Windows, Linux and iOS this is the only HDR setting. Android also has the surface output and tone-mapping choices below.
HDR Surface Output
| Option | How it works |
|---|---|
| MediaCodec Direct | The default. Video goes straight from the phone's hardware decoder to the screen. Needed for Dolby Vision, and the easiest on battery and heat. |
| Vulkan (gpu-next) | mpv's Vulkan renderer draws the video. HDR10 only. Dolby Vision videos play their HDR10 layer. Try it if MediaCodec Direct misbehaves on your phone. |
Tone Mapping
Used whenever a video isn't playing as true HDR. While true HDR is on screen, the options are dimmed, but you can still pick one for later.
| Option | How it works |
|---|---|
| Standard | mpv's own tone mapping, which measures each scene's brightness and adapts. The default. Ambient mode keeps working. |
| HDR Toys | The hdr-toys shader pipeline, as used by mpvRx: separate PQ (HDR10), HLG and BT.2020 profiles, picked from the video. Often more natural-looking highlights. Runs on the Vulkan renderer, so ambient mode is off while it plays. |
Is my screen HDR?
Play an HDR video and open the HDR tile. If HDR Output is greyed out and says This screen doesn't support HDR, Android reports no HDR for your screen and Nivio tone-maps instead. Some phones also need Vivid or HDR video enhancement settings turned on in the system display settings.
On Windows, Nivio checks the monitor its window is on. If the monitor can do HDR but Windows HDR is off, the HDR tile says Turn on HDR for this screen in Windows display settings: switch on Use HDR (or press Win+Alt+B) and Nivio switches the video to HDR by itself. If the monitor can't do HDR at all, it says This screen doesn't support HDR, as on Android.
On Linux, Nivio asks the compositor what the screen its window is on is showing. If HDR is off for it, the HDR tile says Turn on HDR for this screen in your display settings: turn HDR on there and Nivio switches the video to HDR by itself. If the desktop has no HDR support at all (an X11 session, or a compositor without Wayland colour management), it says This screen doesn't support HDR.
Windows and Linux
Windows plays true HDR on HDR monitors, as described above. If Windows HDR is off or the monitor isn't HDR, HDR video is tone-mapped to SDR with Standard tone mapping. The player's controls dim the video slightly while they're shown, just like with SDR video.
Linux plays true HDR on Wayland desktops with HDR turned on, as described above. Dolby Vision plays its HDR10 base layer (profile 8 looks right; profile 5 has no HDR10 layer, so its colours can be off). Otherwise, HDR video is tone-mapped to SDR with Standard tone mapping.
iPhone and iPad
Open the HDR card in player settings for the source format and playback status. In Stats for Nerds, check Display Output and Screen. A file can say Dolby Vision under its video format while the output says SDR (tone-mapped by iOS). That means the screen is showing the SDR conversion.
To compare SDR, HDR10 and Dolby Vision, load the HDR test playlist from the Live TV tab. On an HDR-capable device, test with HDR Output on and off.
Troubleshooting
- The picture is washed out or grey. HDR is being shown without conversion. Make sure you're on the latest Nivio, then check the HDR tile. If it says True HDR but looks wrong, try the other HDR Surface Output.
- Dolby Vision has green or purple colours. Switch HDR Surface Output to MediaCodec Direct. If it still happens, your phone may not decode that Dolby Vision profile; turn HDR Output off to tone-map it instead.
- HDR is too dark. HDR is mastered for dark rooms. Raise your screen brightness, or turn HDR Output off and use HDR Toys tone mapping.
- The video is black but there's sound. Switch the HDR Surface Output, or set the Decoder to HW or SW.
- Windows: HDR video looks washed out or the HDR tile says Tone mapped. Check that Use HDR is on for the monitor Nivio is on, and that HDR Output is on in the HDR tile. On a laptop with two GPUs, Nivio renders on the GPU that drives that monitor.
- Linux: the HDR tile says Tone mapped on an HDR screen. Check that you're in a Wayland session and that HDR is on for the screen Nivio is on. Nivio also needs a graphics driver with 10-bit OpenGL output (Mesa and NVIDIA both have it).
- Windows: the desktop UI looks too bright or too dim next to HDR video. That's the SDR content brightness slider in Windows' HDR settings, which sets how bright Nivio's controls and other apps look while HDR is on.

