You are not logged in.

#176 2006-02-18 13:56:20

Vampyrx
Member
Registered: 2005-04-09
Posts: 26

Re: XGL., anyone wanna join the ride?

Someone can describe all the step to install XGL with Compiz ?
i need to do : pacman -S xorg-server ?
i need to install with CVS : mesa compiz glitz glproto xgl ?
can i use KDE ? or it necessary to use Gnome ?
Do i need anything else ?

So all the step please to install it, it will be very nice please smile


Noob

Offline

#177 2006-02-18 15:49:20

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

Re: XGL., anyone wanna join the ride?

!!! UPDATE !!!

All PKGBUILDs were updated to 20060218. I didn't use glitz-0.5.3, because it is only snapshot from latest CVS (snapshot will be outdated after some time, but CVS is always up-to-date ;-)). I also updated glproto to version 1.4.4.

"Black windows" bug should be resolved now (but only for people with older NVidia cards. I think that i810/i915 still have this problem).

You can download it here:
http://mikos.sg1.cz/arch/xgl-abs-overla … 8-1.tar.gz

Offline

#178 2006-02-18 15:53:06

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

Re: XGL., anyone wanna join the ride?

azuwis: Please test it if you don't have that bug with my latest 20060218 glitz-cvs PKGBUILD. It really should be fixed in CVS (as I said, glitz-0.5.3 is only snapshot from latest CVS).

Offline

#179 2006-02-18 16:17:40

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

Re: XGL., anyone wanna join the ride?

Vampyrx wrote:

Someone can describe all the step to install XGL with Compiz ?
i need to do : pacman -S xorg-server ?
i need to install with CVS : mesa compiz glitz glproto xgl ?
can i use KDE ? or it necessary to use Gnome ?
Do i need anything else ?

So all the step please to install it, it will be very nice please smile

· First you must upgrade your system to testing. Uncomment 'testing' repo in /etc/pacman.conf and then run 'pacman -Syu'. Especially you must have X.Org 7.0 (so answer "yes" to pacman questions about it). I don't remember if it is uprgraded automatically from old X.Org, so if it isn't, simply install xorg-server package manually. Btw. NVidia drivers must be reinstalled after this step!
· Download my xgl-abs-overlay archive, extract it somewhere and then compile (with makepkg) and install compiled packeges in this order: glproto, mesa-cvs, glitz-cvs, xgl-cvs, cairo-cvs, compiz-cvs.
· You can start Xgl with my startxgl script (you can find it in my xgl-abs-overlay archive). You should edit that script to your liking (for example add setxkbmap if you want something else than US keymap). And remember, you should start it from console!

Offline

#180 2006-02-18 17:11:26

rasta
Member
From: Sweden
Registered: 2006-02-13
Posts: 25

Re: XGL., anyone wanna join the ride?

@Mikos: I'm afraid I have to confirm that the current glitz-cvs has the black windows bug. It worked nice when i modified the PKGBUILD to use the snapshot already mentioned. (Trying this on my father's computer with a Geforce4 Mx420). I haven't made any furher research in the difference of these two versions of glitz but probably you could just diff them to see. Strange.

Offline

#181 2006-02-18 18:04:22

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

I'm having trouble compiling mesa-cvs... I'm in a console so I can't paste the exact error, but it looks like "deferencing pointer to incomplete type" in glxcontextmode.c
Anyone having a clue?

Edit: the first error seems to be:
glxcontextmodes.c:45:20: error: X11/X.h File not found
after make had entered directory "$startdir/src/Mesa-build/src/glx/x11"

By what package should X11/X.h be owned?

Offline

#182 2006-02-18 18:57:57

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

Re: XGL., anyone wanna join the ride?

big_gie wrote:

I'm having trouble compiling mesa-cvs... I'm in a console so I can't paste the exact error, but it looks like "deferencing pointer to incomplete type" in glxcontextmode.c
Anyone having a clue?

Edit: the first error seems to be:
glxcontextmodes.c:45:20: error: X11/X.h File not found
after make had entered directory "$startdir/src/Mesa-build/src/glx/x11"

By what package should X11/X.h be owned?

[mikos@tauri ~]$ pacman -Qo /usr/include/X11/X.h
/usr/include/X11/X.h is owned by xproto 7.0.4-2

Do you have updated testing system? It is a must.

Offline

#183 2006-02-18 19:02:51

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

Re: XGL., anyone wanna join the ride?

rasta wrote:

@Mikos: I'm afraid I have to confirm that the current glitz-cvs has the black windows bug. It worked nice when i modified the PKGBUILD to use the snapshot already mentioned. (Trying this on my father's computer with a Geforce4 Mx420). I haven't made any furher research in the difference of these two versions of glitz but probably you could just diff them to see. Strange.

