diff --git a/docs/wiki/Configuration:-Debug-Options.md b/docs/wiki/Configuration:-Debug-Options.md index b43cfe32..7f460e06 100644 --- a/docs/wiki/Configuration:-Debug-Options.md +++ b/docs/wiki/Configuration:-Debug-Options.md @@ -324,27 +324,6 @@ debug { } ``` -### `keep-max-bpc-unchanged` - -Since: 25.08 - -When connecting monitors, niri sets their max bpc to 8 in order to reduce display bandwidth and to potentially allow more monitors to be connected at once. -Restricting bpc to 8 is not a problem since we don't support HDR or color management yet and can't really make use of higher bpc. - -Apparently, setting max bpc to 8 breaks some displays driven by AMDGPU. -If this happens to you, set this debug flag, which will prevent niri from changing max bpc. -AMDGPU bug report: https://gitlab.freedesktop.org/drm/amd/-/issues/4487. - -Since: 25.11 -This setting is deprecated and does nothing: niri no longer sets max bpc. -The old niri behavior with this setting enabled matches the new behavior. - -```kdl -debug { - keep-max-bpc-unchanged -} -``` - ### Key Bindings These are not debug options, but rather key bindings. diff --git a/niri-config/src/debug.rs b/niri-config/src/debug.rs index c0779a4b..7841ce0e 100644 --- a/niri-config/src/debug.rs +++ b/niri-config/src/debug.rs @@ -10,7 +10,6 @@ pub struct Debug { pub enable_overlay_planes: bool, pub disable_cursor_plane: bool, pub disable_direct_scanout: bool, - pub keep_max_bpc_unchanged: bool, pub restrict_primary_scanout_to_matching_format: bool, pub force_disable_connectors_on_resume: bool, pub render_drm_device: Option, @@ -42,8 +41,6 @@ pub struct DebugPart { #[knuffel(child)] pub disable_direct_scanout: Option, #[knuffel(child)] - pub keep_max_bpc_unchanged: Option, - #[knuffel(child)] pub restrict_primary_scanout_to_matching_format: Option, #[knuffel(child)] pub force_disable_connectors_on_resume: Option, @@ -82,7 +79,6 @@ impl MergeWith for Debug { enable_overlay_planes, disable_cursor_plane, disable_direct_scanout, - keep_max_bpc_unchanged, restrict_primary_scanout_to_matching_format, force_disable_connectors_on_resume, force_pipewire_invalid_modifier, diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index d0b24b87..77f07967 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -2252,7 +2252,6 @@ mod tests { enable_overlay_planes: false, disable_cursor_plane: false, disable_direct_scanout: false, - keep_max_bpc_unchanged: false, restrict_primary_scanout_to_matching_format: false, force_disable_connectors_on_resume: false, render_drm_device: Some(