[Bug 44246] Call of Duty 4: GL_INVALID_OPERATION & GL_OUT_OF_MEMORY

WineHQ Bugzilla wine-bugs at winehq.org
Mon Dec 9 11:02:18 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=44246

--- Comment #9 from Adrien Fernandes <adrien_fernandes2 at hotmail.com> ---
So, I gave it a try.

I modified libs/wine/mmap.c

In line 426 :

    char *user_space_limit = (char *)0x7ffe0000;

In

    char *user_space_limit = (char *)0xbffe0000;

Now, Call of Duty can be run in highest setting without crash and here's what
"top" says me while the game is running.

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
  1233 Adrien2002   11  85    0  2521M  1223M CPU4     4   2:16 242,00% wine

It is ~900M lower than before. I don't understand why it works. I can
understand now the game isn't crashing anymore but why it can run with almost
1G less or why it was running with 1G more, before the modification of mmap.c ?

Can that "fix" cause issue in graphics compared to GNU/Linux's Wine ?

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