This is really strange. I will try to diff them... let's see what's going on here ;-)

Offline

#184 2006-02-18 19:08:18

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

Re: XGL., anyone wanna join the ride?

azuwis wrote:

cairo-cvs break some GTK2 applications, like stardict and xchat. But gvim and firefox work fine.

I suggest install cairo-cvs into /opt/cairo, and use "LD_LIBRARY_PATH=/opt/cairo/lib/ gnome-window-decorator &" to lauch gnome-window-decorator.

I don't have any problems with cairo-cvs. It works without problems for me (I don't have xchat installed, but I tested stardict and no problem here). Can you try to recompile pango and then gtk2 against cairo-cvs? You can find PKGBUILDs here (of course run abs before it ;-)):

/var/abs/testing/lib/pango
/var/abs/lib/gtk2

Offline

#185 2006-02-18 19:19:36

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

This is was I suspected.

I just "pacman -S xorg" to download less then the 350MB from testing...

I'm downloading 350MB of packages from "pacman -Su" right now. Thanx for the suggestion. Will edit post is it corrects things.

Offline

#186 2006-02-18 19:38:34

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

Re: XGL., anyone wanna join the ride?

azuwis & rasta: I have used "Compare directories" command in mc and there aren't differencies in source files between glitz-0.5.3 and latest CVS. So there must be some other problem, maybe in autogen.sh / configure procedure?

Offline

#187 2006-02-18 19:43:44

rasta
Member
From: Sweden
Registered: 2006-02-13
Posts: 25

Re: XGL., anyone wanna join the ride?

Mikos wrote:

azuwis & rasta: I have used "Compare directories" command in mc and there aren't differencies in source files between glitz-0.5.3 and latest CVS. So there must be some other problem, maybe in autogen.sh / configure procedure?

Actually, the only difference between the pkgbuild i made for the snapshot (except for removing cvs stuff)  is that i removed ./autogen.sh since there is no autogen.sh in the snapshot. Don't know what that could change.

Offline

#188 2006-02-18 20:01:50

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

Re: XGL., anyone wanna join the ride?

rasta: You must run autogen.sh script in CVS sources tree. It runs libtoolize, aclocal, autoheader, automake and autoconf. 'configure' script is generated in this process. In snapshot (tarball), this process is already done by creator of that tarball. So there autogen.sh isn't needed.

Offline

#189 2006-02-18 23:48:16

Vampyrx
Member
Registered: 2005-04-09
Posts: 26

Re: XGL., anyone wanna join the ride?

I have some problems with the CVS of XGL, when i do : makepkg i have a probleme with XSERVERCFLAGS it can t find the package requirements i need to adjust this var or the PKG CONFIG PATH but i don t know, can you help me ?


Noob

Offline

#190 2006-02-19 00:04:34

sp0rk173
Member
Registered: 2005-11-06
Posts: 8

Re: XGL., anyone wanna join the ride?

Thanks for all the hard work, guys!  I'm now running XGL on my FX5700 and everything works and looks beautifully.  I had to make one notable change.  When installing the built cairo-cvs pkg, I got a conflict with cairo that was already installed.  I told it to remove the old cairo, but it complained about possible broken dependencies.  So i changed the pkgname in the cairo-cvs PKGBUILD to simply "cairo", ran makepkg, did a pacman -U cairo-cvs-20060218-1.pkg.tar.gz, and everything went smoothly.  xchat, gaim, and all gtk2 apps run perfectly.  No "black winow" bug that i've read about on here.  It just works.

Thanks again!

Offline

#191 2006-02-19 00:23:23

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

Re: XGL., anyone wanna join the ride?

sp0rk173 wrote:

I had to make one notable change.  When installing the built cairo-cvs pkg, I got a conflict with cairo that was already installed.  I told it to remove the old cairo, but it complained about possible broken dependencies.

This is not necessary. Cairo-cvs replaces cairo. You can do 'pacman -Rd cairo' and then install cairo-cvs.

Offline

#192 2006-02-19 02:30:09

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

Thanx for the PKGBUILDs!

I had to modify the one for glitz-cvs. make couldn't find GL/gl.h (from mesa-cvs surely)... I added "--x-includes/opt/mesa-cvs/includes --x-libraries=/opt/mesa-cvs/lib" to the configure line.
I'm compiling xgl-cvs now.
Anyone else had this problem? If not, how come?!

Edit:
I'm having the same problem with compiz-cvs, but adding the command line options to autogen didn't solve it...

Offline

#193 2006-02-19 05:56:31

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

Re: XGL., anyone wanna join the ride?

big_gie wrote:

Thanx for the PKGBUILDs!

I had to modify the one for glitz-cvs. make couldn't find GL/gl.h (from mesa-cvs surely)... I added "--x-includes/opt/mesa-cvs/includes --x-libraries=/opt/mesa-cvs/lib" to the configure line.
I'm compiling xgl-cvs now.
Anyone else had this problem? If not, how come?!

Edit:
I'm having the same problem with compiz-cvs, but adding the command line options to autogen didn't solve it...

No, you shouldn't do that! Glitz must see your real accelerated GL libraries, not unaccelerated libraries from mesa-cvs. This was reason why I choose to install mesa-cvs to /opt/mesa-cvs and not to /usr.

If you have problems like this, I think that you don't have properly installed graphics OpenGL drivers (NVidia, ATI, ATI r200 DRI, etc.).

Offline

#194 2006-02-19 13:30:11

Remenic
Member
Registered: 2005-02-03
Posts: 11

Re: XGL., anyone wanna join the ride?

when trying to build xgl-server, I get the following error during the ./autogen.sh step:

autoheader: cannot rename /tmp/arz10119/ahl10348/config.hin as include/do-not-use-config.h.in: No such file or directory

Also, since freedesktop.org has changed their cvs servers, I changed the one for xserver and mesa to anoncvs.freedesktop.org.

Anyone have any suggestions on how to fix this?

[edit]The problem fixed itself, after I re-checked out everything from CVS a few hours later.[/edit]

Offline

#195 2006-02-19 15:06:07

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

Re: XGL., anyone wanna join the ride?

mikos could you make PKGBUILD for gxlcompmgr to include in your package?


Murrine Creator - GNOME Developer

Offline

#196 2006-02-19 17:21:36

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

Mikos wrote:
big_gie wrote:

Thanx for the PKGBUILDs!

I had to modify the one for glitz-cvs. make couldn't find GL/gl.h (from mesa-cvs surely)... I added "--x-includes/opt/mesa-cvs/includes --x-libraries=/opt/mesa-cvs/lib" to the configure line.
I'm compiling xgl-cvs now.
Anyone else had this problem? If not, how come?!

Edit:
I'm having the same problem with compiz-cvs, but adding the command line options to autogen didn't solve it...

No, you shouldn't do that! Glitz must see your real accelerated GL libraries, not unaccelerated libraries from mesa-cvs. This was reason why I choose to install mesa-cvs to /opt/mesa-cvs and not to /usr.

If you have problems like this, I think that you don't have properly installed graphics OpenGL drivers (NVidia, ATI, ATI r200 DRI, etc.).

Thanx. I removed that.
To make it work I followed : http://gentoo-wiki.com/HOWTO_Modular_Xo … d_Problems
It states to remove the headers from /usr/include/GL and create simlinks to the accelerated ones (/usr/share/doc/NVIDIA_GLX-1.0/include/GL/*) Everything compiles now...

Offline

#197 2006-02-19 17:37:32

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

Re: XGL., anyone wanna join the ride?

Cimi wrote:

mikos could you make PKGBUILD for gxlcompmgr to include in your package?

glxcompmgr doesn't work with current Xgl code. It was predecessor of Compiz.

Offline

#198 2006-02-19 17:51:34

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

Re: XGL., anyone wanna join the ride?

Mikos wrote:
Cimi wrote:

mikos could you make PKGBUILD for gxlcompmgr to include in your package?

glxcompmgr doesn't work with current Xgl code. It was predecessor of Compiz.

You're wrong... glxcompmgr works over metacity I.E.... Yes it is less stable but I saw it working one week ago in a gentoo box


Murrine Creator - GNOME Developer

Offline

#199 2006-02-19 17:56:10

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

Re: XGL., anyone wanna join the ride?

big_smile
I'm hoping that I'm in the thruth wink

http://users.skynet.be/muaddib/my-xglov … 10.tar.bz2


Murrine Creator - GNOME Developer

Offline

#200 2006-02-19 18:05:27

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

Re: XGL., anyone wanna join the ride?

Cimi wrote:

Well, maybe there is some patch to make it work with latest Xgl. But I am sure it didn't work in time when I started with my xgl-abs-overlay. You can look to Gentoo Forums, it was discussed there.

I don't see reason to use unmaintained and unstable glxcompmgr if there is much more stable and actively maintained Compiz. Yes, you can use it with other window managers, but in my opinion it's not worth it.

Offline

Board footer

Powered by FluxBB