linuxforen.de -- User helfen Usern  

Zurück   linuxforen.de -- User helfen Usern > X Window > X-Konfiguration
Registrieren Hilfe Benutzerliste Kalender Alle Foren als gelesen markieren

X-Konfiguration Wie konfiguriert man X Window, X-Server z.B. Xfree, X.org

Antwort
 
Themen-Optionen Thema bewerten Ansicht
Alt 14.07.07, 17:17   #1
zeek
Registrierter Benutzer
 
Registriert seit: May 2007
Beiträge: 6
Intel GMA X3100 & Dual Head

Hallo zusammen,

ich möchte an meiner Dockingstation einen TFT anschließen und dann das Laptopdisplay als sekundären Bildschirm benutzen. Hab schon viel gesucht und eine angeblich funktionierende xorg.conf angepasst. Das ist das Ergebnis:

Code:
Section "Device"
	Identifier  "VideocardIntern"
	VendorName  "Intel"
	BoardName   "GMA X3100"
	Driver      "intel"
#	BusID       "0:2:0"
#	Screen      0
	Option      "MonitorLayout" "DFP, LFP"
	Option      "DevicePresence" "true"
EndSection

Section "Screen"
	Identifier        "ScreenIntern"
	Device            "VideocardIntern"
	DefaultDepth      24
	SubSection "Display"
#		Viewport  0 0
		Depth     24
		Modes     "1440x900"
	EndSubSection
EndSection

Section "Screen"
	Identifier        "ScreenExtern"
	Device            "VideocardIntern"
	DefaultDepth      24
	SubSection "Display"
#		Viewport  0 0
		Depth     24
		Modes     "1680x1050"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier     "Laptop"
	Screen      0  "ScreenIntern"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Touchpad" "AlwaysCore"
EndSection

Section "ServerLayout"
	Identifier     "Dock"
	Screen      0  "ScreenExtern"
	Screen      1  "ScreenIntern" RightOf "ScreenExtern"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Touchpad" "AlwaysCore"
#	Option         "Xinerama" "true"
	Option         "RandR" "true"
EndSection

Section "ServerFlags"
	Option   "DefaultServerLayout" "Dock"
EndSection
Der externe Monitor zeigt mir eine Fehlermeldung "Cannot display this mode" an, und die Auflösung des Laptopdisplays wird zu hoch eingestellt. Sieht ganz so aus, als würden die Auflösungen vertauscht. Also ins Logfile geschaut:

Code:
(II) intel(0): Output LVDS connected
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" removed.
(II) intel(0): EDID for output LVDS
(II) intel(0): Manufacturer: CMO  Model: 1428  Serial#: 0
(II) intel(0): Year: 1990  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max H-Image Size [cm]: horiz.: 30  vert.: 19
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified; RGB/Color Display
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.579 redY: 0.340   greenX: 0.310 greenY: 0.550
(II) intel(0): blueX: 0.154 blueY: 0.154   whiteX: 0.312 whiteY: 0.328
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 96.5 MHz   Image Size:  303 x 190 mm
(II) intel(0): h_active: 1440  h_sync: 1486  h_sync_end 1556 h_blank_end 1720 h_border: 0
(II) intel(0): v_active: 900  v_sync: 909  v_sync_end 918 v_blanking: 935 v_border: 0

==> Auflösung des Laptopdisplays wird korrekt erkannt 

(II) intel(0): Printing probed modes for output LVDS
(II) intel(0): Modeline "1440x900"x60.0   96.49  1440 1486 1556 1720  900 909 918 935 -hsync -vsync (56.1 kHz)
(II) intel(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz)
(II) intel(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz)
(II) intel(0): Modeline "1280x800"x60.0   83.46  1280 1344 1480 1680  800 801 804 828 -hsync +vsync (49.7 kHz)
(II) intel(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz)
(II) intel(0): Modeline "1280x768"x60.0   80.14  1280 1344 1480 1680  768 769 772 795 -hsync +vsync (47.7 kHz)
(II) intel(0): Modeline "1280x720"x60.0   74.48  1280 1336 1472 1664  720 721 724 746 -hsync +vsync (44.8 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)

(II) intel(0): Output TMDS-1 connected
(II) intel(0): I2C device "SDVOB DDC Bus:ddc2" registered at address 0xA0.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(II) intel(0): I2C device "SDVOB DDC Bus:ddc2" removed.
(II) intel(0): EDID for output TMDS-1
(II) intel(0): Manufacturer: DEL  Model: e009  Serial#: 827742284
(II) intel(0): Year: 2005  Week: 34
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max H-Image Size [cm]: horiz.: 43  vert.: 27
(II) intel(0): Gamma: 2.20
(II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.637 redY: 0.340   greenX: 0.297 greenY: 0.610
(II) intel(0): blueX: 0.146 blueY: 0.071   whiteX: 0.313 whiteY: 0.329
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): 720x400@70Hz
(II) intel(0): 640x480@60Hz
(II) intel(0): 640x480@75Hz
(II) intel(0): 800x600@60Hz
(II) intel(0): 800x600@75Hz
(II) intel(0): 1024x768@60Hz
(II) intel(0): 1024x768@75Hz
(II) intel(0): 1280x1024@75Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported Future Video Modes:
(II) intel(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) intel(0): #1: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 119.0 MHz   Image Size:  434 x 270 mm
(II) intel(0): h_active: 1680  h_sync: 1728  h_sync_end 1760 h_blank_end 1840 h_border: 0
(II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1080 v_border: 0
(II) intel(0): Serial No: P653758O1VXL
(II) intel(0): Ranges: V min: 56  V max: 75 Hz, H min: 30  H max: 83 kHz, PixClock max 140 MHz
(II) intel(0): Monitor name: DELL 2005FPW

==> Auflösung und Modell werden korrekt erkannt

(II) intel(0): Printing probed modes for output TMDS-1
(II) intel(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 -hsync +vsync (64.7 kHz)
(II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) intel(0): Modeline "1280x1024"x59.9  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync (63.7 kHz)
(II) intel(0): Modeline "1152x864"x74.8  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync (67.7 kHz)
(II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)

(II) intel(0): Output TV disconnected
(II) intel(0): EDID for output TV
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TMDS-1 connected
(II) intel(0): Output TV disconnected
(II) intel(0): Output LVDS using initial mode 1440x900

==> Ok, aber er macht es nicht, sondern nimmt wahrscheinlich 1680x1050

(II) intel(0): Output TMDS-1 using initial mode 1280x1024

==> Hier sollte er 1680x1050 nehmen

(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is on
(II) intel(0):   Display plane A is now enabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TMDS-1 is connected to pipe A

==> darum "MonitorLayout" "DFP,LFP"

(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): Set up textured video
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(II) intel(0): [DRI] installation complete
(II) intel(0): [drm] dma control initialized, using IRQ 16
(II) intel(0): direct rendering: Enabled
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) intel(0): Option "MonitorLayout" is not used

==> vielleicht ist das das Problem... ?

(WW) intel(0): Option "DevicePresence" is not used
(--) RandR disabled
Kann mir jemand sagen, was da falsch läuft?
Dass ich nur eine Device-Section habe, ist Absicht. Bei der gefundenen xorg.conf war für jeden Ausgang eine Device-Section vorhanden, ich hab im Logfile aber gesehen, dass er dann für jedes Device beide Ausgänge testet - darum dachte ich, ich brauch wahrscheinlich nur ein Device. Letztendlich sieht das Logfile mit zwei Devices auch genauso aus, nur dass jede Zeile mit intel(0) auch nochmal mit intel(1) erscheint ... :-)

Grüße,
zeek
zeek ist offline   Mit Zitat antworten
Alt 14.07.07, 19:04   #2
zeek
Registrierter Benutzer
 
Registriert seit: May 2007
Beiträge: 6
Ein kleiner Erfolg: Mittels

Code:
xrandr --output TMDS-1 --mode "1680x1050"
konnte ich nun den externen TFT zum Leben erwecken, er zeigt das Bild auch korrekt an - allerdings wird es jetzt geklont, und wahrscheinlich deshalb ist auch die Auflösung auf dem Laptop noch zu hoch.

Code:
xrandr --output LVDS --mode "1440x900"
wird einfach ignoriert.
zeek ist offline   Mit Zitat antworten
Alt 15.07.07, 10:30   #3
emwe
Registrierter Benutzer
 
Registriert seit: Nov 2001
Ort: /dev/null
Beiträge: 183
xrandr

Hallo,

probier doch mal ein
Code:
$ xrandr --output VGA --mode 1680x1050 --right-of LVDS
Ich betreibe externe Monitore und Beamer an meiner X3100, allerdings mit dem Laptop-Display als primärerer Anzeige.

Auf jeden Fall sollte Dir aber
Code:
$ xrandr -q
bei eingeschaltetem Monitor die richtigen Auflösungen zurückgeben. Aber Vorsicht, für eine Erweiterung des Bildschirmbereichs auf einen zweiten Monitor muss der zu Grunde liegende virtuelle Screen gross genug sein.

Bei mir erledigt das der folgende Eintrag in der xorg.conf:
Code:
Section "Screen"
        Identifier      "virtualscreen"
        Device          "i965gm-int"
        Monitor         "generic"
        Option          "monitor-LVDS"  "LCD"
        Option          "monitor-VGA"   "CRT"
        DefaultDepth    24
        SubSection "Display"
                Virtual 2560 1024 
        EndSubSection
EndSection
So habe ich dann also 1280x800 auf dem Laptop-LCD und bis zu 1280x1024 auf dem externen Monitor. Xrandr gibt dann auch Auflösungen gar nicht mehr aus, die nicht in diesen Bereich passen - ganz schön verwirrend am Anfang. Die manpage von xrandr hilft Dir aber gerne weiter .

Gruß,

emwe
emwe ist offline   Mit Zitat antworten
Alt 15.07.07, 11:48   #4
Shutdown
easy rider
 
Benutzerbild von Shutdown
 
Registriert seit: Jan 2004
Ort: 127.0.0.1:/home/shutdown
Beiträge: 2.658
Shutdown eine Nachricht über ICQ schicken
Auch wenn es ein kleines bisschen off-Topic ist: Ich habe auch eine X3100 in meinem Laptop und einen Port Replicator dafür erworben.
Der Port Replicator hat DVI- und VGA-Ausgänge, am Laptop selber ist nur ein VGA-Ausgang zu finden.
Mein externer Monitor hat auch DVI, also wollte ich ihn am DVI-out des Port Replicators anschließen - ich habe bis jetzt noch kein Bild über DVI bekommen, nichtmal im BIOS, über VGA tut alles.

Nun meine eigentlich Frage: Ist dein externer Monitor über DVI oder VGA angeschlossen bzw hast du schonmal erfolgreich DVI getestet?
Hat die Karte vielleicht gar keinen DVI-out bzw kann nur über VGA ein Bild liefern?

Shutdown
__________________
Lieber schizophren als ganz allein.
Shutdown ist offline   Mit Zitat antworten
Alt 18.07.07, 09:48   #5
zeek
Registrierter Benutzer
 
Registriert seit: May 2007
Beiträge: 6
@emwe: Super, danke, dass ich nen virtuellen Screen einrichten muss hab ich irgendwie übersehen. Jetzt funktionierts :-)
Andere Frage: Tut bei dir glxinfo wenn beide Bildschirme angeschlossen sind?

