| View previous topic :: View next topic |
| Author |
Message |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 3:18 pm Post subject: |
|
|
| Nihilus wrote: | Try skipping the pluralis in decorations; 'decoration' should be correct  |
The problem is that we both don't have the executable gnome-window-decorator. |
|
| Back to top |
|
 |
sleipner n00b

Joined: 13 Aug 2005 Posts: 48
|
Posted: Fri Feb 10, 2006 4:04 pm Post subject: |
|
|
| BlackEdder wrote: | | Nihilus wrote: | Try skipping the pluralis in decorations; 'decoration' should be correct  |
The problem is that we both don't have the executable gnome-window-decorator. |
its part of compiz. try emerging with gnome use flag. |
|
| Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 4:07 pm Post subject: |
|
|
| Does not help.. Do you have gnome already installed? |
|
| Back to top |
|
 |
sleipner n00b

Joined: 13 Aug 2005 Posts: 48
|
Posted: Fri Feb 10, 2006 4:14 pm Post subject: |
|
|
| i have gnome-light. do you use ebuild Nihilus made? |
|
| Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 4:23 pm Post subject: |
|
|
I used Hanno's ones and before that ji?? or something (other thread page 18?), I think these are the ones Nihilus links to in his post.
I'll try again tonight. |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Fri Feb 10, 2006 4:38 pm Post subject: |
|
|
The decoration plugin won't do anything with KDE yet, as there is no working kde-window-decorator. There is no shadow plugin, as I believe shadows are a part of the decorator.
So for the moment, if you want to get any useability out of compiz, you'll need Gnome. Glxcompmgr works fine with KDE for me, but was giving me black windows until Mesa was updated, and I patched it to not check for GLX_MESA_render_texture. I'm currently using pijalu's mesa-6.4.3_alpha20060209-r2 snapshot, and everything else from Hanno. |
|
| Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 4:41 pm Post subject: |
|
|
| But can't I use it as the window manager instead of xfce4's standard window manager? It might look a bit weird and have some quirks, but should work.. |
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Fri Feb 10, 2006 4:49 pm Post subject: |
|
|
These files are know to work under Gentoo and Debian-unstable running Xorg 6.9(!);
http://pi.nxs.se/~nihilus/ _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure 
Last edited by Nihilus on Fri Feb 10, 2006 4:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
poppa n00b

Joined: 09 Feb 2006 Posts: 12
|
Posted: Fri Feb 10, 2006 4:50 pm Post subject: |
|
|
Gah, I cant spend any time this morning. Gotta get to work.
It would be nice if someone collected the current working overlays and put them on the wiki
I may do it tonight if I can; and add what I found getting this up on my box.
###
I'm using the latest experimental driver for nvidia (I think):
| Code: |
[ebuild R ] media-video/nvidia-kernel-1.0.8178-r3 0 kB |
###
when I try and build compiz by hand I unpack it and run:
#./autogen --enable-gnome --enable-switcher
I get:
| Code: | ...
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... yes
checking for GL_CFLAGS...
checking for GL_LIBS... -lGL
checking for GCONF... yes
checking for PLACE... yes
checking for MENU... yes
checking for GNOME_WINDOW_DECORATOR... checking for KDE_WINDOW_DECORATOR... configure: creating ./config.status
config.status: creating compiz.pc
config.status: creating Makefile
...
...
the following optional plugins will be compiled:
gconf: yes
place: yes
menu: yes
svg: no
and the following optional features will be compiled:
gnome: no
kde: no
|
|
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Fri Feb 10, 2006 4:51 pm Post subject: |
|
|
| ianegg wrote: | The decoration plugin won't do anything with KDE yet, as there is no working kde-window-decorator. There is no shadow plugin, as I believe shadows are a part of the decorator.
So for the moment, if you want to get any useability out of compiz, you'll need Gnome. Glxcompmgr works fine with KDE for me, but was giving me black windows until Mesa was updated, and I patched it to not check for GLX_MESA_render_texture. I'm currently using pijalu's mesa-6.4.3_alpha20060209-r2 snapshot, and everything else from Hanno. |
Have you checked out latest compiz-sources? I donnu but it seems to be at least some KDE-decoration-code there (not built in my packages alas) :-/.
| Code: | mago@leary ~ $ ls /usr/portage/distfiles/cvs-src/compiz/kde/window-decorator/
CVS qdecorator.cpp qwmscreen.cpp qwmutils.h
main.cpp qdecorator.h qwmscreen.h qwmwindow.cpp
Makefile.am qdecorator.moc qwmutils.cpp qwmwindow.h
|
_________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
Mikos Tux's lil' helper


Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Fri Feb 10, 2006 5:10 pm Post subject: |
|
|
| BlackEdder wrote: | | But can't I use it as the window manager instead of xfce4's standard window manager? It might look a bit weird and have some quirks, but should work.. |
Yes, of course you can. Even in KDE (instead of kwin). _________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo  |
|
| Back to top |
|
 |
