View Full Version : how to set environment opengl variables?
stranamore
03-14-03, 04:54 PM
i've just :D installed successfully the NVIDIA packages on my RH8.0 and I'm trying to configure them.
reading the Nvidia's howto I've noticed how is possible to tune some opengl features (FSAA, anisotropic filtering, etc).
unfortunately i can't set any environment variables, not even the opengl variables.
I've never done it before!
can anybody help me?
thanks
LordMorgul
03-14-03, 05:10 PM
The exact syntax for setting variables depends on the shell you are using.
For bash, you can set a variable with:
export __GL_FSAA_MODE=0
For CSH, you would use:
setenv __GL_FSAA_MODE 0
These commands can be placed into a login script if you want them to be active at all times, such as your ~/.bashrc file.
And note that unless you put them in a login file, they will only be active in the current shell. So if you do that export (90% of Linuxes use bash, BTW, so that's more than likely what you're using if you don't know), and exit the terminal emulator without starting your game from it, the game won't see that the variable is set, and you won't get your FSAA or aniso.
stranamore
03-15-03, 04:41 AM
thanks, it seems to work fine!!!!!!!
I've just modified a "profile" file to automatically set all variables to their right values.
Howewer, I've another little question...
2d performances look quite poor.
it takes a few seconds to resize every window or to refresh the area behind a window when I move it.
3d instead works fine...
my card is a Geforce3 ti500
anybody have any ideas?
Known problem with 4191.
You can search around for "slow 2d" or similar for some peoples' solution. IIRC it had something to do with Option "RenderAccel" or something like that. Or you could revert to 3123, which actually uses the RENDER extension rather than something proprietary that appears not to work all that well (which is what 4191 uses).
stranamore
03-15-03, 07:39 AM
I've already tried to install 3123... unsuccessfully.
I couldn't be able to build the kernel.src.rpm, or to compile the source.
I had got a lot of error... no such device, no nvdriver... etc
at last I decided to download the 3123.rpm for my kernel (the standard RH8.0 kernel) and finally the installation had been completed and the driver has started to work.
howewer thanks for the hit. I'll try to look every where for a "4191 optimization", if it exist...
It probably won't.
But the search results here would:
http://www.nvnews.net/vbulletin/search.php?s=&action=showresults&searchid=81226&sortby=lastpost&sortorder=descending
Along with this thread, which has a workaround (it's included in those search results, of course):
http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=5871&highlight=4191+slow
This one has some general info on where else to look:
http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=5673&highlight=4191+slow
And this one, which has another (hopefully) fix:
http://www.nvnews.net/vbulletin/showthread.php?s=&postid=73404&highlight=4191+slow#post73404
And, as always, the official 4191 driver thread:
http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=4997&highlight=4191+slow
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.