Multi-Login/Multi-Console config, anyone? Re: TV-out/TwinView

James van Zeeland james at dvzproperty.com
Mon Apr 5 09:16:48 UTC 2004


Dual head works fine for me: XF86Config below....you would need to edit
this to make the second monitor of the AGP card a TV out instead...

Can anyone point me to a how-to on multi-console X configurations?

i.e. Two Keyboard, Two Mice, Two Monitors, Two Login.

This example below is a multi headed workstation; one GF on AGP and one
TNT2 on PCI:

I would expect you might need to be careful with modelines and monitor
description for the TV output...I haven't tried it yet, but I'd bet
it'll work if you tweak it right.

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
	Identifier     "Triple Head"
	Screen         "Screen AGP 0" 0 0
	Screen         "Screen AGP 1" RightOf "Screen AGP 0"
	Screen         "Screen PCI" LeftOf "Screen AGP 0"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
    # Load the glx module.
	Load  "glx"
	Load  "extmod"
	Load  "type1"
	Load  "freetype"
EndSection

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but
may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals
    # Uncomment this to disable the <Crtl><Alt><BS> server abort
sequence
    # This allows clients to receive this key event.
    #DontZap
    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode
switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom
    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
	Option	    "allowmouseopenfail"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "Keyboard"
	Option	    "AutoRepeat" "250 30"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

    # be sure to replace these values with values appropriate for your
    # monitor!
    # 3840x2400 @ 12Hz for IBM's T221 FlatPanel
    # Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418
	Identifier   "MyMonitor"
	VendorName   "IBM"
	ModelName    "IBM P201"
	HorizSync    30.0 - 107.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Device"

    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command. The  BusID is usually optional when
    # only using one graphics card.
    # sample twinview setup
    #	Option	    "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct
values
    # for your monitor!  
    #	Option	    "TwinView"
    #	Option	    "SecondMonitorHorizSync" "30-70"
    #	Option	    "SecondMonitorVertRefresh" "50-160"
    #	Option	    "TwinViewOrientation" "RightOf"
    #	Option	    "MetaModes" "1920x1440,1280x1024"
	Identifier  "NV AGP 0"
	Driver      "nvidia"
	VendorName  "nvidia"
	BoardName   "G-ForceFX5200 Dual Head"
	Option	    "ConnectedMonitor" "crt,crt"
	BusID       "PCI:3:0:0"
EndSection

Section "Device"

    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command. The  BusID is usually optional when
    # only using one graphics card.
    # sample twinview setup
    #	Option	    "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct
values
    # for your monitor!  
    #	Option	    "TwinView"
    #	Option	    "SecondMonitorHorizSync" "30-70"
    #	Option	    "SecondMonitorVertRefresh" "50-160"
    #	Option	    "TwinViewOrientation" "RightOf"
    #	Option	    "MetaModes" "1920x1440,1280x1024"
	Identifier  "NV AGP 1"
	Driver      "nvidia"
	VendorName  "nvidia"
	BoardName   "G-ForceFX5200 Dual Head"
	Option	    "ConnectedMonitor" "crt,crt"
	BusID       "PCI:3:0:0"
	Screen      1
EndSection

Section "Device"

    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.  The BusID is usually optional when
    # only using one graphics card.
	Identifier  "NV PCI"
	Driver      "nvidia"
	VendorName  "nvidia"
	BusID       "PCI:1:9:0"
EndSection

Section "Screen"
	Identifier "Screen AGP 0"
	Device     "NV AGP 0"
	Monitor    "MyMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1920x1440" "1600x1200" "1280x1024" "1024x768" "800x600"
"640x400"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1920x1440" "1600x1200" "1280x1024" "1024x768" "800x600"
"640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1920x1440" "1600x1200" "1400x1050" "1280x1024" "1280x960"
"1152x864" "1024x768" "800x600" "640x480" "640x400"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen AGP 1"
	Device     "NV AGP 1"
	Monitor    "MyMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1024x768" "800x600" "640x400"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" "640x400"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen PCI"
	Device     "NV PCI"
	Monitor    "MyMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x400"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection



On Mon, 2004-04-05 at 16:59, Janez Košmrlj wrote:
> Alexander Dalloz wrote:
> 
> >Am Sa, den 03.04.2004 schrieb Ben Vitale um 22:39:
> >
> >  
> >
> >>Thank you for your response, but I don't understand.  You are suggesting 
> >>that I *should* use the NVidia closed source driver?  That is what I am 
> >>using. "nvidia" is the closed source one.  If I choose the XFree "nv" 
> >>driver, then TwinView is not available.
> >>    
> >>
> >
> >Slap me, I confused myself :}
> >
> >You are totally right, nv is from XFree and nvidia is from NVidia.
> >
> >So go through the XFree.0.log for entries with (EE) or (WW).
> >
> >  
> >
> >>I commented out the DRI line and restarted X, there was no change in result.
> >>    
> >>
> >
> >The DRI module entry in the Module section is then bad. See the NVidia
> >readme. Causes trouble for certain.
> >
> >  
> >
> >>>Maybe http://yanc.sourceforge.net/ is helpful for you.
> >>>      
> >>>
> >
> >  
> >
> >>This tool produces the same configuration that I already have with 
> >>respect to TwinView.
> >>    
> >>
> >
> >Ok. Maybe you should have to play with DDC and EDID.
> >
> >  
> >
> >>Ben
> >>    
> >>
> >
> >Alexander
> >
> >
> >  
> >
> i have the same problem with my geforce 3 ti200 card and i allredy tried 
> yanc and an example xfree config from 
> http://arsis.net/fedora/NVIDIA_TV-OUT_HOWTO.html
> 





More information about the fedora-list mailing list