http://bugs.winehq.org/show_bug.cgi?id=21351
Summary: Ankh: black screen since amid intro animation (autogen mipmap) Product: Wine Version: 0.9.47. Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net CC: chris.kcat@gmail.com
commit fc96587b3d4390f16f9c7d572e27ec950f715404 past 0.9.46 Author: Chris Robinson chris.kcat@gmail.com Date: Wed Oct 3 04:19:15 2007 -0700 wined3d: Set D3DCAPS2_CANAUTOGENMIPMAP flag when supported. is the major regression in Ankh (the first from the trilogy) as it causes a black screen amid the intro sequence, after the display of "Kapitel 1: Audienz mit Hindernissen", before the father punishes Assil. The black screen remains even after the player gets control. This imposes garbage rating in AppDB since 0.9.47.
The commit itself seems harmless: if(GL_SUPPORT(SGIS_GENERATE_MIPMAP)) { *pCaps->Caps2 |= WINED3DCAPS2_CANAUTOGENMIPMAP; Likely either Ankh or Wine enter a different code path as a result of this flag being set. Bug #11167 is related to autogen_mipmap but probably harmless (my understanding so far is that autogenmipmap only makes textures look nicer), because among the applications from Deck13 affected by that other bug (Luka, Ankh2, Jack Keane), only Ankh1 goes black.
Removing that capability in wine-1.1.36 makes the screen display normally.
Using Ubuntu Intrepid with Intel i915 graphics. This app works in XP on another hardware equipped with builtin Intel graphics. I don't know whether the XP machine declares CANAUTOGENMIPMAP.
http://bugs.winehq.org/show_bug.cgi?id=21351
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2010-01-14 03:27:14 --- Another work-around: Edit bin/release/plugins.cfg to use the GL renderer instead of the default (Direct3D9) one. Tested in wine-1.1.34/36; AppDB testers have repeatedly mentioned trouble with the openGL renderer with ancient versions of Wine. Using GL seems to work fine on MacOS with NVidia graphics, for as much as one can tell after playing for 2 minutes, but presents a few glitches in Ubuntu Intrepid with Intel graphics (e.g. opaque yellow fog above the dunes).
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #2 from Jörg Höhle hoehle@users.sourceforge.net 2010-12-31 00:59:07 CST --- Still present in 1.3.9 with both Mac/NVidia and PC/Intel graphics. That caused AppDB users to submit garbage ratings. This and bug #11167 seems to indicate that Wine's handling of automatic mipmap generation is not what Ogre apps expect.
http://bugs.winehq.org/show_bug.cgi?id=21351
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2011-07-17 01:23:01 CDT --- This demo shows the same problem:
http://www.jeuxvideo.com/telecharger/jeux-et-demos/00011394-ankh-pc.htm
Can an administrator put the URL at the correct place?
http://bugs.winehq.org/show_bug.cgi?id=21351
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Status|UNCONFIRMED |NEW URL| |http://www.jeuxvideo.com/te | |lecharger/jeux-et-demos/000 | |11394-ankh-pc.htm CC| |wylda@volny.cz Ever Confirmed|0 |1
--- Comment #4 from Wylda wylda@volny.cz 2011-07-17 01:28:36 CDT ---
Confirmed in demo per comment #3.
http://bugs.winehq.org/show_bug.cgi?id=21351
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |fc96587b3d4390f16f9c7d572e2 | |7ec950f715404
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2011-10-16 16:20:01 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2012-02-16 03:31:10 CST --- The demo mentioned in comment 3 just dies for me upon starting a new game.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #7 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-16 07:01:11 CST --- That's perhaps the regression mentioned in bug #21209, comment #9. It would be nice if somebody with time would perform regression testing and create a new bug report as needed.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2012-02-16 07:07:03 CST --- I doubt it, the menu works fine for me, and I also tried that demo with 1.3.9 since that was reported as having the issue in comment 2. As for the original report, it sounds pretty plausible that our autogen mipmap handling isn't all that great.
http://bugs.winehq.org/show_bug.cgi?id=21351
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29975
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #9 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-22 13:19:16 CST --- Henri, which RenderSystem plugin did you use in bin/release/plugins.cfg? As observed in bug #29975, the logo and intro display when using the default Plugin=RenderSystem_Direct3D9 However as described in comment #1, I'm using Plugin=RenderSystem_GL Can you use the latter with current Wine or 1.3.9?
BTW, my bug may be a duplicate of the abandoned bug #14315.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2012-02-22 14:31:10 CST --- (In reply to comment #9)
Henri, which RenderSystem plugin did you use in bin/release/plugins.cfg?
I didn't touch plugins.cfg, so I assume the default d3d9 renderer.
As observed in bug #29975, the logo and intro display when using the default Plugin=RenderSystem_Direct3D9 However as described in comment #1, I'm using Plugin=RenderSystem_GL Can you use the latter with current Wine or 1.3.9?
I can do some more testing tomorrow.
My impression is that either the linked demo is not quite the same as the full game, or there's some kind of configuration difference on my side that makes it die for me. It would probably be helpful if you (or anyone else) could confirm that the demo behaves the same as the full game with current git.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #11 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-27 15:21:30 CST --- Henri, in bug #29975, comment #1, GyB found out that you need DirectDrawRenderer=gdi nowadays. Does that help with your environment?
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2013-06-12 05:46:43 CDT --- (In reply to comment #11)
Henri, in bug #29975, comment #1, GyB found out that you need DirectDrawRenderer=gdi nowadays. Does that help with your environment?
Supposedly that's only needed for the GL renderer, while this report claims to be about the d3d9 renderer.
Could some please post some instructions to reproduce this in a clean prefix, with current drivers, and either the demo linked in this bug report or some other demo?
http://bugs.winehq.org/show_bug.cgi?id=21351
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #13 from Henri Verbeet hverbeet@gmail.com 2013-06-28 10:28:19 CDT --- Abandoned I guess, but feel free to reopen if anyone can describe how to reproduce this.
http://bugs.winehq.org/show_bug.cgi?id=21351
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com 2013-06-28 12:59:10 CDT --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #15 from joaopa jeremielapuree@yahoo.fr 2013-07-22 18:33:22 CDT --- Created attachment 45359 --> http://bugs.winehq.org/attachment.cgi?id=45359 screenshot showing the problem
Please reopen
Here is a download link showing the problem http://demo.archive2.clubic.com/files/b9c47fd6a699609a1263fa1f0f0168c1/51edb...
Be careful. The game seems to be stuck but after about 1 minutes, it reaches the screen menu, where the bug occurs.
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #16 from joaopa jeremielapuree@yahoo.fr 2013-07-22 18:34:48 CDT --- I forgot to say that I used rge D3D plugin (not the OpenGL)
http://bugs.winehq.org/show_bug.cgi?id=21351
--- Comment #17 from Jörg Höhle hoehle@users.sourceforge.net 2013-07-26 04:57:58 CDT ---
screenshot showing the problem
IMHO, you should open a separate bug report about awful graphics in the main menu.
The iussue I originally reported here happens after that point. Start a new game with "Nouveau jeu" and watch the intro. The screen became black during the (long) intro.
The game seems to be stuck but after about 1 minutes
It takes a long time to initialize on a native machine too, while displaying some 3D logo. IIRC there's a sort of tiny progress bar at the bottom, but it doesn't grow regularly in time.
makes it die for me.
I can remember various very old versions of Wine where this initial 3D screen looked bogus or was black too. I remember that UseGLSL=disabled had an effect on the 3D animation.
So what happens on your machines when you wait for 3D to initialize and click "Nouvean jeu", the second menu entry?
http://bugs.winehq.org/show_bug.cgi?id=21351
Alessandro a.mulloni@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a.mulloni@gmail.com
--- Comment #18 from Alessandro a.mulloni@gmail.com --- Also having the same issue, running Wine 1.6.2 on Mac OS X 10.9 (Maverick). After the initial introductory animation, the screen turns black while the game audio is still audible.
I followed the original comment from Jörg from 2010 and it definitely works. I am able to play the game fine with a custom 1.6.2 build patched with the following patch that forcedly disables WINED3DCAPS2_CANAUTOGENMIPMAP:
--- dlls/wined3d/directx.c.orig 2014-01-19 16:08:43.000000000 +0100 +++ dlls/wined3d/directx.c 2014-01-19 16:10:09.000000000 +0100 @@ -4142,8 +4142,8 @@ caps->Caps2 = WINED3DCAPS2_CANRENDERWINDOWED | WINED3DCAPS2_FULLSCREENGAMMA | WINED3DCAPS2_DYNAMICTEXTURES; - if (gl_info->supported[SGIS_GENERATE_MIPMAP]) - caps->Caps2 |= WINED3DCAPS2_CANAUTOGENMIPMAP; + // if (gl_info->supported[SGIS_GENERATE_MIPMAP]) + // caps->Caps2 |= WINED3DCAPS2_CANAUTOGENMIPMAP;
caps->Caps3 = WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD | WINED3DCAPS3_COPY_TO_VIDMEM |
https://bugs.winehq.org/show_bug.cgi?id=21351 Bug 21351 depends on bug 29975, which changed state.
Bug 29975 Summary: Ankh: fails to start with DirectDrawRenderer=opengl https://bugs.winehq.org/show_bug.cgi?id=29975
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED