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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-10-06 21:50:15

  gummmibear - Nowy użytkownik

gummmibear
Nowy użytkownik
Zarejestrowany: 2009-10-06

xorg konfiguracja na 2 monitory

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ń"


Kod:

# 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

EndSection

Sprzę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

 

#2  2009-10-06 22:05:00

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: xorg konfiguracja na 2 monitory

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)

Kod:

  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.


Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#3  2009-10-06 22:10:01

  gummmibear - Nowy użytkownik

gummmibear
Nowy użytkownik
Zarejestrowany: 2009-10-06

Re: xorg konfiguracja na 2 monitory

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

 

#4  2009-10-07 14:05:45

  bercik - Moderator Mamut

bercik
Moderator Mamut
Skąd: Warszawa
Zarejestrowany: 2006-09-23
Serwis

Re: xorg konfiguracja na 2 monitory

gdzie zamieniales foo z bar?


"Wszyscy wiedzą, że czegoś zrobić nie można. Ale przypadkowo znajduje się jakiś nieuk, który tego nie wie. I on właśnie robi odkrycie." (A.Einstein)

Offline

 

#5  2009-10-07 21:56:05

  gummmibear - Nowy użytkownik

gummmibear
Nowy użytkownik
Zarejestrowany: 2009-10-06

Re: xorg konfiguracja na 2 monitory

hum. odpowiednio w wszedzie. pod foo bar podstawialem i na odwrot.

nadal walcze.

Offline

 

#6  2009-10-08 11:36:57

  bercik - Moderator Mamut

bercik
Moderator Mamut
Skąd: Warszawa
Zarejestrowany: 2006-09-23
Serwis

Re: xorg konfiguracja na 2 monitory

no wlasnie nie wszedzie ... zamieniasz tylko w:

Kod:

Option     "Monitor-VGA1"  "foo"
Option     "Monitor-LVDS1" "bar"

mozesz tez przeniesc

Kod:

Option "PreferredMode"  "800x600"

do "bar"

BTW jak wklejasz konfig to wywal puste linie i komentarze (no chyba ze napisales w nich cos istotnego):

Kod:

egrep -v '^[ \t]*($|#)' /sciezka/do/pliku.conf

"Wszyscy wiedzą, że czegoś zrobić nie można. Ale przypadkowo znajduje się jakiś nieuk, który tego nie wie. I on właśnie robi odkrycie." (A.Einstein)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)