Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Compiz and AIGLX working on Intel 855!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon Apr 24, 2006 7:31 pm    Post subject: [SOLVED] Compiz and AIGLX working on Intel 855! Reply with quote

Success! Thank's to Hanno's most recent overlay, and Kristian's latest patches, I'm able to use aiglx with compiz on gentoo! Yeah! You can use compiz from Hanno's overlay or you could use compiz-quinnstorm as well, by manually applying Kristian's compiz patches to the current xgl-coffee ebuilds.

An updated gentoo wiki article on getting compiz to work with aiglx can be found here:
http://gentoo-wiki.com/HOWTO_AIGLX

Detailed instructions for Hanno's overlay are here:
http://www.hboeck.de/item/338

Fyi, i'm using xorg-server-1.1.0-r2, mesa-6.5.1_pre20060620, libdrm-2.0.2_pre20060616 on an inspiron 1150 with a intel 852/855 gm card.....from hanno's overlay and a patched compiz-quinnstorm_0.0.13.3_p20060624 from xgl-coffee overlay

Good luck!

Ps...There is some bug with compiz --replace from hanno's overlay at the moment...I had to issue "killall kwin &" (for kde only) before calling the compiz command...After that all worked fine...


Last edited by reydan on Wed Jun 28, 2006 7:52 pm; edited 3 times in total
Back to top
View user's profile Send private message
Senori
n00b
n00b


Joined: 13 Jan 2006
Posts: 11

PostPosted: Mon Apr 24, 2006 10:08 pm    Post subject: Re: Compiz and AIGLX working on gentoo??? Reply with quote

reydan wrote:
Has anyone gotten compiz or compiz-vanilla and AIGLX working on an intel 855 chip....using either xgl-coffee or xgl-coffee-testing?.....I seem to have AIGLX working (no errors in X) but when I startup compiz on loading kde the screen turns white and then black and kde still loads in the background....When I go to another xterm console(by hitting control alt 1) pkill compiz and switch back to kde all works fine?? is the patch still buggy ? I know compiz is configured correctly because it loads fine under xgl... i've also enabled compiz's aiglx flag

Ubantu users have got it working so what could be the prob.?

Turns all white?

Do you have DRI enabled in your xorg.conf?
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon Apr 24, 2006 11:09 pm    Post subject: Ubantu users ahead of the game when it comes to AIGLX? Reply with quote

Yes I have DRI enabled, i think the problem is our outdated compiz-vanilla, compiz-quinnstorm ebuilds

After going through all of the possible iterations, of compiz-vanilla etc, it seems that I still can't get aiglx to work on gentoo...I tried to emerge compiz-vanilla with the aiglx use flag, and it failed, at the latest revision 174 with xgl-coffee....

Meanwhile ubantu users have been blogging left and right with their success stories on Intel 855 video cards....

This should interest gentoo users, because it seems aiglx actually plays videos and handles other operations without the delay that's often encountered with xgl....

But since it seems since everyone's distracted with xgl, no one cares to install aiglx...
The AIGLX wiki is more than a month old....

If you've got AIGLX working let us know so that we can gain more knowledge about how to do so....
Back to top
View user's profile Send private message
aldoo
n00b
n00b


Joined: 10 Nov 2004
Posts: 41

PostPosted: Fri Apr 28, 2006 1:17 pm    Post subject: Reply with quote

Reydan : I've got the same problem as you. (and I have an ATI Radeon 9200)
Compiz on AIGLX used to work. But since Compiz 0.9.x, the AIGLX patch seems not to be maintained anymore (not in the xgl-coffee ebuilds, anyway).

Try with some older version of Compiz.
And don't forget to export LIBGL_ALWAYS_INDIRECT="TRUE", before running Compiz.

Btw, I think it's a shame that only Xgl is maintained when Compiz on AIGLX runs better than on Xgl : no artifacts, xv and indirect glx acceleration... big memory usage though.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Fri Apr 28, 2006 6:03 pm    Post subject: Reply with quote

Does it work with an ATI Radeon X300?? I'm using propietary drivers because the open source didn't worked... If does AIGLX works, I would be very happy to try it out. Right now I'm using XGL+compiz without problems.
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Fri Apr 28, 2006 7:24 pm    Post subject: Reply with quote

AFAIK nvidia's and ati's proprietary drivers won't work on aiglx due to a required missing extention (texture_from_pixmap). I guess that's also the main reason why the aiglx ebuilds are not really maintained..
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Fri Apr 28, 2006 7:50 pm    Post subject: Reply with quote

kmare wrote:
AFAIK nvidia's and ati's proprietary drivers won't work on aiglx due to a required missing extention (texture_from_pixmap). I guess that's also the main reason why the aiglx ebuilds are not really maintained..


another vot to this. If i could run aiglx with my vidcad, definately would
Back to top
View user's profile Send private message
maw
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 175
Location: Nottingham, UK

PostPosted: Sun May 14, 2006 8:23 am    Post subject: Reply with quote

nVidia have said that there will be a new version of their drivers with the necessary extension - this will also make Xgl work much better, actually :-)

Hopefully they won't take too long to produce that.
_________________
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon May 22, 2006 5:24 pm    Post subject: Update- AIGLX Almost working!! Reply with quote

So I've finally gotten AIGLX and compiz, to ALMOST work with an Intel 855 card....Using the latest xgl-coffee ebuilds of compiz-quinnstorm, the install-script and enabling aiglx as a use flag in /etc/make.conf, compiz works great...I get all of the shadows, wobbly effects, cube with only one exception: NO WINDOW DECORATIONS...

Other than that, it all works with no decorations but complains with the following if I try to run gnome-window-decorator...

The program 'gnome-window-decorator' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 568 error_code 8 request_code 152 minor_code 22
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Any hints? I'm thinking the problem may be due to xorg-server-p20060508 because everything seems to run perfectly fine under xgl...just slow...also if i run gnome-window-decorator from the command line with no compiz, it gives me the same error...

By the way....under aiglx compiz flies on this machine with no video problems...
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon May 22, 2006 6:02 pm    Post subject: Re: Update- AIGLX Almost working!! Reply with quote

reydan wrote:
So I've finally gotten AIGLX and compiz, to ALMOST work with an Intel 855 card....Using the latest xgl-coffee ebuilds of compiz-quinnstorm, the install-script and enabling aiglx as a use flag in /etc/make.conf, compiz works great...I get all of the shadows, wobbly effects, cube with only one exception: NO WINDOW DECORATIONS...

Other than that, it all works with no decorations but complains with the following if I try to run gnome-window-decorator...

The program 'gnome-window-decorator' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 568 error_code 8 request_code 152 minor_code 22
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Any hints? I'm thinking the problem may be due to xorg-server-p20060508 because everything seems to run perfectly fine under xgl...just slow...also if i run gnome-window-decorator from the command line with no compiz, it gives me the same error...

By the way....under aiglx compiz flies on this machine with no video problems...


Try updating, I had this problem too...
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon May 22, 2006 6:18 pm    Post subject: Reply with quote

Updating what? I have the latest compiz-quinnstorm do you mean updating xorg-server? to what version number?
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon May 22, 2006 6:24 pm    Post subject: Reply with quote

What software versions are you using? are you using compiz-quinnstorm-0.0.14?
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon May 22, 2006 6:36 pm    Post subject: Reply with quote

compiz-quinnstorm-0.0.14.0
x11-base/xorg-server-1.0.99.902_p20060508 with aiglx use flag
xgl-0.0.1_p20060515

latest mesa media-libs/mesa-6.5.1_alpha20060515
glitz-0.5.5_p20060323
glproto-1.4.7
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon May 22, 2006 8:05 pm    Post subject: Reply with quote

The aiglx part of the xgl-coffee overlay aren't really maintained. CoffeeBuzz is busy so I am doing alot of the updates, and I have no idea on anything about AiGLX.. If you can point out some newer aiglx patches I can update the ebuilds.
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon May 22, 2006 8:27 pm    Post subject: Reply with quote

Here you'll find the xorg-server that the ubuntu users have been using in order to get their compiz with aiglx working....I don't know if these or how these are different from what's available in the xgl-overlay....this is supposedly specific to aiglx....gandalfn from ubuntuforums.org is the person who has made the patchset...

http://xgl.compiz.info/pool/aiglx/x/xorg-air/
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon May 22, 2006 8:31 pm    Post subject: Reply with quote

I need the actual patches.. I will ask someone on compiz.net.. If I don't get an answer from them, then I can't update so I am sorry.
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Mon May 22, 2006 8:48 pm    Post subject: Reply with quote

gandalfn on compiz.net would probably know as he applied the patches needed to the server to make it work with aiglx....
Back to top
View user's profile Send private message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Thu May 25, 2006 5:26 am    Post subject: Reply with quote

I'm interested in trying this out too. I've got XGL working on an i845G card, but from what I gather, it runs a lot better with aiglx.

I've updated all the cvs ebuilds to today's date ( 20060525 ) and built everything, including xorg-server-1.1.0 ... which has aiglx enabled by default. From here, I should just be able to start X and start compiz, right?

When I do, I get the error:
Code:
GLX_EXT_texture_from_pixmap is missing

and compiz won't start.

If I run compiz with:
Code:
LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf &

it starts, but the screen turns white and stays that way.

That's as far as I've got. Anyone who's gotten further, stand and deliver :!:
_________________
David Hicks' plea. Was it:

a) I plead guilty, or
b) Please let me out of here and end the torture
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Sat May 27, 2006 8:55 pm    Post subject: Reply with quote

reydan wrote:
http://xgl.compiz.info/pool/aiglx/x/xorg-air/
nesl247 wrote:
I need the actual patches..

Unpack the sources archive (latest is xorg-air_1.1.0-0ubuntu1.tar.gz atm), and you'll find the patches in the xorg-air-1.1.0/debian/patches directory. I've not tried them though, just noticed they were there.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat May 27, 2006 8:58 pm    Post subject: Reply with quote

