PDA

View Full Version : Correct command to use with nvidia binary drivers?


Calorno
February 19th, 2007, 01:22 AM
I have managed to get compiz going on Gentoo with the binary nvidia drivers - and very nice it is too! Nice work!

Anyway, i read a lot of different wikis, forums etc and I am still not sure if I am running to correct commands specifically to run using the nvidia driver (ie no XGL or AIGLX)

I use compiz --replace gconf & gtk-window-deocrator &

Which works ok, but I have also see references to various enviroment variables etc to use with the nvidia drivers for example indirect rendering. Any comments?

Perhaps I am running XGL without knowing it or some other wierdness? :P

RYX
February 19th, 2007, 02:35 AM
Hi Calorno.

These work best for me (Geforce fx 5200):__GL_YIELD="NOTHING" compiz --replace --loose-binding gconf &
gtk-window-decorator --replace &

:)

Calorno
February 19th, 2007, 10:12 AM
Thanks a lot RYX!

Do you know what this actually does? __GL_YIELD="NOTHING"

Also I've seen a lot of ppl using --use-cow again does anyone know what this does?

RYX
February 19th, 2007, 03:19 PM
The "use-cow" is deprecated and is not used anymore since compiz 0.3.6 (is set automatically).

I have no clue what __GL_YIELD="NOTHING" does behind the scenes, but (as far as I can say) it is somehow essential for getting good hardware-acceleration on nvidia-cards and surpresses some errors ...

:)

RAOF
February 20th, 2007, 02:00 AM
...
I have no clue what __GL_YIELD="NOTHING" does behind the scenes, but (as far as I can say) it is somehow essential for getting good hardware-acceleration on nvidia-cards and surpresses some errors ...
...

I think that it stops the OpenGL drivers yielding it's timeslice. It's meant to prevent the problem where heavy CPU load results in extremely slow Compiz performance.

There are apparently some problems it causes, but I don't know of them. I don't use it either; it's difficult to max both cores of my Core Duo 2 laptop :).

delphinen
February 20th, 2007, 04:14 AM
look in this (http://forum.go-compiz.org/viewtopic.php?t=342) thread for more information on the __GL_YIELD problem.