From 895cc737f95e77e6a4691499278c70e3e99bea0d Mon Sep 17 00:00:00 2001 From: fazzi Date: Thu, 29 Oct 2026 15:41:35 +0000 Subject: [PATCH 1/2] monitor: set max_bpc based on configured bitdepth --- src/output/Monitor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/output/Monitor.cpp b/src/output/Monitor.cpp index 4a50c9f901a..7775fcac3b5 100644 --- a/src/output/Monitor.cpp +++ b/src/output/Monitor.cpp @@ -921,6 +921,8 @@ bool CMonitor::applyMonitorRule(Config::CMonitorRule&& pMonitorRule) { m_pixelSize = m_size; + m_output->state->setMaxBpc(RULE->m_enable10bit ? 10 : 8); + static constexpr auto formats10bit = std::to_array({DRM_FORMAT_XRGB2101010, DRM_FORMAT_XBGR2101010}); static constexpr auto formats8bit = std::to_array({DRM_FORMAT_XRGB8888, DRM_FORMAT_XBGR8888}); From 4fbc7af739099a7a2f1c93f0539ce9c06b855727 Mon Sep 17 00:00:00 2001 From: fazzi Date: Thu, 29 Oct 2026 18:50:20 +0000 Subject: [PATCH 2/2] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'aquamarine': 'github:hyprwm/aquamarine/163b138cfb22873de1e1bf253d57bf03154d1acd?narHash=sha256-%2BcM/b9wmTgjZ/eCuSlZ6GNcPjkHoLkww/DhQzV7Bba8%3D' (2026-10-22) → 'github:hyprwm/aquamarine/259c8b5db9bd5393e4b0655da5832077745eddfd?narHash=sha256-pUZFfVc6%2BeLZOAuMaAGSwdbFvtYzc%2B7t1vrii4ZBQ3Y%3D' (2026-10-29) --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 32c20b2d2e1..409f29ece0e 100644 --- a/flake.lock +++ b/flake.lock @@ -16,11 +16,11 @@ ] }, "locked": { - "lastModified": 1792686663, - "narHash": "sha256-+cM/b9wmTgjZ/eCuSlZ6GNcPjkHoLkww/DhQzV7Bba8=", + "lastModified": 1793296104, + "narHash": "sha256-pUZFfVc6+eLZOAuMaAGSwdbFvtYzc+7t1vrii4ZBQ3Y=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "163b138cfb22873de1e1bf253d57bf03154d1acd", + "rev": "259c8b5db9bd5393e4b0655da5832077745eddfd", "type": "github" }, "original": {