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) ?
Transform & Lighting (T&L) in wine
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
@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...
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...
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
While I don't know this area of our code. If I remember it right OpenGL already offered T&L support years before DirectX received it and hyped it. I'm quite sure we are implementing it in the right way. Who says that the OpenGL drivers are accelerating this well? Further on modern GPUs old legacy functionality is emulated anyway and not all of the GPU is used during this emulation.
Geforce GTX 285 with Nvidia driver 195.36.15 and on the other PC a Geforce 7600 GT with driver 173.*.*vitamin wrote:Not really. Start from what your video card and drivers you are using?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?
I already tested various driver versions which did not make any change.
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.Envil wrote:Geforce GTX 285 with Nvidia driver 195.36.15 and on the other PC a Geforce 7600 GT with driver 173.*.*