[Bug 16456] Sins of a solar empire: GL_OUT_OF_MEMORY

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 10 19:40:04 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16456


doug <damron at mytech.wvutech.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4




--- Comment #4 from doug <damron at mytech.wvutech.edu>  2008-12-10 19:40:03 ---
(In reply to comment #2)
> That's not really a fix. Let's diagnose this properly:
> 
> a. What Linux distro / Video card / Video driver are you using?
> 
> b. Can you reproduce the problem with the sins demo?
> 

The error is caused by a memory leak in Sins of a Solar Empire. Presumably, the
Windows implementation of Direct3D uses system RAM for textures in the
IWineD3DSurface interface. In wine's implementation, it uses pixel buffer
objects if the video card supports it. This is because it is faster to do it
this way. Unfortunately, video cards have much less memory and therefore this
memory leak fills up video memory rather quickly and causes the
GL_OUT_OF_MEMORY error when it requests another Pixel Buffer Object. The work
around is to simply disable pixel buffer objects for Direct3d Surfaces so that
the memory leak occurs in system memory. This will work for every video card
that supports pixel buffer objects (which would be any video card that can run
Sins of a Solar Empire). This is a fix solely for SoaSE and shouldn't be
committed to wine's source tree.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list