Page 10 of 16

Still not working

Posted: Thu Feb 09, 2006 1:39 pm
by Are`awn
copping that ^^^ fixed it for me

I get a flickering screen still. If I hit escape, I hear the noise I hear when i try to login normally. If I hit esc twice, WoW closes. So the game is still responsive for me, not can't get past downloading, and the flicker of death.

Re: Worked!!!

Posted: Thu Feb 09, 2006 2:20 pm
by rwallace
cynyr wrote:
Here's my Config.wtf for people having this trouble with fresh installs:
copping that ^^^ fixed it for me
That doesn't help me. After logging in the screen still goes black. Any other clues as to what it going on?

EDIT: I got it working! I was looking through the config posted looking for differences and the first thing that caught my eye was the line

Code: Select all

SET pixelShaders "1"
After adding that to my Config.wtf I was able to log right in. I hope that helps others.

Posted: Thu Feb 09, 2006 6:21 pm
by Malcolm
Thanks to this topic I've gotten WoW 1.9.3 working perfectly under wine 0.9.6; I can even access the Video options and change them on-the-fly :D

Again thanks, here's some pics:

Pic 1 .:. Pic 2
Also submitted a pic in wines app database ^_^

Posted: Thu Feb 09, 2006 7:05 pm
by antonlacon
Those having issues with survey.mpq, have you tried moving it and making the WDB folder read only?

Posted: Thu Feb 09, 2006 7:34 pm
by Zues
Trying the below method now.

will report back tonight if it works for me.


tindalos wrote:
dennisharrison wrote:Yes can you please post your system information?
like what videocard
sound system
linux distro
wine version
patches applied to wow
wine setting
how did you install wow?

and so on and so forth ... please? ;p
$ cat /proc/driver/nvidia/cards/*
Model: GeForce 6600 GT
IRQ: 58
Video BIOS: 05.43.02.23.04
Card Type: PCI-E
Model: GeForce 6600 GT
IRQ: 66
Video BIOS: 05.43.02.23.04
Card Type: PCI-E

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 16:58:07 PST 2005
GCC version: gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

$ uname -srvmpio
Linux 2.6.14-gentoo-r5 #4 Mon Dec 26 16:59:47 EST 2005 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux

$ ./wine
Wine 0.9.7

No special settings for Wine, and WOW was originally installed on a WinXP box, I simply copied the install dir over to my linux system

Current patches I am running against Wine

Code: Select all

diff --git a/libs/wine/mmap.c b/libs/wine/mmap.c
index 3d25f26..5b13038 100644
--- a/libs/wine/mmap.c
+++ b/libs/wine/mmap.c
@@ -164,6 +164,26 @@ static int try_mmap_fixed (void *addr, s
 
 #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
@@ -212,6 +232,9 @@ void *wine_anon_mmap( void *start, size_
             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;
diff --git a/loader/preloader.c b/loader/preloader.c
index 1ca6d83..4016907 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -110,7 +110,7 @@ static struct wine_preload_info preload_
 {
     { (void *)0x00000000, 0x00110000 },  /* DOS area */
     { (void *)0x7ffe0000, 0x01020000 },  /* shared user data + 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 */
 };
 
-- 
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 04eb40f..b2011f0 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -149,11 +149,11 @@ inline static Display *get_display( HDC 
 }
 
 
-/* retrieve the GLX drawable to use on a given DC */
+/* retrieve the X drawable to use on a given DC */
 inline static Drawable get_drawable( HDC hdc )
 {
-    GLXDrawable drawable;
-    enum x11drv_escape_codes escape = X11DRV_GET_GLX_DRAWABLE;
+    Drawable drawable;
+    enum x11drv_escape_codes escape = X11DRV_GET_DRAWABLE;
 
     if (!ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape,
                     sizeof(drawable), (LPSTR)&drawable )) drawable = 0;
@@ -566,8 +566,6 @@ BOOL WINAPI wglMakeCurrent(HDC hdc,
       }
       TRACE(" make current for dis %p, drawable %p, ctx %p\n", ctx->display, (void*) drawable, ctx->ctx);
       ret = glXMakeCurrent(ctx->display, drawable, ctx->ctx);
-      if(ret && type == OBJ_MEMDC)
-          glDrawBuffer(GL_FRONT_LEFT);
   }
   LEAVE_GL();
   TRACE(" returning %s\n", (ret ? "True" : "False"));
-- 

Posted: Thu Feb 09, 2006 8:01 pm
by inyoutees
antonlacon wrote:Those having issues with survey.mpq, have you tried moving it and making the WDB folder read only?
This worked for me. All of the previous Config.wtf changes had failed.

edit: enabled BBcode

EDIT2: I lied. I reach the character selection screen, but the game crashes during loading. Perhaps a separate problem for me.

Posted: Thu Feb 09, 2006 11:28 pm
by neuron
anyone found any video options that considerably affect performance in wine?

I went from 0.9.3 to 0.9.7 and found it increased graphics quality, but decreased performance considerably.

Getting closer

Posted: Thu Feb 09, 2006 11:31 pm
by Are`awn
This worked for me. All of the previous Config.wtf changes had failed.

