View Full Version : Cloned TwinView under Mandrake 9
Although I've gone through all related threads I could find on this and other forums, I still cannot get my TV set (Netherlands) to display what's on my monitor. I would like to be able to watch DVD and DivX on my TV. I have a Geforce2 MX/MX 200 card with composite connected via a TRUST wireless transmission system to my TV. I can't get any picture on my TV though, although I think I have all the necessary options enabled in my XF86Config-4 file (http://bch.vet.uu.nl/BCHome/images/XF86Config-4). I'm not sure however if they are all in the right section, the manual is not too clear about that (yes, I do read manuals :) ) The X server exits with errors (Here (http://bch.vet.uu.nl/BCHome/images/XFree86.0.log) is my log file) that are hopefully more informative to you than they are to me. Can anybody tell me what I am doing wrong? The whole setup works under W2k, so I'm sure it should be possible under Linux as well.
Andy Mecham
11-03-02, 09:54 PM
You're running out of valid modes. Can you try specifying an valid SecondMonitorHorizSync for your TV? Please see APPENDIX J: CONFIGURING TV-OUT of the README for more info.
--andy
Thanks Andy, setting SecondMonitorHorizSync to 60 instead of 50-60 worked. As it is an European TV I figured setting a HorizonSync to a range would automatically result in a proper freq. However, I am still not able to get a full screen image on both displays at the same time, only with
Option "MetaModes" "1024x768, NULL; NULL, 640x480" I get a TV picture. I would have thought that
Option "MetaModes" "1024x768, NULL; 640x480, 640x480" or
Option "MetaModes" "1024x768, NULL; NULL, 768x576" would result in a picture at both displays or a full screen on the TV respectively? Where do I go wrong?
acid_zebra
11-04-02, 08:54 AM
Hey,
I am trying to do the same thing (TV-out) on a dell notebook, in the Netherlands (PAL-B)... if you ever do get a working config file, can you post it maybe?
Thanx!
I used your setting but i see nothing on tv:(
can u tell me how i have to modify my xfree?
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Option "DPMS"
Option "TwinView" "On"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT,TV"
Option "SecondMonitorHorizonSync" "60"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "800x600,800x600; 640x480,640x480"
tnx a lot
Lindir
Andy Mecham
11-04-02, 04:52 PM
Are you sure those are valid refresh/sync rates for your TV?
--andy
No, you're right. To make an end to all confusion, below is myXF86Config-4 file that is working on either one of the displays. Some things I can not get figured out.
- How can I get a full screen picture on my TV? Your suggestion to see Appendix J: CONFIGURING TV-OUT of the readme file is difficult to follow, since my readme file ends at appendix D: GLX SUPPORT :confused: :confused:
- How can I tell what a valid SecondMonitorHorizonSync range is for my (Philips) TV ? It's nowhere in the (on-line) manual of the TV. Is there a general range that I could try?
- Don't I need to specify more "Monitor" "Screen" or "Display" instances when using two monitors at the same time?
# File generated by XFdrake.
# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "CTX VL710 series"
HorizSync 30-95
VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Option "DPMS"
Option "TwinView" "1"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT,TV"
Option "SecondMonitorHorizonSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1024x768,NULL;NULL,640x480"
Option "TVOutFormat" "Composite"
Option "TVStandard" "Pal-B"
Option "IgnoreEDID" "1"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
I have a Philips TV, if u find find a solution to use twinview can u post me or send at my mail (ciaolucaaa@libero.it)
tnx
Lindir
finally i can see linux on the tv, but there is another problem...
i can only see it in the tv or in the monitor, not either..
how could i solve this?
i've send my xfree
tnx
Lindir
Glad to read that I'm not the only one that cannot get a full screan picture on both displays. Is this simply not possible under Linux? I've got the idea that it should be possible with a couple of new MODELINEs, but I cannot find a HOWTO write these.
acid_zebra
11-19-02, 06:46 AM
I posted a relevant section of my config in a different thread, that works (in the Netherlands) with TVout and SVGAout, and can connect to a whole host of monitors/TVs.
My configuration:
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1400x1050"
HorizSync 31.5-90
VertRefresh 59-75
Modeline "1400x1050" 155.80 1400 1464 1784 1912 1050 1052 1064 1090 -hsync -vsync
Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia"
Option "NvAGP" "3"
Option "DigitalVibrance" "3"
Option "TwinView" "1"
Option "SecondMonitorHorizSync" "30-160"
Option "SecondMonitorVertRefresh" "30-90"
Option "TwinViewOrientation" "LeftOf"
#Option "ConnectedMonitor" "dfp,crt"
Option "TVStandard" "PAL-B"
Option "MetaModes" "1280x1024, 1400x1050; 1024x768, 1400x1050; 800x600, 1400x1050"
Option "NoLogo" "True"
Option "DigitalVibrance" "3"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Option "Accel"
Subsection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Obviously, you need to adjust every instance of "1400x1050" for your monitor (see the monitor section)
Good Luck
Thanks! I'll try it tonight when I get home. If I the config correct, you're expanding your desktop across 2 screens, or not?
sroubekf
11-26-02, 05:03 PM
I have tried similar configuration as you want - "clone" my monitor output on TV so that I can watch dvds on my TV. In MD I am not able to have both monitor and my TV on. I can have one or another but not both. Things work well in Windows where I use TVTool. But I have noticed that both TV and the monitor must have the same refresh rate. TVTool does it automatically. I think this is a HW issue of GeForce2 cards. According to my opinion you have to define a modeline in XF86Config which will be acceptable by your monitor and also by your TV. I have not done it yet. It requires some playing with modeline parameters.
If you succeed, please send me a note.
Finally, i've got it working: my TV at 800x600 resolution. Thanx to this link (http://www.hut.fi/Misc/Electronics/faq/vga2rgb/calc.html) I found on this forum, I added this modeline to my XF86Config-4 file:
Modeline "800x600" 34 800 840 960 1088 600 610 613 625 -hsync -vsync
I will copy my whole file tonight and post it here, it now displays a cloned image of my monitor on my philips (Pal-B) TV. Can anyone by the way tell me where I can find an explanation of all things in the XF86Config-4 file? I cannot figure out what the screen-, monitor- and all these sections really mean.
Sorry for the delay, but here it is: my XF86Config-4 file that gets me a cloned 800x600 image on my (dutch) TV
# File generated by XFdrake.
# ************************************************** **# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** **
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "CTX VL710 series"
HorizSync 30-95
VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# From the Dutch HOWTO: "MODELINES"
# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480" 25.200 640 664 760 800 480 491 493 525
# From http://www.hut.fi/misc/electronics/faq/vga2rgb/calc.html
Modeline "800x600" 34 800 840 960 1088 600 610 613 625 -hsync -vsync
# From /etc/X11/XF86Config
# 800x600 @ 60 Hz, 37.8 kHz hsync
ModeLine "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
# Option "DPMS"
Option "TwinView" "1"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT,TV"
Option "NoLogo" "On"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1024x768,NULL;640x480,;800x600,;NULL,640x480;NULL, 800x600"
Option "TVOutFormat" "Composite"
Option "TVStandard" "Pal-B"
Option "IgnoreEDID" "1"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.