PDA

View Full Version : Compiz in OpenSUSE 10.2


Haisen
November 15th, 2006, 02:56 PM
Hi,

What should I change in xorg.conf to install compiz?

And how to start it?



Thanks.

RYX
November 15th, 2006, 03:55 PM
Hi Haisen!

That depends on your graphics-card and -driver. Did you try it without changing anything yet? Or did you have any errors already? Please always add what graphics-card/-driver (nvidia,ati,...) and X-server (XGL, AIGLX ,...) you are using, otherwise it is very difficult to help because there are many different system-combinations out there ...

You can start compiz from the command-line by enteringcompiz --replace gconf &



:)

Haisen
November 15th, 2006, 04:51 PM
RYX,

I'm using a Nvidia card with 9XXX driver, Xorg 7.2. I cannot find any documetation about how to configure xorg.conf.

cyberorg
November 16th, 2006, 05:40 AM
Setting up your xorg.conf is same as mentioned on this thread:

http://forum.beryl-project.org/topic-5043-howto-beryl-suse-with-nvidia-beta-driver

Haisen
November 17th, 2006, 05:29 PM
I've put these lines in xorg.conf:

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

# to "Device" section
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"


The result is a unresponsive blank screen.

RYX
November 17th, 2006, 05:33 PM
Try commenting out the Composite-option and/or the whole extensions-section. I think they are not needed for nvidia, I don't have it in my xorg.conf and it works.

EDIT: And the second (the two options) belongs to the "Screen"-section, not into "Device" ...

Then start compiz with compiz --replace --use-cow gconf &
And the decorator with gtk-window-decorator --replace &

Haisen
November 17th, 2006, 10:41 PM
If I comment:
compiz: No composite extension


My xorg.conf
# /.../
# SaX generated X11 config file
# Created on: 2006-11-15T14:30:08-0200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
FontPath "unix/:7100"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

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

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "br"
Option "XkbModel" "abnt2"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
Option "Name" "USB Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 338 270
HorizSync 30-81
Identifier "Monitor[0]"
ModelName "SAMSUNG SYNCMASTER"
Option "DPMS"
VendorName "SAM"
VertRefresh 50-75
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "GeForce 6200 LE"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVidia"
Option "NoLogo"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

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

RYX
November 17th, 2006, 11:38 PM
Try to put these two lines into the "Screen"-section, not into "Device":
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"


And I don't have composite enabled in my xorg.conf. I don't know if its really needed.

cyberorg
November 18th, 2006, 07:23 AM
Try this how to

http://forum.beryl-project.org/topic-5066-sled-suse-xorg7

Make sure you disabled Xgl and try compiz package from here:

http://software.opensuse.org/download/home:/cyberorg/SUSE_Factory/

Run compiz with compiz --use-cow --replace gconf& gtk-window-decorator --replace&