http://bugs.winehq.org/show_bug.cgi?id=29975
Bug #: 29975 Summary: Ankh: fails to start Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net Classification: Unclassified
Somewhere between wine-1.3.24 and wine-1.4rc2, Ankh1 regressed to the point of being unable to start:
- on Ubuntu Intrepid with Intel graphics, no logo is displayed, the menu flickers heavily but text (start game/exit etc.) is missing.
- on MacOS X 10.5.8 with NVidia graphics, it aborts with a runtime exception requester.
When the screen flickering starts, one OUT_OF_MEMORY is displayed every few seconds. err:d3d:context_bind_texture >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glBindTexture @ context.c / 1938
Much earlier messages are: err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x1c0): unexpected iPixelFormat(3104) vs nFormats(46), returns FALSE err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x1c0): unexpected iPixelFormat(1296236546) vs nFormats(46), returns FALSE err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x1c0): unexpected iPixelFormat(13158564) vs nFormats(46), returns FALSE [and many other iPixelFormats]
This does not happen (at least with Intel gfx) when using the default Plugin=RenderSystem_Direct3D9 in bin/release/plugins.cfg. However Plugin=RenderSystem_GL is still needed because of the black screen bug #21351.
In bug #21351, comment #8, Henri Verbeet notes that the (demo's?) menu works for him (NVidia?). Henri, did you you use Direct3D9?
I'd be grateful if somebody could reproduce this and perform regression testing on a fast machine.
http://bugs.winehq.org/show_bug.cgi?id=29975
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Blocks| |21351
http://bugs.winehq.org/show_bug.cgi?id=29975
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.gamershell.com/d | |ownload_12202.shtml CC| |gyebro69@gmail.com, | |hverbeet@gmail.com Regression SHA1| |94ae743ea668e49d40ae4e2dc5f | |e1f5d9be018cb
--- Comment #1 from GyB gyebro69@gmail.com 2012-02-25 12:16:51 CST --- This can be reproduced with the demo version of Ankh 1. I'm using a Nvidia gfx card with the proprietary driver 290.10.
The game offers 2 rendering modes: Direct3D9 (this is the default one) and Opengl. This bug occurs when Opengl is used (Direct3D9 has another issue). To switch between the renderers you need to edit the plugins.cfg file manually, located in ../bin/release. Simply change the placement of the number sign (#), so the relevant part of plugins.cfg should look like this:
#Plugin=RenderSystem_Direct3D9 Plugin=RenderSystem_GL
Indeed, this is a regression caused by
94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb is the first bad commit commit 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Aug 30 20:12:31 2011 +0200
ddraw: Make the OpenGL renderer the default one.
:040000 040000 fbce2dc172258a4a7eabc65b6f86bd58522b4667 dfb3b24196ac3ad09100758a48b2d4ef7e45e26b M dlls
'winetricks ddr=gdi' is a workaround and the game can be started that way, but there is intense flickering both in the menus and in mid-game. Attachment #39005 (in bug #29934) does not help.
http://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #2 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-27 15:09:44 CST --- Béla, you saved my week-end! Testing some apps last week, I was very disappointed to experience serious issues with wine-1.4-rc*. Now this simple change from gdi to opengl could explain all the weird issues I've seen with various apps (Flight Simulator 2002, Motocross Madness 2, Lego Star Wars I, none retested yet), which makes me feel much better about 1.4. Thank you very much.
FWIW, the MacOS error from ddr=opengl is: err:d3d_shader:arbfp_enable >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glDisable(GL_FRAGMENT_PROGRAM_ARB) @ arb_program_shader.c / 5566
http://bugs.winehq.org/show_bug.cgi?id=29975
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Ankh: fails to start |Ankh: fails to start with | |DirectDrawRenderer=opengl
http://bugs.winehq.org/show_bug.cgi?id=29975
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lapommegolden@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29975
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2013-04-13 01:16:11 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #4 from GyB gyebro69@gmail.com 2013-04-13 09:47:25 CDT --- (In reply to comment #3)
still a bug in current wine?
Still present in 1.5.28. Nvidia gfx card + binary drivers 313.30.
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Bug still there in current wine-1.7.23
https://bugs.winehq.org/show_bug.cgi?id=29975
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #6 from Maik Wagner maiktapwagner@aol.com --- Created attachment 49524 --> https://bugs.winehq.org/attachment.cgi?id=49524 Ankh Demo Error Message screenshot - wine 1.7.25 openSUSE Factory
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #7 from Maik Wagner maiktapwagner@aol.com --- Created attachment 49525 --> https://bugs.winehq.org/attachment.cgi?id=49525 Partial Console Output - wine 1.7.25
Some further information: wine 1.7.25 on openSUSE "Factory" here. The loading screen in the demo shows up okay and loads a while but produced an error window as shown in the screenshot. I have attached a console output here, unfortunately it was just too much information for my console window.
Please let me know how to proceed.
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- The funny thing is that this bug occurs in a real Windows box too (Windows 7)
https://bugs.winehq.org/show_bug.cgi?id=29975
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #9 from winetest@luukku.com --- Can you give me a working download? I can't download anything from that site anymore.
https://bugs.winehq.org/show_bug.cgi?id=29975
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #10 from fjfrackiewicz@gmail.com --- (In reply to winetest from comment #9)
Can you give me a working download? I can't download anything from that site anymore.
Found a download here:
http://www.gamepressure.com/download.asp?ID=10495
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #11 from winetest@luukku.com --- The commit doesnt seem to revert anymore. I was able to get into main menu. The loading times are quite slow. Pressing new game gives a black screen and I thought it ends there put it prints a popup, something is cleary wrong.
I didnt mess up with .config files. wine 2.0rc4.
https://bugs.winehq.org/show_bug.cgi?id=29975
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #12 from André H. nerv@dawncrow.de --- Does https://source.winehq.org/git/wine.git/commit/5fd9344362d43d13ee3131fa5619f2... help here?
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #13 from winetest@luukku.com --- (In reply to André H. from comment #12)
Does https://source.winehq.org/git/wine.git/commit/ 5fd9344362d43d13ee3131fa5619f25d57dd5f03 help here?
Don't know. After new game black screen...
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- The black screen bug occurs also in a real Windows 7 box
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- The bug in a real windows box can be fixed with a patched audiere.dll. But no luck with wine.
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #16 from joaopa jeremielapuree@yahoo.fr --- With a patched audiere.dll (needed in a real windows 7 box too), the game works fine.
This bug can be closed as FIXED.
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Not interested in closing this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #18 from André H. nerv@dawncrow.de --- (In reply to joaopa from comment #15)
The bug in a real windows box can be fixed with a patched audiere.dll. But no luck with wine.
(In reply to joaopa from comment #16)
With a patched audiere.dll (needed in a real windows 7 box too), the game works fine.
This bug can be closed as FIXED.
rather sound INVALID. And what happened between #15 and #16?
https://bugs.winehq.org/show_bug.cgi?id=29975
--- Comment #19 from joaopa jeremielapuree@yahoo.fr ---
And what happened between #15 and #16?
Wine improved and fixed the bug :D :D :D
https://bugs.winehq.org/show_bug.cgi?id=29975
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #20 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to joaopa from comment #16)
With a patched audiere.dll (needed in a real windows 7 box too), the game works fine.
This bug can be closed as FIXED.
https://bugs.winehq.org/show_bug.cgi?id=29975
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc3.