edit: enabled BBcode

EDIT2: I lied. I reach the character selection screen, but the game crashes during loading. Perhaps a separate problem for me.
Same here. So I set the permissions on WDB back. I then created a empty file called Survey.mpq, and chaged it's permissions to nothing 'chmod a-rwx'. I can login now, and select a character. When I finish loading, to enter the realm it crashes. May be my wine 0.9.7. So I am unmerging, and emerging 0.9.5-r1

Will post if this works..

Posted: Thu Feb 09, 2006 11:50 pm
by b1f30
Malcolm wrote:Thanks to this topic I've gotten WoW 1.9.3 working perfectly under wine 0.9.6; I can even access the Video options and change them on-the-fly :D

Again thanks, here's some pics:

Pic 1 .:. Pic 2
Also submitted a pic in wines app database ^_^
Nice UI. What mods/addons you have loaded up?

*** EDIT: Minor edit! Nothing to see here! ***

Posted: Fri Feb 10, 2006 12:59 am
by Zues
After a recompile of Wine 0.9.7 with the patch mentioned above, and the Config.wtf from this post I was able to get back in to w0w.

See the edit below for what was my problem.

[edit]

Not sure if this will help anyone else. After I got wow working, it stopped working after I played with alot of my settings. I backed up my Config.wtf
and used the copy of the one posted a few comments back. Then I started to do all my changes one by one and doing a diff on the two configs.

For me

Code: Select all

SET ffxGlow "0"
is what was causing my system to hang during "download" screen and show black.

hope this helps someone else.

[/edit]

Posted: Fri Feb 10, 2006 1:39 am
by neuron
I tested to roll back to 0.9.3 now (from 0.9.7) and got +5-6 fps on average out of it. Just fyi ;)

Posted: Fri Feb 10, 2006 1:42 am
by Zues
neuron

What patches you using with that and build options? 5 fps is worth a recompile :)

Posted: Fri Feb 10, 2006 2:22 am
by neuron
wine-0.9.7.ebuild = latest wow.patch from the first post.
wine-0.9.3-r1.ebuild = wine-wow-fixes.patch

dunno where I got the wine-wow-fixes.patch, but this is it:

Code: Select all

--- libs/wine/mmap.c.old	2005-06-20 13:43:47.000000000 +0200
+++ libs/wine/mmap.c	2005-10-14 21:49:54.794346832 +0200
@@ -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;
--- loader/preloader.c.old	2005-06-02 12:30:08.000000000 +0200
+++ loader/preloader.c	2005-10-14 21:51:16.529921136 +0200
@@ -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 */
 };

Posted: Fri Feb 10, 2006 7:48 pm
by discomfitor
I'd like to get some people enabling this option in their WoW config files to see how it affects Linux users. Post back after you've tried it for a while.

Also, what would people think if I started providing binary versions of wine that I get from the cvs ebuilds? Naturally it would just be compiled with -i686 so everyone could use it, but it would simplify the whole "patch this, patch that" thing.

Posted: Fri Feb 10, 2006 9:24 pm
by b1f30
Darckness wrote:I'd like to get some people enabling this option in their WoW config files to see how it affects Linux users. Post back after you've tried it for a while.

Also, what would people think if I started providing binary versions of wine that I get from the cvs ebuilds? Naturally it would just be compiled with -i686 so everyone could use it, but it would simplify the whole "patch this, patch that" thing.
Amen brother.

