You are not logged in.

#1 2006-04-02 20:06:46

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

aiglx - cvs PKGBUILDs needed

Hi all,

I've been hearing some good things about AIGLX, especially for systems using i810/i915 drivers. I've been trying to write some CVS PKGBUILDs to try it out but haven't been able to get it working.

So if anyone feels like they have some extra time, here's a good page to start at: http://fedoraproject.org/wiki/Rendering … glxFromCVS

Cheers!

Offline

#2 2006-04-10 00:14:27

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Could I second this request? XGL screwing up like nobody's business on my box, and the presence of certain things required for it seems to make Gnome go bonkers.

Edit: This should really be moved to "AUR Package Requests".

Offline

#3 2006-04-10 00:29:08

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aiglx - cvs PKGBUILDs needed

Gullible Jones wrote:

Edit: This should really be moved to "AUR Package Requests".

Done, my son.

Offline

#4 2006-04-10 01:57:41

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

Re: aiglx - cvs PKGBUILDs needed

I am maintaining Xgl & Compiz PKGBUILDs, I can also make AIGLX (well, xorg-xserver from CVS have already AIGLX included) PKGBUILDs. But I don't have i810/i915 or r200 card, so I can't test if it is working. But I will try it and I will add AIGLX PKGBUILDs to my ABS overlay with Xgl. Just wait some time (day or two).

Offline

#5 2006-04-10 02:12:34

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Thanks. FWIW, other (relatively recent) cards with FOSS drivers will probably work too... here's what the Fedora Project page has to say about it.


