Portál AbcLinuxu, 12. července 2025 13:17


Dotaz: Compiz a 2 monitory

2.12.2007 22:35 hates | skóre: 30 | blog: Jak_jsem_se_dostal_k_linuxu
Compiz a 2 monitory
Přečteno: 510×
Odpovědět | Admin
Zajímalo by mě jestli je mozne nejak nakonfigurovat compiz aby mi fungoval alespon na jednom monitoru. pokud by fungoval na obou bylo by to bezva. drive jsem to zkousel, ale pokud jsem mel zaple 2 plochy tak jsem dostal akorat hlasku, ze compiz nelze spustit. pridavam konfiguraci xorg.conf pro lepsi prehled.
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
        Load    "extmod
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us,cz_qwerty"
        Option          "XkbVariant"    "qwerty"
        Option          "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "Device Interni"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "MonitorLayout"         "NONE,LFP"
EndSection

Section "Device"
        Identifier      "Device Externi"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "MonitorLayout"         "NONE,CRT"
EndSection

Section "Device"
        Identifier      "Device Interni Dual"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "MonitorLayout"         "CRT,LFP"
        Option          "VBERestore"            "true"
        Screen          0
EndSection

Section "Device"
        Identifier      "Device Externi Dual"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Screen          1
EndSection

Section "Monitor"
        Identifier      "Interni Monitor"
        Option          "DPMS"
        Option          "DDCmode"
EndSection

Section "Monitor"
        Identifier      "Externi Monitor"
        Option          "DPMS"
        Option          "DDCmode"
        HorizSync       30-95
        VertRefresh     47-60
EndSection

Section "Screen"
        Identifier      "Screen Interni"
        Device          "Device Interni"
        Monitor         "Interni Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Screen Externi"
        Device          "Device Externi"
        Monitor         "Externi Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Screen Interni Dual"
        Device          "Device Interni Dual"
        Monitor         "Interni Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Screen Externi Dual"
        Device          "Device Externi Dual"
        Monitor         "Externi Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Interni"
        Screen          "Screen Interni"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "ServerLayout"
        Identifier      "Externi"
        Screen          "Screen Externi"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "ServerLayout"
        Identifier      "Dual"
        Screen          0 "Screen Interni Dual"
        Screen          1 "Screen Externi Dual" LeftOf "Screen Interni Dual"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
        Option          "Xinerama"      "false"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "ServerFlags"
#       Option          "DefaultServerLayout"   "Interni"
#       Option          "DefaultServerLayout"   "Externi"
        Option          "DefaultServerLayout"   "Dual"
EndSection

Pokud jste to nekdo zkousel s vice monitory, budu moc rad kdyz se tu o to podelite
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

3.12.2007 14:04 michal
Rozbalit Rozbalit vše Re: Compiz a 2 monitory
Odpovědět | | Sbalit | Link | Blokovat | Admin
A funguje ti na obou monitorech DRI? Mimochodem jak ti fungují Xka při tomhle nastavení, můžeš přetahovat okna z jednoho monitoru na druhý?

Já mám taky dva monitory a taky jsem to marně zkoušel, když jsem měl externí monitor odpojený tak mi to šlo (beryl), ale když byl připojený, tak jsem to nikdy nespustil, pak jsem upgradoval drivery a nastavil plochu přes oba monitory a tím jsem se zbavil možnosti používat DRI (tahle grafárna podporuje jen rozlišení 2048x2048, když spojíš ty monitory tak to má 2560x1028). Stejně je to na nic, kromě toho že můžeš ukázat windowsákům, že linux je taky WOW :) A žere to víc proudu
3.12.2007 14:32 hates | skóre: 30 | blog: Jak_jsem_se_dostal_k_linuxu
Rozbalit Rozbalit vše Re: Compiz a 2 monitory
mezi plochami mi pretahovat nelze. musel bych nejak zprovoznit xineramu a potom by to slo. ale v tom pripade zase musim kvuli grafarne snizit rozliseni. nesedim ted u toho PC tak si nejsem jisty zdali DRI jede na obou plochach. to ze to jede pokud je to pouze na displeji mam vyzkousene. me slo spis o to aby kazda plocha mela spusteny svuj compiz a chovala se tak jak ted. mezi nimi muzu prejet jenom myskou a obe plochy jsou proste nezavisle.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.