Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Dual-View nur bis zum Login-Screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Caipi
n00b
n00b


Joined: 06 Nov 2004
Posts: 43

PostPosted: Wed Feb 01, 2006 4:31 pm    Post subject: [solved] Dual-View nur bis zum Login-Screen Reply with quote

Hallo,

habe von KDE auf Gnome2.12 mit metacity als WM gewechselt. Leider kommt unter Gnome nur noch bis zum Login mein zweiter Monitor, sobald ich das Passwort eingegeben habe und RETURN drücke geht der zweite aus. Habe metacity mit xinerama emerged. Die xorg.conf ist die Selbe wie für KDE
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen          0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/corefonts/"
EndSection

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

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "Xkbrules"   "xorg"
   Option       "XkbLayout" "de"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   HorizSync   31-79
   VertRefresh 56-75
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "Unknown Board"
   BusID       "PCI:1:0:0"
   VideoRam    131027
   Option     "NoLogo"                "1"
        Option     "RenderAccel"           "1"   
        Option     "CursorShadow"           "1"
        Option     "CursorShadowAlpha"     "32"
        Option     "CursorShadowXOffset"    "3"
        Option     "CursorShadowYOffset"    "3"
#####
##### Hatte ich ursprünglich nicht auskommentiert, ändert aber nichts
#####
#        Option     "TwinView"                   "true"     
#        Option     "TwinViewOrientation"    "RightOf"
#        Option     "MetaModes" "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768;"
        Option     "AllowGLXWithComposite"    
   Screen      0
EndSection

Section "Extensions"
   Option "Composite" "Enable"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24

   Option "TwinView"       "true"
   Option "SecondMonitorHorizSync" "30.0-90.0"
   Option "SecondMonitorVertRefresh" "48.0-120.0"
   Option "MetaModes" "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768;"
   Option "TwinViewOrientation"    "RightOf"
   Option "Xinerama"       "on"
   
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes     "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes     "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes     "1280x1024"
   EndSubSection
EndSection

Section "ServerFlags"
   Option     "Xinerama"  "false"
EndSection

Habe schon geschaut aber zu metacity nichts gefunden das man den zweiten monitor freischalten müsste bzw. könnte.

Grüße

Caipi


Last edited by Caipi on Sat Feb 04, 2006 2:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Thu Feb 02, 2006 2:39 pm    Post subject: Re: Dual-View nur bis zum Login-Screen Reply with quote

Nimm doch 'xinerama' mal in die 'make.conf' auf und emerge die betroffenen Pakete neu (emerge --newuse world). Ich hab schon ein paar mal gelesen, dass das geholfen hat. Wär ne einfache und unkomplizierte Lösung :wink:
Back to top
View user's profile Send private message
Caipi
n00b
n00b


Joined: 06 Nov 2004
Posts: 43

PostPosted: Thu Feb 02, 2006 4:53 pm    Post subject: Reply with quote

ah stimmt das war etwas unklar ausgedrückt. xinerama steht in der make.conf, also nicht nur bei metacity in der package.use. habe es jetzt auch mal mit expocity probiert, selbes Ergebnis, Login-Manager Dual-Screen danach nur noch single.
_________________
SPEED IS NOTHING WITHOUT CONTROL
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Thu Feb 02, 2006 5:38 pm    Post subject: Reply with quote

Also Xinerama funktioniert wohl nicht überall supertoll.

Ich hab 2 Monitore im Dualbetrieb ohne Xinerama.

D.h. ich kann die Fensterchen nicht von den linken auf den rechten Monitor usw. rüberschieben. Brauch ich aber allerdings auch nicht. Ich benutz Enlightenment mit jeweils 16 virtuellen Desktops auf jeden Monitor. Mich hat das immer so gestört, daß dann die Hintergrundbilder so breit gezogen werden. Und wenn ich links den virtuellen Desktop gewechselt hab, ging der rechte dann auch gleich mit. Das hatte mich genervt.

Jetzt sind die Monitore unabhängig voneinander - so wie ich's wollte.

Ich schätze mal einfach, der MetaCity wird nicht richtig mit Xinerama zurechtkommen. Ist aber nur 'ne Vermutung.

Meine xorg.conf sieht auszugsweise so aus:

Code:

Section "ServerFlags"
        Option    "Xinerama"    "off"
        Option    "TwinView"    "true"
        Option    "Clone"       "true"
EndSection

Section "ServerLayout"
        Identifier "AGP"
        Screen  "Screen0" 0 0
        Screen  "Screen1" RightOf "Screen0"

        InputDevice "Mouse"     "CorePointer"
        InputDevice "Keyboard"  "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
Caipi
n00b
n00b


Joined: 06 Nov 2004
Posts: 43

PostPosted: Fri Feb 03, 2006 10:10 am    Post subject: Reply with quote

Also die ganzen Howtos und Forenbeitraege die ich mir durchgelesen habe, sagen es würde funktionieren, leider sind die aber alle etwa älter und mit der 2.12 scheint sich da was verändert zu haben. So steht das auch in der Systemkonfiguration von Gnome, dort sind zumindest die alten Werte, bei denen man einstellen konnte welcher WM zuständig ist, seit der 2.12 als obsolete gekennzeichnet.

