multiple monitors configuration without proprietary driver (xorg.conf file)

Luis Alberto Padrón Hernández lpadron at iusiani.ulpgc.es
Mon Apr 12 03:29:52 PDT 2010


Sorry, I forgot to copy my 'xorg.conf' file:

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "dri2"
	Load  "dbe"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	#DisplaySize	  380   300	# mm
	Identifier   "Monitor1"
	VendorName   "HP"
	ModelName    "HPL1925"
	HorizSync    30.0 - 81.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
        Option      "Position"  "0 0"
EndSection

Section "Monitor"
	#DisplaySize	  380   300	# mm
	Identifier   "Monitor0"
	VendorName   "SAM"
	ModelName    "SyncMaster"
	HorizSync    30.0 - 81.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
        Option      "RightOf" "Monitor1"  
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    VendorName     "nVidia Corporation"
    BoardName      "NV44 [GeForce 6500]"
    BusID          "PCI:1:0:0"
    Screen         0
# The following information comes from running 'xrandr'
    Option	   "monitor-DVI-I-0" "Monitor1" #assigns the output DVI-I-0 to 
Monitor0
    Option         "monitor-VGA-0" "Monitor0" #assigns the output VGA to 
Monitor1
EndSection


Section "Screen"
    Identifier          "screen0"
    Device              "Device0"
    Monitor             "Monitor1"
    DefaultDepth       24

    SubSection "Display"
        Depth           24
        Modes           "1280x1024"
        Virtual          2560 1024 #note the lack of quotes, this line sets 
the 'maximum' resolution
    EndSubSection
EndSection


Section "ServerLayout"
	Identifier     "Myself Configured"
	Screen      0  "Screen0" 0 0
EndSection


Hey, thank you very much Aaron and Walt. I have only one question more to have 
it all solved.

I tried 'nouveau' as Aaron recommended (No, 'nvidia' closed driver (any 
version) do not work even for only one monitor though it always worked in the 
same machine with 32-bits installation.), and after some twiking, I have it 
working almost fine with nouveau. And again your were right, and I have only 
one card, so that also was wrong.

Here it is my last doubt. I would like one monitor to act like the main one 
(with the gnome panels, and the login screen and so on) because it has more 
qualitiy (the DVI one), but it just happen to be the other one which behaves 
like this. I have tried to change orders in xorg.conf but nothing. Do you know 
how to change that?

Again, thanks a lot.

Alberto

>
> Message: 1
> Date: Sun, 11 Apr 2010 13:52:27 +1200
> From: aaron mcewan <chainsawbike at gmail.com>
> Subject: Re: multiple monitors configuration without proprietary
>         driver
> To: xorg at lists.freedesktop.org
> Message-ID: <1270950747.2739.27.camel at gentoo.local>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> On Fri, 2010-04-09 at 15:14 +0100, Luis Alberto Padr?n Hern?ndez wrote:
>
>> I have not been able to get 'nvidia' driver to work, so I need to set my
>> two monitors with 'nv' driver (I guess). I have tried lots of things 
without
>> luck.
> id recommend either get the closed nvidia driver going or maybe nouveau?
> nv is a very "minimal" driver...
>
>>
>> Section "Device"
>>         Option     "DualHead" "true"
>>     Identifier  "Card0"
>>     Driver      "nv"
>>     VendorName  "nVidia Corporation"
>>     BoardName   "NV44 [GeForce 6500]"
>>     BusID       "PCI:1:0:0"
>>         Screen      0
>> EndSection
>>
>> Section "Device"
>>         #Option     "DualHead"  "true"
>>     Identifier  "Card1"
>>     Driver      "nv"
>>     VendorName  "nVidia Corporation"
>>     BoardName   "NV44 [GeForce 6500]"
>>     BusID       "PCI:1:0:0"
>>         Screen       1
>> EndSection
>
> are you sure you need that second device section? based on everything
> else you said id assume you only have one card...
>
>> Section "Screen"
>>     Identifier "Screen0"
>>     Device     "Card0"
>>     Monitor    "Monitor0"
>>         DefaultDepth  24
>>     SubSection "Display"
>>         Modes       "1280x1024"
>>     EndSubSection
>> EndSection
>>
>> Section "Screen"
>>     Identifier "Screen1"
>>     Device     "Card1"
>
> if im correct then that line is wrong to... should be:
>      Device     "Card0"
>
>>     Monitor    "Monitor1"
>>         DefaultDepth  24
>>     SubSection "Display"
>>         Modes       "1280x1024"
>>     EndSubSection
>> EndSection
>>
>> Section "ServerLayout"
>>     Identifier     "Myself Configured"
>>     Screen      0  "Screen0" 0 0
>>         Screen      1  "Screen1" LeftOf "Screen0"
>>     InputDevice    "Mouse0" "CorePointer"
>>     InputDevice    "Keyboard0" "CoreKeyboard"
>>         #Option         "Xinerama"  "on"
>>         #Option         "Clone"    "on"
>> EndSection
>
> aaron m
>
>
>
> Message: 5
> Date: Sun, 11 Apr 2010 08:29:55 -0700
> From: walt <w41ter at gmail.com>
> Subject: Re: multiple monitors configuration without proprietary
>         driver
> To: xorg at freedesktop.org
> Message-ID: <hpsptk$v50$1 at dough.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 04/09/2010 07:14 AM, Luis Alberto Padr?n Hern?ndez wrote:
>> Hello Everybody,
>
>> I have not been able to get 'nvidia' driver to work, so I need to set my
>> two monitors with 'nv' driver...
>
> What is the problem with 'nvidia'?  Will it work with a single monitor?
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
> End of xorg Digest, Vol 57, Issue 20
> ************************************
>



More information about the xorg mailing list