Nowe posty

Autor Wątek: Intel (Widescreen 1280x800) i zewnętrzny monitor LCD (1280x1024)  (Przeczytany 3515 razy)

ruppertus

  • Gość
Witam,

czy komuś z was udało się może osiągnąć takie połączenie (jak w tytule)? Tzn. chciałbym wyświetlać ten sam obraz na monitorze zewnętrznym jak i na matrycy laptopa (widescreen). Mi się to udało, ale rozdzielczość monitora jest taka sama jak na laptopie (czyli wyświetlany obraz jest rozszerzony w pionie).

Gdyby można było ustawić wyświetlanie obrazu z rozdzielczością natywną dla monitora zewnętrznego LCD (obraz mógłby być przeskalowany i np. po przesunięciu myszką z lewej czy prawej strony ekranu mógłbym uzyskać dostęp do całej wyświetlanej "powierzchni" albo ze względu na tą samą poziomą składową rozdzielczości obraz wyświetlany na monitorze LCD można by było przyciąć w pionie i uzyskać efekt podobny jak w przypadku filmów).

Docelowo jednak chciałbym uzyskać taką konfigurację xorga, żebym mógł utworzyć dwa display-e. Żebym jeden mógł obserwować na zewnętrznym projektorze i pokazywać np. jakąś prezentację, a na drugim mieć jakiś tekst (np. komentarz).

Jak ustawię opcję "DefaultServerLayout" jako "Single" w sekcji "ServerFlags", to wszystko chodzi. Jak przestawię na "Dual" to już nie.

Oto kilka plików konfiguracyjnych i takich tam:

Dystrybucja: Debian Sid (unstable)
Xorg: 1:7.3+2

* lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
(...)

* grep '^CONFIG_FB' /usr/src/linux-2.6.22.6/.config

CONFIG_FB=y
CONFIG_FB_DDC=m
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_INTEL=m
CONFIG_FB_INTEL_DEBUG=y
CONFIG_FB_INTEL_I2C=y

* grep '^CONFIG_\\(DRM\\|AGP\\|DRM\\|I2C\\)' /usr/src/linux/.config
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_DRM=m
CONFIG_DRM_I915=m
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_I801=m
CONFIG_I2C_I810=m
CONFIG_I2C_PIIX4=m

* lsmod

Module                  Size  Used by
i915                   22784  2
drm                    76180  3 i915
intelfb                34724  0
i2c_piix4               8332  0
i2c_i810                4996  0
i2c_algo_bit            6148  2 intelfb,i2c_i810
i2c_i801                8336  0
i2c_dev                 7300  0
i2c_core               23552  6 intelfb,i2c_piix4,i2c_i810,i2c_algo_bit,i2c_i801,i2c_dev
video                  16520  0
backlight               5760  1 video
intel_agp              23188  1
agpgart                31924  4 drm,intelfb,intel_agp
(...)

* 915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.3

Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel
Mode 60 : 512x771, 8 bits/pixel
Mode 61 : 512x771, 16 bits/pixel
Mode 62 : 512x771, 32 bits/pixel
Mode 63 : 1280x800, 8 bits/pixel
Mode 64 : 1280x800, 16 bits/pixel
Mode 65 : 1280x800, 32 bits/pixel

/etc/X11/xorg.conf

Section "Files"
   FontPath        "/usr/share/X11/fonts/misc"
   FontPath        "/usr/share/X11/fonts/cyrillic"
   FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath        "/usr/share/X11/fonts/Type1"
   FontPath        "/usr/share/X11/fonts/100dpi"
   FontPath        "/usr/share/X11/fonts/75dpi"
   FontPath        "/usr/share/fonts/X11/misc"
   FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load    "i2c"
   Load    "bitmap"
   Load    "ddc"
   Load    "dri"   # x - nvidia
#   Load   "drm"
   Load   "dbe"
   Load    "extmod"
   Load    "freetype"
   Load    "glx"
   Load    "int10"
   Load    "type1"
