[Wine] Re: Squeezing every last drop of performance out of DirectX

Daemon wineforum-user at winehq.org
Sat Apr 25 23:13:54 CDT 2009

> I have found that passing the following options to TF2 definitely makes it run MUCH better (Steam-related options):
> -heapsize 1048576 -dxlevel 81

With 4 gigs ,actually 2 gigs since you're running a 32-bit program, you could safely leave datacachesize/heapsize values to default which is what 521000 or 256000.(?) 

> Actually, to be precise, I'm running in windowed mode at like 1100 something by 940 (I think)? 

Make sure you have the WM set to Metacity(no effects) not Compiz. So basically it's fullscreen wthout going fullscreen? ??

> I have also properly set my videoMemorySize to 1024.  I think I have tried the offscreenRendering option as well (set to fbo or not) but it didn't seem to help.

ORM should be set to fbo to take advantage of the newest drivers(180.44+) drivers and your hardware. The RegistryWiki - http://wiki.winehq.org/UsefulRegistryKeys has all the fun Direct3D settings info.

> Overall the game runs fairly well.  I get around 30 FPS for the most part in open areas (100+ FPS in small, confined areas), but every couple minutes it drops to less than 5 FPS (sometimes even 1 FPS). 

network congestion(?) or related to running with such a low heapsize probably.

> I have installed DirectX 9.0c

I don't believe this is really necessary anymore. It seems to cause more problems than it's worth. In any case, you already have WineD3D(X) installed from a base wine install. At most you'd have to download(dll-files.com) the d3dx9_36.dll to d3dx9_40.dlls / Xaudio stuff to the windows/system32 directory depending on how much the app complains.

applies to most source engine games 
i heart quoting

More information about the wine-users mailing list