Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 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
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Mon Feb 20, 2006 10:56 pm    Post subject: Reply with quote

RockMan wrote:
enzobelmont wrote:

thanks i'll try it in a couple of hours, by the way wich card do you have???


NVidia Geforce 6600 AGP

enzobelmont wrote:

sorry my english... :wink:

Actually mine isn't so much better... :P

I noticed that you have the same videocard as me and was wondering if XGL is working ?

- bob_111
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


Joined: 06 Apr 2004
Posts: 345
Location: Chiapas, Mexico

PostPosted: Tue Feb 21, 2006 12:27 am    Post subject: Reply with quote

bob_111 wrote:
RockMan wrote:
enzobelmont wrote:

thanks i'll try it in a couple of hours, by the way wich card do you have???


NVidia Geforce 6600 AGP

enzobelmont wrote:

sorry my english... :wink:

Actually mine isn't so much better... :P

I noticed that you have the same videocard as me and was wondering if XGL is working ?

- bob_111


in my system geforce2 MX200 (32MB) it works quite fast. you must try it, and you don't regret about it

sorry my english... :wink:
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Feb 21, 2006 1:04 am    Post subject: Reply with quote

So I noticed that the wobbly issue might be fixed:
compiz CVS Changelog wrote:
* plugins/wobbly.c (wobblyDonePaintScreen): Also add pending damage
if any window is in initial wobbly state.

So I updated my copy of hanno's overlay and remerged mesa, glitz, cairo, xgl, and compiz. Now Xgl is incredibly SLOW! Except for wobbly, it used to be smooth and fast.

Has it suddenly gotten slower for anyone else?
Back to top
View user's profile Send private message
wintersommer
n00b
n00b


Joined: 28 May 2004
Posts: 33

PostPosted: Tue Feb 21, 2006 1:18 am    Post subject: Reply with quote

So - my Question is : how to i run the KDE-Decorator from zrusin ?

anyone running kde stable with kwin-deco ?

ch
Back to top
View user's profile Send private message
radarsat1
n00b
n00b


Joined: 13 Jul 2005
Posts: 32

PostPosted: Tue Feb 21, 2006 1:36 am    Post subject: remember to eselect mesa!! Reply with quote

sorry for the doublepost

Last edited by radarsat1 on Tue Feb 21, 2006 1:58 am; edited 1 time in total
Back to top
View user's profile Send private message
radarsat1
n00b
n00b


Joined: 13 Jul 2005
Posts: 32

PostPosted: Tue Feb 21, 2006 1:36 am    Post subject: remember to eselect mesa!! Reply with quote

Hi,
I just wanted to make a note in this thread for other people's reference, because I just solved a problem with compiling Xgl that was driving me _crazy_! I couldn't find a reference to the same error anywhere, so here it is:

