ShineDesign Posted September 13, 2004 Report Share Posted September 13, 2004 Hi everybody, I've been trying to configure my XF86Config-4 file for quite some time now to allow for my dual monitor rig. I've got the NVidia GeForce FX5600 Ultra vid card, VGA output and DVI output. I've got the DVI - VGA adapter, which is how I do the dual monitor. Windows XP does it just fine...but that's windows, it's dummy proof. Anyway, take a look at my XF86Config-4 file and tell me if you see why it continues to give me the infamous "No screens found" error when I startx: # 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" "en_US" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "Monitor" Identifier "monitor1" VendorName "Plug'n Play" ModelName "Sony CPD-15SF2" HorizSync 31.0-65.0 VertRefresh 50.0-120.0 # 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 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 "TwinView" VendorName "NVIDIA Corporation" BoardName "NVIDIA GeForce FX (generic)" Driver "nvidia" Option "DPMS" Option "RenderAccel" "1" Option "CursorShadow" "1" Option "TwinView" Option "ConnectedMonitor" "crt,crt" Option "TwinViewOrientation" "RightOf" Option "SecondMonitorHorizSync" "30-90" Option "SecondMonitorVertRefresh" "60-140" Option "MetaModes" "1280x1024, 1280x1024" EndSection Section "Screen" Identifier "screen1" Device "TwinView" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 15 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 16 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 24 Virtual 1280 1024 EndSubsection EndSection Section "ServerLayout" Identifier "Twin" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection See anything in particular? I'd really love to be able to use both my 22" monitors with my Mandrake drive :) hehe Thanks in advance, -Justin Quote Link to comment Share on other sites More sharing options...
Leo Posted September 14, 2004 Report Share Posted September 14, 2004 Do you need to add in a modeline entry for the metamode "1280 x 1024" Leo Quote Link to comment Share on other sites More sharing options...
ShineDesign Posted September 14, 2004 Author Report Share Posted September 14, 2004 I don't really know why I would, I was just going off of what others had said to do. They said with TwinView, I needed to specify the resoluctions in the metamode option. aka, if monitor 1 was set to 1280x1024, set monitor 2 to 1280x1024. Do you see this as irrelevant? Should I remove it? Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Leo Posted September 15, 2004 Report Share Posted September 15, 2004 I think you are right, the modelines thing is a red herring, I found this which may help you, as someone seems to have got it working. I did notice that in Option "ConnectedMonitor" "crt,crt" he had upper case for CRT also there was more to the server layout section than you have. May be worth a go... Quote Link to comment Share on other sites More sharing options...
ShineDesign Posted September 16, 2004 Author Report Share Posted September 16, 2004 Thanks for the suggestion! However, it didn't work. Though I may have transposed some things incorrectly...as I only have one dual-output video card. Here's my file: # 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 "/usr/X11R6/lib/modules/extensions/libglx.so" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "en_US" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "Monitor" Identifier "monitor1" VendorName "Hitachi, Ltd." ModelName "Hitachi CM800" HorizSync 31.0-89.0 VertRefresh 50.0-160.0 # 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 "Monitor" Identifier "monitor2" HorizSync 31.0-65.0 VertRefresh 50.0-120.0 # 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 Section "Device" Identifier "device1" VendorName "NVIDIA Corporation" BoardName "NVIDIA GeForce FX (generic)" Driver "nvidia" Option "DPMS" Option "IgnoreEDID" "1" Option "TwinView" "on" Option "ConnectedMonitor" "CRT,CRT" Option "TwinViewOrientation" "Clone" Option "SecondMonitorHorizSync" "31-65" Option "SecondMonitorVertRefresh" "50-120" Option "MetaModes" "1600x1200,1280x1024" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 15 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 16 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 24 Virtual 1600 1200 EndSubsection EndSection Section "Screen" Identifier "screen2" Device "device2" Monitor "monitor2" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 15 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 16 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 24 Virtual 1600 1200 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" Option "Xinerama" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" Screen "screen2" EndSection See anything that jumps out? Quote Link to comment Share on other sites More sharing options...
Leo Posted September 16, 2004 Report Share Posted September 16, 2004 If the code above is an exact copy of your XF86Config-4 file then your could try changing: Section "ServerLayout" Identifier "layout1" Option "Xinerama" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" Screen "screen2" EndSection to: Section "ServerLayout" Identifier "layout1" Option "Xinerama" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen 0 "screen1" Screen 1 "screen2" EndSection You could also attempt to do what the guy in the link tried, i.e. get it to work first with only monitor 1 then backup your XF86Config-4 file before attempting to get monitor two working and then combining the two XF86Config-4 files to get them both working together. Are you trying to get both monitors displaying the same image or splitting the image across two monitors? Are both the monitors the same spec? It may also be worth double checking that you have the most recent nvidia drivers installed (although you have probably already done this) BTW What actually happens when you go into X with this config? Leo Quote Link to comment Share on other sites More sharing options...
ShineDesign Posted September 16, 2004 Author Report Share Posted September 16, 2004 Thanks, I'll try out your suggestion Are you trying to get both monitors displaying the same image or splitting the image across two monitors? Splitt across two monitors...but for now, I just want to see it work in any config. I can change the arrangement later. Are both the monitors the same spec? Nope, the main monitor is a 22" made by Hitachi, and the second is a 17" Sony Trinitron. All the horiz and vert freq's are correct though. It may also be worth double checking that you have the most recent nvidia drivers installed (although you have probably already done this) Sure do, thanks :) BTW What actually happens when you go into X with this config? It gives me the infamous "no screens found" error after kicking me back to the terminal. Doesn't start X. Quote Link to comment Share on other sites More sharing options...
ShineDesign Posted September 16, 2004 Author Report Share Posted September 16, 2004 (edited) Screen 0 "screen1" Screen 1 "screen2" Unfortunately did not work...same "No screens found" error. I want to try the individual way, then back it up and combine...but how would I do that with only one video card? He had two, so he could isolate the "Device" sections. I can't :unsure: Edited September 16, 2004 by ShineDesign Quote Link to comment Share on other sites More sharing options...
devries Posted September 16, 2004 Report Share Posted September 16, 2004 http://www.sh.nu/nvidia/XF86Config Here are examples of working configs. Just look up the relevant section for your setup (dual monitors) Good luck Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.