opt: hdr_depth default to hdr10

This commit is contained in:
DreamMaoMao 2026-06-25 23:14:07 +08:00
parent 1a3a314852
commit 9c7f2ec21a
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ Tearing allows games to bypass the compositor's VSync for lower latency.
## HDR
| Setting | Default | Description |
| :--- | :--- | :--- |
| `hdr_hdr_depth` | `0`/`1`/`2` | Set the hdr depth for the current display. `0` is Default, `1` is HDR8, `2` is HDR10. |
| `hdr_depth` | `2`| Set the hdr depth for the current display. `0` is Default, `1` is HDR8, `2` is HDR10. |
- you should enable HDR in monitorrule first, refer to [Monitors — Monitor Rules](/docs/configuration/monitors#monitor-rules)
- you must set `env=WLR_RENDERER,vulkan` before mango starts.

View file

@ -3727,7 +3727,7 @@ void set_value_default() {
config.drag_tile_refresh_interval = 8.0f;
config.drag_floating_refresh_interval = 8.0f;
config.allow_tearing = TEARING_DISABLED;
config.hdr_depth = MANGO_RENDER_BIT_DEPTH_DEFAULT;
config.hdr_depth = MANGO_RENDER_BIT_DEPTH_10;
config.allow_shortcuts_inhibit = SHORTCUTS_INHIBIT_ENABLE;
config.allow_lock_transparent = 0;
config.no_border_when_single = 0;