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.