Portál AbcLinuxu, 13. května 2025 23:55

Dotaz: Xinerama a rozne rozlisenie

25.3.2007 13:58 mate
Xinerama a rozne rozlisenie
Přečteno: 861×
Odpovědět | Admin
Zdravim!

V poslednej dobe som sa dost natrapil s nastavovanim xorg.conf tak aby som mal na mojom notebooku rozlisenie 1280x768 (HP Pavilion dv1000) - primarny monitor a na LCD monitore 1440x900 (Samsung SyncMaster 931bw) - extended

Pouzivam Gentoo, Xorg 6.8.2, KDE 3.5

Skusal som do xorg.conf vlozit aj riadok ModeLine pre LCD monitor, ale ten vzdy nabehne s rozlisenim 1600x1200 obrazovka notebooku vyzera ze ma dobre rozlisenie ale KDE panels, ktory mam uplne dole, nevidiet - vidim ho iba na LCD monitore a to iba jeho zvysnu cast

Chcel by som teda dosiahnut to, aby display monitora a externa LCD obrazovka mali svoje standardne rozlisenie, externy display bol extended a KDE panels sa zobrazoval na spodku obidvoch obraozviek alebo iba na notebooku. Ak mate niekto s tym skusenosti, prosim poradte...

Vytah z mojho xorg.conf:

Section "ServerLayout"
Identifier "DualHead"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
# InputDevice "Touchpad" "SendCoreEvents"
EndSection

#laptop monitor
Section "Monitor"
#DisplaySize 330 200 # mm
Identifier "laptop"
VendorName "AUO"
ModelName "B140EW01V0"
Option "DPMS" "enable"
HorizSync 31.5-48.5
VertRefresh 50-70
ModeLine "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection

#Samsung SyncMaster 931BW LCD 19"
Section "Monitor"
Identifier "extern"
VendorName "Samsung"
ModelName "Samsung SyncMaster 931BW"
Option "DPMS" "enable"
HorizSync 30.0-81.0
VertRefresh 56.0-75.0
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

# VGA primarna
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82810 CGC [Chipset Graphics Controller]"
Screen 0
Option "MonitorLayout" "CRT,LFP"
VideoRam 32768
# BusID "PCI:0000:00:02:0" #let it be autodetected
Option "DRI" "True"
Option "XaaNoOffscreenPixmaps"
BusID "PCI:0:2:0"
Option "DDC" "0"
Option "VBERestore" "0"
EndSection

#VGA kvoli dualmonitor
Section "Device"
Identifier "Card1"
Driver "i810"
Screen 1
Option "Display" "CRT"
Option "MonitorLayout" "CRT,LFP"
BusID "PCI:0:2:0"
Option "DDC" "0"
Option "VBERestore" "0"
EndSection

#laptop monitor
Section "Monitor"
#DisplaySize 330 200 # mm
Identifier "laptop"
VendorName "AUO"
ModelName "B140EW01V0"
Option "DPMS" "enable"
HorizSync 31.5-48.5
VertRefresh 50-70
ModeLine "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection

#Samsung SyncMaster 931BW LCD 19"
Section "Monitor"
Identifier "extern"
VendorName "Samsung"
ModelName "Samsung SyncMaster 931BW"
Option "DPMS" "enable"
HorizSync 30.0-81.0
VertRefresh 56.0-75.0
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

# VGA primarna
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82810 CGC [Chipset Graphics Controller]"
Screen 0
Option "MonitorLayout" "CRT,LFP"
VideoRam 32768
# BusID "PCI:0000:00:02:0" #let it be autodetected
Option "DRI" "True"
Option "XaaNoOffscreenPixmaps"
BusID "PCI:0:2:0"
Option "DDC" "0"
Option "VBERestore" "0"
EndSection

#VGA kvoli dualmonitor
Section "Device"
Identifier "Card1"
Driver "i810"
Screen 1
Option "Display" "CRT"
Option "MonitorLayout" "CRT,LFP"
BusID "PCI:0:2:0"
Option "DDC" "0"
Option "VBERestore" "0"
EndSection

#laptop LCD
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "laptop"
DefaultDepth 24
SubSection "Display"
# Viewport 0 0
Modes "1280x768" #"1280x1024" "1024x768" "800x600" "640x480"
Depth 8
EndSubSection
Subsection "Display"
Depth 16
Modes "1280x768" #"1280x1024" "1024x768" "800x600" "640x480"
# ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x768" #"1280x1024" "1024x768" "800x600" "640x480"
# ViewPort 0 0
EndSubsection
EndSection

#Samsung LCD
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "extern"
DefaultDepth 24
SubSection "Display"
# Virtual 1440 900
Depth 24
Modes "1440x900_60.00"
Viewport 0 0
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "ServerFlags"
Option "Xinerama" "enable"
EndSection
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

25.3.2007 20:17 slune
Rozbalit Rozbalit vše Re: Xinerama a rozne rozlisenie
Odpovědět | | Sbalit | Link | Blokovat | Admin

Tady je muj xorg.conf monitor + notebook nemam akorat zprovozneni direct rendering.Coz by se melo delat pres merged frambuffer ale jeste jsem nemel cas to vyzkouset. Kazda obrazovka ma jine rozliseni

