[Bug 9725] New: Medal of Honor: Allied Assault fails to load with NVIDIA drivers
http://bugs.winehq.org/show_bug.cgi?id=9725 Summary: Medal of Honor: Allied Assault fails to load with NVIDIA drivers Product: WineHQ Apps Database Version: unspecified Platform: PC OS/Version: other Status: UNCONFIRMED Severity: critical Priority: P2 Component: website-bugs AssignedTo: wine-bugs(a)winehq.org ReportedBy: aaronsawyer90(a)gmail.com Created an attachment (id=8157) --> (http://bugs.winehq.org/attachment.cgi?id=8157) my nvidia-bug-report.log I have just switched from an ATI 9700pro to a BFG 6600gt. Unfortunately, Medal Of Honor: Allied Assault (MOHAA) will no longer run (the single player demo shows the same problem). With my ATI board, it ran without a hitch in Wine. After installing the latest Nvidia-glx drivers for Ubuntu Edgy, mohaa fails to start. An empty grey screen is displayed, with the cursor visible. It seems that it just can't start the game. ALL other Open-GL games run fine. Here are my specs: O/S: Ubuntu Edgy, i386 build CPU: AMD 3000+ 64 RAM: 1GB DDR RAM GPU: Nvidia BFG 6600GT H/D: Seagate: Dedicated FAT32 partition I have installed the nvidia-glx drivers via apt-get, as well as installed the latest linux drivers (NVIDIA-Linux-x86-100.14.19-pkg1.run). Both produce the same result. Here is the output: $ wine MOHAADemo.exe -opengl aarons(a)Aaron-desktop:/media/DSK1_VOL3/mohdemo$ fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE wine: Unhandled page fault on read access to 0x5f564e5f at address 0x5f564e5f (thread 0010), starting debugger... Usage: winedbg [ [ --gdb ] [ prog-name [ prog-args ] | <num> | file.mdmp | --help ] $ I have tried everything there is to try. I removed the card and replaced with the old ATI and it runs. I used different versions of wine (up to 0.9.44) to no effect. Either it is an NVIDIA bug or a Wine bug. -Aaron Sawyer -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 Jesse Allen <the3dfxdude(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Difficulty|Hours |--- Component|website-bugs |wine-misc OS/Version|other |Linux Product|WineHQ Apps Database |Wine Version|unspecified |0.9.44. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2007-09-20 20:35:11 --- Do you have a link to the demo? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #2 from Rico <kgbricola(a)web.de> 2007-09-21 05:42:28 --- Download: http://gameswelt.de/pc/downloads/demos/detail.php?item_id=20688 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #3 from joaopa <jeremielapuree(a)yahoo.fr> 2007-09-21 06:56:30 --- I tried the demo version (english version) and it works fine, except the well known bug about the mouse. I use a Nvidia Geforce 4 440 go. Joaopa -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |ftp://largedownloads.ea.com/ | |pub/demos/mohaaspdemo.EXE Keywords| |download --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2007-09-21 14:12:11 --- Aaron, in the future, please post in bugzilla, don't reply via e-mail.
From e-mail:
Sure: ftp://largedownloads.ea.com/pub/demos/mohaaspdemo.EXE -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #5 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-09-21 17:28:14 --- Yeah - the problem is with newer Nvidia cards. I have a Geforce 3 and it works great. My new 6600gt is showing problems though. I have a guy in NVIDIA linux-bugs working on this as well. Hopefully we can find out why the new cards have problems with this app. -Aaron
I tried the demo version (english version) and it works fine, except the well known bug about the mouse.
I use a Nvidia Geforce 4 440 go.
Joaopa
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #6 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-09-21 19:29:16 ---
Are you sure this is not the MOHAA fixed size OpenGL Extension Buffer size >>bug(yes, MOHAA bugs not Wine or nVididia)?
I have never even heard of this bug. If it is due to this extension buffer bug, why did my ATI card have no problems? I do remember reading somewhere of an opengGL library issue for the native version of mohaa: http://www.liflg.org/forum/viewtopic.php?t=842&sid=ed71f006050a26c64c47fd5c5... But this is not my problem. I am not receiving an opengl error! Opengl loads fine. The game simply fails to start. The screen is resized and the game is just about to load when it exists. Do you guys think this is an NVIDIA driver bug, or a Wine bug? Thanks, -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #7 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-09-21 19:55:44 --- Hello folks. I recently came across a very interesting page that tells how Cedega fixed a MOHAA limitation with the OpenGL extension string. Mohaa can only handle a string less than 1024 characters: http://downloads.transgaming.com/files/cedega-4.1.1_releasenotes.txt I am not sure that this is the same problem that I am experiencing, though. If this is the issue, then my card would be so "new" that Mohaa would not properly detect it. If this is the case, why when I boot into windows with the same hardware does the game run fine? -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #8 from killertux <killertux(a)suomi24.fi> 2007-09-21 22:46:07 --- Here is sources how transgaming hacked MOHAA to work. http://lists.transgaming.org/pipermail/winex-cvs-logs/2005-January/001691.ht... In Windows it work at lest in nVidia because they have hack in their drivers to workaround this problem... I read this from nVidia Windows driver release notes(Linux drivers does not include this hack). You can use DisabledExtensions reg key to disable all unneeded OpenGL extensions however size is limited by Wine to less than 512 so you need to modify one line in Wine source for workaround or use third partly application for disabling the extensions. If I remember correctly it will fail similar way as you said if extension buffer in MOHAA overflows... so you NEED to check if it's this issue. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #9 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-09-22 18:00:33 --- Wow. Thanks for that info, killertux. This would explain why the game works fine in Windows. It would also explain why my older ATI card, with fewer extensions, runs the game fine. -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #10 from killertux <killertux(a)suomi24.fi> 2007-09-23 07:03:21 --- so now have you tried with disabled extensions? if it worked I could mark this bug has WONTFIX or INVALID. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 killertux <killertux(a)suomi24.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #11 from killertux <killertux(a)suomi24.fi> 2007-09-23 10:36:21 --- Marked as INVALID since it's likely MOHAA bug... if it's not then please reopen. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #12 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-09-23 19:04:45 --- No, I haven't been able to try with disabled extensions since I don't know enough about the inner workings of wine. Must I recompile wine to disable extensions? Thanks. -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #13 from Steve Dawson <sdawson(a)pa.metrocast.net> 2007-09-27 18:43:41 --- Created an attachment (id=8249) --> (http://bugs.winehq.org/attachment.cgi?id=8249) Disabled extensions registry key -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 Steve Dawson <sdawson(a)pa.metrocast.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sdawson(a)pa.metrocast.net --- Comment #14 from Steve Dawson <sdawson(a)pa.metrocast.net> 2007-09-27 18:46:20 --- With the following patch and the attached registry file the game runs fine. (Although, the unrelated mouse problem persists) diff -u -r a/wgl.c b/wgl.c --- a/wgl.c 2007-09-26 20:01:30.879917605 -0400 +++ b/wgl.c 2007-09-26 18:26:34.000000000 -0400 @@ -80,7 +80,7 @@ static HMODULE opengl32_handle; -static char internal_gl_disabled_extensions[512]; +static char internal_gl_disabled_extensions[3072]; static char* internal_gl_extensions = NULL; typedef struct wine_glcontext { The attached registry file was an attempt to reduce the GL extension list to the minimum needed by the game to run. My system has an nVidia GS 7600 running Xorg 7.0 with nvidia's binary driver. Version info below. OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 7600 GS/AGP/SSE2 OpenGL version string: 2.1.1 NVIDIA 100.14.11 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #15 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-10-01 00:51:04 --- (In reply to comment #14)
With the following patch and the attached registry file the game runs fine. (Although, the unrelated mouse problem persists)
diff -u -r a/wgl.c b/wgl.c --- a/wgl.c 2007-09-26 20:01:30.879917605 -0400 +++ b/wgl.c 2007-09-26 18:26:34.000000000 -0400 @@ -80,7 +80,7 @@
static HMODULE opengl32_handle;
-static char internal_gl_disabled_extensions[512]; +static char internal_gl_disabled_extensions[3072]; static char* internal_gl_extensions = NULL;
typedef struct wine_glcontext {
The attached registry file was an attempt to reduce the GL extension list to the minimum needed by the game to run. My system has an nVidia GS 7600 running Xorg 7.0 with nvidia's binary driver. Version info below.
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 7600 GS/AGP/SSE2 OpenGL version string: 2.1.1 NVIDIA 100.14.11
Wow, nice one! Chalk one up for the Wine devs! Thanks guys. -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #16 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2007-10-01 18:00:57 --- (In reply to comment #14)
With the following patch and the attached registry file the game runs fine. (Although, the unrelated mouse problem persists)
diff -u -r a/wgl.c b/wgl.c --- a/wgl.c 2007-09-26 20:01:30.879917605 -0400 +++ b/wgl.c 2007-09-26 18:26:34.000000000 -0400 @@ -80,7 +80,7 @@
static HMODULE opengl32_handle;
-static char internal_gl_disabled_extensions[512]; +static char internal_gl_disabled_extensions[3072]; static char* internal_gl_extensions = NULL;
typedef struct wine_glcontext {
The attached registry file was an attempt to reduce the GL extension list to the minimum needed by the game to run. My system has an nVidia GS 7600 running Xorg 7.0 with nvidia's binary driver. Version info below.
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 7600 GS/AGP/SSE2 OpenGL version string: 2.1.1 NVIDIA 100.14.11
I am confirming that that was the problem. I followed what you said and the app runs fine. Thanks guys! -Aaron -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9725 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:57:42 --- Closing all RESOLVED INVALID older than four weeks. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #18 from joaopa <jeremielapuree(a)yahoo.fr> 2008-02-22 13:43:45 --- Is the Steve's patch correct? Joaopa -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9725 --- Comment #19 from Aaron Sawyer <aaronsawyer90(a)gmail.com> 2008-02-23 18:38:38 --- Yes, Steve's patch works for me. -Aaron -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9725 Calvin <calvo2(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |calvo2(a)yahoo.com --- Comment #20 from Calvin <calvo2(a)yahoo.com> 2008-03-18 17:51:58 --- Commnts 13 has a file and comment 14 has a patch. I am new to wine and want to run MOH but I have no idea what to do with the file or patch. Could someone explain to me how to apply the patch so that I can compile Wine and then what to do the the .reg file. Thanks in advance!! -- 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.
participants (1)
-
wine-bugs@winehq.org