You are not logged in.
!!! UPDATE !!!
So here is another update of my Xgl PKGBUILDs. Now it contains also cairo-cvs (and it is added to dependencies in compiz-cvs PKGBUILD). startxgl script is now included in tarball too.
Download: http://mikos.sg1.cz/arch/xgl-abs-overla … 5-3.tar.gz
Offline
Cimi wrote:I have two problems with startxgl script:
1) how i can set charset iso8859-15?
2) how i can have more than one desktop in the applet in the gnome-panel?and if i want to use metacity with xgl i have to build glxcompmgr??
1) Xgl/Compiz have nothing to do with your locale. What is your exact problem? If it is X server keymap, you can try to add for example this line to startxgl:
DISPLAY=:$xgldisplay setxkbmap -model pc105 -layout cz,us -option grp_led:scroll,grp:alt_shift_toggle
2) You can swith desktops with CTRL+ALT+LEFT/RIGHT (or CTRL+ALT+Left mouse button on desktop). But applet in gnome-panel doesn't work :-( Or strictly speaking it works, but you can see only one big desktop. But you can see on Novell video from XDevConf, that desktop switching applet works, so maybe it must be only patched (but there aren't patches yet).
3) You can't use glxcompmgr, because it is now unmaintained and incompatible with latest Xgl. So now you have only one choice - Compiz.
sorry, now this is my startxgl
#!/bin/bash
DISPLAY=:$xgldisplay setxkbmap -model pc105 -layout it -option grp_led:scroll,grp:alt_shift_toggle
USE_COLOR=1
msg() {
if [ $USE_COLOR -eq 1 ]; then
echo -e "33[1;32m==>33[1;0m 33[1;1m$133[1;0m" >&2
else
echo "==> $1" >&2
fi
}
if [ -z "$1" ]; then
xgldisplay=1
else
xgldisplay=$1
fi
# OpenGL settings (for nVidia cards)
#export __GL_FSAA_MODE=1
#export __GL_LOG_MAX_ANISO=2
#export __GL_SYNC_TO_VBLANK=1
msg "Starting XGL at display :$xgldisplay"
Xgl :$xgldisplay -ac -accel xv -accel glx:pbuffer &
sleep 1
msg "Starting Compiz (window and composite manager)"
DISPLAY=:$xgldisplay LD_LIBRARY_PATH=/opt/mesa-cvs/lib/ compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
sleep 1
echo "Starting gnome-window-decorator"
DISPLAY=:$xgldisplay gnome-window-decorator &
sleep 1
echo "Starting gnome-session"
DISPLAY=:$xgldisplay gnome-session & nautilus
what is wrong_
Offline
I have just managed to start xgl with compiz from your package builds (from which I am typing this now), thankyou very much.
I did not however need to install cairo-cvs as others seem to.
The only problem I have is that I have no window decorations ( I am using your original startxgl script), although I will have a play around with that now.
Offline
Cimi: But wht is wrong? What doesn't work for you? I can see only one error in your startxgl script:
DISPLAY=:$xgldisplay gnome-session & nautilus
There shouldn't be nautilus, only gnome-session. Nautilus (for desktop icons and wallpaper) is started by gnome-session automatically. And btw. you can't use metacity, because Compiz is window manager by itself (so metacity is replaced by compiz).
If you want to use some non-english keymap, you can add something like this to your startxgl script (this is for Czech and English keymap, switching is realised by ALT+SHIFT):
DISPLAY=:$xgldisplay setxkbmap -model pc105 -layout cz,us -option grp_led:scroll,grp:alt_shift_toggle
(you should add it right after that gnome-window-decorator line)
Offline
I have just managed to start xgl with compiz from your package builds (from which I am typing this now), thankyou very much.
I did not however need to install cairo-cvs as others seem to.
The only problem I have is that I have no window decorations ( I am using your original startxgl script), although I will have a play around with that now.
Well, maybe if you recompile compiz-cvs after cairo-cvs, you will have your window decorations ;-) Try it, you will see... maybe it will not work for you, but maybe it will...
And btw. what is you graphics card?
Offline
Cimi: But wht is wrong? What doesn't work for you? I can see only one error in your startxgl script:
DISPLAY=:$xgldisplay gnome-session & nautilus
There shouldn't be nautilus, only gnome-session. Nautilus (for desktop icons and wallpaper) is started by gnome-session automatically. And btw. you can't use metacity, because Compiz is window manager by itself (so metacity is replaced by compiz).
If you want to use some non-english keymap, you can add something like this to your startxgl script (this is for Czech and English keymap, switching is realised by ALT+SHIFT):
DISPLAY=:$xgldisplay setxkbmap -model pc105 -layout cz,us -option grp_led:scroll,grp:alt_shift_toggle
(you should add it right after that gnome-window-decorator line)
nautilus don-t start automatically
Offline
Mikos wrote:Cimi: But wht is wrong? What doesn't work for you? I can see only one error in your startxgl script:
DISPLAY=:$xgldisplay gnome-session & nautilus
There shouldn't be nautilus, only gnome-session. Nautilus (for desktop icons and wallpaper) is started by gnome-session automatically. And btw. you can't use metacity, because Compiz is window manager by itself (so metacity is replaced by compiz).
If you want to use some non-english keymap, you can add something like this to your startxgl script (this is for Czech and English keymap, switching is realised by ALT+SHIFT):
DISPLAY=:$xgldisplay setxkbmap -model pc105 -layout cz,us -option grp_led:scroll,grp:alt_shift_toggle
(you should add it right after that gnome-window-decorator line)
nautilus don-t start automatically
and the keymap is still dont working
Offline
i have been trying to get Xgl to work on my laptop from the PKGBUILDS Mikos provided (thanks!). I have an intel 855GM graphics card, which uses the i810 driver. I always get this "Fatal server error: no screens found" error.
~>Xgl :1 -ac -accel glx:pbuffer -accel xv
Fatal server error:
no screens found
~>Xgl :1 -ac
Fatal server error:
no screens found
This is from running Xgl in a terminal window in X. I tried running it from the console, but the same thing happens (I also get some errors about GLcore and speedo modules not loading, if i dont comment those lines out in xorg.conf.)
Am I missing something obvious here? Do I need to modify my xorg.conf or something? Normal opengl programs and the compositing manager work fine.
Thanks
EDIT
with the mesa-cvs version, I get:
~>LD_PRELOAD=/opt/mesa-cvs/lib/libGL.so.1 Xgl :1 -ac
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 94
Current serial number in output stream: 95
~>LD_PRELOAD=/usr/lib/libGL.so.1 Xgl :1 -ac
Fatal server error:
no screens found
Offline
mesa-cvs won't build it needs libX11 and doesn't find it. I only have it in /usr/X11R6, guess that's not the right one. What to do?
EDIT:
You should add a dependency to libx11 >= 1.0.0-1 to mesa-cvs package! :-)
Offline
I have one error when I build xgl-cvs:
xdmcp.c:(.text+0x194e): undefined reference to `XdmcpReadCARD8'
xdmcp.c:(.text+0x1969): undefined reference to `XdmcpReadCARD32'
xdmcp.c:(.text+0x19b8): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x19d7): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1a53): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1a72): undefined reference to `XdmcpReadARRAY8'
xdmcp.c:(.text+0x1af3): undefined reference to `XdmcpReadARRAY8'
../../os/.libs/libos.a(xdmcp.o):xdmcp.c:(.text+0x1b25): more undefined references to `XdmcpReadARRAY8' follow
collect2: ld returned 1 exit status
make[3]: *** [Xgl] Error 1
Thanks for help
Offline
look up a little earlier in the error. you will probably find something along the lines of "X11/extensions/blahblah.h not found".
use pacman -Qo /usr/include/X11/extionsions/blahblah.h to find which package this belongs to, and then reinstall it.
Offline
with the cairo-cvs it worked for me
thank you, Vins
Offline
I had to install libxrandr (new version!) and others by hand. Please note that not everybody who wants to use this PKGBUILDs is up-to-date in whole testing (and wants to be).
To build this, I added [testing] and did pacman -Sy, but *not* pacman -Syu.
I suggest to use versioning in your dependancies.
Offline
FoPref:
looks like you're not using the testing repo at all.
btw, 2 things:
* i can't get window-decorations to work, meaning i do not have a border around all windows which makes an X session unusable for me. "wobbling" works though. cairo-cvs did not fix this nor relaxing the cflags for *all* packages.
* i can provide some hosting-space to provide binary packages.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
Sure I do, but only for packages related to Xgl.
Offline
FoPref:
sorry bout that, i was all confused by missing window borders that i messed up while reading this the posts in here. :cry:
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
look up a little earlier in the error. you will probably find something along the lines of "X11/extensions/blahblah.h not found".
use pacman -Qo /usr/include/X11/extionsions/blahblah.h to find which package this belongs to, and then reinstall it.
I don't see any error with missing extension. These errors are in xorg/hw/xgl directory.
make[3]: Entering directory `/home/src/xgl/xgl-abs-overlay-20060215-2/xgl-cvs/src/xserver-build/xorg/hw/xgl'
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -DXGLServer -DHAVE_XGL_CONFIG_H -DHAVE_DIX_CONFIG_H -I../../GL/glx -I../../GL/include -I/home/src/xgl/xgl-abs-overlay-20060215-2/xgl-cvs/src/Mesa-build/include -I/home/src/xgl/xgl-abs-overlay-20060215-2/xgl-cvs/src/Mesa-build/src/mesa/glapi -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 -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s -o Xgl -export-dynamic xglinit.o miinitext.o dpmsstubs.o stubs.o fbcmap.o libxgl.a ../../dix/libdix.la -lXfont -lXau -lfontenc -lXdmcp -lm -lz ../../fb/libfb.la ../../mi/libmi.la ../../composite/libcomposite.la ../../xfixes/libxfixes.la ../../Xext/libXext.la ../../dbe/libdbe.la ../../XTrap/libxtrap.la ../../record/librecord.la ../../render/librender.la ../../randr/librandr.la ../../damageext/libdamageext.la ../../miext/damage/libdamage.la ../../miext/cw/libcw.la ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../xkb/libxkb.la ../../xkb/libxkbstubs.la ../../dix/libxpstubs.la ../../os/libcwrapper.la ../../os/libos.la -ldl -lglitz -lm -lm
i686-pc-linux-gnu-gcc -DXGLServer -DHAVE_XGL_CONFIG_H -DHAVE_DIX_CONFIG_H -I../../GL/glx -I../../GL/include -I/home/src/xgl/xgl-abs-overlay-20060215-2/xgl-cvs/src/Mesa-build/include -I/home/src/xgl/xgl-abs-overlay-20060215-2/xgl-cvs/src/Mesa-build/src/mesa/glapi -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 -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s -o Xgl xglinit.o miinitext.o dpmsstubs.o stubs.o fbcmap.o -Wl,--export-dynamic libxgl.a ../../dix/.libs/libdix.a -lXfont -lXau -lfontenc -lXdmcp -lz ../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../../composite/.libs/libcomposite.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libcwrapper.a ../../os/.libs/libos.a -ldl -lglitz -lm
../../os/.libs/libos.a(auth.o): In function `CheckAuthorization':
Maybe it is glitz-cvs?
BTW my system is up-to-date testing/current.
Thanks
Offline
Well, maybe if you recompile compiz-cvs after cairo-cvs, you will have your window decorations ;-) Try it, you will see... maybe it will not work for you, but maybe it will...
And btw. what is you graphics card?
Yes, sorry I should have read the thread a bit better, using cairo-cvs made the window decorations work, thank you.
I am using an Nvidia 6800.
Now if only compiz was xinerama aware this would be even better.
Offline
Hi,
now I got it running!
* compiz has some stability problems and strange behaviour
* glitz-cvs & cairo-cvs break all my gtk applications (segfault on startup)
* xorg 7 has problems with kbd on my system
* xgl eats up lots of my cpu (like 20 %) when action is going on
* the effects are really great and intuitive, but while something is in action it is blurred badly, this is a GL problem, GL texture lookups and interpolation aren't very accurate
* the expose-like feature and alt+tab are really great tools and increase usabilty
* there are also drawing/doublebuffering issues and I doubt they are only present on my system
I have no use for this in it's actual state but let's see what it gets like after it has matured. It will surely be mature and usable before Windows Vista comes out
Have fun,
Johannes
Offline
Has anyone made any packages they'd like to share? The packages seem to have made it into Ubuntu's universe repository so I tried it out on my laptop with a Radeon Mobility 9600 and it worked perfectly, no strange CPU usage or blurry windows etc. It was just really cool. Would love to try it on my Arch box with an nVidia card.
I have made PKGBUILDs, you can download it here and compile it:
http://mikos.sg1.cz/arch/xgl-abs-overla … 5-3.tar.gz
But remember - you must have your Arch system updated to <i>testing</i> (especially X.Org 7.0).
Offline
Hi,
* compiz has some stability problems and strange behaviour
* glitz-cvs & cairo-cvs break all my gtk applications (segfault on startup)
* xorg 7 has problems with kbd on my system
* xgl eats up lots of my cpu (like 20 %) when action is going on
* there are also drawing/doublebuffering issues and I doubt they are only present on my system
Well, I don't have any of these problems. Stability of compiz is perfect for me (I had it running for all day without problems), no strange behaviour. Glitz-cvs and cairo-cvs didn't break any of my GTK applications. I have X.Org 7.0 for a long time now (long before Xgl - I am running testing system) and it works great (better than old X.Org 6.8 ) and without problems. And I don't have any drawing/doublebuffering issues with Xgl.
What is your graphics card? I have nVidia GeForce FX-5600 (but I am using older 1.0.7676 drivers - new drivers works better, but gives me some tearing in XV video playback with them).
Offline
FoPref wrote:Hi,
* compiz has some stability problems and strange behaviour
* glitz-cvs & cairo-cvs break all my gtk applications (segfault on startup)
* xorg 7 has problems with kbd on my system
* xgl eats up lots of my cpu (like 20 %) when action is going on
* there are also drawing/doublebuffering issues and I doubt they are only present on my systemWell, I don't have any of these problems. Stability of compiz is perfect for me (I had it running for all day without problems), no strange behaviour. Glitz-cvs and cairo-cvs didn't break any of my GTK applications. I have X.Org 7.0 for a long time now (long before Xgl - I am running testing system) and it works great (better than old X.Org 6.8 ) and without problems. And I don't have any drawing/doublebuffering issues with Xgl.
What is your graphics card? I have nVidia GeForce FX-5600 (but I am using older 1.0.7676 drivers - new drivers works better, but gives me some tearing in XV video playback with them).
there are some problems with nvidia drivers.
I have just update the nvidia ones but once i re started xgl it crashed saying he couldn't find /usr/lib/xorg/modules/xgl/libglx.so...
I had to reinstall xgl-cvs package!!!
Offline
* xgl eats up lots of my cpu (like 20 %) when action is going on
confirmed, i can't use my desktop anymore when compiling...
here gxine won't play anything nicely
Freedom is what i love
Offline
* xgl eats up lots of my cpu (like 20 %) when action is going on
confirmed, i can't use my desktop anymore when compiling...
here gxine won't play anything nicely
Well, do you know what *experimental* means? ;-) Xgl isn't production-ready, it is highly experimental :-)
Btw. this is partly caused because GLX_EXT_texture_from_bitmap extension isn't supported by NVidia or ATI drivers now. So Compiz use Mesa for some operations. But GLX_EXT_texture_from_bitmap OpenGL extension was developed by NVidia people with David Reveman (author of Compiz from Novell) and it will be accelerated in future NVidia and ATI drivers. So then it will be completely accelerated.
Offline