(They say that the via driver is untested, so I suppose I'll be the first to test it...)

Offline

#6 2006-04-11 08:12:34

kenshinxf
Member
Registered: 2006-03-03
Posts: 13

Re: aiglx - cvs PKGBUILDs needed

has aiglx PKGBUILDs been makes??????

Offline

#7 2006-04-11 11:38:29

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

Re: aiglx - cvs PKGBUILDs needed

No, you must wait some time. It isn't simple, because you must replace xorg-server, mesa, libgl-dri, libdrm and other X server related things with latest versions from CVS + use some additional patches (and this can break your system).

So wait few days. When I make it, I will post announce here. Be patient, man...

Offline

#8 2006-04-11 12:13:30

kenshinxf
Member
Registered: 2006-03-03
Posts: 13

Re: aiglx - cvs PKGBUILDs needed

Mikos wrote:

No, you must wait some time. It isn't simple, because you must replace xorg-server, mesa, libgl-dri, libdrm and other X server related things with latest versions from CVS + use some additional patches (and this can break your system).

So wait few days. When I make it, I will post announce here. Be patient, man...

oh thanks for your's work

good luck for you

Offline

#9 2006-04-14 11:10:33

kenshinxf
Member
Registered: 2006-03-03
Posts: 13

Re: aiglx - cvs PKGBUILDs needed

there still no aiglx pkgbuilds ??????
waiting for ...............

Offline

#10 2006-04-14 16:25:36

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Uh, he did say it's not exactly a cakewalk, and he's probably pretty busy with other stuff... So let's just wait and not make PITAs of ourselves.

Offline

#11 2006-04-14 18:54:31

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: aiglx - cvs PKGBUILDs needed

aiglx will also be merged into X.org's code, so I think it might be better to just wait for that, then worry about getting the extension running now.

Offline

#12 2006-04-14 20:43:38

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

It will be merged in about 4 or 5 months though, and it would be nice to get a preview of it.

Offline

#13 2006-04-14 21:30:59

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: aiglx - cvs PKGBUILDs needed

Well, from what I heard it'll be in 7.1, which will be(if on time) released in May

Offline

#14 2006-04-15 00:45:31

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Oh, May, I thought it would be much later... That is good news. big_smile

Offline

#15 2006-04-15 07:02:57

kenshinxf
Member
Registered: 2006-03-03
Posts: 13

Re: aiglx - cvs PKGBUILDs needed

oh now that i have to wait for a long time
~_~

Offline

#16 2006-04-15 16:29:05

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Umm not really a long time, only a little over too weeks...

Offline

#17 2006-04-16 12:09:22

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

I am maintaining Xgl & Compiz PKGBUILDs, I can also make AIGLX (well, xorg-xserver from CVS have already AIGLX included) PKGBUILDs. But I don't have i810/i915 or r200 card, so I can't test if it is working. But I will try it and I will add AIGLX PKGBUILDs to my ABS overlay with Xgl. Just wait some time (day or two).

Thanks alot, Mikos. It's really appreciated. I've been trying to write PKGBUILDs myself, as I mentioned in the first post, but the compilation keeps failing. If it's of any help for you, I think there are xorg-server snapshots, with aiglx included, that can be used instead of CVS.

Offline

#18 2006-04-16 13:31:51

kenshinxf
Member
Registered: 2006-03-03
Posts: 13

Re: aiglx - cvs PKGBUILDs needed

nightfrost wrote:

I am maintaining Xgl & Compiz PKGBUILDs, I can also make AIGLX (well, xorg-xserver from CVS have already AIGLX included) PKGBUILDs. But I don't have i810/i915 or r200 card, so I can't test if it is working. But I will try it and I will add AIGLX PKGBUILDs to my ABS overlay with Xgl. Just wait some time (day or two).

Thanks alot, Mikos. It's really appreciated. I've been trying to write PKGBUILDs myself, as I mentioned in the first post, but the compilation keeps failing. If it's of any help for you, I think there are xorg-server snapshots, with aiglx included, that can be used instead of CVS.

nice man
thanks for your's hard working

Offline

#19 2006-04-17 15:55:58

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

It seems it will be rather complicated to provide us with AIGLX. As far as I understand all the drivers need to be rebuilt against the new xorg-server, so there might be quite alot to get through in order to get it working.

In the meantime, I get this when trying to compile RC1:

In file included from lnx_agp.c:24:
/usr/include/linux/agpgart.h:55: error: syntax error before '__u16'
/usr/include/linux/agpgart.h:60: error: field 'version' has incomplete type
/usr/include/linux/agpgart.h:61: error: syntax error before '__u32'
/usr/include/linux/agpgart.h:68: error: syntax error before '}' token
/usr/include/linux/agpgart.h:71: error: syntax error before '__u32'
/usr/include/linux/agpgart.h:92: error: syntax error before '__u32'
/usr/include/linux/agpgart.h:106: error: syntax error before '__u32'
lnx_agp.c: In function 'GARTInit':
lnx_agp.c:65: error: storage size of 'agpinf' isn't known
lnx_agp.c:65: warning: unused variable 'agpinf'
lnx_agp.c: In function 'xf86GetAGPInfo':
lnx_agp.c:129: error: storage size of 'agpinf' isn't known
lnx_agp.c:129: warning: unused variable 'agpinf'
lnx_agp.c: In function 'xf86AllocateGARTMemory':
lnx_agp.c:221: error: storage size of 'alloc' isn't known
lnx_agp.c:221: warning: unused variable 'alloc'
lnx_agp.c: In function 'xf86UnbindGARTMemory':
lnx_agp.c:324: error: storage size of 'unbind' isn't known
lnx_agp.c:324: warning: unused variable 'unbind'
lnx_agp.c: In function 'xf86EnableAGP':
lnx_agp.c:356: error: syntax error before 'setup'
lnx_agp.c:361: error: 'setup' undeclared (first use in this function)
lnx_agp.c:361: error: (Each undeclared identifier is reported only once
lnx_agp.c:361: error: for each function it appears in.)
make[5]: *** [lnx_agp.lo] Error 1
make[5]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86/os-support/linux'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86/os-support'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.99.901/hw'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

Any idea what this is due to? I'm compiling it together with mesa 6.5 (which is, I think, necessary).

Offline

#20 2006-04-18 22:57:36

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: aiglx - cvs PKGBUILDs needed

I guess this one will help you out:
http://lists.freedesktop.org/archives/x … 11626.html

Change the file on your system and all should be fine. I'll update glibc somewhere this week.

Offline

#21 2006-04-19 07:19:22

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

Thanks a lot! I've been really killing myself to find a solution.

Good news is, xorg-server now keeps on compiling a while longer. Bad news is this:

mkdir .libs
gcc -DHAVE_XORG_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -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 -o Xorg -rdynamic xorg.o  ../../dix/.libs/libdix.a common/libinit.a loader/libloader.a common/libcommon.a parser/libxf86config.a os-support/.libs/libxorgos.a dummylib/libdummy.a dixmods/.libs/libdixmods.a ../../mi/.libs/libmi.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a ../../GL/glx/.libs/libglx.a ../../GL/mesa/.libs/libGLcore.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 ../../composite/.libs/libcomposite.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a -ldl -lXfont -lXau -lfontenc -lXdmcp -lz dixmods/.libs/libxorgxkb.a -lm
common/libcommon.a(xf86pciBus.o): In function `FindPCIVideoInfo':
xf86pciBus.c:(.text+0x1cbd): undefined reference to `IsBaseUnassigned64'
collect2: ld returned 1 exit status
make[4]: *** [Xorg] Error 1
make[4]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg/x11/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg/x11/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg/x11/xorg-server/src/xorg-server-1.0.99.901/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg/x11/xorg-server/src/xorg-server-1.0.99.901/hw'
make: *** [all-recursive] Error 1

I'm gonna poke around a bit and see if I get anywhere, in the meantime.

EDIT: Alright, found it. I was accidently applying the patches that the PKGBUILD of xorg-server 1.0.2 applies to that version of xorg-server. I commented them in the PKGBUILD (except the redahat-die-patch) and now it compiled. Well, I'm off to see what wonders I can unveil smile

Offline

#22 2006-04-19 07:46:46

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

:evil: I get this when trying to compile the i810 driver, which results in me not having the dri/ drivers, and subsequently no direct rendering. Any ideas why this is?

In file included from i810vb.c:139:
../../../../../src/mesa/tnl_dd/t_dd_vb.c:193: warning: no previous prototype for 'i810_print_vertex'
make[1]: *** No rule to make target `../../../../../src/mesa/libmesa.a', needed by `i810_dri.so'.  Stop.
make[1]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg/x11-drivers/xf86-video-i810/src/Mesa-6.5/src/mesa/drivers/dri/i810'
make: *** [subdirs] Error 1
install: cannot stat `*/*_dri.so': No such file or directory

EDIT: I think "make mesa.a" in the PKGBUILD must replaced with "make libmesa.a", and possibly "i830" should be removed from the config file linux-dri-x86.

Offline

#23 2006-04-19 09:23:03

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

Alright, this is what I got:

xorg-server: 1.0.99.901
mesa: 6.5
xf86-video-i810: 1.6.0

I have dual head setups working properly now (which I've never had before), which is very nice smile

Running xgl is a bit snappier, but scrolling text (firefox, openoffice) is still done in software mode, which is weird, since I thought this issue was fixed with the new driver.

Peculiarities:

 glxinfo | grep render
libGL warning: 3D driver claims to not support visual 0x6d
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20050225 x86/MMX/SSE2
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

I've seen those warning messages before (on a matrox machine), but never with the i810 driver. I do believe they're harmless.

However, fps is a lot lower now running glxgears, around 490  :?

AIGLX doesn't load because it can't find i915_dri.so. I haven't changed any settings anywhere, and I'm not sure why it looks for the module there or how to change its search path.

Furthermore, I don't even know how to change gnome's WM to compiz instead of metacity, but I guess I could google for that...

cat /var/log/Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "v4l" (module requirement mismatch, 0)
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
(EE) AIGLX: Screen 1 is not DRI capable

Offline

#24 2006-04-20 13:58:52

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: aiglx - cvs PKGBUILDs needed

Since I really managed to clutter this thread, and since this thread in either case is under AUR package requests, I've started a new thread to troubleshoot aiglx.

I'll share my PKGBUILDs if anyone wants them, but they're pretty much like the offical PKGBUILDs, with minor changes.

Offline

#25 2006-04-20 20:44:23

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: aiglx - cvs PKGBUILDs needed

Wait, what official PKGBUILDs? :?

Offline

Board footer

Powered by FluxBB