jack_peter |
01-07-2009 05:37 PM |
dual screen problem on HP Compaq
Hello,
I am running a slamd64 12.1 with a 2.6.27.7 kernel on a Compaq 6510b (Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller)
I tried to follow the intel linux graphics tutorial ( http://intellinuxgraphics.org/dualhead.html) and have modified the xorg.conf like this:
Code:
Section "Monitor"
Identifier "monLVDS"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 31.5 - 50.0
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 40-90
Option "PreferredMode" "1440x900"
# Option "LeftOf" "monVGA"
EndSection
Section "Monitor"
Identifier "monVGA"
# Option "PreferredMode" "1280x1024"
HorizSync 31.0 - 69.0
VertRefresh 56-85
Option "RightOf" "monLVDS"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
#Section "Device"
# Identifier "VESA Framebuffer"
# Driver "vesa"
# #VideoRam 4096
# # Insert Clocks lines here if appropriate
#EndSection
Section "Device"
Identifier "Intel"
Driver "intel"
Option "monitor-VGA" "monVGA"
Option "monitor-LVDS" "monLVDS"
# Option "DRI" "true"
# Option "XVideo" "true"
# #Option "DisplayInfo" "true"
# Option "RenderAccel" "true"
# Option "XAANoOffscreenPixmaps" "true"
Option "AccelMethod" "EXA"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "Intel"
Monitor "monLVDS"
# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
# Option "RenderAccel" "True"
# Option "AllowGLXWithComposite" "True"
# Option "AddARGBGLXVisuals" "True"
# Subsection "Display"
# Depth 8
# Modes "1024x768" "800x600" "640x480"
# EndSubsection
# Subsection "Display"
# Depth 16
# Modes "1024x768" "800x600" "640x480"
# EndSubsection
Subsection "Display"
Depth 24
# Modes "1280x1024" "1280x800"
Modes "1440x900"
Virtual 2720 1024
EndSubsection
Subsection "Display"
Depth 32
# Modes "1280x1024" "1280x800"
Modes "1440x900"
Virtual 2720 1024
EndSubsection
EndSection
The problem now is that the LVDS-Monitor doesn't have the full resolution of 1440x900 but 1152x768:
Code:
bash-3.1$ xrandr
Screen 0: minimum 320 x 200, current 2432 x 1024, maximum 2720 x 1024
VGA connected 1280x1024+1152+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.0*+ 59.9
1152x864 75.0
1024x768 74.9 75.1 60.0
832x624 74.6
800x600 75.0 74.9 60.3
640x480 75.0 74.8 60.0
720x400 70.1
LVDS connected 1152x768+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
1152x768 54.8*
1024x768 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0
720x400 85.0
640x400 85.1
640x350 85.1
TV disconnected (normal left inverted right x axis y axis)
bash-3.1$ xrandr --output LVDS -s 1440x900
bash-3.1$ xrandr --output LVDS --mode 1440x900
xrandr: cannot find mode 1440x900
bash-3.1$
The -s command has no effect at all...
Is it possible to add the 1440x900 mode?
Thanks
---------
Now I have got some error messages, sometimes the following is just appearing on the screen:
Code:
Message from syslogd@paul at Thu Jan 8 06:26:08 2009 ...
paul kernel: [ 7772.608177] Disabling IRQ #16
Code:
bash-3.1$ cat /proc/interrupts
CPU0 CPU1
0: 5735415 474105 IO-APIC-edge timer
1: 4854 4748 IO-APIC-edge i8042
8: 0 1 IO-APIC-edge rtc0
9: 37432 8935 IO-APIC-fasteoi acpi
12: 583 314 IO-APIC-edge i8042
14: 153436 40608 IO-APIC-edge ata_piix
15: 0 0 IO-APIC-edge ata_piix
16: 193464016 192967267 IO-APIC-fasteoi yenta, uhci_hcd:usb3, HDA Intel, i915@pci:0000:00:02.0
17: 0 0 IO-APIC-fasteoi uhci_hcd:usb4
18: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
20: 52 13 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5
21: 49173 41463 IO-APIC-fasteoi uhci_hcd:usb6
378: 59591 57294 PCI-MSI-edge eth0
379: 42039 22510 PCI-MSI-edge ahci
NMI: 0 0 Non-maskable interrupts
LOC: 4369522 7127494 Local timer interrupts
RES: 321297 489184 Rescheduling interrupts
CAL: 643513 298475 function call interrupts
TLB: 9666 11141 TLB shootdowns
SPU: 0 0 Spurious interrupts
ERR: 4
Is this part of the problem?
|