https://bugs.winehq.org/show_bug.cgi?id=56232
Bug ID: 56232 Summary: Sega Bug fails to initialize Product: Wine Version: 3.17 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 75943 --> https://bugs.winehq.org/attachment.cgi?id=75943 WINEDEBUG=+d3d,+ddraw
Steps to reproduce:
1. Insert the Sega Bug CD
2. Run `Xephyr :1 -ac -screen 800x600x8 &`
3. Run `DISPLAY=:1 openbox &`
4. Run `DISPLAY=:1 wine 'D:\win95\bug!.exe'`
An error dialog titled "Error Initialising" appears that says "A hardware-only DirectDraw object creation was attempted but the driver did not support any hardware." After clicking OK, a second dialog appears that says "Could not initialise DirectDraw".
I have a patch that I could apply to Wine < 3.17 to get the game to work, but this error is relatively new. `git bisect` says:
7b2ff904042ee95214b6c5b4a80e51d7f6b24c2b is the first bad commit commit 7b2ff904042ee95214b6c5b4a80e51d7f6b24c2b Author: Józef Kucia jkucia@codeweavers.com Date: Mon Sep 24 01:09:31 2018 +0200
wined3d: Pass feature levels to wined3d_device_create().
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Debug traces are attached. I believe the relevant line is:
0024:warn:ddraw:ddraw_surface_create Video memory surfaces not supported without 3D support.
https://bugs.winehq.org/show_bug.cgi?id=56232
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Regression SHA1| |7b2ff904042ee95214b6c5b4a80 | |e51d7f6b24c2b URL| |https://archive.org/downloa | |d/BUGDEMO/BUG_DEMO.rar
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- The free demo has the same problem.
$ sha256sum BUG_DEMO.rar 7f8b9b4a0b95819e7386f85a10ff333f6d640dcf4d2c2c46a52273a05a32a68a
https://bugs.winehq.org/show_bug.cgi?id=56232
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- The game works in DxWnd 2.06.02 https://sourceforge.net/projects/dxwnd/ with the following settings:
Video > Initial virtual color setting > 8 BPP Video > Initial virtual color setting > Lock GDI > Synchronize GDI to ddraw palette Hook > Do hook update
And in winecfg: Graphics > Emulate a virtual desktop