Eureka, washed out intel GM965 tv-out solved
Jesse Barnes
jbarnes at virtuousgeek.org
Thu Nov 8 13:09:19 PST 2007
On Sunday, October 28, 2007 4:03 am rglowery at exemail.com.au wrote:
> Sorry for the multiple posts, but it looks like the TV_CLR_KNOBS register
> is not initialized by the BIOS if a DVI display is also connected, so for
> me, the patch to resolve the washed out colours regardless of the
> connected devices is
>
> diff --git a/src/i830_tv.c b/src/i830_tv.c
> index ee2538a..e6d2ee5 100644
> --- a/src/i830_tv.c
> +++ b/src/i830_tv.c
> @@ -1178,7 +1178,7 @@ i830_tv_mode_set(xf86OutputPtr output,
> DisplayModePtr mode
> (i830_float_to_csc(color_conversion->bv) << 16) |
> (i830_float_to_luma(color_conversion->av)));
>
> - OUTREG(TV_CLR_KNOBS, 0x10606000);
> + OUTREG(TV_CLR_KNOBS, 0x00404000);
> OUTREG(TV_CLR_LEVEL, ((video_levels->black << TV_BLACK_LEVEL_SHIFT) |
> (video_levels->blank << TV_BLANK_LEVEL_SHIFT)));
> {
I added a patch to 12763 which may also help. It updates the defaults to what
you have above and also exposes the brightness, contrast, saturation and hue
via xrandr as TV output properties so you can adjust them on the fly. Can
you test it out?
Thanks,
Jesse
More information about the xorg
mailing list