IWBCMAN Guru


Joined: 25 Jun 2002 Posts: 474
|
Posted: Fri Feb 10, 2006 5:20 pm Post subject: |
|
|
For those of you who are build compiz and finding no gnome-window-decorator upon compilation it turns out that compiz (the configure file generated by autogen.sh) looks for pangocairo.pc in /usr/lib/pkgconfig. So if you want to be able to use the gnome-window-decorator you must insure that cairo is installed and that gtk+ and pango are built against it (gtk+ depends on pango(which generates pangocairo.pc) which depends on cairo-the dependencies are more involved that what I show here but ....)
Once you install cairo and build pango and gtk+ against it voila gnome-window-decorator magically appears... |
|
| Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 5:27 pm Post subject: |
|
|
| IWBCMAN wrote: | For those of you who are build compiz and finding no gnome-window-decorator upon compilation it turns out that compiz (the configure file generated by autogen.sh) looks for pangocairo.pc in /usr/lib/pkgconfig. So if you want to be able to use the gnome-window-decorator you must insure that cairo is installed and that gtk+ and pango are built against it (gtk+ depends on pango(which generates pangocairo.pc) which depends on cairo-the dependencies are more involved that what I show here but ....)
Once you install cairo and build pango and gtk+ against it voila gnome-window-decorator magically appears... | I have cairo etc installed and pangocairo.pc exists | Code: | ls /usr/lib/pkgconfig/
...
-rw-r--r-- 1 root root 287 Jan 17 21:06 pangocairo.pc
.. | Still no gnome-window-decorator though. |
|
| Back to top |
|
 |
StringCheesian l33t

