Skip to content

output: add color_format command#9146

Open
sourenaraya wants to merge 1 commit into
swaywm:masterfrom
sourenaraya:output_color_format
Open

output: add color_format command#9146
sourenaraya wants to merge 1 commit into
swaywm:masterfrom
sourenaraya:output_color_format

Conversation

@sourenaraya
Copy link
Copy Markdown

Allow configuring the output color format (RGB/YPbPr) via the output config. Exposes the value in IPC JSON output.

This is intended to support the proposed DRM "color format" connector property: Patch series on Patchwork
Tested in sway with the patches applied to Linux 6.19 on amdgpu (RDNA2 iGPU) connected to a Samsung TV. In my case, the driver previously selected a YUV mode automatically, causing incorrect colors; selecting RGB explicitly (swaymsg "output DP-7 color_format rgb") fixes the issue.
MRs in: wlr-protocols, wlroots

Allow configuring the output color format (RGB/YPbPr) via the
output config. Exposes the value in IPC JSON output.
@sourenaraya sourenaraya force-pushed the output_color_format branch from fe77bcd to 101b75f Compare May 11, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant