Doesn't work correctly with xorg's Xinerama.

Bug #32334 reported by fimbulvetr
This bug report is a duplicate of:  Bug #36461: XOrg dualhead regression. Edit Remove
12
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

The following kernels will not work with my xorg/xinerama config:

linux-image-2.6.15-16-686
linux-image-2.6.15-15-686
linux-image-2.6.15-15-386
linux-image-2.6.15-14-686
linux-image-2.6.15-14-386
linux-image-2.6.12-10-386

The only kernel that does work is:

linux-image-2.6.12-9-686-smp

The symptoms are as follows:

The machine boots and starts Xorg. Only one screen activates and lights, and that is the one on the left. You can see the ubuntu brown-ish background but then it locks hard. Only way to reboot is holding power button down or alt-sysreq-b.

Revision history for this message
fimbulvetr (fimbulvetr) wrote : Xorg log, shows no error, but kernel locks hard.
Download full text (73.7 KiB)

Xorg log, shows no error, but kernel locks hard.

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12 i686
Current Operating System: Linux folgers 2.6.15-16-686 #1 SMP PREEMPT Mon Feb 20 17:26:04 UTC 2006 i686
Build Date: 21 December 2005
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 21 12:25:39 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Dual"
(**) |-->Screen "Screen 2" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "Nvidia"
(**) |-->Screen "Screen 1" (1)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "Intel"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
 Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
 Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Option "Xinerama" "true"
(**) Xinerama: enabled
(**) Extension "RENDER" is enabled
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.2
 X.Org Video Driver: 0.8
 X.Org XInput driver : 0.5
 X.Org Server Extension : 0.2
 X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
 compiled for 7.0.0, module version = 1.0.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 7.0.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 0.8
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2570 card 8086,2570 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2572 card 1014,02c7 rev 02 class 03,00,00 hdr 00
(II) PCI: 00:1d:0: chip 8086,24d2 card 1014,02c7 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24d4 card 1014,02c7 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24d7 card 1014,02c7 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,24de card 1014,02c7 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24dd card 1014,02c7 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev c2 class 0...

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

Xorg conf. Note that only screen that partially works is screen 1, with the i810 video driver.

Section "Extensions"
# Option "Composite" "Enable"
 Option "RENDER" "Enable"
# Option "RANDR" "Enable"
EndSection

Section "ServerFlags"
  Option "Xinerama" "true"
EndSection

Section "Files"
        FontPath "unix/:7100" # local font server
        FontPath "/usr/lib/X11/fonts/misc"
        FontPath "/usr/lib/X11/fonts/cyrillic"
        FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath "/usr/lib/X11/fonts/Type1"
        FontPath "/usr/lib/X11/fonts/CID"
        FontPath "/usr/lib/X11/fonts/100dpi"
        FontPath "/usr/lib/X11/fonts/75dpi"
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
    Load "bitmap"
    Load "dbe"
    Load "ddc"
    Load "dri"
    SubSection "extmod"
 Option "omit xfree86-dga"
    EndSubSection
    Load "int10"
    Load "record"
    Load "vbe"
    Load "type1"
    Load "freetype"
    Load "glx"
    Load "dri"
    Load "GLcore"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "AutoRepeat" "500 5"
EndSection

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

Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 30-81
    VertRefresh 60-60
EndSection

Section "Device"
        Identifier "Intel"
        Driver "i810"
        BusID "PCI:0:2:0"
        VideoRam 32768
EndSection

Section "Device"
 Identifier "Nvidia"
 #Driver "nvidia"
 Driver "nv"
 VendorName "videocard vendor"
 BoardName "geforcemx"
 VideoRam 32768
 Option "DPMS" "on"
 Option "RenderAccel" "on"
 Option "NvAGP" "2"
 BusID "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier "Screen 1"
    Device "Intel"
    Monitor "Generic Monitor"
    DefaultDepth 16
    SubSection "Display"
      Depth 16
  Modes "1280x1024"
  #Modes "1152x870@75"
    EndSubSection
EndSection

Section "Screen"
 Identifier "Screen 2"
 Device "Nvidia"
 Monitor "Generic Monitor"
 DefaultDepth 16
 SubSection "Display"
  Depth 16
  Modes "1280x1024"
  #Modes "1152x870@75"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Dual"
 Screen "Screen 2"
 Screen "Screen 1" LeftOf "Screen 2"
 InputDevice "Mouse1" "CorePointer"
 InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
 Mode 0666
EndSection

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

More info:

If I dpkg-reconfigure, which doesn't support xinerama, btw, it configures the i810 driver and dapper works just fine with one screen, but exhibits the same problem when xinerama/second screen added to the freshly generated xorg.conf.

Filing under kernel because old breezy kernels behave fine, so it doesn't seem to be an xorg problem.

Note that I'm using the nv driver, not the nvidia for screen 2.

Revision history for this message
brian-peyton (brian-peyton) wrote :
Download full text (65.0 KiB)

I have the same problem with my dual monitor setup if I use nv for my second card (tnt2). The nvidia driver makes it work, however I only get overlays on my tnt2 screen, and not both my radeon and tnt2 (but that is a separate problem).

Here is my xorg.conf:

Section "Files"
 FontPath "unix/:7100" # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/CID"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
 Load "GLcore"
 Load "i2c"
 Load "bitmap"
# Load "dbe"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
# Load "record"
 Load "type1"
# Load "v4l"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "keyboard"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc104"
 Option "XkbLayout" "us"
EndSection

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

Section "Device"
 Identifier "Radeon"
 Driver "radeon" #"fglrx" #was radeon
 BusID "PCI:1:00:0"
# Option "RenderAccel" "true"
EndSection

Section "Monitor"
 Identifier "AccuSync 70"
 Option "DPMS"
 HorizSync 31.5-70
 VertRefresh 60-85
EndSection

Section "Screen"
 Identifier "Radeon Screen"
 Device "Radeon"
 Monitor "AccuSync 70"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "Device"
 Identifier "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
 Driver "nv"
 BusID "PCI:0:12:0"
# Option "RenderAccel" "true"
EndSection

Section "Monitor"
 Identifier "POS"
 Option "DPMS"
 HorizSync 31.5-50
 VertRefresh 60-85
EndSection

Section "Screen"
 Identifier "TNT2 Screen"
 Device "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
 Monitor "POS"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "800x600" "640x480"
 EndSubSection
 SubSection...

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

Bizarre. You found the problem the same day I actually had some time to troubleshoot it, and it is indeed the case. The nv driver cannot run Xinerama on Dapper. Now that I switched to the Nvidia driver, Xinerama runs just fine.

I suppose we should change this to Xorg now?

description: updated
Revision history for this message
cygnus (cygnus) wrote :

I have the same problem using two ATI X300 cards on a SLI mainboard. Running with just one card and one display works fine without problems. Adding the second head using the working breezy xorg.conf or using the dapper flight 6 xorg.conf and adding the second screen results in a complete system hang.

I am using the ati driver.

Tested on x86 and amd64 dapper flight 6. AFAIR dapper flight 4 worked fine.

Matt Zimmerman (mdz)
Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.