Code:
[simon@D630 ~]$ glxinfo
name of display: :0.0
glxinfo: bufmgr_fake.c:746: bmGenBufferStatic: Assertion `0' failed.
Abgebrochen
@Shutdown: Mein externer Monitor ist über DVI angeschlossen.

Geändert von zeek (18.07.07 um 10:06 Uhr)
zeek ist offline   Mit Zitat antworten
Alt 18.07.07, 11:57   #6
Shutdown
easy rider
 
Benutzerbild von Shutdown
 
Registriert seit: Jan 2004
Ort: 127.0.0.1:/home/shutdown
Beiträge: 2.658
Shutdown eine Nachricht über ICQ schicken
Hat dein Laptop einen "eingebauten" DVI-Anschluss?
Und kann ich mit irgendeinem Tool überprüfen, ob der DVI-out meiner Karte angeschlossen ist bzw der DVI-out erkannt wird?
Ich habs grad nochmal probiert und da tut rein garnix, im BIOS findet sich auch nichts um DVI zu aktivieren...

Shutdown
__________________
Lieber schizophren als ganz allein.
Shutdown ist offline   Mit Zitat antworten
Alt 18.07.07, 12:42   #7
zeek
Registrierter Benutzer
 
Registriert seit: May 2007
Beiträge: 6
Hm, die Fehlermeldung hat nichts damit zu tun, dass ich zwei Monitore betreibe. Kommt auch, wenn der externe Monitor nicht angeschlossen ist.
Aber wenn ich "Virtual 3120 1050" auskommentiere, funktioniert OpenGL wieder. Hm ..

@Shutdown: Am Laptop selbst habe ich leider keinen DVI-Ausgang, nur VGA. Du kannst z.B. mit

Code:
grep Output /var/log/Xorg.0.log
schauen, welche Anschlüsse erkannt wurden. Ich seh dann z.B. sowas:

Code:
(II) intel(0): Output configuration:
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TMDS-1 is connected to pipe none
(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TMDS-1 disconnected
(II) intel(0): Output TV disconnected
LVDS ist der Ausgang für das Laptop-Panel, TMDS-1 ist der DVI-Ausgang. Außerdem hab ich auch noch einen TV-Ausgang, der mir auch nur an der Dockingstation zur Verfügung steht.

Geändert von zeek (18.07.07 um 12:55 Uhr)
zeek ist offline   Mit Zitat antworten
Alt 18.07.07, 16:20   #8
Shutdown
easy rider
 
Benutzerbild von Shutdown
 
Registriert seit: Jan 2004
Ort: 127.0.0.1:/home/shutdown
Beiträge: 2.658
Shutdown eine Nachricht über ICQ schicken
Sieht so aus als hätte ich tatsächlich kein DVI:

Code:
(II) intel(0): Output VGA using monitor section monitor0
(II) intel(0): Output LVDS has no monitor section
(II) intel(0): Output TV has no monitor section
(II) intel(0): Output VGA connected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Output VGA connected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Output VGA using initial mode 1680x1050
(II) intel(0): Output LVDS using initial mode 1680x1050
(II) intel(0): Output configuration:
(II) intel(0):   Output VGA is connected to pipe A
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TV is connected to pipe none
Shutdown
__________________
Lieber schizophren als ganz allein.
Shutdown ist offline   Mit Zitat antworten
Alt 19.07.07, 05:45   #9
emwe
Registrierter Benutzer
 
Registriert seit: Nov 2001
Ort: /dev/null
Beiträge: 183
Zitat:
Zitat von zeek Beitrag anzeigen
@emwe: Super, danke, dass ich nen virtuellen Screen einrichten muss hab ich irgendwie übersehen. Jetzt funktionierts :-)
Andere Frage: Tut bei dir glxinfo wenn beide Bildschirme angeschlossen sind?

Code:
[simon@D630 ~]$ glxinfo
name of display: :0.0
glxinfo: bufmgr_fake.c:746: bmGenBufferStatic: Assertion `0' failed.
Abgebrochen
Hab ich jetzt noch gar nicht nachgeschaut - aber mein erster Tipp wäre, dass Dein "VideoRam" zu niedrig gesetzt ist. Bei mir ist es im Moment
Code:
$ grep VideoRam /etc/X11/xorg.conf
  VideoRam        131072