Joined: 21 Oct 2003 Posts: 887
|
Posted: Fri Feb 10, 2006 6:22 pm Post subject: |
|
|
| BlackEdder wrote: | | IWBCMAN wrote: | For those of you who are build compiz and finding no gnome-window-decorator upon compilation it turns out that compiz (the configure file generated by autogen.sh) looks for pangocairo.pc in /usr/lib/pkgconfig. So if you want to be able to use the gnome-window-decorator you must insure that cairo is installed and that gtk+ and pango are built against it (gtk+ depends on pango(which generates pangocairo.pc) which depends on cairo-the dependencies are more involved that what I show here but ....)
Once you install cairo and build pango and gtk+ against it voila gnome-window-decorator magically appears... | I have cairo etc installed and pangocairo.pc exists | Code: | ls /usr/lib/pkgconfig/
...
-rw-r--r-- 1 root root 287 Jan 17 21:06 pangocairo.pc
.. | Still no gnome-window-decorator though. |
According to brenden you need control-center too (I haven't tried XGL for a week or so, will try again soon). |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Fri Feb 10, 2006 6:24 pm Post subject: |
|
|
| Nihilus wrote: | | Have you checked out latest compiz-sources? I donnu but it seems to be at least some KDE-decoration-code there (not built in my packages alas) :-/. |
I've been watching http://cvs.freedesktop.org/xorg/app/compiz/kde/window-decorator/ with bated breath! No updates since yesterday though.
| BlackEdder wrote: | | IWBCMAN wrote: | For those of you who are build compiz and finding no gnome-window-decorator upon compilation it turns out that compiz (the configure file generated by autogen.sh) looks for pangocairo.pc in /usr/lib/pkgconfig. So if you want to be able to use the gnome-window-decorator you must insure that cairo is installed and that gtk+ and pango are built against it (gtk+ depends on pango(which generates pangocairo.pc) which depends on cairo-the dependencies are more involved that what I show here but ....)
Once you install cairo and build pango and gtk+ against it voila gnome-window-decorator magically appears... | I have cairo etc installed and pangocairo.pc exists | Code: | ls /usr/lib/pkgconfig/
...
-rw-r--r-- 1 root root 287 Jan 17 21:06 pangocairo.pc
.. | Still no gnome-window-decorator though. |
Same here  |
|
| Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2586 Location: Dutch enclave in Egham, UK
|
Posted: Fri Feb 10, 2006 6:26 pm Post subject: |
|
|
| StringCheesian wrote: | | According to brenden you need control-center too (I haven't tried XGL for a week or so, will try again soon). | I saw, but installing 60mb is too much for me. I tried to disable the check in configure, it then tries too build the decorator, but fails. So the next thing is to port the decorator to xfce4 I guess  |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Sat Feb 11, 2006 12:48 am Post subject: Re: XGL and NVIDIA |
|
|
| sque wrote: | So the resulting problem is that when you try to start compiz under xgl you get an error like this:
You are not the only one, there are many with that problem
| Code: | bash-2.05b# compiz
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display localhost:2.0
|
So if anyone have managed to bypass this error on NVIDIA!!!!! please tell us
===== COMMON ERRORS ======
I will start pointing out the common errors with a solution/workarround
#1.
Problem:
| Code: | bash-2.05b# compiz
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display localhost:2.0
|
Solution:
Put the LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ before compiz command line
| Code: | | LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz |
|
Both of those errors are exactly the same, shouldnt you take the first instance out to save confusion? You have to specify LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ or compiz won't work on nVidia, ATi or anything else, until the drivers support GLX_EXT_texture_from_pixmap. |
|
| Back to top |
|
 |
Donpasquale Apprentice


Joined: 03 Jan 2003 Posts: 150 Location: Munich
|
Posted: Sat Feb 11, 2006 2:02 am Post subject: |
|
|
i just tried to install everything. i have installed pailoś mesa and the other compiz, xgl ... xgl also starts up fine with some font warnings which is i suppose normal.
But if i want to start compiz it just segfaults. i tried to strace it but it is some mmap command which produces the segfault. could it be because of my sli system? |
|
| Back to top |
|
 |
Mikos Tux's lil' helper


Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Sat Feb 11, 2006 4:40 am Post subject: |
|
|
For all those with problems:
Do you have Composite extension in your xorg.conf enabled or disabled? It should be *disabled*. But I don't know if it is linked with your problems...
| Quote: | NVIDIA / proprietary driver "nvidia"
OpenGL acceleration does not work well with Composite being active. This option in /etc/X11/xorg.conf should be disabled if it had been enabled before. Note: Xgl supports Composite anyway, even if it is disabled in xorg.conf. FBO's can be used with this driver instead of pbuffers for XVideo acceleration. Enable this by changing DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:pbuffer" to DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:fbo" in /etc/sysconfig/displaymanager |
_________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo  |
|
| Back to top |
|
 |
Mikos Tux's lil' helper


Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Sat Feb 11, 2006 4:44 am Post subject: |
|
|
Btw. there was some change (linked to Xgl) in Mesa-cvs recently, maybe it can also help?
You can look here: http://sourceforge.net/mailarchive/forum.php?thread_id=9694910&forum_id=33172
| Code: | Log message:
commit to fixup MGL namespacing for XGL |
_________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo  |
|
| Back to top |
|
 |
wintersommer n00b

Joined: 28 May 2004 Posts: 33
|
Posted: Sat Feb 11, 2006 7:40 am Post subject: |
|
|
@ MIKOS: i know what you postet | but i tried all combinations (composite on/off , renderaccell on/off , allow GL with composite on/off)
still i get BLACK windows
anyone here who FIXED the black windows problem ? |
|
| Back to top |
|
 |
DeeZiD n00b

Joined: 18 Jun 2005 Posts: 34
|
Posted: Sat Feb 11, 2006 8:02 am Post subject: |
|
|
@wintersommer
which card do you have?
I reproduced this problem with Geforce2MX and Geforce4MX cards.
My new NVIDIA Geforce6600GT does'nt have this problem.
This must be a bug in Xgl or Mesa.
regards Dennis |
|
| Back to top |
|
 |
wintersommer n00b

Joined: 28 May 2004 Posts: 33
|
Posted: Sat Feb 11, 2006 8:53 am Post subject: |
|
|
| gforce 4 mx (black windows) build 11 Feb. 2 am. |
|
| Back to top |
|
 |
sque n00b

Joined: 18 Dec 2005 Posts: 21
|
Posted: Sat Feb 11, 2006 9:28 am Post subject: |
|
|
Geforce FX 5700 / MSI
Driver: 8178
Problem: Black Windows _________________ CAUTION: I am noob  |
|
| Back to top |
|
 |
utpark n00b

Joined: 14 Sep 2004 Posts: 15
|
Posted: Sat Feb 11, 2006 10:38 am Post subject: |
|
|
I resolve the problem of Black Windows.
# eselect opengl list
[1] nvidia *
[2] opengl
[3] xorg-x11
# eselect opengl set 3
# emerge compiz
# eselect opengl set 1
p.s. Sorry my poor english. |
|
| Back to top |
|
 |
|