Hi, I've bought a HP NX7300 (RU374ES) with widescreen (1280x800) internal LCD monitor and external BenQ LCD Flat Panel (1280x1024).
I've problem with properly setting Xorg (1:7.3+2 debian/unstable) to work in a dual mode.
Actualy I'm going to configure my xorg to work in the fallowing ways:
1. To get the same clone 'screen' on my intelal LCD and external one (WORK-OK) with the same resulation (1280x800)
2. To get the same clone 'screen' but with diffrent resulation 1280x800 on my internal LCD and 1280x1024 on my external one.
- if I get (2) I would like to cut some space on my LCD pannel to get the same percent of the squere.
3. After that I want to get two different screens on my internal monitor and external LCD to watch e.g. a text in an internal one
and show a presentation in the external one.
THAT'S A GRAPHICAL DESCRIPTION:
http://fatcat.ftj.agh.edu.pl/~gontek/temp/xxx2.png
Anyone can help me? Where's the problem?
* lspci
Code:
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
Code:
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
Code:
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
Code:
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
Code:
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
Code:
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"
# WHEN I COMMENT A SINGLE OPTION AND UNCOMMENT A DUAL ONE THE XORG WON'T WAKE UP. DON'T KNOW WHY.
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"
# Driver "i915"
Driver "i810"
BusID "PCI:0:2:0"
Option "DDC" "off"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
VideoRam 131072
Option "MonitorLayout" "CRT+TV,LFP"
Screen 0
# refreshrate for the external monitor
# Option "Clone" "On"
# Option "CloneRefresh" "60"
## Option "DevicePresence" "yes"
EndSection
Section "Device"
Identifier "Intel-External"
Driver "i810"
BusID "PCI:0:2:0"
Option "DDC" "off"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
VideoRam 131072
Option "MonitorLayout" "CRT+TV,LFP"
Screen 1
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" "1024x768" "800x600" "640x480"
EndSubsection
SubSection "Display"
Depth 4
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "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"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection