performance issue when OffscreenRenderingMode = "pbuffer"

paulo lesgaz jeremielapuree at yahoo.fr
Sun Jan 25 02:07:04 CST 2009


Jerome,

your patch must be sent to wine-patch, not to wine-devel.

A+

David

--- En date de : Dim 25.1.09, Jérôme Gardou <jerome.gardou at gmail.com> a écrit :
De: Jérôme Gardou <jerome.gardou at gmail.com>
Objet: performance issue when OffscreenRenderingMode = "pbuffer"
À: wine-devel at winehq.org
Date: Dimanche 25 Janvier 2009, 2h42

I tried to play Supreme Commander using pbuffer option instead of fbo. I was
quite happy with it, since I gained quite a bunch of performance (I mean,
something I really COULD see), but after a while, the performance dropped
dramatically, to ~4-5 fps.

I tested quite a few thing, and I finally found that pixel bufers were not
taken in account when calculating available texture memory. The game then
allocated more textures, and good opengl didn't dare complain when putting
them in system memory.

Attached is a patch which should solve the problem.

For those who are curious, try setting VideoMemorySize to 200 instead of 256.
It works just like a charm.



More information about the wine-devel mailing list