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

Gustavo Narea me at gustavonarea.net
Fri Jul 31 10:43:37 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?

Thanks in advance!
-- 
Gustavo Narea <xri://=Gustavo>.
| Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |




More information about the xorg mailing list