They were pointed out to me in a private message. Thanks though..

For all of you aiglx users, I am sorry but you will have to deal with not having aiglx support in the xgl-coffee overlay for a while. I have some other things to do in regards to updating it to the X.org 7.1 release which should eliminate the need for the xorg-server patches (unless I am wrong here) as it can be enabled with --enable-aiglx.

Hopefully it will be support soon, but as I said, I have other things to do, including my own life and E-Mission stuff.
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Thu Jun 22, 2006 8:10 am    Post subject: Reply with quote

Succeess! Thank's to Hanno's most recent overlay, I'm able to use aiglx with compiz on gentoo! Yeah! Only drawback is that I can't use compiz-quinnstorm's cool plug-ins for the time being....

Go to this page....this will give you the instructions needed to get going...

http://www.hboeck.de/item/338

Fyi, i'm using xorg-server-1.1.0-r2, compiz-0.0.16_pre20060621, mesa-6.5.1_pre20060620, libdrm-2.0.2_pre20060616 on an inspiron 1150 with a intel 852/855 gm card.....

Good luck!

Ps...There is some bug with compiz --replace at the moment...I had to issue "killall kwin &" (for kde only) before calling the compiz command...After that all worked fine...
Back to top
View user's profile Send private message
Mindstab
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 271
Location: Vancouver, Canada

PostPosted: Thu Jun 22, 2006 10:01 pm    Post subject: Reply with quote

I also got it working thanks to the above overlay!
I added a few more instructions here: http://www.mindstab.net/wordpress/archives/108

I do have the following bus and was wondering who to talk to about fixing them?
* Quake3 has black flashes once or twice a second. it's like blinking lots.
* totem stays black when playing movies, and xine has a cross hatched grid
* sometimes dialogs don't paint themselves and appears as an empty window but respond to click events it the appropriate locations.
* drop shadows aren't appearing for me

Maybe I just need to update some other package? or maybe I need to file a bug somewhere. Any ideas? But a massive thanks to Hanno for the overlay :D
I got so many 'wow's from people at school in the last two day's it's been awesome.
Back to top
View user's profile Send private message
Mindstab
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 271
Location: Vancouver, Canada

PostPosted: Sat Jun 24, 2006 9:46 pm    Post subject: Reply with quote

Well, to get movies working in totem under compiz it turns out all you have to do is go into Desktop->preferences->multimedia system selector->video and set the output plugin to "XWindow (no Xv)" and it works!
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Wed Jun 28, 2006 2:55 pm    Post subject: Reply with quote

Well by adding the following patches to the compiz-quinnstorm ebuild, I was able to get compiz-quinnstorm working with AIGLX and hanno's overlay on an intel 855 gm card

File: compiz-quinnstorm-0.0.13.3_p20060624.ebuild

add the following lines to src_unpack section (Taken from "Adding a patch" at
http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild#Making_the_Updated_Ebuild:)

epatch "${FILESDIR}/compiz-0.0.13.fedora1-fbconfig-depth-fix.patch"
epatch "${FILESDIR}/compiz-0.0.13.fedora1-gl-include-inferiors.patch"
epatch "${FILESDIR}/compiz-0.0.13.fedora1-hardcode-fullscreen-updates.patch"
epatch "${FILESDIR}/compiz-0.0.13.fedora1-new-cm-selection.patch"

Place the patches in the compiz-quinnstorm/files directory.

Run ebuild compiz-quinnstorm-0.0.13.3_p20060624.ebuild digest and re-emerge.

If you are really ambitious, you can try getting xorg-server from xgl-coffee working by adding the following patches to the xorg-server ebuild. After you've applied patches to both xorg-server and compiz-quinnstorm, the xgl-coffee overlay for aiglx should then work just as well as using hanno's overlay

Add the following red lines to the patches section
ex:
file: xorg-server-1.1.0-r1.ebuild
PATCHES="${FILESDIR}/${PN}-1.0.2-xprint-init.patch
${FILESDIR}/1.0.99.901-Xprint-xprintdir.patch
${FILESDIR}/xorg-x11-server-1.1.0-convolution-filter-fix.patch
${FILESDIR}/xorg-x11-server-1.1.0-tfp-damage.patch
${FILESDIR}/xorg-x11-server-1.1.0-gl-include-inferiors.patch"


Then place the patches in the xorg-server/ files directory. Run "ebuild xorg-server-1.1.0-r1.ebuild digest" That should be all, and re-emerge. Make sure the line MESA_SRC_P="${MESA_PN}Lib-${MESA_PV}" is uncommented.

All patches are found here:
http://people.freedesktop.org/~krh/compiz-on-aiglx/
Back to top
View user's profile Send private message
fuoco
Guru
Guru


Joined: 23 May 2004
Posts: 386
Location: Israel

PostPosted: Thu Jul 06, 2006 8:52 pm    Post subject: Reply with quote

Does aiglx work with r300 now ?
Does compiz-quinnstorm work with aiglx now ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum