Gentoo 2005.1mopomi wrote:Is this black screen bug happening for everybody, just people who have WoW installed on a native (to linux) filesystem, or some even smaller section?
System stats:
Suse 9.3 x86_64
Athlon 64 3700+
2 GB RAM
laptop
CVSwine
(patched to work around mouse click bug; same results with latest packaged release, but of course mouse click bug is there when the system does work.)
Confirmed. By making WDB read-only, the black/blank screen goes away. But neither of the patches fixed the mouse-bug. Both of them give me this error:mooninite wrote:The black screen after you try to login is caused by something weird...
Make your WDB directory read-only and try to login. WoW is trying to create a "Survey.mpq" file on my system and when I deleted that file, made WDB read-only, it started WoW just fine.
I'm using XFS for the filesystem here.
Code: Select all
err:virtual:map_image Image was mapped at 0x7f240000: standard load address for a Win32 program (0x00400000) not available
err:virtual:map_image Do you have exec-shield or prelink active?
wine: could not load L"D:\\Program Files\\World of Warcraft\\WoW.exe" as Win32 binaryYes.prg wrote:there are two?GoldDog wrote:Confirmed. By making WDB read-only, the black/blank screen goes away. But neither of the patches fixed the mouse-bug.
And there is also one posted by "Polynomial-C"prg wrote:hi, it is working for me without the mouse bug
i'm on amd64, wine 20050930
here's what i've done:
wine-mmap-wowhack.patch
Code:
--- libs/wine/mmap.c
+++ libs/wine/mmap.c
@@ -161,6 +161,26 @@
#endif /* (__svr4__ || __NetBSD__) && !MAP_TRYFIXED */
+static void *get_anon_mmap_null_address(size_t size)
+{
+ static int got_override = 0;
+ static void *low_alloc_ptr = NULL;
+ void * current_low_alloc_ptr;
+
+ if (!got_override)
+ {
+ low_alloc_ptr = (void*)0x10000000;
+ got_override = 1;
+ //printf("gaak!\n");
+ }
+
+ current_low_alloc_ptr = low_alloc_ptr;
+
+ if (low_alloc_ptr)
+ low_alloc_ptr += size;
+
+ return current_low_alloc_ptr;
+}
/***********************************************************************
* wine_anon_mmap
@@ -209,6 +229,9 @@
return start;
#endif
}
+ if ((start == NULL) && !(flags & MAP_FIXED))
+ start = get_anon_mmap_null_address(size);
+
return mmap( start, size, prot, flags, fdzero, 0 );
#else
return (void *)-1;
(thanks to shamus13 who posted a link to http://lists.transgaming.org/pipermail/ ... 00259.html)
wine-preloader-wowhack.patch
Code:
--- loader/preloader.c
+++ loader/preloader.c
@@ -110,7 +110,7 @@
{
{ (void *)0x00000000, 0x00110000 }, /* DOS area */
{ (void *)0x80000000, 0x01000000 }, /* shared heap */
- { (void *)0x00110000, 0x1fef0000 }, /* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 512mb */
+ { (void *)0x10000000, 0x00f00000 }, /* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 512mb */
{ 0, 0 } /* end of list */
};
(how) could that be done with WINEPRELOADRESERVE?
and no, i do not understand what these changes actually do.
hth,
prg
Polynomial-C wrote:Hi,
seems to work flawlessly on my sister's computer...
Anyway I had to hack the patch into the sources myself as the quoted patch was somehow corrupted so the patch-program refused to apply it to the sources...
To spare this to others, here is a link to the patch I created:
http://polynomial-c.homelinux.net/pub/g ... ixes.patch
I hope it helps
Cheers
Poly
WINE20050930prg wrote:what wine version are you using?
Works* by simply making the WDB dir unwritable (don't have to delete the Survey.mpq, which also exists on the NTFS partition). I don't get it. . . This is reiserfs3.mooninite wrote:The black screen after you try to login is caused by something weird...
Make your WDB directory read-only and try to login. WoW is trying to create a "Survey.mpq" file on my system and when I deleted that file, made WDB read-only, it started WoW just fine.
I'm using XFS for the filesystem here.
prg wrote:Polynomial-C put this patch in a file and put it up for download, it is the same as the patch i posted here, it just seems that the whitespace got messed up when i posted it
20050930 is the version it should be working with, so other system specs?
Code: Select all
err:virtual:map_image Image was mapped at 0x7f240000: standard load address for a Win32 program (0x00400000) not available
err:virtual:map_image Do you have exec-shield or prelink active?
wine: could not load L"D:\\Program Files\\World of Warcraft\\WoW.exe" as Win32 binary have you had a look into the patched files to make sure that the changes show up there? what did the patch program say?GoldDog wrote:I have tried those 2 patches and applying them to the "~/wine/libs/wine/mmap.c" and the "~/wine/loader/preloader.c" files (using "patch mmap.c /path/to/somefile.patch" and same for preloader.c) before compiling WINE20050930 (which I "tar -zxvf wine-20050930.tar.gz" in my home directory, thus creating a folder called "wine-20050930" which I renamed to "wine" to help keep things nice and tidy). After patching them, I do "./configure", "make depend && make" and then as root "make install". I have seen people mention using "emerge wine" but I do not know what that is (I'm somewhat of a WINE newbie, but I can make my way around), and that may be my problem, for all I know.
No. I don't know what to look for.prg wrote:have you had a look into the patched files to make sure that the changes show up there?
prg wrote:what did the patch program say?
Code: Select all
patching file mmap.c
Hunk #1 succeeded at 161 with fuzz 1.
Hunk #2 succeeded at 229 with fuzz 1.Code: Select all
patching file preloader.c
Hunk #1 succeeded at 110 with fuzz 2.It does not give me that "exec-shield"/"prelink active" error, when WINE has not been patched. It only gives me that error after it has been patched.prg wrote:if you try to run wow with the unpatched wine from any directory, does that not give this error?
Right. I have gone to that exact site before, and I have tried the "setarch i386 wine WoW.exe -opengl" and that gives me the exact same error. But I have not tried the "more complex" version on that site ( http://www.fedorafaq.org/fc2/#wine ), yet. I'll give that a try and post again.prg wrote:that "succeeded" looks good, so the patches really get applied
have a look at http://www.fedorafaq.org/fc2/#wine
looks like that exec-shield causes problems with wine on fedora core