nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Can you have software emulation of more advanced cards? (http://www.nvnews.net/vbulletin/showthread.php?t=34325)

FreeCatalonia 08-08-04 10:11 PM

Can you have software emulation of more advanced cards?
 
I have a geforce 4 mx, and I'd like to experiment with vertex and pixel shaders that are far too advanced for my card. Is it possible to have software emulation of games, demos, etc, even if it's very slow? You know, just to experiment and have a look.

Thunderbird 08-09-04 03:46 AM

Re: Can you have software emulation of more advanced cards?
 
Yes you can emulate upto geforceFX cards. Use export __GL_NV30_EMULATE=1 (or NV25 for geforce4) but note that it is VERY, VERY slow.

FreeCatalonia 08-09-04 06:28 AM

Re: Can you have software emulation of more advanced cards?
 
With this option (export __GL_NV30_EMULATE=1) I still get an error when quering for the GL_ARB_fragment_shader extension.

Is this thing documented anywhere in the nvidia drivers package or anywhere?

Thunderbird 08-09-04 06:49 AM

Re: Can you have software emulation of more advanced cards?
 
Not sure if it is documented. First make sure that the option is working using glxgears. The list of extensions it will show is a lot bigger then further the device string will become something like "BoomBoom emulated by: Geforce4MX".

nutball 08-09-04 08:22 AM

Re: Can you have software emulation of more advanced cards?
 
You need to turn on emulation in the X server as well as the client I think. I've got

Option NvEmulate "30"

in the Device section of XF86Config.

Thunderbird 08-09-04 08:52 AM

Re: Can you have software emulation of more advanced cards?
 
You don't need both options. The advantage of the environment variable is that you can easily disable it, for the XF86Config option it is for your whole X session and that's something you really don't want.

FreeCatalonia 08-09-04 06:44 PM

Re: Can you have software emulation of more advanced cards?
 
I finally was able to get the software emulation to work, so thanks to everyone than replied.

The problem is that only the XF86Config-4 config file option works, whereas the export doesn't. And it would be much easier to work that way, instead of having to modify and restart X every time I have to change options.

By the way, the glxgears test didn't turn to be a good way of validating whether you're on emulation or not. I get about the same fps with or without, so I have to use the glxinfo command or an advaced vertex or shader program to know what I'm running there.

kmare 08-09-04 08:01 PM

Re: Can you have software emulation of more advanced cards?
 
of course glxgears will return the same results... it doesn't use any advance extention like pixel/vertex shaders or something... only the extentions not supported by your card are emulated...
btw: good to know that it actually works :) I didn't know that...


All times are GMT -5. The time now is 04:06 AM.

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