Code: Select all
Option "RenderAccel" "true"
Code: Select all
Option "RenderAccel" "true"
some package (be that cairo or one of cairo's dependencies) is trying to pull in xorg 6.8.2 because you didn't unmask that specific package. go over all packages, starting at the bottom of the list and unmask them until it doesn't pull in xorg 6.8.2 anymore.djcronos wrote:I've been trying to get XGL to work, and am stuck on the part on installing Cairo. Whenever I do an emerge -v1a cairo, it's telling me I need to downgrade my Xorg 7.0 install to 6.8.2-r6. I checked the /etc/portage/package.keywords and xorg-x11 has ~x86 added to it.
I also added <=virtual/x11-6.8 to my /etc/portage/package.mask and still get this problem.
Why is cairo wanting to downgrade Xorg and how do I fix this?
Thanks in advance.
Code: Select all
FEATURES="-strict" emerge xgl -vCode: Select all
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -DHAVE_DIX_CONFIG_H -DUSE_MMX -mmmx -msse -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -Os -march=i686 -pipe -MT libfbmmx_la-fbmmx.lo -MD -MP -MF .deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c -fPIC -DPIC -o .libs/libfbmmx_la-fbmmx.o
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
make[1]: *** [libfbmmx_la-fbmmx.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-0.0.1_p20060418/work/xgl-xorg/fb'
make: *** [all-recursive] Error 1
!!! ERROR: x11-base/xgl-0.0.1_p20060418 failed.
Call stack:
ebuild.sh, line 1521: Called dyn_compile
ebuild.sh, line 924: Called src_compile
ebuild.sh, line 1233: Called x-modular_src_compile
x-modular.eclass, line 320: Called x-modular_src_make
x-modular.eclass, line 315: Called die
!!! emake failed
If by "not working" you mean that you have a blank window in java swing applications, you can try this solution http://compiz.net/viewtopic.php?id=282.Henning Rogge wrote:I hit a roadblock, some of my java-programms (java 1.5) are not working with the XGL server... until the problem can be solved I have to switch back to the normal X Server.
I have another question, is it right that XGL doesn't support screen rotation (XRANDR) ?

can I do this after the XGL Server is running (both XGL and compiz are started during the boot process on my system).stask wrote:[If by "not working" you mean that you have a blank window in java swing applications, you can try this solution http://compiz.net/viewtopic.php?id=282.
You'll need to wait while your java application is started before running compiz --replace gconf.
Yes you should do it while both XGL and compiz are running. You can do it with a script, but depending on your java applications you will need to adjust the "sleep" - 10 seconds might be not enough.Henning Rogge wrote: can I do this after the XGL Server is running (both XGL and compiz are started during the boot process on my system).

Hmm... that doesn't sound like a sollution for interactive java programms.stask wrote:Yes you should do it while both XGL and compiz are running. You can do it with a script, but depending on your java applications you will need to adjust the "sleep" - 10 seconds might be not enough.
Yes, you right, it's a workaround, not a solution. I'm using it to start my IDE for instance. Normally i'm not closing it at all, so i need to perform this "dance" only once a day. As soon as the java application is started it works properly (i.e. new windows are showed ok).Henning Rogge wrote: Hmm... that doesn't sound like a sollution for interactive java programms.
And developement of Swing applications will become a pain in the ass too.


Code: Select all
USE="-mmx" emerge -av xgl
Code: Select all
eclipse-3.2 &
exec /usr/bin/fluxboxCode: Select all
#!/bin/bash
xinit -- :1

You can get the new plugins from quinns cvs hereMaximus2000 wrote:Hi,
Has anyone seen this in the Ubuntu Forums?..... http://ubuntuforums.org/showthread.php?t=169179. I have I am using Coffees-testing overlay and XGL and Compizs fully upto date. How can I get this to work? Has anyone got this working?
That was me.Biteableniles wrote:Just an FYI,
Code: Select all
USE="-mmx" emerge -av xgl
fixed my xgl build error. I don't know why; somebody on the xgl-coffee forum posted that they were having the same build error on version xgl-0.0.1_p20060414; why I didn't have an error with MMX then when I do now, who knows.

Code: Select all
ServerCmd=/usr/bin/Xgl -br -kb -ac -accel glx:pbuffer -accel xv


Sorry, I should have read your posting more carefully... I was a little bit tired when I wrote my last post.mutlu_inek wrote:Well, that is what I wrote. I am aware of that. All I want to know is whether I can safly remove the switch (and the warning) from the HOWTO or not (because maybe some people need this switch for whatever).
Code: Select all
startxgl 1 kde atiCode: Select all
compiz --replaceCode: Select all
gnome-window-decoratorI don't use the '1' option with my gnome XGL.. try:CloudBolt wrote:right, seems I have a strange problem, I've been trying to get XGL working with KDE, using the default startxgl script(the one in $OVERLAY/xgl-coffee/startxgl). I've symlinked it to /usr/bin, so I can run it by just typing startxgl [options]. when runningthough, the XGL server starts up cleanly, but compiz doesn't, and neither does GNOME-window-decorator. it just starts an XGL server with KDE using kwin. the strange thing is there are no errors to be found anywhere, and when runningCode: Select all
startxgl 1 kde atiandCode: Select all
compiz --replacefrom a couple of shells everything works fine, including plugins. it just requires annoying manual labour.Code: Select all
gnome-window-decorator
Code: Select all
startxgl kde atithat doesn't work, because then it tries to open display number: kde using window manager: ati and no video card selected. It does start XGL though, but still not starting compiz and gnome-window-decorator.Joffer wrote:I don't use the '1' option with my gnome XGL.. try:CloudBolt wrote:right, seems I have a strange problem, I've been trying to get XGL working with KDE, using the default startxgl script(the one in $OVERLAY/xgl-coffee/startxgl). I've symlinked it to /usr/bin, so I can run it by just typing startxgl [options]. when runningthough, the XGL server starts up cleanly, but compiz doesn't, and neither does GNOME-window-decorator. it just starts an XGL server with KDE using kwin. the strange thing is there are no errors to be found anywhere, and when runningCode: Select all
startxgl 1 kde atiandCode: Select all
compiz --replacefrom a couple of shells everything works fine, including plugins. it just requires annoying manual labour.Code: Select all
gnome-window-decoratorCode: Select all
startxgl kde ati