[TV-Out] PAL works via randr, but not via xorg.conf

Robert Lowery rglowery at exemail.com.au
Fri Jul 31 17:28:50 PDT 2009


> Hello, everyone.
>
> I have a Dell Inspiron 6400 laptop which uses the Intel driver on Ubuntu
> 9.04.
> As usual, its S-Video port is configured to use NTSC by default, which
> makes
> output in European TV sets to be in black and white.
>
> I managed to get color with the following boring process:
>  1.- Disable the TV output (e.g., Fn+F8).
>  2.- Run `xrandr --output TV --set TV_FORMAT PAL`.
>  3.- Re-enable the TV output (e.g., Fn+F8).
>
> But it's quite annoying and thus I'm searching for a way in which PAL is
> used
> by default. I've tried to get this in my xorg.conf file, but I've had no
> luck.
> This is what I'm using:
>>Section "Device"
>>        Identifier      "Configured Video Device"
>>        Driver "intel"
>>        Option "TV_Format" "PAL"
>>#       Option "TV Format" "PAL"
>>#       Option "TVOutput" "PAL"
>>        Option "TVOutFormat"    "SVIDEO"
>>        Option "MonitorLayout"  "TV,LFP"
>>#       Option "TVStandard"     "PAL"
>>        Option "ConnectedMonitor"       "TV"
>>        Option "PreferredMode" "800x600"
>>EndSection
>>
>>Section "Monitor"
>>        Identifier      "Configured Monitor"
>>EndSection
>>
>>Section "Screen"
>>        Identifier      "Default Screen"
>>        Monitor         "Configured Monitor"
>>        Device          "Configured Video Device"
>>EndSection
>
> I've set some options ("TV_Format", "TV Format", "TV-Format", "TVOutput"
> and
> "TVStandard") to "PAL", but nothing happens and I get this in
> /var/log/Xorg.0.log:
>>gustavo at paris:~$ cat /var/log/Xorg.0.log | grep -i TV
>>(II) intel(0): Output TV has no monitor section
>>(II) intel(0): Output TV connected
>>(II) intel(0): Output TV using initial mode 1024x768
>>(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x80000a75
>> to
>> 0x800010bb (WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed
>> from
>> 0x00017878 to 0x00028283 (WW) intel(0): Register 0x68088
>> (TV_FILTER_CTL_3)
>> changed from 0x0000bc3c to 0x00014141 (II) intel(0):   Output TV is
>> connected to pipe A
>>(WW) intel(0): Option "TV_Format" is not used
>>(WW) intel(0): Option "TVOutFormat" is not used
>
> What should I put in /etc/X11/xorg.conf for PAL to work out-of-the-box and
> thus get color?

Put the TV Format option in the monitor section.  This works for me

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "intel"
        BusID           "PCI:0:2:0"
        Option          "monitor-TV"    "TV"
EndSection

Section "Monitor"
        Identifier "TV"
        Option          "TV Format" "576p"
        Option          "Left" "35"
        Option          "Top" "30"
        Option          "Bottom" "22"
        Option          "Right" "42"
EndSection

HTH

-Rob

>
> Thanks in advance!
> --
> Gustavo Narea <xri://=Gustavo>.
> | Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>





More information about the xorg mailing list