#   Load    "vbe"
#   Load   "GLcore"   # x - nvidia
EndSection

Section "InputDevice"
   Identifier      "Generic Keyboard"
   Driver          "kbd"
   Option          "CoreKeyboard"
   Option          "XkbRules"      "xorg"
   Option          "XkbModel"      "pc105"         # logicdit
   Option          "XkbLayout"     "pl"
#       Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

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

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

Section "ServerFlags"
   Option "DefaultServerLayout" "Single"
#   Option "DefaultServerLayout" "Dual"
   Option "BlankTime" "4"                          # bylo 0
   Option "CycleTime" "0"
   Option "OffTime" "5"                            # bylo 300
   Option "StandbyTime" "0"                        # Turn off screen after x minutes (DPMS)
   Option "SuspendTime" "0"                        # Full suspend after x minutes
#       Option "AIGLX"  "true"
#   Option "AllowNonLocalXvidtune"   "yes"
EndSection

Section "Device"
   Identifier      "Intel-LCD"
   Screen          0
#       Driver          "i915"
   Driver      "i810"
   BusID      "PCI:0:2:0"
   Option       "ForceBIOS" "1280×800=1280×1024"
   Option          "DDC" "off"
   Option          "DRI" "true"
   Option      "XAANoOffscreenPixmaps"   "true"
   VideoRam        131072
   Option          "MonitorLayout" "CRT+TV,LFP"
#   Option       "Clone" "On"
#   Option       "DevicePresence" "yes"
EndSection


Section "Device"
   Identifier      "Intel-External"
   Screen          1
   Driver      "i810"
   BusID      "PCI:0:2:0"
   Option       "ForceBIOS" "1280×800=1280×1024"
   Option          "DDC" "off"
   Option          "DRI" "true"
   Option      "XAANoOffscreenPixmaps"   "true"
   VideoRam        131072
   Option          "MonitorLayout" "CRT+TV,LFP"
   Option       "Clone" "On"
   Option       "DevicePresence" "yes"
#   Option       "CloneRefresh" "60"
EndSection

Section "Monitor"
   Identifier   "Monitor-LCD"
   Option      "DPMS"
   HorizSync       28-64
   VertRefresh     43-60
#   Option          "MonitorLayout" "CRT+TV,LFP"
EndSection

Section "Monitor"
   Identifier      "Monitor-External"
   Option          "DPMS"
   HorizSync       31.0 - 81.0
   VertRefresh     50.0 - 76.0            # Cyfrowo od 56.0
#   Option          "MonitorLayout" "CRT+TV,LFP"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Intel-LCD"
   Monitor      "Monitor-LCD"
   Option      "DisableGLXRootClipping" "true"
   DefaultDepth   24
   SubSection "Display"
      Depth           1
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubsection
   SubSection "Display"
      Depth           4
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           8
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           15
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           16
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           24
      Modes           "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier   "Screen1"
   Device      "Intel-External"
   Monitor      "Monitor-External"
   Option      "DisableGLXRootClipping" "true"
   DefaultDepth   24
   SubSection "Display"
      Depth           1
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubsection
   SubSection "Display"
      Depth           4
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           8
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           15
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           16
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth           24
      Modes           "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Single"
   Screen      0 "Screen0" 0 0
#   Screen      1 "Screen1" LeftOf "Screen0"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice   "Synaptics Touchpad"
   Option      "AIGLX" "true"
   Option      "Xinerama" "off"
EndSection

Section "ServerLayout"
   Identifier      "Dual"
   Screen          0 "Screen0" 0 0
   Screen          1 "Screen1" RightOf "Screen0"
   InputDevice     "Generic Keyboard"
   InputDevice     "Configured Mouse"
   InputDevice     "Synaptics Touchpad"
   Option          "AIGLX" "true"
   Option          "Xinerama" "on"
   Option       "clone" "off"
EndSection

Section "DRI"
   Mode    0666
EndSection

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