[compiz] no decorations on 2nd head using nvidia and aiglx

Brian J. Murrell brian at interlinx.bc.ca
Sun Nov 11 19:56:32 PST 2007


I've successfully set up 3 machines now (2 nvidia and one radeon 7500,
all ubuntu gutsy) with compiz and aiglx and have been very happy with
compiz on all of them.  Scaling is wonderful.

I'm trying to do my main workstation now which is a multihead (dual)
configuration with an nvidia 6150:

00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)

Both displays are being driven by the one 6150 and while it seems to
mostly work, there are a few anomalies with the second display.  There
are no window decorations and a maximized evolution process seems to
obscure the gnome panels on both the top and bottom of the screen.

I'm using the 9639 nvidia driver on the gutsy 2.6.22.4 kernel.

My xorg.conf is a bit of a hacky mess now with trying the various
suggestions around to make this work but here it is in any case:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder3)  Mon Apr 16 20:37:13 PDT 2007

# 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 xorg.conf manual page.
# (Type "man 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 "ServerLayout"

    #InputDevice    "stylus" "SendCoreEvents"
    #InputDevice    "cursor" "SendCoreEvents"
    #InputDevice    "eraser" "SendCoreEvents"
    Identifier     "Default Layout"
    Screen         "Screen0" 0 0
    Screen         "Screen1" LeftOf "Screen0"
    InputDevice    "Generic Keyboard" "CoreKeyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
    Load           "glx"
    Load           "dbe"
EndSection

Section "InputDevice"

    #Option         "CoreKeyboard"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "sk2500"
    #Option         "XkbLayout" "mm"
    Option         "XkbOptions" "compose:rwin"
EndSection

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

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"                # Tablet PC ONLY
EndSection

Section "Monitor"

    #HorizSync       30.0 - 110.0
    #VertRefresh     50.0 - 150.0
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"

    #Option         "HWCursor" "off"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6150"
    BusID          "PCI:0:5:0"
    Screen          0
EndSection

Section "Device"

    #Option         "HWCursor" "off"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6150"
    BusID          "PCI:0:5:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DisableGLXRootClipping" "True"
    Option         "XAANoOffscreenPixmaps" "true"
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBVisuals" "True"
    Option         "NoLogo" "True"
    Option         "UseDisplayDevice" "DFP-0"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "DisableGLXRootClipping" "True"
    Option         "XAANoOffscreenPixmaps" "true"
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBVisuals" "True"
    Option         "NoLogo" "True"
    Option         "UseDisplayDevice" "CRT-0"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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

Any ideas?

Thanx,
b.




More information about the compiz mailing list