[Bug 25240] New: GL_OUT_OF_MEMORY: shared video memory locked arbitrarily

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 20 08:59:38 CST 2010


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

           Summary: GL_OUT_OF_MEMORY:  shared video memory locked
                    arbitrarily
           Product: Wine
           Version: 1.3.7
          Platform: x86
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: zwaldowski at gmail.com


Wine on Mac OS X appears to be subject to a crash that has been fixed in Linux
(either on kernel or in Wine) a long time ago: the GL_OUT_OF_MEMORY crash,
manifest in the Wine log as "err:d3d:resource_init Out of adapter memory".

In imitating the Windows memory model, Wine limits the use of memory to
preallocated memory from 2GB to 3GB (0x7ffe0000).  The OpenGL driver on Mac OS
X (particularly on machines that use integrated video cards with shared memory,
although I've encountered the crash on my machine with a discrete card) seems
to not fit in with this, allocating textures outside the regular Wine block. 
Modifying the user_space_limit set in libs/wine/mmap.c can mitigate this issue
somewhat on some machines, but it doesn't appear to be all that safe (or all
that permanent) of a fix.

Debugging info will be provided by Thanoulas, a fellow member of the Mac
Porting Team forums, as soon as he sees this bug.

-- 
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