Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-08-06, 10:12 PM   #1
alaric
Cyber Jedi
 
alaric's Avatar
 
Join Date: Aug 2003
Location: Amsterdam
Posts: 75
Talking Working xorg.conf for TwinView & Single (1.0-9631, 2xCRT (Vision Master), FX5200).

This is my final xorg.conf for the FX5200 with 1.0-9631.

The use of Option CustumEDID is necessary with this driver because the EDID of these monitors do not start with the appropriate EDID version 1.x header (or so it seems). See http://www.nvnews.net/vbulletin/showthread.php?t=81707 for more details.

It might not work with older nvidia drivers (if you have also this kind of EDID from your monitors). Newer drivers might not need the CustumEDID as our Lonni is working on it!

Note the-- not so common-- use of multiple screen layouts in one file. Also, note how I devided the Options between the Device and the Screen section in a way that seemed to make most sense.

Hoping this will be helpful to someone,
Alaric

Code:
# Possible layouts:
# Single0
# Single1
# TwinView
#
# Example:
# Use: startx -- -layout Single0

Section "ServerFlags"
        Option         "DefaultServerLayout" "TwinView"
EndSection

Section "ServerLayout"
        Identifier	"TwinView"
        Screen		0 "Screen TwinView"
        InputDevice	"Generic Keyboard"
        InputDevice	"Configured Mouse"
EndSection

Section "ServerLayout"
        Identifier	"Single 0"
        Screen		0 "Screen 0"
        InputDevice	"Generic Keyboard"
        InputDevice	"Configured Mouse"
EndSection

Section "ServerLayout"
        Identifier	"Single 1"
        Screen		0 "Screen 1"
        InputDevice	"Generic Keyboard"
        InputDevice	"Configured Mouse"
EndSection

Section "Files"
        FontPath	"/usr/share/fonts/X11/misc"
        FontPath	"/usr/X11R6/lib/X11/fonts/misc"
        FontPath	"/usr/share/fonts/X11/cyrillic"
        FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath	"/usr/share/fonts/X11/Type1"
        FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
        FontPath	"/usr/share/fonts/X11/100dpi"
        FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath	"/usr/share/fonts/X11/75dpi"
        FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load	"bitmap"
        Load	"ddc"
        Load	"extmod"
        Load	"freetype"
        Load	"glx"
        Load	"int10"
        Load	"vbe"
EndSection

Section "InputDevice"
        Identifier	"Generic Keyboard"
        Driver		"kbd"
        Option		"CoreKeyboard"
        Option		"XkbRules"	"xorg"
        Option		"XkbModel"	"pc104"
        Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
        Identifier	"Configured Mouse"
        Driver		"mouse"
        Option		"CorePointer"
        Option		"Device"		"/dev/input/mice"
        Option		"Protocol"		"ExplorerPS/2"
EndSection

# The DVI output plug on the FX5200 card with the VMP17
# (IIyama Vision Master Pro17 - MT-9017T) connected (using a DVI->VGA
# adaptor). The VMP17 gives a wrong EDID header, therefore the EDID is
# replaced with one from the file VMP17edid.bin. Moreover, this EDID
# (apart from the header directly from the monitor) contains wrong
# frequencies (too low), therefore also EdidFreqs and EdidMaxPClkCheck
# are being ignored.
Section "Device"
        Identifier	"FX5200_DVI_VMP17"
        Driver		"nvidia"
        BusID		"PCI:1:0:0"
        Screen          0
        Option          "IgnoreDisplayDevices" "DFP, TV"
        Option          "ConnectedMonitor" "CRT-1"
        Option          "CustomEDID" "CRT-1:/etc/X11/VMP17edid.bin"
        Option          "ModeValidation" "CRT-1: NoEdidMaxPClkCheck"
        Option          "HorizSync"   "CRT-1: 27-96"
        Option          "VertRefresh" "CRT-1: 50-160"
EndSection

# Suffers from the exact same problems as described above.
Section "Device"
        Identifier	"FX5200_VGA_VMP410"
        Driver		"nvidia"
        BusID		"PCI:1:0:0"
        Screen          0
        Option          "IgnoreDisplayDevices" "DFP, TV"
        Option          "ConnectedMonitor" "CRT-0"
        Option          "CustomEDID" "CRT-0:/etc/X11/VMP410edid.bin"
        Option          "ModeValidation" "CRT-0: NoEdidMaxPClkCheck"
        Option          "HorizSync"   "CRT-0: 27-96"
        Option          "VertRefresh" "CRT-0: 50-160"
EndSection

# And now all together...
Section "Device"
        Identifier	"FX5200_TwinView"
        Driver		"nvidia"
        BusID		"PCI:1:0:0"
        # CRT-0 is VGA, CRT-1 is DVI.
        # VMP410 is connected to the VGA plug; the VMP17 to the DVI plug.
        Option          "TwinView" "True"
        Option          "TwinViewOrientation" "CRT-0 LeftOf CRT-1"
        Option          "MetaModes" "1024x768,1024x768; 1024x768,NULL"
        Option          "ConnectedMonitor" "CRT-0, CRT-1"
        Option          "CustomEDID" "CRT-0:/etc/X11/VMP410edid.bin; CRT-1:/etc/X11/VMP17edid.bin"
        Option          "ModeValidation" "NoEdidMaxPClkCheck"
        Option          "HorizSync"   "CRT-0: 27-96; CRT-1: 27-96"
        Option          "VertRefresh" "CRT-0: 50-160; CRT-1: 50-160"
EndSection

Section "Monitor"
        Identifier	"VMP410"
        Option		"DPMS"
        HorizSync	27-96
        VertRefresh	50-160
EndSection

Section "Monitor"
        Identifier	"VMP17"
        Option		"DPMS"
        HorizSync	27-96
        VertRefresh	50-160
EndSection

Section "Screen"
        Identifier	"Screen 0"
        Device		"FX5200_DVI_VMP17"
        Monitor		"VMP17"
        Option          "HWcursor" "True"
        DefaultDepth	24
        SubSection "Display"
                Depth		24
                Modes		"1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier	"Screen 1"
        Device		"FX5200_VGA_VMP410"
        Monitor		"VMP410"
        Option          "HWcursor" "True"
        DefaultDepth	24
        SubSection "Display"
                Depth		24
                Modes		"1024x768"
        EndSubSection
EndSection

  Section "Screen"
        Identifier      "Screen TwinView"
        Device          "FX5200_TwinView"
        Option          "HWcursor" "True"
        Option          "CursorShadow" "True"
        Option          "CursorShadowAlpha" "64"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
  EndSection

Section "DRI"
        Mode    0666
EndSection
__________________
Get my email address from my homepage.
alaric is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:27 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.