Wenn ich richtig erinnere wurde aber ab einer bestimmten horizontalen Pixelzahl GLX deaktiviert - ich hab das gerade noch mal gesucht, kann Dir die Quelle aber nicht nennen.

Gruss,

emwe
emwe ist offline   Mit Zitat antworten
Alt 20.11.07, 10:50   #10
Hampel
Registrierter Benutzer
 
Registriert seit: Oct 2004
Beiträge: 249
Zitat:
Zitat von emwe Beitrag anzeigen
Wenn ich richtig erinnere wurde aber ab einer bestimmten horizontalen Pixelzahl GLX deaktiviert - ich hab das gerade noch mal gesucht, kann Dir die Quelle aber nicht nennen.
Jup, bei nem Virtuellen Screen von > 2048 x 2048... GLXGears sollte aber funktionieren.
__________________
Michael

Laptop : Archlinux, 2.6.29, KDE 4.2.4, Toshiba M115-S0394, Intel CoreDuo 1.6, 1,0 Gb-Ram
Server: Archlinux, 2.6.29, AMD X2 5200+, 2,0 Gb-Ram, NV 8600 GT
Hampel ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Centrino WLAN installieren gargoyle Anbindung an die Aussenwelt 14 28.11.06 01:20
Notebook, Fedora, KDE Auflösung dehein2 X-Konfiguration 20 25.04.06 20:56
Dual Head unter Linux... Bayerfans04 stationäre Hardware 2 27.12.05 23:26
Diskettenlaufwerk: Fehler unter Linux stefan-tiger stationäre Hardware 7 20.09.05 08:16
Xine Segmentation fault racer_lars Fernsehen 6 28.05.05 07:46


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:56 Uhr.


Powered by vBulletin® Version 3.8.6 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
linuxforen.de -- sponsored by Kemm IT