[Bug 46785] New: Battle Realms fails to start: " Could not initialize rasterizer API"
https://bugs.winehq.org/show_bug.cgi?id=46785 Bug ID: 46785 Summary: Battle Realms fails to start: "Could not initialize rasterizer API" Product: Wine-staging Version: 4.3 Hardware: x86 URL: https://www.fileplanet.com/archive/p-6817/Battle-Realm s-Demo OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: gyebro69(a)gmail.com CC: andrew(a)fatbag.net, leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Created attachment 63800 --> https://bugs.winehq.org/attachment.cgi?id=63800 terminal output Battle Realms from GOG.com shows the error message "Could not initialize rasterizer API" on launch then it crashes. The crash can be reproduced in the demo version too (minus the error message which is not presented in the demo). The patch to blame: https://github.com/wine-staging/wine-staging/blob/master/patches/ddraw-versi... wine-4.3-95-g968eda4b18 (Staging) OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 418.42.02 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d Product|Wine-staging |Wine --- Comment #1 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Using the demo provided, it crashes in wine and wine-staging. Removing the staging patch doesn't appear to make any difference for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #2 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Created attachment 63801 --> https://bugs.winehq.org/attachment.cgi?id=63801 +ddraw,d3d -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #3 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 63804 --> https://bugs.winehq.org/attachment.cgi?id=63804 +ddraw,+d3d log in plain Wine (WORKS) Works for me in plain wine-4.3-95-g968eda4b18. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #4 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 63805 --> https://bugs.winehq.org/attachment.cgi?id=63805 +ddraw,+d3d log when patch applied (CRASH) The game crashes when the 'ddraw: Return correct devices based off requested DirectX version.' patch from staging is applied on top of plain Wine (the patch also needs the 'ddraw-Device_Caps' patchset). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |Wine-staging Component|directx-d3d |-unknown --- Comment #5 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Alistair Leslie-Hughes from comment #1)
Using the demo provided, it crashes in wine and wine-staging. Removing the staging patch doesn't appear to make any difference for me.
That's likely a different issue, maybe related to the open source nouveau driver? As I pointed out earlier, the problem only occurs in staging but not in plain Wine. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #6 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Created attachment 63850 --> https://bugs.winehq.org/attachment.cgi?id=63850 Updated patch Can you please try this updated patch to see if it fixes the problem? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #7 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Alistair Leslie-Hughes from comment #6)
Created attachment 63850 [details] Updated patch
Can you please try this updated patch to see if it fixes the problem?
No, it doesn't. The problem remains with the updated patch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Paul Gofman <gofmanp(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 --- Comment #8 from Paul Gofman <gofmanp(a)gmail.com> --- Created attachment 63939 --> https://bugs.winehq.org/attachment.cgi?id=63939 ddraw: Check device_list[] entry version in d3d7_EnumDevices() I've tested the demo and could reproduce the problem, it was running fine in Wine for me but crashing in Wine Staging. Removing 0001-ddraw-Return-correct-devices-based-off-requested-Dir.patch was fixing the issue (0003-ddraw-Implement-DDENUMSURFACES_CANBECREATED-flag-in-.patch had to be removed also or it won't compile). I am attaching the patch on top of current Wine Staging (with all the patches in place) which fixes the issue for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #9 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- (In reply to Paul Gofman from comment #8)
Created attachment 63939 [details] ddraw: Check device_list[] entry version in d3d7_EnumDevices()
I've tested the demo and could reproduce the problem, it was running fine in Wine for me but crashing in Wine Staging. Removing 0001-ddraw-Return-correct-devices-based-off-requested-Dir.patch was fixing the issue (0003-ddraw-Implement-DDENUMSURFACES_CANBECREATED-flag-in-.patch had to be removed also or it won't compile).
I am attaching the patch on top of current Wine Staging (with all the patches in place) which fixes the issue for me.
Thanks Paul. The patch has been updated. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d82dea3b216a9dad141359227d2 | |941493fe23713 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46785 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Fixed Staging bugs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org