Using Hanno's overlay, everytime I tried to "emerge xgl", I got the following error:
Code:
glxcmds.c: In function `DoGetFBConfigs':
glxcmds.c:1114: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
glxcmds.c:1114: error: (Each undeclared identifier is reported only once
glxcmds.c:1114: error: for each function it appears in.)
make[2]: *** [glxcmds.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


After trying many things, I realized the error was related to something possibly referencing mesa. Since I am using an nvidia card, I had it selected.

After doing the following,
Code:
eselect opengl set xorg-x11


I was finally able to execute "emerge xgl" with no errors.

I should note that I'm using a somewhat out-of-date video card (asus V7700), with which I have only been successful at using an older nvidia driver, version 7667 (nvidia-kernel-1.0.7667 and nvidia-glx-1.0.7667)
This could be a reason for the strange error. I hope that my card is enough to do some of these xgl tricks though. glxinfo successfully reports direct rendering. I assume it's a problem that I can't compile with the nvidia drivers, I hope to be able to eselect back to nvidia after installing xgl and compiz.

Phew! Now to try it out.. ;-)
Back to top
View user's profile Send private message
radarsat1
n00b
n00b


Joined: 13 Jul 2005
Posts: 32

PostPosted: Tue Feb 21, 2006 1:57 am    Post subject: oh well Reply with quote

bah, as expected, i guess my card is not quite up to it.

although Xgl runs just fine, compiz gives me the following:
Code:
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :0.0


and glxcompmgr gives me this:
Code:
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0


although on the bright side the xfwm4 compositor seems to be running a bit faster than with straight xorg.

anything i could try to get compiz working?
when i use eselect opengl set xorg-x11, xgl doesn't even run, it just quits.
Back to top
View user's profile Send private message
Belgabor
n00b
n00b


Joined: 03 Jul 2003
Posts: 63
Location: Germany

PostPosted: Tue Feb 21, 2006 2:44 am    Post subject: Reply with quote

Psst! (looks left and right) Do you want to buy a

Belgabor wrote:
I believe it is necessary to bump the link to the Howto now and then :D (before I start to get annoyed again about the same questions asked over and over again which makes a loooong thread even longer :P )
Pretty pretty please, with sugar on top, read the XGL HOWTO first before posting!
Please take this also as a plea to everyone who had a problem and solved it to add that knowledge to said howto
Back to top
View user's profile Send private message
Belgabor
n00b
n00b


Joined: 03 Jul 2003
Posts: 63
Location: Germany

PostPosted: Tue Feb 21, 2006 3:00 am    Post subject: Reply with quote

Theophile wrote:
What's the currect status of GeForce4 MX cards? I have one of these and no matter what I do, I am getting a "no visual format found" error.

Is this because of my card?

I'm not quite sure if the howto entry regarding this is correct (you did read it, didn't you? :wink: ). I faintly remember reading something about colour depth in this thread, but I don't really remember if it related to this. Just try 16/24/32 in xorg.conf and see if it changes something...
If this indeed fixes the issue, please update the howto...
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


Joined: 06 Apr 2004
Posts: 345
Location: Chiapas, Mexico

PostPosted: Tue Feb 21, 2006 3:19 am    Post subject: Reply with quote

can anyone tell me how to activate the opacity plugin???
(i've compiled and installed it)

sorry my english... :wink:
Back to top
View user's profile Send private message
sn4ip3r
Guru
Guru


Joined: 14 Dec 2002
Posts: 325
Location: Tallinn, Estonia

PostPosted: Tue Feb 21, 2006 3:24 am    Post subject: Reply with quote

enzobelmont wrote:
can anyone tell me how to activate the opacity plugin???
(i've compiled and installed it)
...


If you run compiz without gconf plugin, then put "opacity" somewhere on the plugin list, an order that worked for me is "decoration wobbly fade minimize cube rotate opacity zoom scale move resize place switcher", compiz will tell you if it is not in the proper order. If you already have it loaded, then ctrl+shift+mousewheel while the cursor is over a titlebar of a window should change the opacity. From gconf-editor you can change the keybindings at /apps/compiz/plugins/opacity/screen0/options

[edit] Forgot to add: if you use gconf plugin, then add opacity to the /apps/compiz/general/allscreen/options active_plugins list.


Last edited by sn4ip3r on Tue Feb 21, 2006 3:26 am; edited 1 time in total
Back to top
View user's profile Send private message
Theophile
Apprentice
Apprentice


Joined: 31 Mar 2004
Posts: 285

PostPosted: Tue Feb 21, 2006 3:25 am    Post subject: Reply with quote

Belgabor wrote:
Theophile wrote:
What's the currect status of GeForce4 MX cards? I have one of these and no matter what I do, I am getting a "no visual format found" error.

Is this because of my card?

I'm not quite sure if the howto entry regarding this is correct (you did read it, didn't you? :wink: ). I faintly remember reading something about colour depth in this thread, but I don't really remember if it related to this. Just try 16/24/32 in xorg.conf and see if it changes something...
If this indeed fixes the issue, please update the howto...

Tried all three, no difference.

I suspect that xorg.conf is not even being read. The error is being displayed instantly upon attempting to execute:
Code:
Backfoot theophile # Xgl :1 -ac -accel glx:pbuffer -accel xv

Fatal server error:
no visual format found

It doesn't even think, it just spits the error.
_________________
Monopedilos
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


Joined: 06 Apr 2004
Posts: 345
Location: Chiapas, Mexico

PostPosted: Tue Feb 21, 2006 3:29 am    Post subject: Reply with quote

sn4ip3r wrote:
enzobelmont wrote:
can anyone tell me how to activate the opacity plugin???
(i've compiled and installed it)
...


If you run compiz without gconf plugin, then put "opacity" somewhere on the plugin list, an order that worked for me is "decoration wobbly fade minimize cube rotate opacity zoom scale move resize place switcher", compiz will tell you if it is not in the proper order. If you already have it loaded, then ctrl+shift+mousewheel while the cursor is over a titlebar of a window should change the opacity. From gconf-editor you can change the keybindings at /apps/compiz/plugins/opacity/screen0/options

[edit] Forgot to add: if you use gconf plugin, then add opacity to the /apps/compiz/general/allscreen/options active_plugins list.


thanks, it works now!!!
Back to top
View user's profile Send private message
Belgabor
n00b
n00b


Joined: 03 Jul 2003
Posts: 63
Location: Germany

PostPosted: Tue Feb 21, 2006 5:08 am    Post subject: Reply with quote

Theophile wrote:
Belgabor wrote:
Theophile wrote:
What's the currect status of GeForce4 MX cards? I have one of these and no matter what I do, I am getting a "no visual format found" error.

Is this because of my card?

I'm not quite sure if the howto entry regarding this is correct (you did read it, didn't you? :wink: ). I faintly remember reading something about colour depth in this thread, but I don't really remember if it related to this. Just try 16/24/32 in xorg.conf and see if it changes something...
If this indeed fixes the issue, please update the howto...

Tried all three, no difference.

I suspect that xorg.conf is not even being read. The error is being displayed instantly upon attempting to execute:
Code:
Backfoot theophile # Xgl :1 -ac -accel glx:pbuffer -accel xv

Fatal server error:
no visual format found

It doesn't even think, it just spits the error.

Have you installed nvidia-glx? If yes, make sure you use the right driver in xorg.conf and/or try reemerging it. What does the xserver logfile say?
Back to top
View user's profile Send private message
Belgabor
n00b
n00b


Joined: 03 Jul 2003
Posts: 63
Location: Germany

PostPosted: Tue Feb 21, 2006 5:11 am    Post subject: Reply with quote

sn4ip3r wrote:

(...)
If you already have it loaded, then ctrl+shift+mousewheel while the cursor is over a titlebar of a window should change the opacity.
(...)

Anywhere inside the window is ok. Just make sure the app doesn't interpret the combo as it is passed through.
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Tue Feb 21, 2006 5:34 am    Post subject: Reply with quote

enzobelmont wrote:
bob_111 wrote:
RockMan wrote:
enzobelmont wrote:

thanks i'll try it in a couple of hours, by the way wich card do you have???


NVidia Geforce 6600 AGP

enzobelmont wrote:

sorry my english... :wink:

Actually mine isn't so much better... :P

I noticed that you have the same videocard as me and was wondering if XGL is working ?

- bob_111


in my system geforce2 MX200 (32MB) it works quite fast. you must try it, and you don't regret about it

sorry my english... :wink:

I actually have a 6600GT and im getting the black windows bug :cry:. I see other people on AMD64 that have it working but i just dont know why mine isnt!

- bob_111
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Tue Feb 21, 2006 6:49 am    Post subject: Re: "compiz: Support for non power of two textures miss Reply with quote

gregday wrote:
Not using Gentoo here (Slackware, dont flame me!), but this forum and the wiki have been an invaluable resource for me.

I've compiled Xgl from the xgl-0-0-1 branch and I'm using Mesa CVS. I can get Xgl to run, but I'm getting that darned "compiz: Support for non power of two textures missing" error when running Compiz. I've got Xgl using the NVIDIA proprietary drivers, 1.0.8178, and Compiz running with LD_LIBRARY_PATH pointed toward Mesa's libGL.

My card is a GF4 FX5700.

Has anyone found any other tips for this problem?


I'm curious if anyone has found out anything about this? I am getting the same thing (But with Fglrx). I know 3D accel is working (or there is no way in hell i'd be playing NWN in regular Xorg). The really odd thing is that if I LD_PRELOAD the appropriate mesa library and run glxinfo, the extension is reported. If I LD_PRELOAD the same file to compiz, I get the same error as this original poster.
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Feb 21, 2006 8:07 am    Post subject: Re: oh well Reply with quote

radarsat1 wrote:
bah, as expected, i guess my card is not quite up to it.

although Xgl runs just fine, compiz gives me the following:
Code:
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :0.0


and glxcompmgr gives me this:
Code:
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0

You forgot to prepend LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ to the compiz command line.

http://gentoo-wiki.com/HOWTO_XGL
Back to top
View user's profile Send private message
x.para
Apprentice
Apprentice


Joined: 22 May 2005
Posts: 174
Location: CZ

PostPosted: Tue Feb 21, 2006 9:58 am    Post subject: Revision 15 Reply with quote

Hello,

since I emerged xgl-overlay revision 16 I can not start Xgl again. It gives me:

Code:

Xgl :1 -ac -accel glx:pbuffer -accel xv
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/trinity:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.14-suspend2-r7 i686
Current Operating System: Linux trinity 2.6.14-suspend2-r7 #15 PREEMPT Tue Feb 14 07:25:18 CET 2006 i686
Build Date: 15 February 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.93.log", Time: Tue Feb 21 10:56:52 2006
(==) Using config file: "/etc/X11/xorg.conf"
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
(EE) Failed to load module "v4l" (module does not exist, 0)
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Could not init font path element /usr/share/fonts/local, removing from list!
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  142 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  101
  Current serial number in output stream:  102
  FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.



Can someone advice me what could be the problem. I think it has something to do with last version of the mesa because also xgl and direct redering stoped work in normal X.

Thanks
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 530
Location: Coruña (Spain)

PostPosted: Tue Feb 21, 2006 8:59 pm    Post subject: Reply with quote

Mmmm... mesa doesn't compile:
Code:
x86_64-pc-linux-gnu-gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -Wmissing-prototypes -march=athlon64 -O2 -pipe -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math  shader/slang/slang_storage.c -o shader/slang/slang_storage.o
In file included from shader/slang/slang_storage.c:33:
shader/slang/slang_storage.h:93: warning: 'struct slang_assembly_name_space_' declared inside parameter list
shader/slang/slang_storage.h:93: warning: its scope is only this definition or declaration, which is probably not what you want
shader/slang/slang_storage.c:141: error: conflicting types for '_slang_evaluate_int'
shader/slang/slang_storage.h:93: error: previous declaration of '_slang_evaluate_int' was here
make[4]: *** [shader/slang/slang_storage.o] Error 1
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-64] 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

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

Anyone else with this problem?
Back to top
View user's profile Send private message
Haystack
n00b
n00b


Joined: 28 Nov 2005
Posts: 60
Location: Utrecht, Netherlands

PostPosted: Tue Feb 21, 2006 9:12 pm    Post subject: Reply with quote

Fran wrote:
Mmmm... mesa doesn't compile:
Code:
x86_64-pc-linux-gnu-gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -Wmissing-prototypes -march=athlon64 -O2 -pipe -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math  shader/slang/slang_storage.c -o shader/slang/slang_storage.o
In file included from shader/slang/slang_storage.c:33:
shader/slang/slang_storage.h:93: warning: 'struct slang_assembly_name_space_' declared inside parameter list
shader/slang/slang_storage.h:93: warning: its scope is only this definition or declaration, which is probably not what you want
shader/slang/slang_storage.c:141: error: conflicting types for '_slang_evaluate_int'
shader/slang/slang_storage.h:93: error: previous declaration of '_slang_evaluate_int' was here
make[4]: *** [shader/slang/slang_storage.o] Error 1
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-64] 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

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

Anyone else with this problem?


Are your sure you've got Modular X installed (xorg 7.0) ?
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 530
Location: Coruña (Spain)

PostPosted: Tue Feb 21, 2006 9:23 pm    Post subject: Reply with quote

Haystack wrote:
Are your sure you've got Modular X installed (xorg 7.0) ?

Yes, I have xorg-7.0-r1:
Code:
$ sudo emerge -av xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  INPUT_DEVICES="evdev keyboard mouse* -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nvidia -apm -ark -ati -chips -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i810 -mga -neomagic -nv -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Tue Feb 21, 2006 9:39 pm    Post subject: Reply with quote

Fran: from memory it looks like the common error of wrong headers being linked against - usually error come during Xorg7 compilation so people knows about it after that...

Look here into AMD64 GL issues
http://gentoo-wiki.com/HOWTO_Modular_Xorg

But I used slighty different solution, posted in the bug report:
https://bugs.gentoo.org/show_bug.cgi?id=111877
-->comment #41

If you build your system with early profile, then lib64 is a symlink to lib and it causes eselect to put wrong header link in include. It seems - SEEMS - that you can switch lib64 and lib. Make lib64 a real folder and lib a symbolic link to it. And then eselect do job right. AT least it did for me.
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
olansley
n00b
n00b


Joined: 26 Jun 2005
Posts: 10

PostPosted: Tue Feb 21, 2006 9:57 pm    Post subject: Reply with quote

Hi fran,
Having exactly the same problem as you. The error seems to be caused by 'struct slang_assembly_name_space_' not being declared properly. I managed to get it to compile by adding a declaration, but Xgl compile still fails. The slang mesa cvs is not all copied into the xgl compile, with slang_export missing. I gues I will have to wait for the overlay to be updated and the mesa cvs to be fixed.
Back to top
View user's profile Send private message
Da Fox
Guru
Guru


Joined: 06 Jul 2005
Posts: 341

PostPosted: Tue Feb 21, 2006 10:44 pm    Post subject: Reply with quote

using Overlay 17 I can't compile xgl, I get this error:
Code:
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:
slang_compile_variable.h:130: error: parse error before "slang_export_data_quant"
slang_compile_variable.h:130: warning: no semicolon at end of struct or union
slang_compile_variable.h:132: error: parse error before '}' token
slang_compile_variable.h:132: warning: data definition has no type or storage class
slang_compile_variable.h:136: error: parse error before "slang_active_uniform"
slang_compile_variable.h:136: warning: no semicolon at end of struct or union
slang_compile_variable.h:138: error: parse error before '}' token
slang_compile_variable.h:138: warning: data definition has no type or storage class
slang_compile_variable.h:140: error: parse error before '*' token
slang_compile_variable.h:141: error: parse error before '*' token
slang_compile_variable.h:142: error: parse error before '*' token
slang_compile_variable.h:145: error: parse error before '*' token
slang_compile_variable.h:147: error: parse error before '*' token
In file included from slang_assemble.h:28,
                 from slang_assemble_assignment.h:28,
                 from slang_assemble_assignment.c:33:
slang_compile.h:64: error: parse error before "slang_export_data_table"
slang_compile.h:64: warning: no semicolon at end of struct or union
slang_compile.h:65: warning: data definition has no type or storage class
slang_compile.h:66: warning: data definition has no type or storage class
slang_compile.h:68: error: parse error before '*' token
slang_compile.h:69: error: parse error before '*' token
slang_compile.h:71: error: parse error before '*' token
slang_compile.h:85: error: parse error before "slang_translation_unit"
make[4]: *** [slang_assemble_assignment.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from slang_compile.h:28,
                 from slang_assemble.h:28,
                 from slang_assemble.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.c:33:
slang_compile_variable.h:130: error: parse error before "slang_export_data_quant"
slang_compile_variable.h:130: warning: no semicolon at end of struct or union
slang_compile_variable.h:132: error: parse error before '}' token
slang_compile_variable.h:132: warning: data definition has no type or storage class
slang_compile_variable.h:136: error: parse error before "slang_active_uniform"
slang_compile_variable.h:136: warning: no semicolon at end of struct or union
slang_compile_variable.h:138: error: parse error before '}' token
slang_compile_variable.h:138: warning: data definition has no type or storage class
slang_compile_variable.h:140: error: parse error before '*' token
slang_compile_variable.h:141: error: parse error before '*' token
slang_compile_variable.h:142: error: parse error before '*' token
slang_compile_variable.h:145: error: parse error before '*' token
slang_compile_variable.h:147: error: parse error before '*' token
In file included from slang_assemble.h:28,
                 from slang_assemble.c:33:
slang_compile.h:64: error: parse error before "slang_export_data_table"
slang_compile.h:64: warning: no semicolon at end of struct or union
slang_compile.h:65: warning: data definition has no type or storage class
slang_compile.h:66: warning: data definition has no type or storage class
slang_compile.h:68: error: parse error before '*' token
slang_compile.h:69: error: parse error before '*' token
slang_compile.h:71: error: parse error before '*' token
slang_compile.h:85: error: parse error before "slang_translation_unit"
make[4]: *** [slang_assemble.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa/shader/slang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa/shader'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1



Which seems to be it can't find , even though the files are in the same directory. It will compile when I replace the #includes to the full path, but then I get this error:


Code:
shaderobjects_3dlabs.c:47:24: slang_link.h: No such file or directory
shaderobjects_3dlabs.c:687: error: parse error before "slang_program"
shaderobjects_3dlabs.c:687: warning: no semicolon at end of struct or union
shaderobjects_3dlabs.c:693: error: field `_obj' has incomplete type
shaderobjects_3dlabs.c: In function `_slang_get_uniform_location':
shaderobjects_3dlabs.c:1273: error: `slang_uniform_bindings' undeclared (first use in this function)
shaderobjects_3dlabs.c:1273: error: (Each undeclared identifier is reported only once
shaderobjects_3dlabs.c:1273: error: for each function it appears in.)
shaderobjects_3dlabs.c:1273: error: `bind' undeclared (first use in this function)
shaderobjects_3dlabs.c: In function `_slang_write_uniform':
shaderobjects_3dlabs.c:1288: error: `slang_uniform_bindings' undeclared (first use in this function)
shaderobjects_3dlabs.c:1288: error: `bind' undeclared (first use in this function)
shaderobjects_3dlabs.c:1289: error: `slang_uniform_binding' undeclared (first use in this function)
shaderobjects_3dlabs.c:1289: error: `b' undeclared (first use in this function)
shaderobjects_3dlabs.c:1306: error: `SLANG_UNIFORM_BINDING_MAX' undeclared (first use in this function)
make[4]: *** [shaderobjects_3dlabs.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa/shader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa/shader'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL/mesa'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-20060216/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

Which is again a #include not found. Fixing in the same way it compiles cleanly, but when I try to run Xgl:
Code:
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: slang_export_data_table_ctr

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted

Any thoughts?
_________________
"Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami

JGBE, a Java based GameBoy Emulator
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 ... 15, 16, 17 ... 28, 29, 30  Next
Page 16 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