Gentoo-Gnome 2.16

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "freetype"
    Load       "glx"
    Load       "dri"
EndSection

Section "Files"
     FontPath   "/usr/share/fonts/misc/"
     FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Synaptics"
    Driver      "synaptics"
    Option      "Device" "/dev/input/mice"
    Option      "Protocol" "auto-dev"
    Option      "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
     Identifier  "Mouse1"
     Driver      "mouse"
     Option      "Device"        "/dev/input/mouse1"
     Option     "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "LCD Panel 1024x768"
        HorizSync    31.5 - 48.5
        VertRefresh  40.0 - 70.0
        Option      "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        ModelName    "LCD Panel 1024x768"
        HorizSync    30.0 - 83.0
        VertRefresh  56.0 - 76.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
        BusID "PCI:0:2:0"
        Screen 0
        Option "MonitorLayout" "CRT,LFP"
        Option "MetaModes" "1280x1024,1024x768"
EndSection

Section "Device"
        Identifier  "Videocard1"
        Driver      "i810"
        BusID "PCI:0:2:0"
        Screen 1
        Option "MonitorLayout" "CRT,LFP"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "ServerLayout"
  Identifier "Default Layout"
  Screen 0 "Screen0"
  Screen 1 "Screen1" LeftOf "Screen0"
  InputDevice    "Keyboard0" "CoreKeyboard"
  InputDevice    "Synaptics" "CorePointer"
  InputDevice    "Mouse1"    "SendCoreEvents"
  Option "Xinerama" "True"
#  Option         "AIGLX" "true"
EndSection

 Section "DRI"
    Mode 0666
 EndSection

# Section "Extensions"
#    Option         "Composite"   "Enable"
# EndSection
27.3.2007 18:46 mate
Rozbalit Rozbalit vše Re: Xinerama a rozne rozlisenie
Vdaka za radu, ale skusil som si upravit xorg.conf podla Tvojho ale aj tak nic. Ani za nic sa mi nedari rozchodit rozlisenie 1440x900 stael mi nabehne 1600x1200 alebo ked aj nastavim VirtualModes pre LCD monitor na 1440x900, tak mi vtedy dalo tusim 1280x1024

Ak ma niekto napad bol by som mu velmi vdacny ak by mi s tym pomohol...

Ospraqvedlnujem sa, ze som tak zle nakopiroval mojo config, preto tu dam dolezite casti este raz:
Section "ServerLayout"
        Identifier      "DualHead"
        Screen  0       "Screen0"
        Screen  1       "Screen1" RightOf "Screen0"
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
        Option          "Xinerama"      "True"
        Option          "Clone"         "off"
#       InputDevice     "Touchpad"      "SendCoreEvents"
EndSection

#laptop monitor
Section "Monitor"
        #DisplaySize      330   200     # mm
        Identifier      "laptop"
        VendorName      "AUO"
        ModelName       "B140EW01V0"
        Option          "DPMS"
        HorizSync       31.5-48.5
        VertRefresh     50-70
        ModeLine        "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection

#Samsung SyncMaster 931BW LCD 19"
Section "Monitor"
        Identifier      "extern"
        VendorName      "Samsung"
        ModelName       "Samsung SyncMaster 931BW"
        Option          "DPMS"
        HorizSync       30.0-81.0
        VertRefresh     56.0-75.0
        Modeline        "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
EndSection

# VGA primarna
Section "Device"
        Identifier      "Card0"
        Driver          "i810"
        VendorName      "Intel Corp."
        BoardName       "82810 CGC [Chipset Graphics Controller]"
        Screen 0
        Option          "MonitorLayout" "CRT,LFP"
        VideoRam        32768
        Option          "DRI" "True"
        Option          "XaaNoOffscreenPixmaps"
        Option          "MetaModes" "1280x768"
        BusID           "PCI:0:2:0"
        Option          "DDC" "0"
        Option          "VBERestore" "0"
EndSection

#VGA kvoli dualmonitor
Section "Device"
        Identifier      "Card1"
        Driver          "i810"
        Screen 1
        Option          "Display"
        Option          "MonitorLayout" "CRT,LFP"
        BusID           "PCI:0:2:0"
        Option          "DDC" "0"
        Option          "VBERestore" "0"
        Option          "MetaModes" "1440x900_60.00"

EndSection

#laptop LCD
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "laptop"
        DefaultDepth    24
        Subsection "Display"
                Viewport   0 0
                Depth   24
                Modes   "1280x768" #"1280x1024" "1024x768" "800x600" "640x480"
        EndSubsection
EndSection

#Samsung LCD
Section "Screen"
        Identifier      "Screen1"
        Device          "Card1"
        Monitor         "extern"
        DefaultDepth    24
        SubSection "Display"
#               Virtual 1440 900
                Depth 24
                Modes "1440x900"
                Viewport 0 0
        EndSubSection
EndSection

Section "DRI"
       Group        0
       Mode         0666
EndSection

Section "ServerFlags"
        Option "Xinerama" "enable"
EndSection




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.