Mit Virtuellen Desktops konnte ich noch nie umgehen ;-) ich haette das schon gerne mit der option fenster zu verschieben.

Grüße
_________________
SPEED IS NOTHING WITHOUT CONTROL
Back to top
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Fri Feb 03, 2006 1:26 pm    Post subject: Reply with quote

Schon mal Xinerama deaktiviert? Ich verwende TwinView ohne xinerama (bzw. es ist in der xorg.con deaktiviert). Fenster von einem Monitor auf den anderen schieben klappt allerdings schon (bei meinem xfce4).

MFG

/dev/blackhawk
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Fri Feb 03, 2006 10:05 pm    Post subject: Reply with quote

hi

Ich habe bei auf twinview komplet verzichtet sonder habe alles mit
flag xinerama compiliert. Bei mir in der xorg.conf habe ich für jeden
Ausgang von der Grafikkarte und Monitor ein eintrag. Auszug aus meiner "xorg.conf"
Code:


Section "ServerLayout"
    Identifier          "NVIDIA"
    Screen              0               "SCREEN_0"
    Screen              1               "SCREEN_1" rightOf "SCREEN_0"
    InputDevice         "MOUSE_0"       "CorePointer"
    InputDevice         "KEYBOARD_0"    "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option              "Xinerama"
    Option              "allowmouseopenfail"
EndSection

Section "Monitor"
    Identifier          "MONITOR_1"
    HorizSync           31.5 - 64.0
    VertRefresh         50.0 - 120.0
    Option              "dpms"
    ModeLine            "1280x1024" 108.00 1280 1344 1456 1696 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
    Identifier          "MONITOR_2"
    HorizSync           31.5 - 64.0
    VertRefresh         50.0 - 120.0
    Option              "dpms"
    ModeLine            "1280x1024" 108.00 1280 1352 1464 1692 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
    Identifier          "NVIDIA_0"
    Driver              "nvidia"
#   Driver              "vesa"
#   Driver              "nv"
# 0 : disable agp
# 1 : use NVIDIA's internal AGP support, if possible
# 2 : use AGPGART, if possible
# 3 : use any agp support (try AGPGART, then NVIDIA's AGP)
    Option              "NvAGP"         "2"
    Option              "NoLogo"        "on"
    Option              "DPMS"          "on"
    Option              "HWcursor"      "off"
    Option              "CursorShadow"  "off"
    Option              "RenderAccel"   "on"
#    VideoRam            131072
    BusID               "PCI:2:0:0"
    Screen              0
EndSection

Section "Device"
    Identifier          "NVIDIA_1"
    Driver              "nvidia"
#   Driver              "vesa"
#   Driver              "nv"
# 0 : disable agp
# 1 : use NVIDIA's internal AGP support, if possible
# 2 : use AGPGART, if possible
# 3 : use any agp support (try AGPGART, then NVIDIA's AGP)
    Option              "NvAGP"         "2"
    Option              "NoLogo"        "on"
    Option              "DPMS"          "on"
    Option              "HWcursor"      "off"
    Option              "CursorShadow"  "off"
    Option              "RenderAccel"   "on"
#    VideoRam            131072
    BusID               "PCI:2:0:0"
    Screen              1
EndSection

Section "Screen"
    Identifier      "SCREEN_0"
    Device          "NVIDIA_0"
    Monitor         "MONITOR_1"
    DefaultDepth    24
#   DefaultFbBpp    32
#   DefaultDepth    16
#   DefaultFbBpp    16
    SubSection "Display"
        Depth     8
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
EndSection

Section "Screen"
    Identifier      "SCREEN_1"
    Device          "NVIDIA_1"
    Monitor         "MONITOR_2"
    DefaultDepth    24
#   DefaultFbBpp    32
#   DefaultDepth    16
#   DefaultFbBpp    16
    SubSection "Display"
        Depth     8
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
    EndSubSection
EndSection


Section "DRI"
    Mode         0666
EndSection

Somit habe ich einen grossen Desktop und kann die Fenster von eine auf dem ander Monitor schieben.
Möchte ich auf jedem Monitor eine WM dann einfach ein "#" vor "Option Xinerama"
Clone modus benutze ich nicht der funktioniert aber auch, wenn ich mich recht erinnere ein
"#" vor "Option Xinerama" und in Section "ServerLayout" Option "Clone" "true" hinzufügen.

Mfg
Back to top
View user's profile Send private message
Caipi
n00b
n00b


Joined: 06 Nov 2004
Posts: 43

PostPosted: Sat Feb 04, 2006 2:06 pm    Post subject: Reply with quote

TOP! Sogar besser als ich das unter KDE hatte, da jetzt das Hintergrundbild nicht mehr verzerrt wird sondern wie unter Windows einfach zweimal erscheint. Ausserdem gehen die Fenster schön auf dem "aktiven" Montior auf und nicht zwischen den beiden.

Vielen Dank!
_________________
SPEED IS NOTHING WITHOUT CONTROL
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum