From: James v. Z. <ja...@dv...> - 2004-05-13 02:39:50
|
here's my intended target application: 4 head "serverstation" big P4, 2Gb DDR 1 x GF AGP, video-in, video-out 3 x GF PCI VMware 4.5 ( up and running ) AGP = X login, video + media use PCI1 = automatic login to restricted account and launch windoz 2003 server in a full-screen VMware session. PCI2 = automatic login to restricted account and launch windoz XP Pro in a full-screen VMware session. PCI3 = X login, administrative use, miscellaneous virtual machines. Currently using a 2800+Athlon, 1Gb for testing. It has an AGP dual head + one TNT2 CPI - Can one patch 2.6.5-ruby kernel source to 2.6.6-ruby, or must the cvs be patched, and then applied to 2.6.6 source ? - I have successfully compiled 2.6.5-ruby and created a prefbusid version of XFree86-4.3.0-55 rpm by adding the patch and prep entries to the source rpm's .spec file That's been installed on two test boxes using rpm -Uvh XFree86-4.3.0-55.i686.rpm --force replacing the stock executables in the fedora core installations. I am happy to compile RH9, FC1, and FC2 (when released and I have) rpm packages I've then looked at editing /etc/X11/XF86Config I have successfully started two X servers, and had VMware sessions running full screen in both, which says to me that this is eventually going to work pretty much exactly as I want it to. Catch is the startup does not seem to be consistent. As often than not, X is crashing when I start the second X session. I had it working fine one day, the next it wouldn't work. Yesterday I had it working briefly. Symptom seems to be more frequently occuring that I try to start the second server first time and a connection is rejected. If I try again, I lose the console. I have it working right now, only thing I did differently that I can think of is that I tried a startx -- -layout PCI-Console first to confirm the PCI card was OK...closed that, then started AGP then second PCI session. I also removed a keyboard1 input reference.... Since it hasn't been consistent yet, I thought I ask for some pointers and suggestions... from here, I'd be wanting two login at runlevel5, with no X gripes, and then the restricted users, auto login and custom .xinitrc ? This is the XF86Config from one box, intended 1xAGP dual head login, 1xPCI login: Two examples of; one configuration has the AGP dual-head configured as Xinemera, the other as another screen ( and hence desktop etc...) Second login is configured for a PCI TNT2, using nVidia drivers... ########################################################### This seemed more ruby friendly?? by a fraction?? ########################################################### # XFree86 4 configuration created by redhat-config-xfree86 Section "ServerLayout" Identifier "AGP-Console" Screen "Screen AGP 0" 0 0 # Screen "Screen AGP 1" RightOf "Screen AGP 0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "SingleCard" "true" EndSection Section "ServerLayout" Identifier "PCI-Console" Screen "Screen PCI" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "SingleCard" "true" 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 "Keyboard0" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse1" 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" # "1600x1200,1280x1024" "1280x1024,1280x1024" "1024x768,1024x768" "800x600,800x600" Identifier "NV AGP 0" Driver "nvidia" VendorName "nvidia" BoardName "G-Force2 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-107" # # Option "SecondMonitorVertRefresh" "50-160" # # Option "TwinViewOrientation" "RightOf" # # Option "MetaModes" "1920x1440,1280x1024" # Identifier "NV AGP 1" # Driver "nvidia" # VendorName "nvidia" # BoardName "G-Force2 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 Section "DRI" Group 0 Mode 0666 EndSection ############################################################## This is what I'd rather be using if I can make it work, unless I hook two identical monitors up. WORKING NOW. ################################################################ # XFree86 4 configuration created by redhat-config-xfree86 Section "ServerLayout" Identifier "AGP-Console" Screen "Screen AGP 0" 0 0 Screen "Screen AGP 1" RightOf "Screen AGP 0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "SingleCard" "true" EndSection Section "ServerLayout" Identifier "PCI-Console" Screen "Screen PCI" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "SingleCard" "true" 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 "Keyboard0" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse1" 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-Force2 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-107" # Option "SecondMonitorVertRefresh" "50-160" # Option "TwinViewOrientation" "RightOf" # Option "MetaModes" "1920x1440,1280x1024" Identifier "NV AGP 1" Driver "nvidia" VendorName "nvidia" BoardName "G-Force2 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 Section "DRI" Group 0 Mode 0666 EndSection |