Im looking for some information on how wine supports hardware T&L. I play the game Lineage 2 which makes use of this, however when playing trough wine the fps is rather low. The game has an option to enable/disable hardware T&L, disabling it on windows gives the same decrease in framerate as i have on linux. On linux however there is no difference in enabling/disabling it which makes me assume that wine only supports software T&L. Am i right with this assumption or could the issue be something else such as GPU drivers (nvidia in my case) ?
We barely have any software emulation and forward everything to OpenGL. That said the implementation of some older 3D stuff might not be that efficient. Typically more modern 3d things are easier to map on OpenGL.
@Thunderbird: Honestly speaking I think that either the mapping of some functions is wrong or there is no mapping for this at all ;]. I know that in Max Payne 1/2 there is/was no difference whatsoever with Hardware T&L enabled or disabled - and there should be HUGE difference even if we take all mappings wine have to do. On the other hand, in Operation Flashpoint, enabling T&L give us pretty huge speed boost... this is really weird why enabling T&L works on some apps, and fails on others, it is even more weird for those games since all of them are D3D 8/9...
Envil wrote:> Is there any debug channel or something i could use to see if T&L is using the hardware or if its being run on the cpu?Not really. Start from what your video card and drivers you are using?
vitamin wrote:> > Envil wrote: > > Is there any debug channel or something i could use to see if T&L is using the hardware or if its being run on the cpu? > > Not really. Start from what your video card and drivers you are using?Geforce GTX 285 with Nvidia driver 195.36.15 and on the other PC a Geforce 7600 GT with driver 173.*.* I already tested various driver versions which did not make any change.
Envil wrote:> Geforce GTX 285 with Nvidia driver 195.36.15 and on the other PC a Geforce 7600 GT with driver 173.*.*Then your game wants something very old that was available with first generation of T&L cards (fixed function texture stages & co). But now no longer used by any program since it was replaced with shaders. Wine having issues with fixed functions as most of that needs to be emulated on newer HW.