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, ... 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
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Thu Jan 05, 2006 11:13 pm    Post subject: Reply with quote

I get a similar glibc error with nxsty's glibc-2.3.90 overlay. :(

I've got it working without xkb, but kompmgr is buggy on it, I'd like to try glxcompmgr or the new one (can't remember the name) that's not out yet :P

Moving windows around without composite enabled seems a lot smoother than on the normal X server.

What else can I play with?
Back to top
View user's profile Send private message
Xevious
n00b
n00b


Joined: 25 Dec 2004
Posts: 10

PostPosted: Thu Jan 05, 2006 11:51 pm    Post subject: Reply with quote

well first I was getting this when I ran the autogen.sh for xserver.

checking for XdmcpWrap in -lXdmcp... yes
checking for x11 xext... yes
checking XEPHYR_CFLAGS... -D_XOPEN_SOURCE=500 -I/opt/fdo/include
checking XEPHYR_LIBS... -L/opt/fdo/lib -lXext -lX11 -ldl
checking for randrproto renderproto fixesproto damageproto xextproto xfont xproto xtrans xau compositeproto resourceproto recordproto xdmcp xdmcp... Package randrproto was not found in the pkg-configsearch path.
Perhaps you should add the directory containing `randrproto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'randrproto' found

configure: error: Library requirements (randrproto renderproto fixesproto damageproto xextproto xfont xproto xtrans xau compositeproto resourceproto recordproto xdmcp xdmcp) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


I am following directions from:
http://www.freedesktop.org/wiki/Software_2fXserver_2fInstallGuide

I took its advice at the top to do the symbolic links and that fixed the problem except it had a problem with not having xres, so i downloaded/installed that, now when trying to compile xserver I am getting:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../GL/glx -I../../GL/glx -I../../GL/include -I../../GL/mesa/include -I../../mi -I../../fb -I../../Xext -I../../render -I../../GL/mesa/include -I../../GL/mesa/src/mesa/glapi -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -I/opt/fdo/include-I/opt/fdo/include/X11/fonts -I/opt/fdo/include/X11/Xtrans -D_BSD_SOURCE -I../../include -I../../Xext -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -g -O2 -MT libglx_la-g_disptab.lo -MD -MP -MF .deps/libglx_la-g_disptab.Tpo -c g_disptab.c -fPIC -DPIC -o .libs/libglx_la-g_disptab.o
In file included from glxserver.h:79,
from g_disptab.c:32:
glxscreens.h:43:32: GL/internal/glcore.h: No such file or directory
In file included from glxserver.h:79,
from g_disptab.c:32:
glxscreens.h:62: error: parse error before "__GLinterface"
glxscreens.h:62: warning: no semicolon at end of struct or union
glxscreens.h:89: error: parse error before '}' token
glxscreens.h:89: warning: type defaults to `int' in declaration of `__GLXscreenInfo'
glxscreens.h:89: warning: data definition has no type or storage class
In file included from glxserver.h:80,
from g_disptab.c:32:
glxdrawable.h:44: error: parse error before "__GLXscreenInfo"
glxdrawable.h:44: warning: no semicolon at end of struct or union
glxdrawable.h:50: error: parse error before '}' token
glxdrawable.h:50: warning: type defaults to `int' in declaration of `__GLXpixmap'
glxdrawable.h:50: warning: data definition has no type or storage class
glxdrawable.h:61: error: parse error before "__GLXpixmap"
glxdrawable.h:61: warning: no semicolon at end of struct or union
glxdrawable.h:107: error: parse error before "glPriv"
glxdrawable.h:107: warning: type defaults to `int' in declaration of `glPriv'
glxdrawable.h:107: warning: data definition has no type or storage class
glxdrawable.h:113: error: parse error before '}' token
In file included from glxserver.h:81,
from g_disptab.c:32:
glxcontext.h:65: error: parse error before "__GLinterface"
glxcontext.h:65: warning: no semicolon at end of struct or union
glxcontext.h:70: warning: type defaults to `int' in declaration of `modes'
glxcontext.h:70: warning: data definition has no type or storage class
glxcontext.h:77: error: parse error before '*' token
glxcontext.h:77: warning: type defaults to `int' in declaration of `pGlxScreen'
glxcontext.h:77: warning: data definition has no type or storage class
glxcontext.h:108: error: conflicting types for 'idExists'
glxdrawable.h:46: error: previous declaration of 'idExists' was here
glxcontext.h:146: error: parse error before '*' token
glxcontext.h:146: warning: type defaults to `int' in declaration of `drawPixmap'
glxcontext.h:146: warning: data definition has no type or storage class
glxcontext.h:147: error: parse error before '*' token
glxcontext.h:147: warning: type defaults to `int' in declaration of `readPixmap'
glxcontext.h:147: warning: data definition has no type or storage class
glxcontext.h:154: error: parse error before '}' token
In file included from g_disptab.c:32:
glxserver.h:105: error: parse error before '*' token
glxserver.h:105: warning: type defaults to `int' in declaration of `__glXActiveScreens'
glxserver.h:105: warning: data definition has no type or storage class
In file included from g_disptab.c:33:
glxext.h:69: error: parse error before '*' token
glxext.h:69: warning: function declaration isn't a prototype
make[2]: *** [libglx_la-g_disptab.lo] Error 1
make[2]: Leaving directory `/cvs/xgl/xserver/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cvs/xgl/xserver/GL'
make: *** [all-recursive] Error 1


any suggestions?
Back to top
View user's profile Send private message
Xevious
n00b
n00b


Joined: 25 Dec 2004
Posts: 10

PostPosted: Fri Jan 06, 2006 12:14 am    Post subject: Reply with quote

er I think my problem was trying to use the CVS ( I guess its broken?) I am using the cvs snapshot binary and that seems to be compiling further than before. I hope it compiles.
Back to top
View user's profile Send private message
Xevious
n00b
n00b


Joined: 25 Dec 2004
Posts: 10

PostPosted: Fri Jan 06, 2006 1:02 am    Post subject: Reply with quote

well I got it working but it seems to be pretty slow right now, firefox menus/stuff was loading very slowly, i ran quake 3 and the graphic's looked all weird and I got about 1/2 the performance I do in normal Xorg, got about 6000 in glxgears.
Back to top
View user's profile Send private message
amorpheus
n00b
n00b


Joined: 20 Dec 2004
Posts: 54

PostPosted: Fri Jan 06, 2006 11:43 am    Post subject: Reply with quote

Ok so i suppose im running xgl, im not sure if i was supposed to uninstall xorg-server from portage first, but anyways.
is there any way to enable glx in xgl ? =/
Code:

 3:40AM[~]->% glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

im running a 6600 gt, and im using xinit to start Xgl via .xserverrc
_________________
#!/usr/bin/amorpheus
Back to top
View user's profile Send private message
Codo
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 271

PostPosted: Fri Jan 06, 2006 4:08 pm    Post subject: Reply with quote

I've been running Xgl and giving it a shot, but AFAIK, it just runs on top of xserver. I may be talking crap here, but I think this is very experimental and is not meant to replace xserver. In fact, it seems like it kindof runs as "another X application", if you want to see it that way...

I don't think it will be fairly usable for production like that in the near future...
Back to top
View user's profile Send private message
stalynx
Apprentice
Apprentice


Joined: 03 Oct 2002
Posts: 162

PostPosted: Fri Jan 06, 2006 11:19 pm    Post subject: Reply with quote

Codo wrote:
I've been running Xgl and giving it a shot, but AFAIK, it just runs on top of xserver. I may be talking crap here, but I think this is very experimental and is not meant to replace xserver. In fact, it seems like it kindof runs as "another X application", if you want to see it that way...

I don't think it will be fairly usable for production like that in the near future...


Yes XGL is a nested xserver. Look at my post earlier in this thread. Xegl is supposed to be the stand alone server. However little or no work has been done on it for some time. I'm not sure what the direction of XGL is going to be. Perhaps XGL will be a transitional solution until work on Xegl is done. Or maybe XGL will become a stand alone server. If this discussion is taking place, it is not happening in public.
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Fri Jan 06, 2006 11:54 pm    Post subject: Reply with quote

Can you run it on xorg-x11-7.0? Or do I need kdrive?
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
amorpheus
n00b
n00b


Joined: 20 Dec 2004
Posts: 54

PostPosted: Sat Jan 07, 2006 1:21 am    Post subject: Reply with quote

yes you can run xgl on 7.0, its simple to get it running
_________________
#!/usr/bin/amorpheus
Back to top
View user's profile Send private message
oggialli
Guru
Guru


Joined: 27 May 2004
Posts: 389
Location: Finland, near Tampere

PostPosted: Sat Jan 07, 2006 10:56 am    Post subject: Reply with quote

Raniz wrote:
bedazzled wrote:
Could it be possible to put a extra use-flag "xgl" to xorg-server?
I tried to compile it (http://www.freedesktop.org/~davidr/xgl-svn_100.tar.bz2) myself, but no luck :(
USE="xgl" emerge xorg-server would be pretty neat :)
I don't have a bugzilla account to propose it, if someone thinks it's possible...

With the new modular Xorg I think it would be:
Code:
emerge x11-proto/xgl

or something like that


No, it definitely won't be a proto (protocol). ;)

More like x11-base or maybe x11-misc.
_________________
IBM Thinkpad T42P - Gentoo Linux
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Jan 07, 2006 11:45 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Xevious
n00b
n00b


Joined: 25 Dec 2004
Posts: 10

PostPosted: Sun Jan 08, 2006 8:04 am    Post subject: Reply with quote

huh? from the console I ran the xGL and it ran fine full screen, maybe it is still running on top of X? quake 3 ran at like 50% performance with really funky looking graphics, and the drawing on firefox and other graphics was quite slow
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Mon Jan 09, 2006 1:23 pm    Post subject: Reply with quote

Raistlin wrote:
Hi,

maybe if you look HERE, take the first hit and finally land HERE

The history for that page show it was last edited back in August!

I found the xorg mailing list and searched it for XGL. But all the hits I got were old except this one.

Isn't there any better place for XGL news? I wanna know what's happened in the last week...
Back to top
View user's profile Send private message
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Mon Jan 09, 2006 2:20 pm    Post subject: Reply with quote

This thread has been reasonably active, I haven't read any of it though, so I dunno if it's interesting or not.

Apart from that, I haven't seen mention of it anywhere since last week.
Back to top
View user's profile Send private message
stalynx
Apprentice
Apprentice


Joined: 03 Oct 2002
Posts: 162

PostPosted: Tue Jan 10, 2006 2:17 am    Post subject: Reply with quote

I read the Xorg mailing list daily. I sort by date and read every post. Honestly there is a lot going on. The only problem is these are developers talking to other developers. So sometimes it's hard to understand what is actually going on. Regarding XGL there are two things happening, the first the extension of GLX to allow GL to write to root visuals. This will allow XGL to become a stand alone server. There is some debate on how to do this or whether to do this. Some other discussions on expanding the composite extension. The next is just general debugging of the current XGL, some informative posts on how to build and get it running. A few for gentoo systems including ebuilds.
Back to top
View user's profile Send private message
sian
Apprentice
Apprentice


Joined: 26 Jan 2004
Posts: 288

PostPosted: Tue Jan 10, 2006 6:03 pm    Post subject: Reply with quote

Let's developers do their work. I will wait and see to try XGL.
_________________
Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3
Back to top
View user's profile Send private message
zehnan1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2004
Posts: 90
Location: Slovenia

PostPosted: Wed Jan 11, 2006 5:24 pm    Post subject: Reply with quote

About glxcompmgr from cvs... Anyone has it working? I get this error and have no idea what it wants from me. :) --disable-gconf doesn't help any.

Code:
autoreconf-2.59: running: automake --add-missing --copy --no-force
plugins/Makefile.am:33: libgconf.la was already defined in condition TRUE, which includes condition GCONF_PLUGIN
plugins/Makefile.am:33: `libgconf.la' should be installed in `module' in condition GCONF_PLUGIN ...
plugins/Makefile.am:45: ... and should also be installed in `module'.
autoreconf-2.59: automake failed with exit status: 1
Back to top
View user's profile Send private message
zehnan1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2004
Posts: 90
Location: Slovenia

PostPosted: Fri Jan 13, 2006 10:59 pm    Post subject: Reply with quote

Managed to compile glxcompmgr. I used the Hanno's ebuild from the link below. Runs great on nvidia closed source drivers. Wobbly windows are funky. :) Cube, zoom, rotation - don't know how to do those, if anyone knows, please share.

Hanno also has all the ebuilds concerning xgl (mesa, glitz, glxcompmgr). Though, Xgl didn't work for me (probably amd64), had to compile David's tarball.

http://www.hboeck.de/item/266
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Sat Jan 14, 2006 1:22 pm    Post subject: Reply with quote

zehnan1 wrote:
Managed to compile glxcompmgr. I used the Hanno's ebuild from the link below. Runs great on nvidia closed source drivers.
How's the speed? Are you seeing any of the slowdowns others mentioned in this thread, like
Xevious wrote:
the drawing on firefox and other graphics was quite slow

BTW, Xevious what video card brand (ATI, nVidia, other) and drivers (closed, open) did you try it on?
Back to top
View user's profile Send private message
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Sat Jan 14, 2006 1:47 pm    Post subject: Reply with quote

I gave those ebuilds a go, and I managed to get the xgl ebuild working, but it won't compile, and I can't seem to compile it from the tarball anymore! Very annoying, as I just removed it before reading your post!
Back to top
View user's profile Send private message
zehnan1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2004
Posts: 90
Location: Slovenia

PostPosted: Sat Jan 14, 2006 4:28 pm    Post subject: Reply with quote

StringCheesian wrote:
zehnan1 wrote:
Managed to compile glxcompmgr. I used the Hanno's ebuild from the link below. Runs great on nvidia closed source drivers.
How's the speed? Are you seeing any of the slowdowns others mentioned in this thread, like
Xevious wrote:
the drawing on firefox and other graphics was quite slow

BTW, Xevious what video card brand (ATI, nVidia, other) and drivers (closed, open) did you try it on?


No slowdowns at all. You can set --refresh-rate in glxcompmgr. I set it to 100 (which is my vsync);by (a rather expreienced) eye, I'd guess the fps really should be very much the same. In other words, fluid. CPU usage is very low when moving (wobbling) windows, no problems with videos and wobbling :).

Everything works suprisingly stable, running for two days now, no crashes, some missing windows at one time, had to restart X.

Drawing on firefox isn't slow. though, the fonts are somewhat larger that on normal X.
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Mon Jan 16, 2006 9:21 pm    Post subject: Reply with quote

Yep, same here. All GTK stuff seems to work Qt stuff crashes here. I'm installing Gnome now (a KDE fan speaking).

Edit: Hmn. It isn't that easy. In XGL KDE is a lot less usable than Gnome, but In Gnome I can also crash the server on demand.

I'm very impressed however: A GPU accelerated desktop in Linux!! It seems that the only thing that needs much work is stability. With the right amount of people working on that, this could be fixed in the next months.
Running a nested server isn't a big nightmare for me!
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Tue Jan 17, 2006 3:57 am    Post subject: Reply with quote

Code:
In file included from vesa.h:29,
                 from vesa.c:27:
vm86.h:116: error: field 'vms' has incomplete type

Boooo!
Back to top
View user's profile Send private message
zehnan1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2004
Posts: 90
Location: Slovenia

PostPosted: Tue Jan 17, 2006 8:54 am    Post subject: Reply with quote

Code:
In file included from vesa.h:29,
                 from vesa.c:27:
vm86.h:116: error: field 'vms' has incomplete type


ianegg: when configuring Xgl, use --disable-kdriveserver, that should solve the error you get.


I'am using Xgl with E17. qt and gtk work. Everything just works. I started using Xgl as my main desktop. The only thing that bothers me is some popups from opera occasionally won't disappear. Crashes - unheard of. :) Also there are minor aliasing, filtering problems when wobbling windows, tried to sove it with diferent antialias settings, but it doesn't do much good.
Still waiting to learn how to rotete and zoom desktop. By some accident I once managed to rotate desktop into oblivion, but have no idea what I did and can't reproduce it.
Back to top
View user's profile Send private message
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Tue Jan 17, 2006 12:34 pm    Post subject: Reply with quote

I get the feeling I had to do that when I originally compiled it. I really should start making notes! Compiling now...

Woohoo... glxcompmgr now, tomorrow the world!!!

Urgh, spoke too soon....
Code:
ian ~ $ Xgl :1 -ac -accel xv -accel glx:pbuffer
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/ian.gentoo:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Xgl: /var/tmp/portage/xgl-20060107/work/xserver/Mesa/src/mesa/drivers/x11/xm_api.c:1567: XMesaCreateVisual: Assertion `visinfo->nplanes > 0' failed.
Aborted

Once more with --disable-ipv6 :evil:

Not my day! Still getting various errors...
Code:
ian ~ $ Xgl :1 -ac -accel xv -accel glx:pbuffer
Xgl: /var/tmp/portage/xgl-20060107/work/xserver/Mesa/src/mesa/drivers/x11/xm_api.c:1567: XMesaCreateVisual: Assertion `visinfo->nplanes > 0' failed.
Aborted
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, ... 28, 29, 30  Next
Page 2 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