http://bugs.winehq.org/show_bug.cgi?id=31214
Bug #: 31214 Summary: Eschalon Book I: corrupted text in DirectX mode Product: Wine Version: 1.5.8 Platform: x86 URL: http://www.gamershell.com/download_22075.shtml OS/Version: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: e5bb2e7d8bcaf4bf1d1da28773ba19686232aeff
Created attachment 40990 --> http://bugs.winehq.org/attachment.cgi?id=40990 terminal output
The game is an old-style RPG, developed by Basilisk Games. I can reproduce the problem with the demo version (v1.04) as well as with the full (Steam) version of the game. The sequel, Eschalon Book 2 is also affected, but only when DX7 renderer is used.
The problem: text appears as coloured blocks in the launcher as well as in mid game (see attached screenshot). The game offers DirectX and OpenGL rendering modes: in the main game the problem occurs only when DirectX is selected (the OpenGL renderer is free from the problem). However, the launcher always displays corrupted text (probably because it always uses DirectX).
The problem is due to a recent commit:
e5bb2e7d8bcaf4bf1d1da28773ba19686232aeff is the first bad commit commit e5bb2e7d8bcaf4bf1d1da28773ba19686232aeff Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Jul 13 12:53:09 2012 +0200
ddraw: Create texture surfaces from device_parent_create_texture_surface().
Instead of creating them in advance and hoping we can find them back later.
:040000 040000 0be757859f33c47d57f2ef448e5dff48f0dd402b 28a3e2fe18eeed3a1605edea388794c6503a7366 M dlls
Reverting the patch on wine-1.5.8-160-g8613d5e fixes the problem.
Fedora 17 x86 Nvidia 250 / driver 295.59 X.Org X Server 1.12.2
http://bugs.winehq.org/show_bug.cgi?id=31214
--- Comment #1 from GyB gyebro69@gmail.com 2012-07-14 04:47:50 CDT --- Created attachment 40991 --> http://bugs.winehq.org/attachment.cgi?id=40991 screenshot (comparison)
http://bugs.winehq.org/show_bug.cgi?id=31214
--- Comment #2 from GyB gyebro69@gmail.com 2012-07-14 13:08:55 CDT --- The problem occurs with the open source Nouveau driver as well. Quite a few other games are also affected. In these games either the whole environment is missing/black and I can only see the HUD (Gothic 1, Blood2), or some of the textures are drawn, but others are missing/black (Gothic 2, Real Myst, Sacrifice). This message is common when running the affected games
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexSubImage2D @ surface.c / 2369
Gothic 2 produces
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glCompressedTexSubImage2DARB @ surface.c / 2352
http://bugs.winehq.org/show_bug.cgi?id=31214
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2012-07-14 13:36:33 CDT --- Created attachment 40994 --> http://bugs.winehq.org/attachment.cgi?id=40994 patch
My bad, this patch should help.
http://bugs.winehq.org/show_bug.cgi?id=31214
--- Comment #4 from GyB gyebro69@gmail.com 2012-07-14 14:05:17 CDT --- (In reply to comment #3)
Created attachment 40994 [details] patch
My bad, this patch should help.
The patch indeed fixes the problem in all the affected games...that's good, thanks.
http://bugs.winehq.org/show_bug.cgi?id=31214
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |89a781adc984ce43a26b1d61f66 | |6f59d73599dfd Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from GyB gyebro69@gmail.com 2012-07-16 14:30:46 CDT --- Patch committed as 89a781adc984ce43a26b1d61f666f59d73599dfd
http://bugs.winehq.org/show_bug.cgi?id=31214
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-07-17 13:51:57 CDT --- Closing bugs fixed in 1.5.9.