[Bug 43166] Skyrim on FreeBSD will only work a few seconds after being in the world (after the menu)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 4 12:34:25 CDT 2020


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

Adrien Fernandes <adrien_fernandes2 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrien_fernandes2 at hotmail.c
                   |                            |om

--- Comment #2 from Adrien Fernandes <adrien_fernandes2 at hotmail.com> ---
Created attachment 68319
  --> https://bugs.winehq.org/attachment.cgi?id=68319
libs/wine/mmap.c

A few months ago, I found a workaround to be able to play bigger games on
FreeBSD. I've posted the solution on this page :
https://bugs.winehq.org/show_bug.cgi?id=44211

--- libs/wine/mmap.c.orig    2020-06-23 09:45:49.013884000 +0000
+++ libs/wine/mmap.c    2020-06-23 09:46:48.543133000 +0000
@@ -426,7 +426,7 @@
     char stack;
     char * const stack_ptr = &stack;
 #endif
-    char *user_space_limit = (char *)0x7ffe0000;
+    char *user_space_limit = (char *)0xbffe0000;

     reserve_malloc_space( 8 * 1024 * 1024 );

Actually, this change allows me to play bigger games like Skyrim, Call of Duty
or Assassin's Creed but this workaround is not perfect. For example, on The
Witcher, after on quarter of hour, I'll enter a place but the entire game will
become black. I'll still hear the game but the new 'limits' applied with the
patch are reached and the game will finally crash afterward.

So most of the games are running now, yet I think this is not the real
solution. I never had crashes on GNU/Linux playing The Witcher so there's a
different behavior between both.

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