For nvidia :
In /etc/X11/XF86Config-4 :
Section "Device"
Identifier "NVIDIA GeForce TwinView"
Driver "nvidia"
Option "TwinView" "on"
Option "ConnectedMonitor" "CRT,TV"
Option "UseEdidFreqs" "on"
Option "MetaModes" "1024x768,NULL;1024x768,800x600;800x600,800x600"
Option "TVStandard" "PAL-N"
Option "TVOutFormat" "COMPOSITE"
EndSection
The options that must be there are :
Option "TwinView" "on"
Option "ConnectedMonitor" "CRT,TV"
Option "MetaModes" "1024x768,NULL;1024x768,800x600;800x600,800x600"
Option "TVStandard" "PAL-N"
TVStandard should be adapted for the country :
o The "TVStandard" option should be added to your screen section; valid
values are:
"PAL-B" : used in Belgium, Denmark, Finland, Germany, Guinea,
Hong Kong, India, Indonesia, Italy, Malaysia, The
Netherlands, Norway, Portugal, Singapore, Spain,
Sweden, and Switzerland
"PAL-D" : used in China and North Korea
"PAL-G" : used in Denmark, Finland, Germany, Italy, Malaysia,
The Netherlands, Norway, Portugal, Spain, Sweden,
and Switzerland
"PAL-H" : used in Belgium
"PAL-I" : used in Hong Kong and The United Kingdom
"PAL-K1" : used in Guinea
"PAL-M" : used in Brazil
"PAL-N" : used in France, Paraguay, and Uruguay
"PAL-NC" : used in Argentina
"NTSC-J" : used in Japan
"NTSC-M" : used in Canada, Chile, Colombia, Costa Rica, Ecuador,
Haiti, Honduras, Mexico, Panama, Puerto Rico, South
Korea, Taiwan, United States of America, and Venezuela
As describe in /usr/share/doc/NVIDIA_GLX-1.0/README.
Stef