View previous topic :: View next topic |
Author |
Message |
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
pvangarde n00b
Joined: 18 May 2005 Posts: 71
|
Posted: Tue Jul 03, 2007 8:04 pm Post subject: |
|
|
kernelOfTruth wrote: | OMG! this also works with ati!
(read this on some other thread)
eselect opengl set xorg-x11
then start compiz (yes it's strange but it works) |
This is difficult to believe... I'll try it at home |
|
Back to top |
|
|
KCE n00b
Joined: 04 Jul 2007 Posts: 38 Location: Los Angeles
|
Posted: Wed Jul 04, 2007 4:38 am Post subject: |
|
|
This is from the ArchLinux forums but I think it'll work here too (removed irrelevant steps):
Quote: | I finally got XFCE4 starting properly with Compiz-Fusion =D
The steps I followed (fairly close to the wiki's Beryl entry.. wish I'd known that beforehand =P ):
(iii) Edit /etc/xdg/xfce4-session/xfce4-session.rc
Code: | Replace:
Client0_Command=xfwm4
With:
Client0_Command=compiz-manager # this will run Emerald as well, so no need to run separately =) |
(iv) Your ~/.xinitrc entry should read:
Code: | exec dbus-launch --exit-with-session --auto-syntax startxfce4 |
(v) Remove any old sessions you've saved to avoid problems
Code: | rm -r ~/.cache/sessions/* |
Easy, huh? =)
Edit: By the way, you should disable session saving (Right-click desktop -> Settings -> Sessions and Startup Settings -> uncheck 'Automatically save...', then upon 'Quit' make sure you uncheck the 'Save session' box); it gums up the works with Compiz, seemingly.
- Dave
|
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Wed Jul 04, 2007 7:45 am Post subject: |
|
|
ok, i got it somehow working, weiered.
Beryl is much better now, from my point. Thx for the tips.
mesa must be compiled with xorg-x11 instead of ati. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Wed Jul 04, 2007 1:39 pm Post subject: |
|
|
fusion-icon is out.
does the same thing beryl-manager used to do.
it doesn't install the gtk frontends so modify it in /usr/bin/fusion-icon to use the qt3 or qt4 frontends.
it looks for the icon in /usr/share/pixmaps so copy the fusion-icon.png to that location
then in /etc/env.d/99kde
change the KDEWM line to
KDEWM=/usr/bin/fusion-icon
remember to env-update
no compiz-start or similar scripts anymore. _________________ this is a strange strange world. |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Wed Jul 04, 2007 4:13 pm Post subject: |
|
|
tranquilcool wrote: |
it doesn't install the gtk frontends so modify it in /usr/bin/fusion-icon to use the qt3 or qt4 frontends.
|
What? I looked in that file but I don't see any qt3 or qt4 frontends.
EDIT: Oh, I was running an older version ^_^;; _________________ I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Wed Jul 04, 2007 5:28 pm Post subject: |
|
|
sonicbhoc wrote: | tranquilcool wrote: |
it doesn't install the gtk frontends so modify it in /usr/bin/fusion-icon to use the qt3 or qt4 frontends.
|
What? I looked in that file but I don't see any qt3 or qt4 frontends.
EDIT: Oh, I was running an older version ^_^;; |
look in;
/usr/share/fusion-icon/
you'll see these files: fusion-icon-qt3.py fusion-icon-qt4.py libfusionicon.py
then modify;
/usr/bin/fusion-icon
this is my fusion-icon for example;
#!/bin/sh
#Compiz Fusion Icon Wrapper Script
#$(dirname $0)/../share/fusion-icon/fusion-icon-gtk.py
$(dirname $0)/../share/fusion-icon/fusion-icon-qt4.py
as you can see 'am using fusion-icon-qt4.py _________________ this is a strange strange world. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Wed Jul 04, 2007 5:37 pm Post subject: |
|
|
I compiled fusion-icon with qt3 and qt4 support and can find only fusion-icon-qt4.py in /usr/share/fusion-icon/
But I guess that is not the cause for compiz start fails here. I still get the error:
Code: | Executing: __GL_YIELD=nothing compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz (core) - Error: Another window manager is already running on screen: 0
compiz (core) - Fatal: No manageable screens found on display :0 |
I tried running compiz with strace but that doesn't give me more information. |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Wed Jul 04, 2007 6:23 pm Post subject: |
|
|
Does anyone have this error while compiling compiz-fusion-plugins-extra-9999
Code: | i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -march=pentium-m -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT bench.lo -MD -MP -MF .deps/bench.Tpo -c bench.c -fPIC -DPIC -o .libs/bench.o
bench.c:93: error: expected specifier-qualifier-list before 'PaintOutputProc'
bench.c: In function 'benchPaintOutput':
bench.c:186: error: 'CompScreen' has no member named 'paintOutput'
bench.c:186: error: 'BenchScreen' has no member named 'paintOutput'
bench.c:187: error: 'CompScreen' has no member named 'paintOutput'
bench.c:188: error: 'BenchScreen' has no member named 'paintOutput'
bench.c:188: error: 'CompScreen' has no member named 'paintOutput'
bench.c:188: error: 'CompScreen' has no member named 'paintOutput'
bench.c:199: warning: passing argument 2 of 'transformToScreenSpace' makes integer from pointer without a cast
bench.c: In function 'benchInitScreen':
bench.c:357: error: 'BenchScreen' has no member named 'paintOutput'
bench.c:357: error: 'CompScreen' has no member named 'paintOutput'
bench.c:357: error: 'CompScreen' has no member named 'paintOutput'
bench.c: In function 'benchFiniScreen':
bench.c:463: error: 'CompScreen' has no member named 'paintOutput'
bench.c:463: error: 'BenchScreen' has no member named 'paintOutput'
make[3]: *** [bench.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/bench'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
!!! ERROR: x11-plugins/compiz-fusion-plugins-extra-9999 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
compiz-fusion-plugins-extra-9999.ebuild, line 48: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/root/portage/log/x11-plugins:compiz-fusion-plugins-extra-9999:20070704-181639.log'.
!!! This ebuild is from an overlay: '/usr/portage/local/layman/xeffects' |
|
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Wed Jul 04, 2007 8:31 pm Post subject: |
|
|
Stormkings wrote: | I compiled fusion-icon with qt3 and qt4 support and can find only fusion-icon-qt4.py in /usr/share/fusion-icon/
But I guess that is not the cause for compiz start fails here. I still get the error:
Code: | Executing: __GL_YIELD=nothing compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz (core) - Error: Another window manager is already running on screen: 0
compiz (core) - Fatal: No manageable screens found on display :0 |
I tried running compiz with strace but that doesn't give me more information. |
the error says; Another window manager is already running on screen: 0
you have to kill all window managers and if you modified the 99kde don't forget to do
env-update.
make sure you don't have beryl-manager or other beryl stuff hanging around. _________________ this is a strange strange world. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Wed Jul 04, 2007 9:37 pm Post subject: |
|
|
tranquilcool wrote: |
the error says; Another window manager is already running on screen: 0
you have to kill all window managers and if you modified the 99kde don't forget to do
env-update.
make sure you don't have beryl-manager or other beryl stuff hanging around. |
Well, I tried all that. kwin is running and should be replaced by compiz. I cleaned the system to get rid of the beryl stuff. I have no idea anymore. Some people have the same problem but nobody seem do have a solution yet. |
|
Back to top |
|
|
maximan Tux's lil' helper
Joined: 29 Nov 2005 Posts: 110 Location: Rio Cuarto-Argentina
|
Posted: Thu Jul 05, 2007 1:38 am Post subject: |
|
|
Hi I try compiz-fusion and it's great!. But now i want to uninstall compiz-fusion and return to beryl. How i can uninstall with the best way to clean it?.
regards.
M. _________________ Maxi. |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Thu Jul 05, 2007 2:53 am Post subject: |
|
|
maximan wrote: | Hi I try compiz-fusion and it's great!. But now i want to uninstall compiz-fusion and return to beryl. How i can uninstall with the best way to clean it?.
regards.
M. |
well you should have had to specifically keyword each ebuild to get all of compiz-fusion. I'd start with emerge -C on all of those... |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 7:20 am Post subject: |
|
|
Stormkings wrote: | tranquilcool wrote: |
the error says; Another window manager is already running on screen: 0
you have to kill all window managers and if you modified the 99kde don't forget to do
env-update.
make sure you don't have beryl-manager or other beryl stuff hanging around. |
Well, I tried all that. kwin is running and should be replaced by compiz. I cleaned the system to get rid of the beryl stuff. I have no idea anymore. Some people have the same problem but nobody seem do have a solution yet. |
i would like to know how you start compiz and if you have start-scripts lying around you computer. _________________ this is a strange strange world. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Thu Jul 05, 2007 8:30 am Post subject: |
|
|
I started compiz in a console from running KDE session and I tried killing kwin before. None of these methods work. Starting from fusion-icon or this compiz-wrapper script doesn't work either. It's hard to tell if there is any beryl config file lying around. I removed everything related to beryl or compiz before I installed compiz-fusion.
Here are the commands I tried (each line a single command):
Code: |
__GL_YEILD=NOTHING compiz --replace --sm-disable --loose-binding ccp &
compiz --replace &
compiz --use-copy &
compiz --loose-binding --sm-disable --replace &
__GL_YEILD="NOTHING" compiz --replace --sm-disable --ignore-desktop-hints ccp &
__GL_YEILD="NOTHING" compiz --replace --display 0 --sm-disable --ignore-desktop-hints ccp &
LD_LIBRARY_PATH=/usr/lib/ compiz --replace ccp
compiz --replace gconf &
compiz --replace ini &
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace dbus csm &
compiz --display 0 --replace &
|
I think that is almost all I could find on the internet. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 9:25 am Post subject: |
|
|
Stormkings wrote: | I started compiz in a console from running KDE session and I tried killing kwin before. None of these methods work. Starting from fusion-icon or this compiz-wrapper script doesn't work either. It's hard to tell if there is any beryl config file lying around. I removed everything related to beryl or compiz before I installed compiz-fusion.
Here are the commands I tried (each line a single command):
Code: |
__GL_YEILD=NOTHING compiz --replace --sm-disable --loose-binding ccp &
compiz --replace &
compiz --use-copy &
compiz --loose-binding --sm-disable --replace &
__GL_YEILD="NOTHING" compiz --replace --sm-disable --ignore-desktop-hints ccp &
__GL_YEILD="NOTHING" compiz --replace --display 0 --sm-disable --ignore-desktop-hints ccp &
LD_LIBRARY_PATH=/usr/lib/ compiz --replace ccp
compiz --replace gconf &
compiz --replace ini &
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace dbus csm &
compiz --display 0 --replace &
|
I think that is almost all I could find on the internet. |
my friend i don't understand what you are trying to do.
i don't see emerald and compiz doesn't start emerald. you're giving yourself a hell of a problem.
you cat start compiz with this script in /usr/local/bin;
compiz --replace --sm-disable --ignore-desktop-hints ccp &
emerald --replace &
call it compizmeup or whatever you want
.
chmod+x the script
then modify the KDEWM line/etc/env.d/99kde-env
to read;
KDEWM=/usr/local/bin/compizmeup
then do;
env-update, and reboot or kill wm with ctrl+alt+F7
OR just modify fusion-icon;
#!/bin/sh
#Compiz Fusion Icon Wrapper Script
#$(dirname $0)/../share/fusion-icon/fusion-icon-gtk.py
$(dirname $0)/../share/fusion-icon/fusion-icon-qt4.py
then modify /etc/end.d/99ked.env;
KDEWM=/usr/bin/fusion-icon
then env-update, reboot or kill wm with ctrl+alt+F7
if you don't see the fusion-icon icon; copy it wherever you have it (fusion-icon.png) to;
/usr/share/pixmaps/
with fusion-icon you can choose to run compiz or kwin on the fly.
that's all i can help. obviously you can go on doing it your messed up way buddy.
EDIT: now fusion-icon installs cleanly so you don't have to edit /usr/bin/fusion-icon. _________________ this is a strange strange world. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Thu Jul 05, 2007 9:55 am Post subject: |
|
|
Hi,
before I put compiz in 99kde-env I want to start it manually. Thats what I am trying to do here. Compiz itself does not start. It keeps on telling me there were no screens to manage. It does not replace kwin nor does it start when I kill kwin before. And before compiz isn't running why should is start emerald?
All these commands in the box above are supposed to do the same. I tried every command on its own. Maybe it wasn't clear enough to collect them that way. Thanks for the help anyway.
EDIT: Tried it your way, the second way you offered. Still I get no window decoration and compiz refuses to run. Then I started fusion-icon in a console, the icon shows up in system tray but still no compiz. I can read again the same error message as mentioned before.
Code: | start_wm compiz
* nvidia found, exporting: __GL_YIELD=nothing
Executing: __GL_YIELD=nothing compiz --replace --sm-disable --ignore-desktop-hints ccp
QMultiInputContext::changeInputMethod(): index=0, slave=xim
compiz (core) - Error: Another window manager is already running on screen: 0
compiz (core) - Fatal: No manageable screens found on display :0
* setting decorator to emerald --replace
* setting decorator to kde-window-decorator --replace
start_wm kwin
|
Last edited by Stormkings on Thu Jul 05, 2007 10:05 am; edited 1 time in total |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 10:02 am Post subject: |
|
|
Stormkings wrote: | Hi,
before I put compiz in 99kde-env I want to start it manually. Thats what I am trying to do here. Compiz itself does not start. It keeps on telling me there were no screens to manage. It does not replace kwin nor does it start when I kill kwin before. And before compiz isn't running why should is start emerald?
All these commands in the box above are supposed to do the same. I tried every command on its own. Maybe it wasn't clear enough to collect them that way. Thanks for the help anyway. |
compiz itself isn't a window decorator that's why you need to start emerald after compiz. you have to kill kdm if it isn't what you mean by killing kwin. remember if you do ctrl+alt+F7 kdm just gets killed but restarts itself immediately so compiz wont start 'cos kdm is running. _________________ this is a strange strange world. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 10:14 am Post subject: |
|
|
try your start sequences in a running xsession after doing;
# DISPLAY=:1 xterm &
in an xterm. _________________ this is a strange strange world. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Thu Jul 05, 2007 10:20 am Post subject: |
|
|
tranquilcool wrote: |
compiz itself isn't a window decorator that's why you need to start emerald after compiz. you have to kill kdm if it isn't what you mean by killing kwin. remember if you do ctrl+alt+F7 kdm just gets killed but restarts itself immediately so compiz wont start 'cos kdm is running. |
Don't worry I know that. But why should I kill kdm? I don't have a running X then. When I used beryl I could simply replace kwin with beryl. Did it change? |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 10:51 am Post subject: |
|
|
Stormkings wrote: | tranquilcool wrote: |
compiz itself isn't a window decorator that's why you need to start emerald after compiz. you have to kill kdm if it isn't what you mean by killing kwin. remember if you do ctrl+alt+F7 kdm just gets killed but restarts itself immediately so compiz wont start 'cos kdm is running. |
Don't worry I know that. But why should I kill kdm? I don't have a running X then. When I used beryl I could simply replace kwin with beryl. Did it change? |
kdm means an xsession is running. _________________ this is a strange strange world. |
|
Back to top |
|
|
Diredicker n00b
Joined: 26 Apr 2006 Posts: 31 Location: NL
|
Posted: Thu Jul 05, 2007 10:55 am Post subject: |
|
|
Hmm anyone having problems emerge emerald???
I'm getting this error everytime
Code: | * repository: git://anongit.opencompositing.org/fusion/decorators/emerald
fatal: Unable to look up git.gentoo-xeffects.org (port 9418) (Name or service not known)
Cannot get the repository state from git://git.gentoo-xeffects.org/beryl/emerald
!!! ERROR: x11-wm/emerald-9999 failed.
|
The other stuff to get compiz-fusion worked fine
Is the repository down ? |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Thu Jul 05, 2007 12:51 pm Post subject: |
|
|
I got it running but don't ask me how I did it. First I tried on a second xsession, same error messages. Then I killed X and executed "/etc/X11/xdm/Xreset". Next time I logged into kde from kdm compiz was running. Thanks for the help.
@Diredicker
It looks like the emerald ebuild is trying to checkout beryl from the old repository.
Here it shows: * repository: git://anongit.opencompositing.org/fusion/decorators/emerald
When I had a similar error like yours I deleted the layman overlay and added it again. |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Thu Jul 05, 2007 1:32 pm Post subject: |
|
|
pvangarde wrote: | I can't seem to get this working. Please help.
Here's some history: I had beryl before trying to emerge compiz-fusion. I did the equivalent of emerge --unmerge beryl-*. I followed the gentoo wiki guide and also the xeffects howto. I use gnome 2.16, suspend2-sources 2.16.21, ati-drivers-8.37.6, amd64 machine. I believe my xgl is working, though I'll verify that later today. (I did have beryl working for a while). Anyway, I use startxgl, as described in the xgl howto, and then do this:
Code: | compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0
|
I get the same output if I just run compiz.
I've tried to fix this in numerous ways, compiz keeps segfaulting (as indicated by dmsg). I've tried --no-replace --use-root-window --sm-disable, but none of that works. Oh yes, I'm trying to do this from the root window before it becomes usable to users. Please help! What libraries should I recompile (both xgl/compiz) or what should I remove (beryl leftovers?)?
EDIT: the code for compiz-manager |
for us with ati-drivers, instead of `eselect opengl set xorg-x11' after starting xgl, there is another way:
Code: | LD_PRELOAD=/usr/lib/opengl/xorg-x11/lib/libGL.so startcompiz(or whatever you use to start compiz) |
for example, if you use fusion-icon you can append this line inside it:
Code: |
#!/bin/sh
#Compiz Fusion Icon Wrapper Script
LD_PRELOAD=/usr/lib/opengl/xorg-x11/lib/libGL.so $(dirname $0)/../share/fusion-icon/fusion-icon-gtk.py
|
and then put it in autostarted apps |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Jul 05, 2007 2:27 pm Post subject: |
|
|
Diredicker wrote: | Hmm anyone having problems emerge emerald???
I'm getting this error everytime
Code: | * repository: git://anongit.opencompositing.org/fusion/decorators/emerald
fatal: Unable to look up git.gentoo-xeffects.org (port 9418) (Name or service not known)
Cannot get the repository state from git://git.gentoo-xeffects.org/beryl/emerald
!!! ERROR: x11-wm/emerald-9999 failed.
|
The other stuff to get compiz-fusion worked fine
Is the repository down ? |
maybe you should open your firewall port for git. it's port 9418 tcp _________________ this is a strange strange world. |
|
Back to top |
|
|
|