Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Tue Feb 07, 2006 11:50 pm    Post subject: Reply with quote

I have compiled mesa-6.4.2 with the following patches:

Code:
>>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-6.4.2/work
 * Applying 6.4-dont-install-gles-headers.patch ...                                 [ ok ]
 * Applying configurable-dri-dir.patch ...                                          [ ok ]
 * Applying 6.4-multilib-fix.patch ...                                              [ ok ]
 * Applying mesa-glx-x11-get-drawable-attribs-fix-1.diff ...                        [ ok ]
 * Applying r200-copy-pixels-1.patch ...                                            [ ok ]
 * Applying xgl-mesa-stable-180106.diff ...                                         [ ok ]
 * Applying mesa-glx-x11-glxproto-defines.diff ...                                  [ ok ]
>>> Source unpacked.


but it's still:

Code:
flowolf@nibiru ~ $ glxcompmgr wobbly shadow
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0

_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Tue Feb 07, 2006 11:56 pm    Post subject: Reply with quote

a) Be sure to have the accelerate glx driver
b) try LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr wobbly shadow
c) are you sure you launch it on a Xgl display
d) no clue
Back to top
View user's profile Send private message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Wed Feb 08, 2006 12:11 am    Post subject: Reply with quote

pijalu wrote:
a) Be sure to have the accelerate glx driver
b) try LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr wobbly shadow
c) are you sure you launch it on a Xgl display
d) no clue


a)
Code:
nibiru ~ # grep glx /etc/X11/xorg.conf
        Load  "glx"


b)
Code:
flowolf@nibiru ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr wobbly shadow glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0


c)
Code:
flowolf@nibiru ~ $ ps aux | grep X
root     29478  0.5  5.3  95740 54404 ?        RL   Feb07   0:05 /usr/bin/Xgl :0 -accel xv -accel glx:pubffer -ac -kb -audit 0 -br -auth /var/gdm/:0.Xauth -nolisten tcp vt7
root     29500  0.1  1.3  48500 13688 tty7     SLs+ Feb07   0:01 /usr/bin/Xorg -br vt7 -auth /tmp/.Xgl-auth-K4F7lL -nolisten tcp -dpms -v -s 0 :93 -terminate
flowolf  29575  0.1  1.6 118500 16852 ?        Rsl  Feb07   0:01 gnome-terminal --sm-config-prefix /gnome-terminal-X2pfe6/ --sm-client-id 11c0a80001000113387852400000074350012 --screen 0 --window-with-profile-internal-id=Default --show-menubar --role=gnome-terminal-7594-2056640309-1133878524 --active --geometry 90x25 --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1 --tab-with-profile-internal-id=Default --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1 --tab-with-profile-internal-id=Default --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1 --tab-with-profile-internal-id=Default --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1 --tab-with-profile-internal-id=Default --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1 --tab-with-profile-internal-id=Default --title flowolf@nibiru:~ --working-directory /home/flowolf --zoom 1
flowolf  29733  0.0  0.0   3748   724 pts/4    R+   00:10   0:00 grep X

only Xgl is running here.

d) Could you open your jabber client? :D
_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Wed Feb 08, 2006 12:32 am    Post subject: Reply with quote

flowolf wrote:
I have installed Xgl and I'm now running Gnome on it but I'm unable to use glxcompmgr:

Code:
flowolf@nibiru xgl $ glxcompmgr wobbly shadow
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :1.0


How can I fix this?
Compiz would be cool but I can't find it...
You just have to wait until compiz is uploaded in cvs or glxcompmanager is updated to use GLX_EXT_texture_from_pixmap
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 12:52 am    Post subject: Reply with quote

pussi wrote:
flowolf wrote:
I have installed Xgl and I'm now running Gnome on it but I'm unable to use glxcompmgr:

Code:
flowolf@nibiru xgl $ glxcompmgr wobbly shadow
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :1.0


How can I fix this?
Compiz would be cool but I can't find it...
You just have to wait until compiz is uploaded in cvs or glxcompmanager is updated to use GLX_EXT_texture_from_pixmap


Or apply this patch on glxcompmgr
Code:

--- app/glxcompmgr/src/screen.c.old     2006-02-08 01:48:02.000000000 +0100
+++ app/glxcompmgr/src/screen.c 2006-02-08 01:50:27.000000000 +0100
@@ -680,10 +680,10 @@
     currentRoot = s->root;

     glxExtensions = glXQueryExtensionsString (s->display->display, screenNum);
