Skip to content

How to force RGB colorspace for KMS display? #257

@whoman321

Description

@whoman321

How can I force the framebuffer / kernel display to RGB mode instead of YCbCr?

Here's the problem:

I'm using RK3328 with Gstreamer, MPP, and KMSsink to output video to a screen with HDMI.

Some older screens/TVs/etc incorrectly report EDID that they can use YCbCr etc, but really they only support RGB limited.

The kernel then boots the display into YCbCr, and the display looks green (wrong colorspace).

How can I force the kernel to boot into RGB colorspace?

Please Note: I'm not using X. I'm using Gstreamer with Rockchip's KMSsink.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions