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

Goto page Previous  1, 2, 3, 4, 5 ... 13, 14, 15  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wintersommer
n00b
n00b


Joined: 28 May 2004
Posts: 33

PostPosted: Mon Feb 13, 2006 6:09 pm    Post subject: Reply with quote

those things are normally not hardcoded , but added by the configure script , as it finds the current libstdc++ or compiler setting to be 4.02.

thats why i asked , if you checked all this, then probably it *IS* hardcoded - then you can search the code for it and replace it with the Var.

I dont think it is hardcoded because not alle ppl have 4.0.2 - i for example compiled it with 4.1.....
Back to top
View user's profile Send private message
Maskim
n00b
n00b


Joined: 20 Feb 2005
Posts: 40

PostPosted: Mon Feb 13, 2006 6:33 pm    Post subject: Reply with quote

Hi,

I've got a "nVidia GeForce4 420 Go 32M".
Is it "normal" to get black windows with this card or is it a solution to solve this problem?
Back to top
View user's profile Send private message
wintersommer
n00b
n00b


Joined: 28 May 2004
Posts: 33

PostPosted: Mon Feb 13, 2006 6:38 pm    Post subject: Reply with quote

it is normal until now, watch this thread for an solution
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Mon Feb 13, 2006 8:36 pm    Post subject: Reply with quote

ok I've got everything compiled and installed but when i run the command "Xgl :1 -ac -accel glx:pbuffer -accel xv" i get the following:

before you ask, yes, opengl is working just fine in X so that cant be it.


Code:

~> Xgl :1 -ac -accel glx:pbuffer -accel xv
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted
Back to top
View user's profile Send private message
KRA
n00b
n00b


Joined: 12 Feb 2006
Posts: 11

PostPosted: Mon Feb 13, 2006 8:58 pm    Post subject: Reply with quote

Angrybob wrote:
ok I've got everything compiled and installed but when i run the command "Xgl :1 -ac -accel glx:pbuffer -accel xv" i get the following:

before you ask, yes, opengl is working just fine in X so that cant be it.


Code:

~> Xgl :1 -ac -accel glx:pbuffer -accel xv
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted


Exact same problem here, compiled everything just now ....
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Mon Feb 13, 2006 9:31 pm    Post subject: Reply with quote

It's working! I used Hanno's xgl-overlay-200602120.tar.bz2 and followed the wiki

