Thursday, February 9. 2006Xgl and compiz overlay updateComments
Display comments as
(Linear | Threaded)
First of all - thanks for you HARD work with all these overlays. Its very much appreciated.
But sadly the overlay xgl-overlay-200601212.tar failes here (most sure its a fault on my side, but I wanted to report it anyway - pls delete if too long) 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.... i686-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 -O2 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c -fPIC -DPIC -o .libs/glxcmdsswap.o 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:1091: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) make[2]: *** [glxcmdsswap.lo] Error 1 i686-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 -O2 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops -MT glxext.lo -MD -MP -MF .deps/glxext.Tpo -c glxext.c -fPIC -DPIC -o .libs/glxext.o 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
Hello!
It seems like the latest overlay (200602093) has this problem too. ... -D_REENTRANT -UIN_DRI_DRIVER glxcmds.c -o glxcmds.o glxcmds.c: In function 'glXBindTexImageEXT': glxcmds.c:2618: error: 'X_GLXvop_BindTexImageEXT' undeclared (first use in this function) glxcmds.c:2618: error: (Each undeclared identifier is reported only once glxcmds.c:2618: error: for each function it appears in.) glxcmds.c: In function 'glXReleaseTexImageEXT': glxcmds.c:2659: error: 'X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) make[3]: *** [glxcmds.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r1/work/Mesa-6.4.2/src/glx/x11
I don't know what you're doing, this defines should be declared by glproto-1.4.3-r1 and that's a dependency of the mesa ebuild.
The ebuild does not specify the revised version, hung me too. I already found the solution though.
I think the issue is that you need to do in order to get to get the new glproto pulled in for mesa:
emerge -Du mesa glitz xgl compiz
i had the same problem and i solved this problem like this on amd64:
-------------------------------------------------- power64 GL # cd /usr/include/GL power64 GL # ln -sf /usr/lib64/opengl/global/include/glext.h glext.h power64 GL # ln -sf /usr/lib64/opengl/xorg-x11/include/gl.h gl.h power64 GL # ln -sf /usr/lib64/opengl/global/include/glxext.h glxext.h power64 GL # ln -sf /usr/lib64/opengl/xorg-x11/include/glx.h glx.h power64 GL # ln -sf /usr/lib64/opengl/xorg-x11/include/glxmd.h glxmd.h power64 GL # ln -sf /usr/lib64/opengl/xorg-x11/include/glxproto.h glxproto.h power64 GL # ln -sf /usr/lib64/opengl/xorg-x11/include/glxtokens.h glxtokens.h
Hi,
Just a general Xgl question: does Xgl only work with ati and nvidia cards, or are the intel cards (like i810) also supported?
I just found that the cvs repos location of compiz has changed/is not correct. See the patch below:
Index: compiz-20060209.ebuild =================================================================== --- compiz-20060209.ebuild (revision 1877) +++ compiz-20060209.ebuild (working copy) @@ -4,9 +4,10 @@ inherit eutils cvs -ECVS_SERVER="cvs.freedesktop.org:/cvs/xapps" -ECVS_MODULE="compiz" -S=${WORKDIR}/${ECVS_MODULE} +ECVS_SERVER="cvs.freedesktop.org:/cvs/xorg" +ECVS_MODULE="app/compiz" +ECVS_LOCALNAME="compiz" +S=${WORKDIR}/${ECVS_LOCALNAME} DESCRIPTION="compiz composite manager"
Seems to work fine here, on x86 and old Nvidia GeForce 2 mx.
I've noticed minor glitches, like temporary color/pattern artfiafcts when switching windows, but nothing too annoying. Xgl seems to run stable, even with gnome components. I can watch videos using totem (although totem main logo is broken), run a picture slideshow in eog, even run a opengl screensaver from rss-glx collection. Unfortunately, I cannot realy say it's faster, or even more 'smooth' than X.org - when runnig a movie player and glxgears at the same time, I got skippy playback. Moving windows around the desktop also leaves visible 'redrawing trail'.
I have it running on an Radeon 9200 and it works remarkably well. Im really surprised. Thanks to Hanno it was simple as cake to get it up and running.
OK. really old post but for those of you wondering, XGL does NOT use XV for movie playback. It renders to 3d texture which requires pixel shaders and such that the Geforce 2 series and several of the MX's do not have. As such they fall back to slow software rendering and will run like crap.
Glitz isn't compiling:
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../..//libGL.la' is not a valid libtool archive make[3]: *** [libglitz-glx.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/glitz-0.5.0_alpha20060209/work/glitz/src/glx' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glitz-0.5.0_alpha20060209/work/glitz/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glitz-0.5.0_alpha20060209/work/glitz' make: *** [all] Error 2 !!! ERROR: media-libs/glitz-0.5.0_alpha20060209 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. anyone got any ideas?
just replaced the empty file /usr/lib/libGL.la with this one instead /usr/lib/opengl/xorg-x11/lib/libGL.la , and glitz compiled. sweet.
multi@localhost ~ $ Xgl :1 -ac -accel glx:pbuffer -accel xv _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
Everything compiled just fine, but when i try to start Xgl i get this error: _XSERVTransOpen: transport open failed for inet6/localhost:1 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 1 (X_GLXRender) Serial number of failed request: 90 Current serial number in output stream: 91
i had the problem too this soved my problem
LD_PRELOAD=/usr/lib/libGL.so Xgl :1 -ac -accel xv -accel glx:pbuffer &
emerge compiz results in a "No package 'libstartup-notification-1.0' found" error.
checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for COMPIZ... configure: error: Package requirements (libpng xcomposite xfixes xdamage xrandr ice sm libstartup-notification-1.0 >= 0.7) were not met: No package 'libstartup-notification-1.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables COMPIZ_CFLAGS and COMPIZ_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! ERROR: x11-wm/compiz-20060209 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. I use Gentoo/KDE ATI Radeon 9200 system... anyone got ideas?
Well, the error message is pretty clear. You either have not installed the startup-notification or at least not a version recent enough. I guess its the latter because compiz has a build dependency on startup-notification.
@hanno: Maybe it would a good idea to make this dependency versioned.
since I use KDE and startup-notification is a package delivered with Gnome, it was not installed on my system. I installed startup-notification from http://www.freedesktop.org/software/startup-notification/releases/ without having to install gnome or other large packages. It works now.
It's strange though that it isn't mentioned in the dependency tree.
you only did an emerge of those packages without setting any gnome use flag or anything else? because I want to use xgl with kde, but which window-decorator do I have to use then? As I read that the kde-window-decorator doesn't work.
thx, dominik
Everything works fine here so far (nvidia), I only had to add --disable-kde to the autoconf line in the compiz ebuild since someone added a kde decorator which didn't compile for me.
So a big thanks & thumbs up from me :)
@Hanno: What do you think about adding transset-df (see http://gentoo-wiki.com/Xorg_X11_and_Transparency#transset-df ) to your overlay?
I got the : windows are complete black after starting compiz.
this is the error : from forums.gentoo.org more people experience it, but i think its nvidia only. pixmap 0x40000c can't be bound to texture compiz: Couldn't bind redirected window 0x20000e to texture any one HELP?
There seems to be a problem applying on of the patches...:
with: xgl-overlay-200602094.tar.bz2 I get: * Applying mesa-glx-x11-get-drawable-attribs-fix-1.diff ... * Failed Patch: mesa-glx-x11-get-drawable-attribs-fix-1.diff ! * ( /usr/local/portage/media-libs/mesa/files/mesa-glx-x11-get-drawable-attribs-fix-1.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/mesa-6.4.2-r1/temp/mesa-glx-x11-get-drawable-attribs-fix-1.diff-10857.out !!! ERROR: media-libs/mesa-6.4.2-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack mesa-6.4.2-r1.ebuild, line 86: Called epatch 'unpack' !!! Failed Patch: mesa-glx-x11-get-drawable-attribs-fix-1.diff! !!! If you need support, post the topmost build error, and the call stack if relevant. --------- not sure if I'm doing something wrong?
Has anyone of you managed to get the nice switcher plugin to work? ALT+TAB is not working here.
By default it's not built. See http://forums.gentoo.org/viewtopic.php?p=3099077#3099077
Thanks, that worked. The only thing I had to do in addition, is to add switcher to the list of active_plugins at apps/compiz/general/allscreens/options. Starting compiz with the switcher option was not enough.
I get this error when running Xgl,
X Error: BadLength Request Major code 142 (GLX) Request Minor code 1 () Error Serial #94 Current Serial #95 with mesa-cvs, and with ati i can start Xgl, but when i try to start compiz i get, Xlib: extension "GLX" missing on display ":1.0". Xlib: extension "GLX" missing on display ":1.0". Xlib: extension "GLX" missing on display ":1.0". compiz: glXCreateContext failed compiz: Failed to manage screen: 0 compiz: No managable screens found on display :1 Maybe you know the solution for this problem?
i get the same error, and i also get
libGL warning: 3D driver returned no fbconfigs. libGL error: InitDriver failed libGL error: reverting to (slow) indirect rendering from glxinfo now in xorg. i have a i810 video card
using your overlay I managed to get Xgl and compiz working with the nvidia drivers. I had to use "DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz" to start compiz otherwise it complained about missing GLX_EXT_texture_from_pixmap. When i'm running compiz the menus fade in and deform, but the windows have no decoration. I don't seem to have gnome-window-decorator (I use KDE). Is there any way to get kde window decorations?
Well, the kde-window-decorator has been disabled because it does not compile cleanly (some moc files are not created properly). If you want to try out kde-window-decorator you can try this small patch for compiz-20060209.ebuild.
--- compiz-20060209.ebuild.orig 2006-02-10 19:10:09.000000000 +0100 +++ compiz-20060209.ebuild 2006-02-10 19:11:17.000000000 +0100 @@ -25,8 +25,12 @@ ./autogen.sh --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-kde || die +` --mandir=/usr/share/man || die + + pushd kde/window-decorator/ + make qwmscreen.moc + make qwmwindow.moc + popd emake || die } This is a rather hacky solution but should work. But dont expect too much from the kde-window-decorator. It proved to be very unstable here.
hmmm... can't move my windows? any ideas what could cause this? i'm using the intel i810 gfx..
@hanno: You mentioned that you own a Radeon 9200 card, I have a Radeon Mobility 9200 and the only thing that seems not to be accelerated is XVideo (CPU has 100% and the video is still skipping). Could you get XVideo acceleration running
I just tried it on amd64 and it seems you're installing stuff into /usr/lib rather than /usr/lib64 - use get_libdir to retreive the correct library path
*me loves it* :-))
Thx for theses ebuilds !
Works nicely here (ati firegl t2 128Mo => radeon 9600pro) Small video : http://lycos.dropcode.net/xgl/xgl-gentoo-lycos.mpeg
I tried to install everything but it somehow wont work with the overlay. the mesa tree seems to be incompatible. i get an error that depthstencil.c is missing.
exact problem here, tried to patch symlink generator to exclude missing files in mesa-6.4.2:
*** xgl-xorg/GL/symlink-mesa.sh.1 Sat Feb 11 11:56:33 2006 --- xgl-xorg/GL/symlink-mesa.sh Sat Feb 11 12:20:03 2006 *************** symlink_mesa_main() { *** 111,118 **** action debug.h action depth.c action depth.h - action depthstencil.c - action depthstencil.h action dlist.c action dlist.h action drawpix.c --- 111,116 ---- *************** symlink_mesa_swrast() { *** 291,300 **** action s_spantemp.h action s_stencil.c action s_stencil.h - action s_texcombine.c - action s_texcombine.h - action s_texfilter.c - action s_texfilter.h action s_texstore.c action s_triangle.c action s_triangle.h --- 289,294 ---- *************** symlink_mesa_shader() { *** 386,392 **** action nvvertparse.h action program.c action program.h - action program_instruction.h action shaderobjects.c action shaderobjects.h action shaderobjects_3dlabs.c --- 380,385 ---- *************** symlink_mesa_shader_slang() { *** 420,433 **** action slang_assemble_typeinfo.h action slang_compile.c action slang_compile.h - action slang_compile_function.c - action slang_compile_function.h - action slang_compile_operation.c - action slang_compile_operation.h - action slang_compile_struct.c - action slang_compile_struct.h - action slang_compile_variable.c - action slang_compile_variable.h action slang_execute.c action slang_execute.h action slang_mesa.h --- 413,418 ---- and Makefiles for missing c/h files: *** xgl-xorg/GL/mesa/main/Makefile.am.1 Sat Feb 11 12:38:12 2006 --- xgl-xorg/GL/mesa/main/Makefile.am Sat Feb 11 12:40:17 2006 *************** nodist_libmain_la_SOURCES = accum.c \ *** 34,40 **** convolve.c \ debug.c \ depth.c \ - depthstencil.c \ dlist.c \ drawpix.c \ enable.c \ --- 34,39 ---- and *** xgl-xorg/GL/mesa/shader/slang/Makefile.am.1 Sat Feb 11 12:38:12 2006 --- xgl-xorg/GL/mesa/shader/slang/Makefile.am Sat Feb 11 12:45:08 2006 *************** nodist_libslang_la_SOURCES = slang_assem *** 22,31 **** slang_assemble_constructor.c \ slang_assemble_typeinfo.c \ slang_compile.c \ - slang_compile_function.c \ - slang_compile_operation.c \ - slang_compile_struct.c \ - slang_compile_variable.c \ slang_execute.c \ slang_preprocess.c \ slang_storage.c \ --- 22,27 ---- it still doesn't compile: state.c:90:24: nvfragprog.h: No such file or directory and copying header from shader to main won't help. i\m totally lost, anybody has the same problem solved? PS sorry for very long post, patches are to show which mesa files are problematic.
I install all ok, I have compiz, gnome-window-decorator, I start Xgl... , compiz, gnome-win.... and xterm, but.. I cant get any efects, who I can test if all its ok??
Hints: If compiz segfaults on amd64 - try leaving out 'wobbly' if this fixes it, recompile compiz *without* -O2 in CFLAGS...
Some keys to press :-) Ctrl-Shift-Right(left)Cursor - Rotate the cube Ctrl-Alt-Shift-Right(left)Cursor - Rotate the cube, sliding the foreground window with you to the new screen. Ctrl-Shift-Leftclick a titlebar and drag - Rotate the cube Windows-Key+ScrollWheel == Zoom (again only seems to work if mouse over a window and not blank desktop... Hold Ctrl whilst moving a window to set the 'sticky' alignment of windows. F12 (toggle) 'Expose' Mode. Now, if someone can patch the ebuild to build a working switcher ;-)
Hints: If compiz segfaults on amd64 - try leaving out 'wobbly' if this fixes it, recompile compiz *without* -O2 in CFLAGS...
Some keys to press :-) Ctrl-Shift-Right(left)Cursor - Rotate the cube Ctrl-Alt-Shift-Right(left)Cursor - Rotate the cube, sliding the foreground window with you to the new screen. Ctrl-Shift-Leftclick a titlebar and drag - Rotate the cube Windows-Key+ScrollWheel == Zoom (again only seems to work if mouse over a window and not blank desktop... Hold Ctrl whilst moving a window to set the 'sticky' alignment of windows. F12 (toggle) 'Expose' Mode. Now, if someone can patch the ebuild to build a working switcher...
Hints: If compiz segfaults on amd64 - try leaving out 'wobbly' if this fixes it, recompile compiz *without* -O2 in CFLAGS...
Some keys to press :-) 1. Ctrl-Shift-Right(left)Cursor - Rotate the cube 2. Ctrl-Alt-Shift-Right(left)Cursor - Rotate the cube, sliding the foreground window with you to the new screen. 3. Ctrl-Shift-Leftclick a titlebar and drag - Rotate the cube 4. Windows-Key+ScrollWheel == Zoom (again only seems to work if mouse over a window and not blank desktop... 5. Hold Ctrl whilst moving a window to set the 'sticky' alignment of windows. 6. F12 (toggle) 'Expose' Mode. Now, if someone can patch the ebuild to build a working switcher...
Sorry Hanno - I was getting server errors/msg not passing spamfilter responses from you when quite obviously it was adding the comment anyway - my apologies. malc.
My apologies Hanno, I was getting server error/msg not passing spam filter responses when my msg was quite evidently *not* getting blocked... sorry for the spam.
Switcher is now in the compiz CVS.
2. Ctrl-Alt-Shift-Right(left)Cursor - Rotate the cube, sliding the foreground window with you to the new screen. This one doesn't work for me :/
*See http://gentoo-wiki.com/HOWTO_XGL for a howto wiki page.* A lot of knowledge from the loooong gentoo forum thread about xgl went into that :-)
Hi Hanno,
Really appreciate your hard work and that you provide an overlay for us other mortals, but could you please chuck a ChangeLog up somewhere and post what the differences are in the new overlays? Keep up the good work though!
Hello, I've used your portage overlay. I've installed Xgl, mesa, glitz and compiz but when I type "Xgl :1 -ac -accel glx:pbuffer -accel xv" I've got an error :
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage Fatal server error: No GLX modules loaded Aborted Could somebody help me ? :-(
same problem here (undefined symbol: _tnl_arb_vertex_shader_stage), maybe the build is broken for the moment... :/ *crosses fingers and waits for update*
*fixed*
problem with the weird shader stuff, was because of sed location (while switching gl implimentation): anyways: vim /usr/share/eselect/libs/core.bash line 115.. correct the location of sed (/bin/sed for me) re-emerge, worked great =]
same problem here :( now i try to reemerge the whole bunch, any ideas?
Still no window decoration but i don't want to install gnome on my xfce just because of that. everything else works smoothly w/ ATI Mobility 9700, ATI newest binaries, dothan 1.8GHz, 1Gb ram
sorry i forgot to add the URL w/ screenshots http://gallery.dislense.com/2006febr
Just a note I picked up from the Gentoo wiki on this... If you have AMD64, than you need to compile compiz with CFLAGS=-O0 because the optimizations don't quite work well yet.
When i try launch Xgl the output is it:
rivendel ebuilds # Xgl :2 -ac -accel glx:pbuffer -accel xv _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/rivendel:2 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 1 (X_GLXRender) Serial number of failed request: 91 Current serial number in output stream: 92 rivendel ebuilds #
Sorry, I found the problem with my nvidia driver and the glx extension.
All run ok in root mode but I tring make it for a normal user.
Perfect, its runing in Gentoo with Nvidia and its OK.
The first user plugin (by FWoodhouse) has been published! It allows to change the opacity of windows. Find it at http://www.downwithnumbers.com/news.php?id=41
Instructions for gentooists can be found in the XGL howto at http://gentoo-wiki.com/HOWTO_XGL#opacity
Any chance that you could provide this overlay as an SVN repo? Would make updating so much easier.
If you are having a compilation error related to s_arbshader.h, here is my fix:
http://lupinehunter.livejournal.com/55994.html
glxcompmgr has been replaced by Novell's compiz and so is no more developped/distributed
But... but, that's the only way this thing works with KDE. Compiz doesn't like kwin.
I believe the black windows problem for nvidia has been solved.
The instructions above cause glitz and Xgl to build against the mesa GL, but they should build against the nvidia gl. Try: emerge mesa emerge nvidia-glx glitz xgl eselect opengl xorg-x11 emerge compiz eselect opengl nvidia and don't forget to LD_LIBRARY_PATH=/usr/include/opengl/xorg-x11/lib for compiz some feedback on whether this helps people or not would be good.
Actually it should be enough to rebuild glitz from current CVS ;-)
I just got the newest overlay, and it compiz wants to install QT4. What gives? ;-)
Thanks for the overlays btw, it really is a lot of help!
It depends on QT4 with USE="kde", but the kde window decorator isn't working yet anyway.
emerge xgl fails with that error:
* Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/xgl-20060215/work * Applying r200-copy-pixels-1.patch ... * Failed Patch: r200-copy-pixels-1.patch ! * ( /usr/local/portage-xgl/x11-base/xgl/files/r200-copy-pixels-1.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/xgl-20060215/temp/r200-copy-pixels-1.patch-5076.out !!! ERROR: x11-base/xgl-20060215 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack xgl-20060215.ebuild, line 50: Called epatch 'unpack' !!! Failed Patch: r200-copy-pixels-1.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. Am i doing something wrong? those are my versions installed: media-libs/mesa-6.4.2-r1 media-libs/glitz-0.5.0_alpha20060215 and trying to install that one -> xgl-20060215 What am i doing wrong? thanks in advanced
emerge xgl fails with that error:
* Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/xgl-20060215/work * Applying r200-copy-pixels-1.patch ... * Failed Patch: r200-copy-pixels-1.patch ! * ( /usr/local/portage-xgl/x11-base/xgl/files/r200-copy-pixels-1.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/xgl-20060215/temp/r200-copy-pixels-1.patch-5076.out !!! ERROR: x11-base/xgl-20060215 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack xgl-20060215.ebuild, line 50: Called epatch 'unpack' !!! Failed Patch: r200-copy-pixels-1.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. Am i doing something wrong? those are my versions installed: media-libs/mesa-6.4.2-r1 media-libs/glitz-0.5.0_alpha20060215 and trying to install that one -> xgl-20060215 What am i doing wrong? thanks in advanced
I'm having the same issue, only emerge can't apply the arbshader patch.
Additionally, when I rolled back xgl to February 14th's overlay to avoid the issue applying the patch, when I run compiz I get the following error: compiz: indirect_vertex_array.c:659: emit_drawArrays_old: Assertion `elements_per_request >= count` failed. Anyone else have this problem, or anyone who can help me with the patch issues? Thank you in advance.
Yes, having same issue with arbshader:
* Fetching CVS module xserver/xorg into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z4 -d ":pserver:anonymous:@cvs.freedesktop.org:/cvs/xorg" login Logging in to :pserver:anonymous@cvs.freedesktop.org:2401/cvs/xorg * Running cvs -q -f -z4 -d ":pserver:anonymous@cvs.freedesktop.org:/cvs/xorg" update -dP -rxgl-0-0-1 xgl-xorg cvs update: warning: cannot open /cvs/xorg/CVSROOT/val-tags read/write: Permission denied * Copying xserver/xorg from /usr/portage/distfiles/cvs-src ... * CVS module xserver/xorg is now in /var/tmp/portage/xgl-20060215/work * Fetching CVS module Mesa into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z4 -d ":pserver:anonymous:@pdx.freedesktop.org:/cvs/mesa" login Logging in to :pserver:anonymous@pdx.freedesktop.org:2401/cvs/mesa * Running cvs -q -f -z4 -d ":pserver:anonymous@pdx.freedesktop.org:/cvs/mesa" update -dP Mesa * Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/xgl-20060215/work * Applying r200-copy-pixels-1.patch ... [ ok ] * Applying xgl-arbshader-symlink-2.diff ... * Failed Patch: xgl-arbshader-symlink-2.diff ! * ( /usr/local/xgl/x11-base/xgl/files/xgl-arbshader-symlink-2.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/xgl-20060215/temp/xgl-arbshader-symlink-2.diff-12358.out !!! ERROR: x11-base/xgl-20060215 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack xgl-20060215.ebuild, line 53: Called epatch 'unpack' !!! Failed Patch: xgl-arbshader-symlink-2.diff! !!! If you need support, post the topmost build error, and the call stack if relevant.
fixed in svn overlay, compiling now... the anticipation rises. thanks hanno!
How did you get your SVN overlay to check out correctly? When I run the command 'svn co http://svn.hboeck.de/xgl-overlay', I only get a small set of files: Manifests, patches, and ebuilds. I don't get any source code. Then when I try to 'emerge xgl', it tells me there's a mismatch in size with the file 'xgl-overlay/x11-base/xgl/xgl-20060216.ebuild'. It received a file with size 1881 and was expecting a file with size 1903.
Am I doing something stupid/wrong?
IT is just because of the digest of the ebuild; easily fixed by cd'ing to xgl-overlays/x11-base/xgl/ and doing "ebuild xgl-whatever digest". It regens the digest file and lets you emerge it.
BTW, thanks for your superb work on this overlay... I just couldn't believe it when I saw XGL in a laptop of a friend, really ^^.
emerge xgl still fails with that error:
* Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/xgl-20060216/work * Applying r200-copy-pixels-1.patch ... * Failed Patch: r200-copy-pixels-1.patch ! * ( /usr/local/portage-xgl/x11-base/xgl/files/r200-copy-pixels-1.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/xgl-20060216/temp/r200-copy-pixels-1.patch-5076.out !!! ERROR: x11-base/xgl-20060216 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack xgl-20060216.ebuild, line 50: Called epatch 'unpack' !!! Failed Patch: r200-copy-pixels-1.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. Could it be cause i install mesa liek this? VIDEO_CARDS="none" emerge mesa, as i use nvidia drivers i don't need the mesa one, and mesa neither have nvidia chip use flag, then i also compiled xorg-x11 and xorg-server with -dri use flag as nvidia comes with its own dri. so basically all i need is in the kernel (agp_gart which i don't use) or in nvidia. Gonna try to compile mesa without VIDEO_CARDS="none", but it shouldn't be this way, then is it fails gonna try to recompile xorg with dri use flaga ctivated althoguh i don't need it. If someone can help i gonna very very happy, thanks :)
emerge xgl still fails with that error:
* Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/xgl-20060216/work * Applying r200-copy-pixels-1.patch ... * Failed Patch: r200-copy-pixels-1.patch ! * ( /usr/local/portage-xgl/x11-base/xgl/files/r200-copy-pixels-1.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/xgl-20060216/temp/r200-copy-pixels-1.patch-5076.out !!! ERROR: x11-base/xgl-20060216 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack xgl-20060216.ebuild, line 50: Called epatch 'unpack' !!! Failed Patch: r200-copy-pixels-1.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. Could it be cause i install mesa liek this? VIDEO_CARDS="none" emerge mesa, as i use nvidia drivers i don't need the mesa one, and mesa neither have nvidia chip use flag, then i also compiled xorg-x11 and xorg-server with -dri use flag as nvidia comes with its own dri. so basically all i need is in the kernel (agp_gart which i don't use) or in nvidia. Gonna try to compile mesa without VIDEO_CARDS="none", but it shouldn't be this way, then is it fails gonna try to recompile xorg with dri use flaga ctivated althoguh i don't need it. If someone can help i gonna very very happy, thanks :) Also i've seen that xdrinfo shows, i don't know why. dri is working for me: # glxinfo |grep -i dir direct rendering: Yes xdriinfo libGL is too old.
first of all i want to give a positive feedback ... works like a charm (execpt xinerama) but anyway - great job - it flows absolutly fluent
latest ebuild from 17.02.06 system : gentoo dual amd athlon gforce 4400 ti btw svn did not work and Manifest was incorrect. keep on going
I can start Xgl and compiz/gnome-window-decorator, but as soon as I start any x client, Xgl bombs out with
drmRadeonCmdBuffer: -22 (exiting) The kernel says: [drm:r300_emit_raw_packet3] *ERROR* Unknown packet3 header (0xc0059b00) [drm:r300_emit_packet3] *ERROR* r300_emit_raw_packet3 failed [drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet3 failed I can start the x client on Xgl, but the same crash occurs when starting compiz. I fear I have some stray header-file or library lying around, which is not being replaced when updating everything else. Any hints?
when emerging xgl, it takes a dump. Topmost error says:
slang_execute.c:36:33: slang_library_noise.h: No such file or directory which results in: i686-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/var/tmp/portage/xgl-20060216/work/Mesa/include -I../grammar -I../../X -I../../array_cache -I../../glapi -I../../main -I../../math -I../../shader -I../../swrast -I../../swrast_setup -I../../tnl -I../.. -I../../../../hw/xfree86/os-support -DXGLServer -DUSE_MGL_NAMESPACE -DHAVE_DIX_CONFIG_H -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 -O2 -pipe -mcpu=i686 -MT slang_preprocess.lo -MD -MP -MF .deps/slang_preprocess.Tpo -c slang_preprocess.c -fPIC -DPIC -o .libs/slang_preprocess.o make[4]: *** [slang_execute.lo] Error 1 I have slang installed, 1.4.9-r1 Thanks.
whoop nevermind. just svn up'd and saw the slang_library_noise.diff
thanks for the guide and overlay :D
Unfortunately the freedesktop CVS server seems to be down..
Guess this Xgl has got a lot of interest lately.
look like they switched to GIT :-(
there is no git.eclass in normal portage 0> sucks
I just svn'd but the slang patch seems to missing??
anywhere I can find it? /btw great work!!
I'm using xgl-20060216 and get this compilation error:
i686-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/var/tmp/portage/xgl-20060216/work/Mesa/include -I../grammar -I../../X -I../../array_cache -I../../glapi -I../../main -I../../math -I../../shader -I../../swrast -I../../swrast_setup -I../../tnl -I../.. -I../../../../hw/xfree86/os-support -DXGLServer -DUSE_MGL_NAMESPACE -DHAVE_DIX_CONFIG_H -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 -O2 -march=athlon-xp -fomit-frame-pointer -MT slang_assemble_assignment.lo -MD -MP -MF .deps/slang_assemble_assignment.Tpo -c slang_assemble_assignment.c -fPIC -DPIC -o .libs/slang_assemble_assignment.o In file included from slang_compile.h:28, from slang_assemble.h:28, from slang_assemble_assignment.h:28, from slang_assemble_assignment.c:33: slang_compile_variable.h:28:26: slang_export.h: No such file or directory In file included from slang_compile.h:28, from slang_assemble.h:28, from slang_assemble_assignment.h:28, from slang_assemble_assignment.c:33: I have mesa-6.4.3_alpha20060216 and glitz-0.5.3 installed. Any ideas? I see some other MESA related errors above, so not sure if this is the same thing.
Hi, just to let you know, I have the exact same error, and I also have glitz-0.5.3 and mesa-6.4.3_alpha20060216.
I think it's just the CVS at the moment, we should probably try again in 24h or so :)
Ok, I've found something, it can't find some include files, what I did is to change the following (pause emerge when it's configuring):
in /var/tmp/portage/xgl-20060216/work/Mesa/src/mesa/shader/slang/slang_compile_variable.h change #include "slang_export.h" to the full path to this file (/var/tmp/portage/xgl-20060216/work/Mesa/shader/slang/slang_export.h, it's in the same directory as slang_export.h) Do the same for /var/tmp/portage/xgl-20060216/work/Mesa/src/mesa/shader/slang/shaderobjects_3dlabs.c It should compile now :)
Thanks for the find.
I just did a svn up and the xgl-mesa-slang-export.diff file appears to address the missing slang_export.h file.
xgl compiles fine now, but I get a 'segmentation fault' when starting the server :(
the log and strace don't give anything useful (at least not for me :)) I recompiled glitz, mesa and xgl. same thing, don't know what to make of this. if someone cares: http://www.derhoch.de/strace-xgl.log
ok, my fault (I think). 'Option "RENDER" "disable"' was set in my xorg.conf. wasn't a problem before...
Now that I have everything built and running, I should report that so far it's working pretty well
I have a Athlon XP 2200+ CPU, nVidia GeForce 4 Ti 4600, 512 MB RAM and using the nvidia-1.0.8178-r3 driver and have built xgl using svr rev 19. I start compiz as "compiz --replace switcher decoration wobbly fade minimize cube rotate zoom scale move resize place" The wobbly, cube, zoom plugins all work without problems. I don't notice any redraw problems at all with no CPU load. Problems I have noticed so far 1) xine doesn't work in xgl for me, works fine in my KDE 2) playing a DVD with mplayer in XGL is choppy, but plays fine in KDE 3) wobbly and cube effects perform badly when I'm using a lot of CPU (e.g., doing an emerge). In my KDE I don't notice choppiness like this. But, it's awesome to have this running now...thanks to Hanno for putting all this together!
I have a big problem with compiling mesa. There is a whole dir missing! I've tried to make the i830 dir with a stubed Makefile, then I can compile mesa, but I don't ha
ve any DRI with the new mesa version. Therefor I can't start XGL :( I've been looking around for solutions for this problem but there are none that I can find. Doesn't seem like there are many Intel users that are trying XGL. /bin/sh: line 0: cd: i830: No such file or directory make[5]: *** [subdirs] Error 1 make[5]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/ src/mesa/drivers/dri' make[4]: *** [linux-solo] Error 2 make[4]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/ src/mesa' make[3]: *** [default] Error 2 make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/ src/mesa' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/ src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa' make: *** [linux-dri-x86] Error 2 !!! ERROR: media-libs/mesa-6.4.3_alpha20060216 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile
Great! Played with xgl and compiz yesterday. Everything works just like on that Novell video :-) I have GeForce 4 MX 440 with latest proprietary drivers. Thanks for making this possible!
mesa-slang-storage.diff is missing in the overlay when compiling mesa ...
oh, i only have to digest the ebuild, the patch seems to be not needed anymore :-)
I'm trying to get Xgl working. I get the following error when emerging glx:
i686-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-20060216/work/Mesa/include -I/var/tmp/portage/xgl-20060216/work/Mesa/src/mesa/glapi -I/var/tmp/portage/xgl-20060216/work/Mesa/src/mesa/main -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 -O3 -march=pentium3 -pipe -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c -fPIC -DPIC -o .libs/glxcmdsswap.o glxcmds.c: In function `__glXVendorPrivateWithReply': glxcmds.c:2351: error: `X_GLvop_IsRenderbufferEXT' undeclared (first use in this function) glxcmds.c:2351: error: (Each undeclared identifier is reported only once glxcmds.c:2351: error: for each function it appears in.) glxcmds.c:2353: error: `X_GLvop_GenRenderbuffersEXT' undeclared (first use in this function) glxcmds.c:2355: error: `X_GLvop_GetRenderbufferParameterivEXT' undeclared (first use in this function) glxcmds.c:2357: error: `X_GLvop_IsFramebufferEXT' undeclared (first use in this function) glxcmds.c:2359: error: `X_GLvop_GenFramebuffersEXT' undeclared (first use in this function) glxcmds.c:2361: error: `X_GLvop_CheckFramebufferStatusEXT' undeclared (first use in this function) glxcmds.c:2363: error: `X_GLvop_GetFramebufferAttachmentParameterivEXT' undeclared (first use in this function) glxcmdsswap.c: In function `__glXSwapVendorPrivateWithReply': glxcmdsswap.c:1129: error: `X_GLvop_IsRenderbufferEXT' undeclared (first use in this function) glxcmdsswap.c:1129: error: (Each undeclared identifier is reported only once glxcmdsswap.c:1129: error: for each function it appears in.) glxcmdsswap.c:1131: error: `X_GLvop_GenRenderbuffersEXT' undeclared (first use in this function) glxcmdsswap.c:1133: error: `X_GLvop_GetRenderbufferParameterivEXT' undeclared (first use in this function) glxcmdsswap.c:1135: error: `X_GLvop_IsFramebufferEXT' undeclared (first use in this function) glxcmdsswap.c:1137: error: `X_GLvop_GenFramebuffersEXT' undeclared (first use in this function) glxcmdsswap.c:1139: error: `X_GLvop_CheckFramebufferStatusEXT' undeclared (first use in this function) glxcmdsswap.c:1141: error: `X_GLvop_GetFramebufferAttachmentParameterivEXT' undeclared (first use in this function) make[2]: *** [glxcmds.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [glxcmdsswap.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/glx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/xgl-20060216 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile
dont you think you should post this on the XGL Mailing-List ?
go -> www.x.org -> mailinglists
I do not think, that this should be answered in the mailing list - because I got the same problem when emerging X.org. See my see first comment here. And the problem was solved with an updated xgl-overlay.
I got a amd 64 and I think its somehow related to that. Full error is here -> http://nopaste.info/index.php?id=696fc41214
here is the solution, until hanno has updated his overlay:
http://forums.gentoo.org/viewtopic-t-433415-postdays-0-postorder-asc-highlight-mesa+xgloverlay-start-450.html?sid=fa98bfb9c33d545c0f32efc1f1befde6
I've followed the Gentoo-wiki (http://gentoo-wiki.com/HOWTO_XGL)
for setting up Xgl with ati radeon video card but when I execute `Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer` I get the following error: dlopen: /usr/lib64/xorg/modules/xgl/libglcore.so: undefined symbol: _swrast_BlitFramebuffer Fatal server error: No GLX modules loaded dlopen: /usr/lib64/xorg/modules/xgl/libglcore.so: undefined symbol: _swrast_BlitFramebuffer FatalError re-entered, aborting No GLX modules loaded Aborted Any ideas on what I'm missing? Thanks.
I was having that problem too. I got the Xgl command to run by changing GL/swrast/Makefile.am to include s_blit.c. Add to xgl-swrast-slang.patch in your xgl-coffee directory
@@ -23,6 +24,7 @@ s_atifragshader.c \ s_bitmap.c \ s_blend.c \ + s_blit.c \ s_buffers.c \ s_context.c \ s_copypix.c \ and run ebuild digest on the .ebuild file. that worked for me atleast. Right now though I'm having trouble with compiz: GLX_EXT_texture_from_pixmap is missing. I'll repost if I find i need to do anything interesting.
I googled and found a gentoo thread about this problem.
Apparently the s_blit patch is included in the latest xgl-coffee xgl-blit.patch. So I followed the README and rm -rf /var/tmp/portage{xgl*,mesa*,glitz*,compiz*} rm -rf /usr/portage/distfiles/cvvs-src/ emerge glproto mesa; eselect opengl set ati; emerge glitz xgl compiz Xgl now starts a new X-window but compiz exits with error complaining about GLX_EXT_texture_from_pixmap missing. which the Gentoo wiki says means that I either forgot to prepend LD_LIBRARY_PATH... or that compiz got compiled with wrong library So I followed the suggestion to: eselect opengl set xorg-x11 emerge -va mesa xgl; eselect opengl set ati But then the Xgl command immediately dies with error about Minor opcode of failed request: (X_GLXRender) So I re-did emerge glproto mesa glitz xgl compiz and I'm back to the error message about "GLX_EXT_texture_from_pixmap is missing"
I got there too! I didnt find the patch though, ended up doing it myself. The way I fixed the "GLX_EXT_texture_from_pixmap is missing" problem was by unmasking the mesa ebuild from the coffee overlay. Just add media-libs/mesa to your packages.keywords. When you do emerge mesa -vp it should say that its pulling it from the overlay with version mesa-20060225 or somethin.
OK, I'll give that a try.
When I try `emerge -pv mesa` it shows media-libs/mesa-6.4.2-r1 as being emerged but coffee's ebuild is mesa-6.5.0_alpha20060301.ebuild but the $Header of the build says mesa-6.4.2-r1 I'll give it a try when I'm done upgrading KDE to 3.5
repost how it works out. Right now i'm getting some error with kde-window-decorator that says "qt not finished" or somethin. I cant remember the error, i'm going to play with it when i get home.
Well, emerge kept grabbing the wrong mesa. :-(
Why? So I tried `emerge -pv =media-libs/mesa-6.5.0-....` and gentoo said that the package was masked by package.unmask! So `emerge mesa` kept grabbing the wrong version even though I had "media-libs/mesa ~amd64" in package.keywords. Anyhow, I added "~media-libs/mesa-6.5.0..." to package.unmask and gentoo finally emerged the correct library! :-) Well, just finished compiling but I'm back to the _swrat_BlitFramebuffer error. Maybe i did something wrong again. Oh well, enough for now. I'll post again when I've got things working.
At first I got that same
" dlopen: /usr/lib64/xorg/modules/xgl/libglcore.so: undefined symbol: _swrast_BlitFramebuffer" Fixed that by using the coffee overlay. Now I'm getting that same "GLX_EXT_texture_from_pixmap is missing error" you guys are getting (or were getting). I've checked out my mesa install and my emerge pulled out the correct one (I think) : * media-libs/mesa Latest version available: 6.5.0_alpha20060301 Latest version installed: 6.5.0_alpha20060301 Size of files: 0 kB Homepage: http://mesa3d.sourceforge.net/ Description: OpenGL-like graphic library for Linux License: LGPL-2 --- [ebuild R ] media-libs/mesa-6.5.0_alpha20060301 USE="motif -debug" VIDEO_CARDS="ati -i810 -mga -none -s3virge -savage -sis -tdfx -trident -via" 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/xgl-coffee Anyone find a different fix for this?
Ok got this all working sorta....
rather than set the LD_LIBARY_PATH I used this: LD_PRELOAD=/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 compiz --replace gconf That did the trick -- I'm running it as another window on an already running X server right now. I'm having some kinda issues with the howto scripts on the gentoo wiki howto for some reason. got all the plugin's working and this thing is pretty slick.
Well, I finally got Xgl working with compiz:-)
Yes, I had missed the line in the Gentoo Wiki about mesa being hard-masked. So I unmasked mesa and re-emerged everything emerge glitz xgl compiz compiz-plugin-opacity xbindkeys transset specifying the versions with =. I've been using the general startxgl script: `./startxgl 1 gnome ati` Needed to kill the gnome-panel and restart it. Needed to run xbindkeys to get Ctrl-mousewheel to change opacity. glxgears runs but fgl_glxgears exits with error about: Using GLX_SGIX pbuffer Error: couldn't get fbconfig I haven't tried out kde or fluxbox with it y
Just for completeness sake I'll add that I got it running too. I'm running xfce on amd64/NV6600GT. Agreed, it's pretty slick. Anybody know if theres a way to make alt-1/2/3/4 go to specific faces on the cube? Anybody workin on it who would like some help?
maby i'm just stupid.. if so delete this post... ;)
xorg 7.0 -- glxinfo -- direct rendering, yes" Xgl latest a/o 3-7-06 glxinfo -- direct rendering , _no_ ??? wtf? everything looks as if it should work.. but it doesnt...? am i using a wrong init command? i have tried several.. it works.. but once again my gpu sits idle... any help will be appreciated, log output on req.. gentoo, amd64 nvidia 5200fx 128mb
Nope.. I'm stupid..
Per the "HOWTO XGL - Gentoo Linux Wiki" nVidia GeForce FX5200 (with latest nvidia-glx-1.0.8178 and nvidia-kernel-1.0.8178-r3, _no_direct_rendering_)
Note: as of March 14, the mesa in cvs is broken. Someone committed a bunch of changes and forgot to redefine some constants. Of you getting a bunch of errors regarding SLANG_SHADER_MAX being undefined, try applying this patch to cvs mesa:
--- Mesa.new/src/mesa/shader/slang/slang_link.h 2006-03-15 14:01:03.000000000 +0800 +++ Mesa/src/mesa/shader/slang/slang_link.h 2006-03-15 14:01:02.000000000 +0800 @@ -33,9 +33,9 @@ ^M enum^M {^M - SLANG_UNIFORM_BINDING_VERTEX,^M - SLANG_UNIFORM_BINDING_FRAGMENT,^M - SLANG_UNIFORM_BINDING_MAX^M + SLANG_SHADER_VERTEX,^M + SLANG_SHADER_FRAGMENT,^M + SLANG_SHADER_MAX^M };^M ^M typedef struct^M Or add it as slang_link.patch in portage_overlay/media-libs/mesa/files and add the following like to the ebuild (mesa-6.4.3_alpha20060216.ebuild) after the other epatch lines in the src_compile() function: epatch ${FILESDIR}/slang_link.patch don't forget to to ebuild mesa-6.4.3_alpha20060216.ebuild digest before emerging. I've emailed the mailing list bout the bug, hopefully it will be fixed in cvs soon, so this won't be necessary.
Working perfect with nvidia, but I have to remove all other cards cause radeon code does not build, ¿Somebody Know how to roll back the edge-flip feature of rotate?
it doesn't work anymore :'(, but the other effects are awesome.
i am having problem with xgl. i installed it. all went smooth but when i issue this command:
/usr/bin/Xgl :1 -accel xv -accel glx:pbuffer -accel xv:pbuffer -ac -audit 0 -br -dpms -dpi 72 it gave this error: Could not init font path element /usr/share/fonts/local/, removing from list! Fatal server error: no GLX visuals available FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing. i am using intel 845G onboard video. please help me gentoo-developers. regards |
About meYou can find my web page with links to my work as a journalist at https://hboeck.de/.
You may also find my newsletter about climate change and decarbonization technologies interesting. Hanno Böck mail: hanno@hboeck.de Hanno on Mastodon Impressum Show tagged entries |
Hanno has updated his overlay and I just installed his new Xgl and Compiz packages. Here's how I did it:Install the overlay.emerge -NDuav world. This will update the x11-proto/glproto, media-libs/mesa, media-libs/glitz, and x11-libs/cairo packages
Tracked: Feb 14, 18:33
Because desktop transparency under Linux is a popular topic at the moment I was also playing arround with xcompmgr, which Lars installed on my Ubuntu once, a few months ago. You can see the result in this srcreenshot. ...
Tracked: Feb 15, 14:30