-    if (!testMode && !strstr (glxExtensions, "GLX_MESA_render_texture")
+    if (!testMode && !strstr (glxExtensions, "GLX_EXT_texture_from_pixmap")
         && !strstr(glxExtensions, "GLX_EXT_texture_from_drawable"))
     {
-       fprintf (stderr, "%s: GLX_MESA_render_texture is missing\n",
+       fprintf (stderr, "%s: GLX_EXT_texture_from_pixmap is missing\n",
                 programName);
        return FALSE;
     }

(not tested, don't want to bork my working system ;-) )
Back to top
View user's profile Send private message
dmsnell
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 79

PostPosted: Wed Feb 08, 2006 1:23 am    Post subject: Reply with quote

Well, it built with your tarball, but now when I try and start it I get this message and a failure...

Code:

dlopen: /usr/lib/xorg/modules/xgl/libglx.so: undefined symbol: mglNewList

Fatal server error:
No GLX modules loaded
dlopen: /usr/lib/xorg/modules/xgl/libglx.so: undefined symbol: mglNewList

FatalError re-entered, aborting
No GLX modules loaded
Aborted
Back to top
View user's profile Send private message
borkdox
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 123

PostPosted: Wed Feb 08, 2006 2:28 am    Post subject: Reply with quote

Panic mode :cry: (search the forums and no results...) (hope answer is not burried inside this topic...):::

Code:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xgl-20060118/work/xgl-xorg/Mesa-6.4.1/include -I/var/tmp/portage/xgl-20060118/work/xgl-xorg/Mesa-6.4.1/src/mesa/glapi -I/var/tmp/portage/xgl-20060118/work/xgl-xorg/Mesa-6.4.1/src/mesa/main -DXGLServer -DUSE_MGL_NAMESPACE -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=athlon64 -O2 -fomit-frame-pointer -pipe -D_XSERVER64 -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o .libs/glxcmdsswap.o
glxcmds.c: In function '__glXBindSwapBarrierSGIX':
glxcmds.c:2070: warning: cast to pointer from integer of different size
glxcmds.c: In function '__glXVendorPrivate':
glxcmds.c:2303: error: 'X_GLXvop_BindTexImageEXT' undeclared (first use in this function)
glxcmds.c:2303: error: (Each undeclared identifier is reported only once
glxcmds.c:2303: error: for each function it appears in.)
glxcmds.c:2305: error: 'X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
glxcmdsswap.c: In function '__glXSwapVendorPrivate':
glxcmdsswap.c:1089: error: 'X_GLXvop_BindTexImageEXT' undeclared (first use in this function)
glxcmdsswap.c:1089: error: (Each undeclared identifier is reported only once
glxcmdsswap.c:1089: error: for each function it appears in.)
glxcmdsswap.c:1090: warning: pointer targets in passing argument 2 of '__glXSwapBindTexImageEXT' differ in signedness
glxcmdsswap.c:1091: error: 'X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function)
glxcmdsswap.c:1092: warning: pointer targets in passing argument 2 of '__glXSwapReleaseTexImageEXT' differ in signedness
make[2]: *** [glxcmdsswap.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-20060118 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Any suggestions?

Thanks in advance.

NEVERMIND... Answer is on page 11...
Back to top
View user's profile Send private message
dmsnell
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 79

PostPosted: Wed Feb 08, 2006 2:33 am    Post subject: Reply with quote

You need to edit your patches in /usr/local/portage/x11-base/xgl/files

they are
mesa-glx-x11-glxproto-defines.diff
xgl-glxproto-defines.diff

Change references to...

X_GLXvop_BindTexImageMESA -> X_GLXvop_BindTexImageEXT and
X_GLXvop_ReleaseTexImageMESA -> X_GLXvop_ReleaseTexImageEXT.
Back to top
View user's profile Send private message
dmsnell
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 79

PostPosted: Wed Feb 08, 2006 3:40 am    Post subject: Reply with quote

Code:

--- app/glxcompmgr/src/screen.c.old     2006-02-08 01:48:02.000000000 +0100
+++ app/glxcompmgr/src/screen.c 2006-02-08 01:50:27.000000000 +0100
@@ -680,10 +680,10 @@
     currentRoot = s->root;

     glxExtensions = glXQueryExtensionsString (s->display->display, screenNum);
+   /*
-    if (!testMode && !strstr (glxExtensions, "GLX_MESA_render_texture")
+    if (!testMode && !strstr (glxExtensions, "GLX_EXT_texture_from_pixmap")
         && !strstr(glxExtensions, "GLX_EXT_texture_from_drawable"))
     {
-       fprintf (stderr, "%s: GLX_MESA_render_texture is missing\n",
+       fprintf (stderr, "%s: GLX_EXT_texture_from_pixmap is missing\n",
                 programName);
        return FALSE;
     }
+   */


Adding the comments to skip the check worked for me! glxinfo tells me I have the extensions, glxcompmgr works, I'm happy
Back to top
View user's profile Send private message
mariux2
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 242

PostPosted: Wed Feb 08, 2006 6:27 am    Post subject: Reply with quote

So can anyone who has got the newest release of xgl working put out a complete guide on how to move from the previous release to this one?

Last edited by mariux2 on Wed Feb 08, 2006 6:32 am; edited 1 time in total
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 6:30 am    Post subject: Reply with quote

dmsnell wrote:
...glxcompmgr works, I'm happy

Finally, what xgl did you use ?
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 6:32 am    Post subject: Reply with quote

mariux2 wrote:
So can anyone who has got the newest release of xgl working put out a complete guide?

And possibly do new ebuilds + tar the CVS to avoid the "change in CVS" fucks up the guide ;-)
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Wed Feb 08, 2006 7:34 am    Post subject: Reply with quote

Well, i read some more success story's and descided to give it another go. I got mesa 6.4.2 with the 4 patches all compiled and installed. I rechecked out the xgl cvs tree and foudn that 2 patches where breaking it. So i commented them out of the ebuild and i come across this:
Code:
glxcmds.c:2300: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function)
glxcmds.c:2300: error: (Each undeclared identifier is reported only once
glxcmds.c:2300: error: for each function it appears in.)
glxcmds.c:2302: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-20060118 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

A new guide with a new source release would be greatly appreciated!

- bob_111

EDIT: Ok, i did a little editing and found out that it was the 2 patches that where failing. Here are the new ones if anyone else wants them:

Code:
--- xgl-xorg/GL/glx/glxcmds.c.1 2006-01-21 00:47:33.466284000 +0100
+++ xgl-xorg/GL/glx/glxcmds.c   2006-01-21 00:48:49.579040750 +0100
@@ -57,6 +57,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageMESA 15
+#define X_GLXvop_ReleaseTexImageMESA 16
+
 /************************************************************************/

 void GlxSetRenderTables (struct _glapi_table *table)
--- xgl-xorg/GL/glx/glxcmdsswap.c.1     2006-01-21 00:50:57.467033250 +0100
+++ xgl-xorg/GL/glx/glxcmdsswap.c       2006-01-21 00:51:05.979565250 +0100
@@ -55,6 +55,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageEXT 15
+#define X_GLXvop_ReleaseTexImageEXT 16
+
 static int __glXSwapGetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);


Code:
--- xgl-xorg/GL/symlink-mesa.sh.1       2006-01-21 02:06:26.546083000 +0100
+++ xgl-xorg/GL/symlink-mesa.sh 2006-01-21 02:05:57.448264500 +0100
@@ -66,6 +66,7 @@

     action dispatch.h
     action glapi.h
+    action glapi.c
     action glapioffsets.h
     action glapitable.h
     action glapitemp.h
Back to top
View user's profile Send private message
WareKala
n00b
n00b


Joined: 03 Jul 2004
Posts: 7

PostPosted: Wed Feb 08, 2006 8:54 am    Post subject: xgl hardware support Reply with quote

I thought XGL was supposed to work with almost any card with OpenGL support, but from what I can gather, it only works if you can use nVidia or ATi closed-source drivers and even the video playback sucks if your card doesn't support pixel shaders. Am I right on this? I was hoping I could give my laptop a boost in performance with XGL, but my card is a Radeon IGP 340M and isn't supported by closed-source and doesn't support pixel-shaders :( I just recently switched to X.org 7 but EXA just makes everything slower than the X.org 6.8...
Back to top
View user's profile Send private message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Wed Feb 08, 2006 9:33 am    Post subject: Reply with quote

Code:
flowolf@nibiru ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/nvidia/lib/ glxcompmgr wobbly shadow glxcompmgr: glXBindTexImage{EXT,MESA} are missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0


:evil:
_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 607
Location: Seoul, Korea

PostPosted: Wed Feb 08, 2006 9:49 am    Post subject: Reply with quote

bob_111 wrote:
Well, i read some more success story's and descided to give it another go. I got mesa 6.4.2 with the 4 patches all compiled and installed. I rechecked out the xgl cvs tree and foudn that 2 patches where breaking it. So i commented them out of the ebuild and i come across this:
Code:
glxcmds.c:2300: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function)
glxcmds.c:2300: error: (Each undeclared identifier is reported only once
glxcmds.c:2300: error: for each function it appears in.)
glxcmds.c:2302: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-20060118 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

