Compiz problem when going dual screen. *Please help*

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Compiz problem when going dual screen. *Please help*

Postby Rylin » Thu Aug 30, 2007 2:24

I managed to get dual screen enabled and properly working on a nvidia 6800 Ultra card. My problem is that compiz fusion doesnt seem to work, which it worked fine when under a single monitor. Any ideas how to get it working?

Much appreciated.
Rylin
Baby Hen
 
Posts: 8
Joined: Thu Aug 30, 2007 2:22

Re: Compiz problem when going dual screen. *Please help*

Postby wolfden » Thu Aug 30, 2007 2:45

did you use the nvidia-settings manager? If so that destroys the settings for 3D desktop

edit your /etc/X11/xorg.conf
uncomment the lines so they look like:
Option "Composite" "Enable"
Option "Composite" "Enable"
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Compiz problem when going dual screen. *Please help*

Postby Rylin » Thu Aug 30, 2007 2:51

Ah ok, yea I used the settings manager.

How do I edit that file through the terminal? When I edit it by finding the file by browsing into the folder, it says i dont have permission to save when i make changes.

Also where can I find those code lines? I see option text in the monitor section and its set to "DPMS". SHould I changed that to "Composite"?
Rylin
Baby Hen
 
Posts: 8
Joined: Thu Aug 30, 2007 2:22

Re: Compiz problem when going dual screen. *Please help*

Postby wolfden » Thu Aug 30, 2007 3:23

of course you have to be root to edit config files - dunno why people don't understand that :?

in console type su enter your password than nano /etc/X11/xorg.conf

if you want a gui kdesu konqueror - enter password - browse to /etc/X11/ - edit xorg.conf

these are the very very basic linux commands, time to get these skills down.

The lines can be where ever - add them if you have too.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Compiz problem when going dual screen. *Please help*

Postby Rylin » Thu Aug 30, 2007 3:50

Ok i added those two lines in my xorg.conf file as follows:

Code: Select all
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib64/X11/rgb"
    FontPath        "/usr/lib64/X11/fonts/local/"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/CID/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
    Option         "Composite" "Enable"
    Option         "Composite" "Enable"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 Ultra"
    BusID          "PCI:5:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 Ultra"
    BusID          "PCI:5:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT-1: 1680x1050 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


The two lines that I added are towards the top of the section under the xinerama setting. I ctrl-alt-backspace to see if that made any changes and compiz still doesnt work. :?
Rylin
Baby Hen
 
Posts: 8
Joined: Thu Aug 30, 2007 2:22

Re: Compiz problem when going dual screen. *Please help*

Postby wolfden » Thu Aug 30, 2007 4:13

doh! I use twinview

no idea about that method, dunno if that even works with C-F
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Compiz problem when going dual screen. *Please help*

Postby Rylin » Thu Aug 30, 2007 4:14

How do i get twinview? :shock: :)
Rylin
Baby Hen
 
Posts: 8
Joined: Thu Aug 30, 2007 2:22

Re: Compiz problem when going dual screen. *Please help*

Postby wolfden » Thu Aug 30, 2007 4:17

nvidia-settings

here is my xorg.conf I use a widescreen flatpanel on left and a CRT on the right
Code: Select all
Section "Files"


    #FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath    "/usr/share/fonts/corefonts"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"

    Load   "dbe"
    Load   "i2c"
    Load   "glx"
    Load   "ddc"
    Load   "type1"
    Load   "freetype"
    Load   "extmod"
    Load   "synaptics"
    Load   "vbe"
#   Load        "dri"

EndSection


# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

     Option    "AllowMouseOpenFail" "true"
     Option "AIGLX" "true"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************


Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
   
    Option   "AutoRepeat"   "500 5"
    Option      "XkbModel"      "pc105"
    Option   "XkbLayout"   "us"
    Option      "XkbRules"      "xorg"
    # Macintosh keyboard
    #Option   "XkbOptions"   "lv3:rwin_switch"

EndSection





# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"

    Option   "Device"   "/dev/psaux"
    Option   "Protocol"   "ImPS/2"
    Option   "ZAxisMapping"   "4 5"
     
EndSection

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


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier   "Generic Monitor"
    #Option      "DPMS"

    VertRefresh 43 - 60
    HorizSync   28 - 80
   
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA"
    Driver      "nvidia" # do not remove vesa
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
Option "TwinView" "true"
Option "MetaModes"                "1440x900,1280x1024; 1280x1024,1280x1024"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

    Identifier   "Screen 1"
    Device   "VESA"
    Monitor   "Generic Monitor"
    #Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

    DefaultDepth 24

    SubSection "Display"
        Depth      8
        ViewPort   0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection


EndSection


Section "ServerLayout"
# The Identifier line must be present

    Identifier   "Main Layout"
    Screen 0    "Screen 1"
    InputDevice   "Mouse1" "CorePointer"
    InputDevice   "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
     Option    "Xinerama"       "off"

 Option         "Clone"          "off"

  Option         "AIGLX"          "true"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
   Option "Composite" "Enable"
   Option "Composite" "Enable"
EndSection
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Compiz problem when going dual screen. *Please help*

Postby Rylin » Thu Aug 30, 2007 4:40

Got it finally working. :)

Now my final questions..how do I enable the 3d cube across both screens?
Rylin
Baby Hen
 
Posts: 8
Joined: Thu Aug 30, 2007 2:22

Re: Compiz problem when going dual screen. *Please help*

Postby wolfden » Thu Aug 30, 2007 6:00

:?:

Compiz doesn't have dual cubes yet if that is what u mean?
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Next

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: LAPB and 0 guests