Negative symptoms:
1. KDE runs slow on Xgl. I hope it's not because of gnome-window-decorator. Gnome runs fine. I'll try turning off some plugins. At least KDE runs, about a week ago KDE would crash Xgl.
2. Wobbly jerkiness. With wobbly, when I drag a window it starts wobbling, but if I stop moving the mouse the wobbly effect pauses leaving the window frozen in whatever distorted shape until I start moving the mouse again or stop holding down the mouse button. When I let go of the window, the wobbly effect stutters as it subsides. About a week ago the wobbly effect used to continue smoothly (even when the mouse isn't moving) and without stuttering.
3. Doom3 segfaults :-( ...and ppracer says "Couldn't find matching GLX visual". glxgears seems to be the only opengl app I can run.
4. xine-ui's UI window is garbled and video playback works, but with weird colored shadows. xine-ui's right-click menu crashes gnome-window-decorator

Positive:
1. No black windows.
2. glxgears gives double fps in Xgl!!! (3000 -> 6000) This is too good to be true, maybe Xgl is defaulting to 16 bit color or something like that.

Relevant specs:
GCC 4.1 beta 20060203
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident"
GeForce FX 5700
nvidia-kernel and nvidia-glx version 1.0.8178
hanno's overlay included two mesa ebuilds, I used the mesa-6.4.2-r1ebuild instead of unmasking the 6.4.3_alpha one.


Last edited by StringCheesian on Tue Feb 14, 2006 2:19 am; edited 2 times in total
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


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

PostPosted: Mon Feb 13, 2006 10:35 pm    Post subject: Reply with quote

StringCheesian wrote:
It's working! I used Hanno's xgl-overlay-200602120.tar.bz2 and followed the wiki

Negative symptoms:
1. KDE runs slow on Xgl. I hope it's not because of gnome-window-decorator. Gnome runs fine. I'll try turning off some plugins. At least KDE runs, about a week ago KDE would crash Xgl.
2. Wobbly jerkiness. With wobbly, when I drag a window it starts wobbling, but if I stop moving the mouse the wobbly effect pauses leaving the window frozen in whatever distorted shape until I start moving the mouse again or stop holding down the mouse button. When I let go of the window, the wobbly effect stutters as it subsides. About a week ago the wobbly effect used to continue smoothly (even when the mouse isn't moving) and without stuttering.
3. Doom3 segfaults :-(

Positive:
1. No black windows.
2. glxgears gives double fps in Xgl!!! (3000 -> 6000) This is too good to be true, maybe Xgl is defaulting to 16 bit color or something like that.

Relevant specs:
GCC 4.1 beta 20060203
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident"
GeForce FX 5700
nvidia-kernel and nvidia-glx version 1.0.8178
hanno's overlay included two mesa ebuilds, I used the mesa-6.4.2-r1ebuild instead of unmasking the 6.4.3_alpha one.


any nvidia user getting same results???

please post succesfully stories.
Back to top
View user's profile Send private message
rob2687
n00b
n00b


Joined: 05 Feb 2006
Posts: 27

PostPosted: Mon Feb 13, 2006 10:41 pm    Post subject: Reply with quote

My 5600xt only stutters a little when I let go of the wobbly window.
I don't run KDE but gnome runs fine.

glxgears goes from 1200 to 1900
Back to top
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Mon Feb 13, 2006 11:25 pm    Post subject: Reply with quote

I'm getting great results. I don't use DE's like Gnome but I have been testing with just compiz and urxvt and everything seems to work.
Check the end of the other thread (XGL Part 2) for fixes for the undefined symbol.

I am on a 6600GT and my glxgears went from 6000 to around 10000.
_________________
rubyforums | blog | boxwhore
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Mon Feb 13, 2006 11:57 pm    Post subject: Reply with quote

enzobelmont wrote:

please post succesfully stories.


Ok, here you go.
Any effect, including wobbly runs great in both kde and gnome - no stuttering at all. Glxgears went form 4600 to 7900. Only one problem: compiz managed windows don't appear in kicker which makes using kde a bit difficult, but gnome runs fine. (too bad I don't like gnome)
I don't have doom3 installed anymore, so can't test that.


The specs:
- full ~x86 system
- GCC 3.4.5
- CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
- nvidia-glx-1.0.8178
- nvidia-kernel-1.0.8178-r3
- my card: Geforce Go 6600
- used the hanno overlay that was available at the time of compiling, which is xgl-overlay-200602130.tar.bz2

For extra fun, play with the friction and spring_k settings (use gconf-editor for that) for some really wacky wobble effects.
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Tue Feb 14, 2006 12:30 am    Post subject: Reply with quote

ok cool I've got xgl up and running, compiz starts just fine and turns my xgl server background blue... but when i run gnome-window-decorator nothing happens, so i cant move apps about ???
Back to top
View user's profile Send private message
SaguratuS
n00b
n00b


Joined: 17 Feb 2005
Posts: 33

PostPosted: Tue Feb 14, 2006 12:31 am    Post subject: Reply with quote

Angrybob wrote:
ok I've got everything compiled and installed but when i run the command "Xgl :1 -ac -accel glx:pbuffer -accel xv" i get the following:

before you ask, yes, opengl is working just fine in X so that cant be it.


Code:

~> Xgl :1 -ac -accel glx:pbuffer -accel xv
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted


Exact same problem here too. It's probably a new issue from using code off of CVS.
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Tue Feb 14, 2006 12:37 am    Post subject: Reply with quote

SaguratuS wrote:
Angrybob wrote:
ok I've got everything compiled and installed but when i run the command "Xgl :1 -ac -accel glx:pbuffer -accel xv" i get the following:

before you ask, yes, opengl is working just fine in X so that cant be it.


Code:

~> Xgl :1 -ac -accel glx:pbuffer -accel xv
dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted


Exact same problem here too. It's probably a new issue from using code off of CVS.


have a look on page 7 of the thread "XGL part 2" there is a fix for that issue, it just involves tweaking a few files and recompiling xgl
Back to top
View user's profile Send private message
recall
n00b
n00b


Joined: 29 Dec 2005
Posts: 32
Location: Lithuania

PostPosted: Tue Feb 14, 2006 1:32 am    Post subject: Reply with quote

Works perfectly with

GCC 3.4.4
GeForce FX 5700
nvidia-kernel and nvidia-glx version 1.0.8178
mesa-6.4.2-r1
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Feb 14, 2006 1:54 am    Post subject: Reply with quote

Angrybob wrote:
ok cool I've got xgl up and running, compiz starts just fine and turns my xgl server background blue... but when i run gnome-window-decorator nothing happens, so i cant move apps about ???

That happened to me too. I tried a lot of different things and eventually it stopped doing that, but I don't know what fixed it. I stopped putting "gconf" in the command line for compiz, put a "sleep 1" in between each statement in the script I use to start Xgl, and I added "decoration" after "gconf" to active_plugins in gconf-editor. I also start gnome-window-decorator before any apps.

See if one of these scripts works for you.

To start Xgl in a window (change "gnome-terminal" to whatever app you want to start inside it):
Code:
Xgl :1 -ac -accel glx:pbuffer -accel xv:fbo &
sleep 1
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz --replace decoration move resize place menu fade switcher cube rotate zoom scale &
sleep 1
DISPLAY=:1 gnome-window-decorator &
sleep 1
DISPLAY=:1 gnome-terminal &

Or, emerge gnome-light, and then kill your xorg. Some of you may need to run "/etc/init.d/xdm stop" to cleanly shut down regular Xorg so that you can start fullscreen Xgl with this script. Trying to run this while KDE is already running results in gnome-session complaining that there's already an active session manager. Once you're down to the textmode/framebuffer linux console, run this script:
Code:
Xgl :1 -ac -accel glx:pbuffer -accel xv:fbo &
sleep 1
DISPLAY=:1 gnome-session &
#DISPLAY=:1 startkde &
sleep 4
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz --replace decoration fade move resize place menu switcher minimize cube rotate zoom scale &
sleep 1
DISPLAY=:1 gnome-window-decorator &
Back to top
View user's profile Send private message
losco
n00b
n00b


Joined: 06 Jun 2004
Posts: 17

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

all works... but no wobbly and no Italian keyboard layout... :roll:
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Feb 14, 2006 3:54 am    Post subject: Reply with quote

Is it just me or is xgl consideribly SLOWER then xorg 7?

I know it's a bad benchmark, but glxgears goes from ~4700 to ~2400 fps. This is on a Geforce 6600 with 256 megs. I always thought 4700 fps was low, but with xgl, it's even worse.

I'm also not getting any of those cool effects. Do I need to enable anything?

Better benchmark: I can't watch a movie while amarok is running, because of the framedrops. In xorg, this works fine.

Great how-to and overlay though. XGL seems to be running pretty stable as well.

BTW: anyone know how to make XGL start automaticly when using sdm / gdm / entrance (i.e. what modifications are neccessery to /etc/init.d/xdm?)
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Tue Feb 14, 2006 4:50 am    Post subject: Reply with quote

Rainmaker wrote:
Is it just me or is xgl consideribly SLOWER then xorg 7?

I know it's a bad benchmark, but glxgears goes from ~4700 to ~2400 fps. This is on a Geforce 6600 with 256 megs. I always thought 4700 fps was low, but with xgl, it's even worse.

I'm also not getting any of those cool effects. Do I need to enable anything?

Better benchmark: I can't watch a movie while amarok is running, because of the framedrops. In xorg, this works fine.

Great how-to and overlay though. XGL seems to be running pretty stable as well.

BTW: anyone know how to make XGL start automaticly when using sdm / gdm / entrance (i.e. what modifications are neccessery to /etc/init.d/xdm?)


Hmm. That is odd. I get a glxgears increase and I am able to run 2 movies and quake3 at the same time without slowdown. However, when compiling everything slows to a crawl and nothing is possible in XGL.
_________________
rubyforums | blog | boxwhore
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Tue Feb 14, 2006 6:50 am    Post subject: Reply with quote

Rainmaker wrote:
Is it just me or is xgl consideribly SLOWER then xorg 7?

I know it's a bad benchmark, but glxgears goes from ~4700 to ~2400 fps. This is on a Geforce 6600 with 256 megs. I always thought 4700 fps was low, but with xgl, it's even worse.

I'm also not getting any of those cool effects. Do I need to enable anything?

Better benchmark: I can't watch a movie while amarok is running, because of the framedrops. In xorg, this works fine.

Great how-to and overlay though. XGL seems to be running pretty stable as well.

BTW: anyone know how to make XGL start automaticly when using sdm / gdm / entrance (i.e. what modifications are neccessery to /etc/init.d/xdm?)

I get this aswell :cry:. My 6600GT goes from 11kfps to 6kfps from xorg 7 to xgl. And i get unusable graphic dostorsions :(.

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


Joined: 08 Aug 2004
Posts: 397

PostPosted: Tue Feb 14, 2006 6:58 am    Post subject: Reply with quote

sorry, double post... gotta run to job...

Last edited by ashtophet on Tue Feb 14, 2006 7:01 am; edited 1 time in total
Back to top
View user's profile Send private message
ashtophet
Guru
Guru


Joined: 08 Aug 2004
Posts: 397

PostPosted: Tue Feb 14, 2006 7:00 am    Post subject: Reply with quote

ashtophet wrote:
Geforce 6600 256M
gcc (GCC) 4.1.0-beta20060210
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
Latest (13-02-06) overlay from hanno.
media-video/nvidia-kernel-1.0.8178-r3
media-video/nvidia-glx-1.0.8178
glxgears ~1.5x Xorg's results.
Everything running great, except minor and already reported annoyances.
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Tue Feb 14, 2006 7:04 am    Post subject: Reply with quote

IWBCMAN wrote:

...
Once you install cairo and build pango and gtk+ against it voila gnome-window-decorator magically appears...


what do you mean "build ... against it"?
Back to top
View user's profile Send private message
maKKus
Guru
Guru


Joined: 07 Aug 2002
Posts: 356
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek

PostPosted: Tue Feb 14, 2006 7:52 am    Post subject: Reply with quote

I'v build xgl on my amd64 laptop (hp nx9105, GeForce4 440 Go 64M) but when I start xgl it gives following error:

dlopen: /usr/lib64/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted

OpenGL is working !
Does this mean that the graphics card isn't capable of running xgl?
Back to top
View user's profile Send private message
baeksu
l33t
l33t


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

PostPosted: Tue Feb 14, 2006 8:10 am    Post subject: Reply with quote

maKKus wrote:
I'v build xgl on my amd64 laptop (hp nx9105, GeForce4 440 Go 64M) but when I start xgl it gives following error:

dlopen: /usr/lib64/xorg/modules/xgl/libglcore.so: undefined symbol: _tnl_arb_vertex_shader_stage

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

FatalError re-entered, aborting
No GLX modules loaded
Aborted

OpenGL is working !
Does this mean that the graphics card isn't capable of running xgl?

I have the same card, so it shouldn't be that. I can't help you with the error, though, as I've never seen it. Maybe something to do with 64-bit mode?

For me, xgl itself works, but I get the black windows with glxcompmgr and compiz.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
bigfam
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2004
Posts: 106
Location: ottawa

PostPosted: Tue Feb 14, 2006 11:10 am    Post subject: Reply with quote

has anyone got it working on an MX card?


any geforce MX users got around the black window bug?

ive got a geforce 4 mx400 and from all the threads ive read no one with a geforce MX card can get compbiz to work
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 13, 14, 15  Next
Page 4 of 15

 
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