You are not logged in.

#126 2006-02-15 19:51:15

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

!!! 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

#127 2006-02-15 19:52:25

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: XGL., anyone wanna join the ride?

Mikos wrote:
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_


Murrine Creator - GNOME Developer

Offline

#128 2006-02-15 20:21:29

dingus
Member
From: London
Registered: 2006-02-02
Posts: 18

Re: XGL., anyone wanna join the ride?

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

#129 2006-02-15 20:23:35

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

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

#130 2006-02-15 20:29:53

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

dingus wrote:

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

#131 2006-02-15 20:47:34

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: XGL., anyone wanna join the ride?

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


Murrine Creator - GNOME Developer

Offline

#132 2006-02-15 20:52:05

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: XGL., anyone wanna join the ride?

Cimi wrote:
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


Murrine Creator - GNOME Developer

Offline

#133 2006-02-15 20:55:45

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: XGL., anyone wanna join the ride?

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

#134 2006-02-15 21:04:02

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: XGL., anyone wanna join the ride?

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

#135 2006-02-15 21:08:19

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: XGL., anyone wanna join the ride?

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

#136 2006-02-15 21:13:53

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: XGL., anyone wanna join the ride?

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

#137 2006-02-15 21:23:18

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: XGL., anyone wanna join the ride?

with the cairo-cvs it worked for me smile

thank you, Vins

Offline

#138 2006-02-15 21:30:30

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: XGL., anyone wanna join the ride?

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

#139 2006-02-15 21:46:54

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: XGL., anyone wanna join the ride?

FoPref:
looks like you're not using the testing repo at all.  wink

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

#140 2006-02-15 21:58:33

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: XGL., anyone wanna join the ride?

Sure I do, but only for packages related to Xgl.

Offline

#141 2006-02-15 22:00:03

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: XGL., anyone wanna join the ride?

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

#142 2006-02-15 22:04:26

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: XGL., anyone wanna join the ride?

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

#143 2006-02-15 22:13:16

dingus
Member
From: London
Registered: 2006-02-02
Posts: 18

Re: XGL., anyone wanna join the ride?

Mikos wrote:

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

#144 2006-02-15 22:48:47

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: XGL., anyone wanna join the ride?

glxinfo | grep dir? (keyboard map resolved)
It gives me "no" with nvidia


Murrine Creator - GNOME Developer

Offline

#145 2006-02-16 04:22:44

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: XGL., anyone wanna join the ride?

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 big_smile


Have fun,
Johannes

Offline

#146 2006-02-16 13:33:58

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

joakim wrote:

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

#147 2006-02-16 13:46:03

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

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 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

#148 2006-02-16 13:55:53

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: XGL., anyone wanna join the ride?

Mikos wrote:
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 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).

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!!! neutral


Murrine Creator - GNOME Developer

Offline

#149 2006-02-16 14:21:30

Blaasvis
Member
Registered: 2003-01-17
Posts: 467

Re: XGL., anyone wanna join the ride?

* xgl eats up lots of my cpu (like 20 %) when action is going on

confirmed, i can't use my desktop anymore when compiling... sad

here gxine won't play anything nicely sad


Freedom is what i love

Offline

#150 2006-02-16 16:14:37

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

Blaasvis wrote:

* xgl eats up lots of my cpu (like 20 %) when action is going on

confirmed, i can't use my desktop anymore when compiling... sad

here gxine won't play anything nicely sad

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

Board footer

Powered by FluxBB