LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xfree Dual Monitors and Nvidia... (https://www.linuxquestions.org/questions/linux-software-2/xfree-dual-monitors-and-nvidia-65693/)

dcwvckd 06-15-2003 12:52 AM

Xfree Dual Monitors and Nvidia...
 
Any Help Would Be Appreciated. TIA

I Have setup my GeForce Drviers and have also configured XFree for my Dual Montiors, I am sorta a newbie and the problem is XFree is telling X to spitout diffrent H and V syncs to bboth my monitors because when i check my monitors built on system, both monitors are running and diffrent H and V syncs. I cant figure out why from my XFREE file. I will post it and will some expert please correct this problem for me. The second monitor looks100% its the first im having problems with the first.

XFREE:

# 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)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "glx"
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"
Option "XkbCompat" ""
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 "monitor0"
VendorName "Plug'n Play"
HorizSync 30.0-85.0
VertRefresh 50.0-160.0

EndSection

Section "Device"

#render accel will enable or disable hardware acceleration of the render extension
#Option "SecondMonitorVertRefresh" "50.0-120.0"
#Option "ConnectedMonitor" "CRT,CRT"
#Multiple modes list the combinations of modes and the sequence in which they should
#be used.Modes within a metamode are comma separated, if you want a display device
#to not be active for a certain metamode, you can use the mode nam "NULL", or simply omit it
#to find current config, can disable here
#Option "NoTwinViewXineramaInfo" "true"
Identifier "nvidia"
Driver "nvidia"
VendorName "AsusTek"
BoardName "Gefore 2 MX 400"
Option "RenderAccel" "true"
#enables digitial vibrance control, range 0 through 255
Option "DigitalVibrance" "24"
Option "TwinView" "true"
Option "TwinViewOrientation" "RightOf"
Option "NoLogo" "true"
Option "CursorShadow" "true"
Option "SecondMonitorHorizSync" "30.0-85.0"
Option "SecondMonitorVertRefresh" "50.0-160.0"
Option "UseEdidFreqs" "true"
#driver will autodetect, override to fool NVIDIA driver
Option "MetaModes" "1280x1024, 1280x1024"
#NVIDIA X driver normally provides xinerama extension so WMs can call XineramaQueryScreens()
Option "IgnoreDisplayDevices" "DFP, TV"
BusID "PCI:1:0:0"

EndSection



Section "Screen"
Identifier "Screen1"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection


Section "ServerLayout"
Identifier "DC-Configure"
Screen "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Thanks

-Dc

dcwvckd 06-15-2003 10:05 AM

Anyone Got Any Idea?

^

-Dc

Qzukk 06-15-2003 11:21 AM

I haven"t used a twinview capable nVidia, but in my exeperience with other dual head cards, the second head is powered by a cheaper and slower clock, which means that the second head can't get to as high a refresh rate as the first. You may want to dig up some modelines (look through a sample XF86Config file for them, should have one in /usr/share/doc/whateveryourdistributioncallsXprobably"xfree86-server"orsomethinglikethat
If you explicitly set one for the resolution you use, then it will take precedence over X's normal behavior of getting the highest refresh rate possible.

Also, it looks like you only have one Monitor defined, I dunno if this is standard for twinview on X. If not, it may mean that X may not be detecting the second monitor's refresh rates automatically. Try adding a second Section "Monitor" with an ID of Monitor1, and copying the settings from Monitor0

Also, while you're playing with your config be sure you're not using xdm or any other *dm that automatically tries to start X. If something goes wrong and it fails to start, it will keep trying to restart it, making the system mostly unusable (though I've heard that newer versions fix this problem)

DrOzz 06-15-2003 11:34 AM

i will attach part of a working copy with twinview, check out the serverlayout and screen sections, hope you can figure something out, of course you'll have to change some numbers but see what you can do with this, if anything:

Section "Monitor"
# DisplaySize 310 230
Identifier "Monitor[0]"
ModelName "1280X1024@60HZ"
Option "DPMS"
VendorName "--> VESA"
VertRefresh 50-160
HorizSync 28-64
EndSection



Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Option "TwinView" "On"
Option "SecondMonitorHorizSync" "31-54"
Option "SecondMonitorVertRefresh" "50-150"
Option "ConnectedMonitor" "CRT, CRT"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"
EndSection


Section "Device"
BoardName "GeForce4 MX 440"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
Option "Rotate" "off"
VendorName "NVidia"
Option "NvAGP" "1"
Screen 0
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "tablet"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


All times are GMT -5. The time now is 03:23 AM.