A new guide with a new source release would be greatly appreciated!

- bob_111

EDIT: Ok, i did a little editing and found out that it was the 2 patches that where failing. Here are the new ones if anyone else wants them:

Code:
--- xgl-xorg/GL/glx/glxcmds.c.1 2006-01-21 00:47:33.466284000 +0100
+++ xgl-xorg/GL/glx/glxcmds.c   2006-01-21 00:48:49.579040750 +0100
@@ -57,6 +57,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageMESA 15
+#define X_GLXvop_ReleaseTexImageMESA 16
+
 /************************************************************************/

 void GlxSetRenderTables (struct _glapi_table *table)
--- xgl-xorg/GL/glx/glxcmdsswap.c.1     2006-01-21 00:50:57.467033250 +0100
+++ xgl-xorg/GL/glx/glxcmdsswap.c       2006-01-21 00:51:05.979565250 +0100
@@ -55,6 +55,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageEXT 15
+#define X_GLXvop_ReleaseTexImageEXT 16
+
 static int __glXSwapGetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);


Code:
--- xgl-xorg/GL/symlink-mesa.sh.1       2006-01-21 02:06:26.546083000 +0100
+++ xgl-xorg/GL/symlink-mesa.sh 2006-01-21 02:05:57.448264500 +0100
@@ -66,6 +66,7 @@

     action dispatch.h
     action glapi.h
