FreeBSD mit 2 Monitoren

Sir_Blizzardz

Well-Known Member
Hallo,
ich habe mich dazu entschlossen, einen 2. Monitor an meine Nvidia Grafikkarte anzuschließen. Nachdem ich den Rechner neu gestartet habe, wurde das Bild beim Booten geklont und nachdem ich X gestartet habe, hatte ich nur auf dem kleinen (2.) Monitor ein Bild.
Ich möchte den 2. Bildschirm als Erweiterung für den 1. benutzen, allerdings weiss ich nicht, wie ich die xorg.conf dazu verändern muss. Ich habe lange gesucht aber nur nur ältere Threads gefunden in denen die xorg.conf anders aussah oder Beispiele von xorg.confs mit denen ich nicht viel anfangen kann. Was ich leider vermiss ist ein How-To oder Tutorial mit dem man es schafft, 2 Bildschirme gleichzeitig zu benutzen.
Könnt ihr mir bitte Tips oder kleine Anleitungen dafür geben?
Danke schon mal. :)
 
In /etc/X11/xorg.conf die Section "Device" wie folgt ergänzen:

Code:
Section "Device"
[INDENT]...
Option "TwinView"
Option "SecondMonitorHorizSync" "31-82"   [B]# 31-82 sind Beispielwerte!!! Unbedingt anpassen!!![/B]
Option "SecondMonitorVertRefresh" "50-75"   [B]# 50-75 sind Beispielwerte!!! Unbedingt anpassen!!![/B]
Option "MetaModes" "1024x768,1280x1024"   # Erster Monitor mit 1024x768, zweiter Monitor mit 1280x1024[/INDENT]
EndSection
 
Hallo, danke für eure Hilfen, leider stehe ich immer noch vor Problemen....
Ich habe 2 Section "Devices", wenn ich den Text in der ersten reintue, habe ich nur auf meinem 2. ein Bild, in der 2. Section habe ich nur auf meinem ersten Monitor ein Bild.

Ich hänge mal die xorg.conf an.
 

Anhänge

Bei mir läuft TwinView mit nachfolgender xorg.conf ohne Probleme.
Hardware: Zwei TFTs mit jeweils 1280x1024 an einer Grafikkarte.

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
# Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
# Load "speedo"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection

Section "Monitor"
Identifier "Monitor0"
DisplaySize 676 270
Option "UseEdidDpi" "False"
### Comment all HorizSync and VertSync values to use DDC:
# HorizSync 31.5 - 52.0
# VertRefresh 50.0 - 75.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
Option "NvAGP" "1"
### Dual Head (TwinView)
Option "TwinView"
Option "SecondMonitorHorizSync" "31.5 - 82.0"
Option "SecondMonitorVertRefresh" "50.0 - 75.0"
Option "MetaModes" "1280x1024,1280x1024"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
 
Zuletzt bearbeitet:
Bei dir ist die Layout-Section viel umfangreicher als bei mir:

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection
 
Die Basis für die o.g. xorg.conf kann man als Benutzer root mit folgendem Befehl erstellen:

xorgcfg -textmode

Danach hat man eine übersichtliche xorg.conf, die man dann weiter anpassen kann.
 
Zurück
Oben