Describe the bug
Describe the bug
There is a persistent bug in the V4L2 subsystem on older Raspberry Pi models (specifically Raspberry Pi 3B and Zero 2W) since the transition to Kernel 6.6. When capturing video via a standard USB HDMI grabber (like the MacroSilicon MS2130), the colors are processed incorrectly or completely swapped (inverted look), while the identical setup works flawlessly on Raspberry Pi 4/5 or with older Kernel 6.1.
This issue has been deeply analyzed in the HyperHDR community (Reference: awawa-dev/HyperHDR#848).
Using the command:
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=50
sometimes temporarily resets the colors, but it is not persistent and breaks during modern color-space shifting (like HDR-to-SDR tone mapping).
Hardware
- Raspberry Pi 3 Model B
- USB HDMI Capture Card (MacroSilicon MS2130 / MS2109)
Steps to reproduce the behaviour
Steps to reproduce
- Connect an MS2130 HDMI grabber to a Raspberry Pi 3B running Bookworm (Kernel 6.6).
- Capture a video stream using HyperHDR or any standard V4L2 grabber software.
- Observe the inverted/swapped color output on the video pipeline processed for external hardware LEDs.
Device (s)
Raspberry Pi 3 Mod. B, Raspberry Pi 3 Mod. B+
System
OS / Kernel version
- Raspberry Pi OS (Bookworm)
- Kernel version: 6.6.x (or newer)
Logs
No response
Additional context
No response
Describe the bug
Describe the bug
There is a persistent bug in the V4L2 subsystem on older Raspberry Pi models (specifically Raspberry Pi 3B and Zero 2W) since the transition to Kernel 6.6. When capturing video via a standard USB HDMI grabber (like the MacroSilicon MS2130), the colors are processed incorrectly or completely swapped (inverted look), while the identical setup works flawlessly on Raspberry Pi 4/5 or with older Kernel 6.1.
This issue has been deeply analyzed in the HyperHDR community (Reference: awawa-dev/HyperHDR#848).
Using the command:
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=50
sometimes temporarily resets the colors, but it is not persistent and breaks during modern color-space shifting (like HDR-to-SDR tone mapping).
Hardware
Steps to reproduce the behaviour
Steps to reproduce
Device (s)
Raspberry Pi 3 Mod. B, Raspberry Pi 3 Mod. B+
System
OS / Kernel version
Logs
No response
Additional context
No response