Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-24-03, 06:42 PM   #1
beta
Registered User
 
Join Date: Jan 2003
Posts: 5
Default antialiassing and aniostripic filtering

I have just setup a linux box and have installed the latest kernel update and nvida drivers for geforce 4 ti. Everything works fine. I would like to know how to enable FSAA and Aniostropic filtering. I have looked at the readme about this but am confused. I do'nt know where to enter the commands. Can someone please tell me how to enable these options. Thank You
beta is offline   Reply With Quote
Old 01-24-03, 07:34 PM   #2
Chalnoth
Registered User
 
Join Date: Jul 2002
Posts: 1,293
Default

If I remember correctly,
export __GL_FSAA_MODE 1
export __GL_DEFAULT_LOG_ANISO 3
...at the command prompt should enable 2x FSAA and 8-degree aniso. Check the readme, as I may have the names a little bit wrong. I placed the commands in my /etc/rc.d/rc.local file so that they're executed at startup. I'm not in linux right now, or else I'd be able to check for sure...sorry
__________________
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman
Chalnoth is offline   Reply With Quote
Old 01-24-03, 10:47 PM   #3
beta
Registered User
 
Join Date: Jan 2003
Posts: 5
Default

That didn't seem to work. I did exactaly that. Maybe I"m missing something. I read in the readme that the XF86Config had to be edited. Is that where it has to be done. It listed those commands u mentioned only to put them in the XF86Config file. I dont' know how to set this up in this file. Can someone clarify this. Thank You
beta is offline   Reply With Quote
Old 01-24-03, 11:30 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Those commands are not meant for the XF86Config file. What they do is set shell variables that the glXSwapBuffers (for example -- this is the function that looks for __GL_SYNC_TO_VBLANK, others look for the FSAA and aniso flags) function can look at when a program is run.

You type the exports directly into the shell that you start a GL program from. At least, that's the easiest way. You can do it from rc.local, if you always use the same settings.

But you don't do export __GL_FSAA_MODE 1, you do an export __GL_FSAA_MODE=1 instead -- notice the =? The same goes for any export. The important thing is to make sure the case is correct (all uppercase) and the spelling is correct, because you very likely won't get any errors if you mistype the variable's name, you just won't get FSAA when you run the program.

If you type this into a terminal emulator, then you have to start the game (or whatever) from that same shell or a subshell.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 01-25-03, 03:53 AM   #5
beta
Registered User
 
Join Date: Jan 2003
Posts: 5
Default

How would I go about settings up the rc.local file with those commands. I am kind of new to linux so if u could please explain to me how to do it. thanks
beta is offline   Reply With Quote
Old 01-25-03, 08:04 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Just edit the file, and at the end, put an export __GL_FSAA_MODE=1 into it. If you want, then on the next line, put an export __GL_ANISO_WHATEVER_IT_IS=3 as well.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 01-25-03, 01:53 PM   #7
beta
Registered User
 
Join Date: Jan 2003
Posts: 5
Default

I tried just that but it didn't work. I typed everything correctly. When I load quake those options are not on. The only way I can get it to work is to manually type those commands from the quake shell. But I'd have to do this all the time and can get annoying. I'd like to be able to do it the way you suggested. I'ts just not working though. Thanks again.
beta is offline   Reply With Quote
Old 01-25-03, 02:50 PM   #8
Chalnoth
Registered User
 
Join Date: Jul 2002
Posts: 1,293
Default

Okay, I'm in Linux now. Guess I was a little bit off. Anyway, here's how I have it set up:

I have the commands:

export __GL_FSAA_MODE=1
export __GL_DEFAULT_LOG_ANISO=3

...at the end of the file /etc/profile
__________________
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman
Chalnoth is offline   Reply With Quote

Old 01-25-03, 04:13 PM   #9
beta
Registered User
 
Join Date: Jan 2003
Posts: 5
Default

Thank You that did it. Works great now. I came across this program called yanc. I'm sure you heard of it. For some reason the settings don't stay after I change them using that program. I make my changes, then go to save settings, log out of x and then start it again but the settings don't save. At least the antialiasing and aniostropic settings. Any reason?
beta is offline   Reply With Quote
Old 01-30-03, 02:27 PM   #10
Ygriega
Registered User
 
Join Date: Aug 2002
Posts: 13
Default

The first thing I have to say is: Please read the YanC documentation that is included in the package you have downloaded.

As you can see, antialiasing, anisotropic texture filtering and vsync are environment variables that can't be saved in the XF86Config.

--> "This option will not be stored in the XF86Config. An environment variable that will only be valid for the application entered in the "Run program" field will be set. "

Please enter the program which you want to start with the customized settings for antialiasing, anisotropic texture filtering and vertical synchronization in the "Run program" field. To launch the program please either press the input key or the "Run with customized settings" button.
__________________
In every stone sleeps a crystal.

nVidia configuration with Linux: http://yanc.ygriega.de
Ygriega is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:58 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.