LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Is Compiz Available For Debian? (https://www.linuxquestions.org/questions/debian-26/is-compiz-available-for-debian-563954/)

carlosinfl 06-23-2007 10:05 AM

Is Compiz Available For Debian?
 
I see the thread for getting Beryl installed on Debian

Link

However I think I was more comfortable using Compiz which is including with Ubuntu 7.04. It is not as much of a resource hog and I don't find all the options that necessary for me. I just enjoyed the cube desktop and wobbly windows and nothing more. Does anyone know if there is a guide or if it is even possible to get this installed on Lenny (Debian)?

**EDIT**

I just randomly search APT-GET and noticed I have it available:

Code:

tunafish:~# apt-cache search compiz
cairo-clock - An analog clock drawn with vector-graphics
compiz - OpenGL window and compositing manager
compiz-core - OpenGL window and compositing manager
compiz-dev - OpenGL window and compositing manager - development files
compiz-gnome - OpenGL window and compositing manager - GNOME window decorator
compiz-gtk - OpenGL window and compositing manager - Gtk window decorator
compiz-plugins - OpenGL window and compositing manager - plugins
libcm-dev - Support code for compositing managers - development files
libcm7 - Support code for compositing managers
pdfcube - PDF document viewer with 3D effects

But to be honest - I am not sure what else I would need to make this work and don't want to break my stable system by doing it wrong or not installing something else that is not listed as a required dependency.

Any suggestions?

war1025 06-23-2007 11:39 AM

http://wiki.debian.org/Compiz

nx5000 06-23-2007 12:56 PM

Currently beryl and compiz are merging.
Beryl releases have stopped appearing.
Debian has always gone in the direction of compiz and a lot of bugs have been corrected on it.
So there should be no problem with compiz.

I have several non-critical problems with beryl though..

I wonder what beryl+compiz will look like and hope it will be available in debian repos!

carlosinfl 06-23-2007 04:21 PM

Quote:

Originally Posted by war1025

I just followed that Wiki and it appears to be pretty straight forward but I don't seem to have any luck when I run the command

Code:

#compiz --replace
I am then no longer to move my terminal or browser windows around by their borders. It's like they disappear but everything else still works. I just log out - restart GDM / Gnome and log back in. Can someone tell me if my xorg.conf looks messed up or perhaps I put something in the wrong spot?

I have bolded all the modifications I made per the Wiki as to how I understood them to be - perhaps I was wrong.

***Begin xorg.conf file***

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
#Load "dri"
#Load "GLcore"

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
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 "Emulate3Buttons" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection


Section "Device"
Identifier "nVidia Corporation NVIDIA Default Card"
Driver "nvidia"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"

EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection


almatic 06-23-2007 04:38 PM

Quote:

Originally Posted by Carlwill
I am then no longer to move my terminal or browser windows around by their borders. It's like they disappear but everything else still works.

did you install window-decorator (like emerald or aquamarine) ? If yes, try starting like this
compiz --replace && emerald --replace
The decorator must be started separately (in beryl you can also start beryl-manager, which will start both, the window-manager and -decorator).

carlosinfl 06-23-2007 04:56 PM

Quote:

Originally Posted by almatic
did you install window-decorator (like emerald or aquamarine) ? If yes, try starting like this
compiz --replace && emerald --replace
The decorator must be started separately (in beryl you can also start beryl-manager, which will start both, the window-manager and -decorator).

I followed the Wiki linked above step by step and it never indicated I needed a window-manager so perhaps that is the problem. How do I know if I need one or already have it installed?

almatic 06-23-2007 05:17 PM

If you have installed the packets you listed in your first post you should have a decorator. Try this:

compiz --replace &

and then:

gtk-window-decorator --replace &

Does this work ?

carlosinfl 06-24-2007 12:54 PM

Quote:

Originally Posted by almatic
If you have installed the packets you listed in your first post you should have a decorator. Try this:

compiz --replace &

and then:

gtk-window-decorator --replace &

Does this work ?

When I run the first command, I get this in my terminal window:

Code:

tunafish:/# compiz --replace &
[1] 27141
tunafish:/# GLX_EXT_texture_from_pixmap is available with direct rendering.
/usr/bin/compiz.real: SmcOpenConnection failed: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

And I still loose all my terminal and borwser borders you would grab with your mouse to move them around. Everything is kind of stuck in its position with no window borders until I restart GDM/Gnome.

Any suggestions? I thought I did a good job of following the Wiki.

nx5000 06-24-2007 01:30 PM

Don't run it as root.

Currently it tells you that root cannot authenticate to your xserver because you probably logged on as user.

carlosinfl 06-24-2007 01:52 PM

Quote:

Originally Posted by nx5000
Don't run it as root.

Currently it tells you that root cannot authenticate to your xserver because you probably logged on as user.

I ran it again as me who is currently logged on:

Code:

cwilliams@tunafish:~$ compiz --replace &
[1] 4883
cwilliams@tunafish:~$ GLX_EXT_texture_from_pixmap is available with direct rendering.
gtk-window-decorator --replace &
[2] 4893
cwilliams@tunafish:~$ gtk-window-decorator: Could not acquire decoration manager selection on screen 0 display ":0.0"

Still have the same problem :scratch:

nx5000 06-24-2007 03:22 PM

I got bored because I had little problems with beryl, probably not due to beryl but the graphic card driver or xserver. So i stopped using it.
BUt now I discovered that the merge compiz/beryl has a new website:
http://www.opencompositing.org/

Tomorrow (I'm not on my machine now) I'll try compiz to see if I get the same problem as you and then I'll try this new stuff. Carlwill you could also post a message or search on their forum. good luck.
From what I have seen this is still development version but I've seen some screenshots, it's awesome!!
Some screenshots here

nx5000 06-25-2007 11:40 AM

Code:

$ pol compiz
compiz:
  Installé*: 0.2.2-1
  Candidat*: 0.2.2-1
 Table de version*:
 *** 0.2.2-1 0
        500 http://ftp.fr.debian.org etch/main Packages
        500 http://ftp.fr.debian.org testing/main Packages

0.2.2-1 while they are at version 0.5.
Pretty old!!

I tried it under kde.
Code:

compiz --replace&
And that's it, it works but slower than the beryl of a few months ago.
I will have to restart to try it under gnome, later.

Now I'm downloading Version 0.5.1 of 21 June of compiz from the git.

edit: Does not start: GLX_texture_from pixmap not detected. Applied a patch from fedora. Starts but white screen, Xserver crash.. not a good start..

edit2: trying compiz 0.5 from unstable: Nothing under kde, Under gnome: could not acquire blabla

JackieBrown 06-26-2007 09:42 PM

nx5000

david@david-u5elhtppf:~$ apt-cache policy compiz
compiz:
Installed: 0.5.0.dfsg-1
Candidate: 0.5.0.dfsg-1
Version table:
*** 0.5.0.dfsg-1 0
500 http://ftp.us.debian.org sid/main Packages
100 /var/lib/dpkg/status

nx5000 06-27-2007 05:56 AM

Yes JackieBrown, I installed the sid version:
Quote:

uhoh@debian:~$ apt-cache policy compiz
compiz:
Installé : 0.5.0.dfsg-1
Candidat : 0.5.0.dfsg-1
Table de version :
*** 0.5.0.dfsg-1 0
100 /var/lib/dpkg/status
0.2.2-1 0
500 http://ftp.fr.debian.org etch/main Packages
500 http://ftp.fr.debian.org testing/main Packages
Since Etch release, I went from unstable back to testing. I don't have much time anymore to play with unstable. And I had a kernel locking affecting MY pc in unstable. There are only a few people on the globe using my hardware. Now this package has gone to testing and the bug has hit me.
I will need to investigate this f****g kernel lockup myself. Linux DIY...

deepclutch 06-28-2007 09:51 AM

As for the new Compiz-fusion(compiz+beryl merger),there is yet to see a repository special to Debian Sid atleast.although Trevino's repo have compiz-fusion for ubuntu feisty.


All times are GMT -5. The time now is 05:58 PM.