Bug#390359: xserver-xorg-video-i810: Problems with dual head confirmed
Package: xserver-xorg-video-i810
Followup-For: Bug #390359
I can confirm problems on my system, a HP/Compaq nc6220 with Intel
915GM graphics, although the symptoms are slightly different.
Specifically:
* I use 915resultion to set the video BIOS to include 1400x1050
resolution.
* One of my xorg.conf files (attached) specifies dual head with
Xinerama for an external LCD.
With this setup, dual head works somewhat with
xserver-xorg-video-i810/2:1.6.5-3: X will start and display on both
screens, but:
* xfce does not get the information about the second screen, and, for
instance, the pager only shows the area of the internal laptop
screen. Similarly programs (eg evince) asked to start on the
external screen start with an extremely narrow window, as though
the screen is declared to be of 0 width.
* When I exit the X server, there are often stability problems;
exiting and restarting X will often produce a failure. I also
managed to produce some kernel oops, although I can't guarantee this
is related.
Everything seems to work normally now that I have downgraded to
1:1.5.1.0-2. Likewise everything seems to work better with a
single-head setup (also attached).
Peace,
Dylan Thurston
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (50, 'edgy'), (50, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Versions of packages xserver-xorg-video-i810 depends on:
ii libc6 2.3.6.ds1-5 GNU C Library: Shared libraries
ii xserver-xorg-core 2:1.0.2-10 X.Org X server -- core server
xserver-xorg-video-i810 recommends no packages.
-- no debconf information
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
##
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
# This has been hacked about by chris lacy-hulbert
# This works with xinerama on a Compaq nc6220 running ubuntu Dapper Beta
# Note, no additional packages are required for xinerama to run - all you
# need is to hack your xorg.conf and keep retrying X. I must have restartx
# my X-server at least 50 times in the last few hours
# some of these font paths don't actually exist on my system, but I'll leave
# them here to remind me of the fonty goodness which I might enjoy in the future.
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"
# 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 "type1"
Load "vbe"
EndSection
#
# now tell the X server about my keyboard
# this is unchanged from the original version
# ubuntu is good at building a vanilla xorg.conf
# so you probably won't have to change this bit either
#
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "ctrl:nocaps,compose:menu"
EndSection
#
# now details about the mouse
#
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
#
# and also the touchpad on the laptop itself
#
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
#
# this is where the video magic comes in. The trick is to make the X-server think
# that you have more than one videocard - ie that you're running dual head.
# I just cut and pasted the Videocard section from my original xorg.conf and
# changed the identifiers as you can see below.
# It doesn't matter what the identifiers are - you could call them vc1 and vc2
# if you want
#
Section "Device"
Identifier "Videocard0"
Driver "i810"
BusID "PCI:0:2:0"
Screen 0
Option "MonitorLayout" "DFP+CRT,LFP"
Option "AGPMode" "1"
EndSection
#
# so this is the second video card section - note that the
# PCI bus ID is the same as above, so the kernel will just probe
# out the same device.
#
Section "Device"
Identifier "Videocard1"
Driver "i810"
BusID "PCI:0:2:0"
Screen 1
Option "MonitorLayout" "DFP+CRT,LFP"
Option "AGPMode" "1"
EndSection
#
# now set up identifiers for the two monitors
#
Section "Monitor"
Identifier "Laptop LCD"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Desktop LCD"
Option "DPMS"
EndSection
#
# A Screen section is made up of an identifier, just to say what this
# screen is called, a Device label to indicate which video card we're
# running off, a Monitor label and then a set of Display subsections.
#
# Note that for xinerama to work on a single head (single video/vga) system,
# the colour depth must be the same for both screens. I am using a colour
# depth of 24 here
#
Section "Screen"
Identifier "Screen0"
Device "Videocard1"
Monitor "Laptop LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1400x1050" "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050" "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Desktop LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200"
EndSubSection
# SubSection "Display"
# Depth 4
# Modes "1600x1200"
# EndSubSection
EndSection
#
# This is the final section - the Serverlayout defines
# what combination of scerens and input devices I want to use
# note that I have two screens in mine and the second screen ("Screen1")
# is positioned to the Left of the first screen, "screen0" using the
# LeftOf identifier
#
Section "ServerLayout"
Identifier "DefaultLayout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "Xinerama" "On"
Option "Clone" "Off"
EndSection
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# Local fonts
FontPath "/usr/local/share/fonts/75dpi"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "v4l" # Video for Linux
Load "dbe" # Double-buffering extension
EndSection
# Allow all users to use DRI
Section "DRI"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "ctrl:nocaps,compose:menu"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
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"
Option "SHMConfig" "true"
EndSection
# Necessary features:
# Can't claim to have a DFP attached when it's not
# Can't have VBERestore on
Section "Device"
Identifier "dev0"
Driver "i810"
VideoRam 131072
BusID "PCI:0:2:0"
Screen 0
Option "MonitorLayout" "DFP+CRT,LFP"
Option "DevicePresence" "yes"
Option "DRI" "true"
Option "XVideo" "true"
EndSection
Section "Monitor"
Identifier "Laptop LCD"
Option "DPMS"
DisplaySize 286.4 214.8
EndSection
Section "Screen"
Identifier "screen0"
Device "dev0"
Monitor "Laptop LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1400x1050"
EndSubSection
EndSection
#
# This is the final section - the Serverlayout defines
# what combination of scerens and input devices I want to use
# note that I have two screens in mine and the second screen ("Screen1")
# is positioned to the Left of the first screen, "screen0" using the
# LeftOf identifier
#
Section "ServerLayout"
Identifier "DefaultLayout"
Screen 0 "screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Reply to: