http://bugs.winehq.org/show_bug.cgi?id=6997
------- Additional Comments From e0425955@student.tuwien.ac.at 2006-27-12 15:31 ------- I was using a GeForce FX Go5700 (nvidia driver 96.31 and 97.46), and now I tried on another PC with a GeForce 5900 Ultra which also has the slowness (driver 8776, wine 0.9.28 and .24, 0.9.24 doesn't show the error with ARB shaders ... this is because the unrecognized case then shader_addline'd "2D" instead of "").
On my brother's 7950 GX2 it's not slow, maybe this is specific to FX series ... I just can't imagine that a situation that would make a single OpenGL call take so damn long ...
I have set all video settings to 0 in the registry, except for VisualTreatment to 1, which causes black background in menu (but also blackness ingame with the GeForce FX), and slowness, which is also caused by Overbright. Curiously, activating Overbright turns the scene upside down ... well, sometimes, and the menu also stops being black on the 7950 if I press QuickRace and then back ... it's a bit chaotic.
Further experimentation shows that slowness vanishes if I set object->currentDesc->width/height to pow2Width/Height in the CreateSurface function ... All 3 set nonpower2_mode none in directx.c since glxinfo doesn't exhibit GL_ARB_texture_non_power_of_two with any of the GPUs)