http://bugs.winehq.org/show_bug.cgi?id=17253
Summary: Luka: removal of DIB section hack in WriteFile causes regression Product: Wine Version: 1.1.13 Platform: PC URL: http://www.luka.polizei-beratung.de/download.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net CC: julliard@winehq.org
The game "Luka und das geheimnisvolle Silberpferd" v1.0.1 is affected by a regression introduced in commit e016d2ec5e38a4128840d5444225a2ecfaead5de Author: Alexandre Julliard julliard@winehq.org Date: Wed Jan 14 20:20:14 2009 +0100 kernel32: Remove the DIB section hack in WriteFile now that NtWriteFile takes care of it. 5 lines of code in dlls/kernel32/file.c
Prior to it, it would start fine. Since then, it exits soon after start, reporting fifty thousand times the following error: err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x220): unexpected iPixelFormat(<NNNNNNNNNN>) vs nFormats(16), returns FALSE
http://bugs.winehq.org/show_bug.cgi?id=17253
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=17253
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Luka: removal of DIB section|Luka: exits soon after start |hack in WriteFile causes | |regression |
http://bugs.winehq.org/show_bug.cgi?id=17253
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2009-04-30 03:50:49 --- As of wine-1.1.20, the symptoms persist (exit after 50000 wgl errors). Reverting the previously identified commit from Alexandre with git-revert -n e016d2ec5e38a4128840d5444225a2ecfaead5de, the application runs well, producing only ~120 similar errors: err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x220): unexpected iPixelFormat(134217728) vs nFormats(16), returns FALSE err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x220): unexpected iPixelFormat(234881025) vs nFormats(16), returns FALSE err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x220): unexpected iPixelFormat(1114112) vs nFormats(16), returns FALSE
In releases prior to the removal of "the DIB section hack in WriteFile", there were no such errors about wgl IIRC. This makes me think that the DIB section hack is only part of a puzzle, i.e. something is not entirely well initialiased, and the wgl error is just one symptom.
Tested using Ubuntu Hardy and Intel XOrg driver.
http://bugs.winehq.org/show_bug.cgi?id=17253
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |17244
http://bugs.winehq.org/show_bug.cgi?id=17253
--- Comment #2 from Jörg Höhle hoehle@users.sourceforge.net 2009-06-16 00:29:05 --- Luka, as well as the Ankh series of games from the same company named Deck13, is based on the Ogre 3D engine that is available with source code at http://www.ogre3d.org . I found messages similar to those I knew in Ankh Heart of Osiris, and in the attachment to bug #18870, comment #0 at http://bugs.winehq.org/attachment.cgi?id=21693 (although that's a different bug). Perhaps knowing this helps to isolate bugs in both Luka and Ankh (or Wine or XOrg).
Ogre is itself in AppDB: http://appdb.winehq.org/objectManager.php?sClass=version&iId=11151
http://bugs.winehq.org/show_bug.cgi?id=17253
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2009-07-03 03:41:57 --- Still present in wine-1.1.21. Wine-1.1.24 works with Ubuntu Intel XOrg and nVidia MacOS.
http://bugs.winehq.org/show_bug.cgi?id=17253
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-07-03 12:23:10 --- Closing bugs fixed in 1.1.25.