+    action glapi.c
     action glapioffsets.h
     action glapitable.h
     action glapitemp.h

Are you sure those are the new patches? They look almost exactly like the originals. What's more, even though I made sure to change the patches (cut and pasted them), I ended up with the same exact error.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 10:01 am    Post subject: Reply with quote

flowolf wrote:
Code:
flowolf@nibiru ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/nvidia/lib/ glxcompmgr wobbly shadow glxcompmgr: glXBindTexImage{EXT,MESA} are missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0


:evil:


EDITED

Give a shoot to:
a) emerge patched Mesa 6.4.2 WITHOUT changing the original patches
b) unpack xgl-xorg and replace work dir by the one I posted and with a updated ebuild (cf previous post), resume merge (have to go in xgl overlay - ebuild xx.ebuild unpack , replace src, ebuild merge), As mesa, use the ORIGINAL patches
c) emerge glxcomp (and hope they didn't start to update it yet...)
d) pray...

REDITED to clear what mesa to use...


Last edited by pijalu on Wed Feb 08, 2006 10:10 am; edited 2 times in total
Back to top
View user's profile Send private message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Wed Feb 08, 2006 10:05 am    Post subject: Reply with quote

I'm using it...
_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 10:07 am    Post subject: Reply with quote

flowolf wrote:
I'm using it...

sorry... I read too fast your error message and give wrong solution ;-) - edited previous post ;-)
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Wed Feb 08, 2006 10:48 am    Post subject: Reply with quote

baeksu wrote:
bob_111 wrote:
Well, i read some more success story's and descided to give it another go. I got mesa 6.4.2 with the 4 patches all compiled and installed. I rechecked out the xgl cvs tree and foudn that 2 patches where breaking it. So i commented them out of the ebuild and i come across this:
Code:
glxcmds.c:2300: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function)
glxcmds.c:2300: error: (Each undeclared identifier is reported only once
glxcmds.c:2300: error: for each function it appears in.)
glxcmds.c:2302: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060118/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-20060118 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

A new guide with a new source release would be greatly appreciated!

- bob_111

EDIT: Ok, i did a little editing and found out that it was the 2 patches that where failing. Here are the new ones if anyone else wants them:

Code:
--- xgl-xorg/GL/glx/glxcmds.c.1 2006-01-21 00:47:33.466284000 +0100
+++ xgl-xorg/GL/glx/glxcmds.c   2006-01-21 00:48:49.579040750 +0100
@@ -57,6 +57,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageMESA 15
+#define X_GLXvop_ReleaseTexImageMESA 16
+
 /************************************************************************/

 void GlxSetRenderTables (struct _glapi_table *table)
--- xgl-xorg/GL/glx/glxcmdsswap.c.1     2006-01-21 00:50:57.467033250 +0100
+++ xgl-xorg/GL/glx/glxcmdsswap.c       2006-01-21 00:51:05.979565250 +0100
@@ -55,6 +55,9 @@
 #include "glthread.h"
 #include "dispatch.h"

+#define X_GLXvop_BindTexImageEXT 15
+#define X_GLXvop_ReleaseTexImageEXT 16
+
 static int __glXSwapGetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);
 static int __glXSwapCreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);


Code:
--- xgl-xorg/GL/symlink-mesa.sh.1       2006-01-21 02:06:26.546083000 +0100
+++ xgl-xorg/GL/symlink-mesa.sh 2006-01-21 02:05:57.448264500 +0100
@@ -66,6 +66,7 @@

     action dispatch.h
     action glapi.h
+    action glapi.c
     action glapioffsets.h
     action glapitable.h
     action glapitemp.h

Are you sure those are the new patches? They look almost exactly like the originals. What's more, even though I made sure to change the patches (cut and pasted them), I ended up with the same exact error.

Thay are the old patches but have been updated to work with the latest CVS code. The first one apply's some changes to the XGL api and the 2nd one just apply's the patch 2 lines lower because some code has been inserted above them. They compile fine but i STILL cant get XGL working with my AGP 6600GT with the latest drivers and whatnot.

- bob_111
Back to top
View user's profile Send private message
flowolf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 143

PostPosted: Wed Feb 08, 2006 10:55 am    Post subject: Reply with quote

Could you please explain the "b" pass in more detail?
_________________
Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer
Back to top
View user's profile Send private message
Q-collective
Veteran
Veteran


Joined: 22 Mar 2004
Posts: 1923

PostPosted: Wed Feb 08, 2006 11:07 am    Post subject: Reply with quote

Anyone who cares to write a nice howto for it?
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 11:13 am    Post subject: Reply with quote

flowolf wrote:
Could you please explain the "b" pass in more detail?


use the xgl patched ebuild i posted on page 10 - then
go to the place were the new ebuild (i call it xgl-20060118-r2.ebuild)
# ebuild xgl-20060118-r2.ebuild unpack
# cd /var/tmp/portage/xgl-20060118-r2/work
(go get the CVS version tar ball I use - http://rapidshare.de/files/12775470/my-xgl-xorg.tar.bz2.html)
# rm -rf xgl-xorg
copy in the current dir the tarball and extract it - chown to portage:portage the complete thing if not owned by portage and go back to the place were xgl overlay is - you should have a xgl-xorg dir again in work
Return to the place holding the ebuild
#ebuild xgl-20060118-r2.ebuild merge
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Feb 08, 2006 11:17 am    Post subject: Reply with quote

Q-collective wrote:
Anyone who cares to write a nice howto for it?


my 2 cents: I guess it will be better to wait until xgl+mesa CVS compile without needing a fuckbrain loads of patches... or the how-to will be wrong in 4 days... DavidR has now commit on the mesa tree... so this should be pretty soon.... And maybe wait to have compiz aswell, since glxcomp is funky to compile against current code status...
Back to top
View user's profile Send private message
Q-collective
Veteran
Veteran


Joined: 22 Mar 2004
Posts: 1923

PostPosted: Wed Feb 08, 2006 11:38 am    Post subject: Reply with quote

pijalu wrote:
my 2 cents: I guess it will be better to wait until xgl+mesa CVS compile without needing a fuckbrain loads of patches... or the how-to will be wrong in 4 days... DavidR has now commit on the mesa tree... so this should be pretty soon.... And maybe wait to have compiz aswell, since glxcomp is funky to compile against current code status...

Good point, I was just bringing it up ;)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 28, 29, 30  Next
Page 13 of 30

 
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