I'll play with this when I get home.

Posted: Fri Feb 10, 2006 11:04 pm
by neenee
Darckness wrote:I'd like to get some people enabling this option in their WoW config files to see how it affects Linux users. Post back after you've tried it for a while.

Also, what would people think if I started providing binary versions of wine that I get from the cvs ebuilds? Naturally it would just be compiled with -i686 so everyone could use it, but it would simplify the whole "patch this, patch that" thing.
hm.. i'm on debian, but i hope you don't mind this question:

what format would those binary versions be in?

would i be able to use them too somehow?

Update...

Posted: Sat Feb 11, 2006 12:58 am
by Are`awn
Ok none of these config changes do anything to help me. changing the permissions on WDB/Survey.mpw to no one having access at all "chmod a-rwx".

Posted: Sat Feb 11, 2006 5:42 am
by discomfitor
The idea is that these binaries would be compiled with very basic settings at the compiler level (ie what I use normally, which is

Code: Select all

CFLAGS="-O2 -pipe -fomit-frame-pointer"
I'd package it up into tarballs which I would update every few weeks after I'd tested the versions extensively. This would eliminate the questions like "how do I apply this patch?" and the like. Should be useable on any system as long as it's x86.

I might even be able to get a tiny bit of space on winehq, but don't quote me on that.


As far as that thing I linked to on the Blizzard forums, it's very interesting. While I don't notice any fps increase, it seems as though the frames are...smoother. Hard to describe, but perhaps you'll see what I'm talking about.

Posted: Sat Feb 11, 2006 8:20 am
by neenee
ah. good to hear and very interesting =]

Posted: Sat Feb 11, 2006 9:18 am
by berg
different question: does anybody actually see the html content of either the launcher or the patch utility? both run fine (!), but all I get is an "internal application error" and an empty window.

Posted: Sat Feb 11, 2006 11:14 am
by prg
berg wrote:different question: does anybody actually see the html content of either the launcher or the patch utility? both run fine (!), but all I get is an "internal application error" and an empty window.
never seen that launcher. it just doesn't show up if i'm trying to run it, without giving any error. not that i need it anyway.
no problem with the patch program, though. looks like i think it should look.

Applying WoW 1.9 patch

Posted: Sat Feb 11, 2006 6:25 pm
by pinion
I just finished installing WoW using wine, downloaded the patch for 1.9, and am running into some issues installing the patch.

When trying to install the patch, wine exits after a few seconds with a message: "The command wine WoW-1.9.0-enUS-downloader.exe returned 0.".

I also get:
StdErr: I see 100% - Blizzard Downloader
I see log
I see 100% - Blizzard Downloader
...

I used a patch from a Windows install, as well as downloaded a fresh patch. I am about to copy the install from a Windows machine (over a slow wireless connection :(). Does anyone have any ideas on getting the patch to run in wine?

Thanks!

World of Warcraft 1.9.x and Wine 0.9.x

Posted: Sun Feb 12, 2006 5:15 am
by kastyr
I currently have WoW running under wine-0.9.7. The only real problem I am having is the very serious drop from 40-ish FPS in Windows to this abysmal 3-15 FPS under wine-0.9.7. Does anyone have any real suggestions for improving this situation?

More importantly, I'm sure there are more than a few people in this forum who have successfully compiled and ran WoW 1.9.x on different versions of WINE. My question is, which one of these worked out best for you? Please make direct mention of the other versions you successfully compiled. I'm especially considering try versions 0.9.3 and 0.9.5. What do you guys think?

BTW, I am running the most recent nVidia drivers, on a (wince) GeForce 4 MMX. I'm not looking for perfect here, and I am more than happy to play at 3-15 FPS if it gets me out of XP, but I'd rather not resort to that.

Thanks,
Kastyr

Posted: Sun Feb 12, 2006 5:21 am
by rek2
I agree I been hacing problems since I upgraded to 0.9.7 and the WOW patch..
:-(

LA LA LA

Posted: Sun Feb 12, 2006 6:59 am
by berg
hm, i don't have any problems with wine 0.9.7 (which means that there's no drifference between 0.9.6 and 0.9.7 for me), _but_ I tried the most recent nvidia driver yesterday which made my framerate drop by ~ 8 FPS... that's sad. I'm back to 6629 for now.