Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Hej mam problem z ustawieniem xorga, aby działał na 2 monitorach.
Defualtowy xorg wyświetla na 2 monitorach to samo. Grzebiąc w sieci znalazłem konfigurację, która prawie działa :]. Niestety obraz który powinien być na głownym monitorze znajduje się na monitorze bocznym. A to co powinno być na bocznym znajduje się na monitorze głównym. Probowałem, zmieniać "foo" z "bar" lecz żadnego efektu. Nadal na monitorze bocznym wyświetla się to co powinno być na głownym, a głowny pokazuje "fajną czerń"
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
Section "Device"
Identifier "Intel GM45 "
Driver "intel"
# Using the name of the output defined by the video driver plus the identifier of a
# monitor section, one associates a monitor section with an output by adding an
# option to the Device section in the following format:
# Option "Monitor-outputname" "monitor ID"
Option "monitor-VGA" "foo"
Option "monitor-LVDS" "bar"
#Option "monitor-TMDS-1" "dvi"
EndSection
Section "Monitor"
Identifier "foo"
# specifies a mode to be marked as the preferred initial mode of the monitor
Option "PreferredMode" "800x600"
# This optional entry specifies the position of the monitor within the X screen.
#Option "Position" "1024 0"
#This optional entry specifies that the monitor should be ignored
# entirely, and not reported through RandR. This is useful if the
# hardware reports the presence of outputs that do not exist.
#Option "Ignore" "true"
EndSection
Section "Monitor"
Identifier "bar"
#Options LeftOf, RightOf, Above, Below specify monitors� relative position
Option "LeftOf" "foo"
#Option "PreferredMode" 1280x800
# This optional entry specifies whether the monitor should be
# turned on at startup. By default, the server will attempt to
# enable all connected monitors.
#Option "Enable" "true"
#This optional entry specifies the initial rotation of the given monitor.
# Valid values for rotation are "normal", "left", "right", and "inverted".
#Option "Rotate" "left"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 945G Integrated Graphics Controller"
Monitor "bar"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
# This optional entry specifies the virtual screen resolution to be used.
# If this entry is not present, the virtual screen resolution will be set to
# accommodate all the valid video modes given in the Modes entry.
# There is a known issue that DRI doesn't work on pre-965 if maximum is larger than 2048x2048.
Virtual 2048 2048
EndSubSection
EndSectionSprzęt to laptop Lenovo SL500, z grafiką X4500. Debian Lenny.
Nie szukam gotowego rozwiązania, chciałbym wiedzieć gdzie mam błąd, siedzę już dobre 4h a problem narazie nierozwiązany.
Z góry dziękuje z pomoc.
Pozdrawiam gummmibear ;)
Offline


Członek DUG
Będzie śmiesznie jak wystarczy dopisać jedynki na koniec :) Ale mnie kiedyś z nieco inną sprawą (rozdzielczości nie tam gdzie trzeba) pomogło... (bo chyba w Xorgu taka zmiana była)
Option "Monitor-VGA1" "foo" Option "Monitor-LVDS1" "bar"
PS. Fajnie, ale nie napisałeś, który monitor to który ma być :) główny to zewnętrzny - VGA1 jak mniemam.
Offline
NIC
głowny monitor to LVDS1 czyli matryca laptopa ;)
drugi monitor to VGA1
i obraz który powinien pojawić się na LVSD1 jest na VGA1, a powinno być na odwrót. :)
Offline




Moderator Mamut
hum. odpowiednio w wszedzie. pod foo bar podstawialem i na odwrot.
nadal walcze.
Offline




Moderator Mamut
no wlasnie nie wszedzie ... zamieniasz tylko w:
Option "Monitor-VGA1" "foo" Option "Monitor-LVDS1" "bar"
mozesz tez przeniesc
Option "PreferredMode" "800x600"
do "bar"
BTW jak wklejasz konfig to wywal puste linie i komentarze (no chyba ze napisales w nich cos istotnego):
egrep -v '^[ \t]*($|#)' /sciezka/do/pliku.conf
Offline