[Bug 51907] New: ddraw games don't work in xwayland
https://bugs.winehq.org/show_bug.cgi?id=51907 Bug ID: 51907 Summary: ddraw games don't work in xwayland Product: Wine Version: 6.19 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: ewtoombs(a)uwaterloo.ca Distribution: --- So far, I've tested Age of Empires II: The Conquerors 1.0c and Starcraft Broodwar 1161. They both fail with the same error message: ``` 0024:err:ddraw:ddraw_surface_create Failed to reset device. ``` Both games work fine in the standalone Xorg server. Neither works, whether I use weston or sway. Experimentally, I've determined that the games work in 5.13 and break in 5.14, so I guess the bug was introduced in version 5.14. -- 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=51907 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Could you do a bisect tp see what regression breaks it? -- 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=51907 Paul Gofman <pgofman(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman(a)codeweavers.com --- Comment #2 from Paul Gofman <pgofman(a)codeweavers.com> --- Maybe full (possibly compressed if it is big) log with WINEDEBUG=+ddraw,+d3d,+x11drv,+wgl,+win,+xrandr can show something. -- 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=51907 Eric Toombs <ewtoombs(a)uwaterloo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ewtoombs(a)uwaterloo.ca --- Comment #3 from Eric Toombs <ewtoombs(a)uwaterloo.ca> --- Created attachment 70875 --> https://bugs.winehq.org/attachment.cgi?id=70875 BW1161 in wine 6.17 in sway+xwayland, detailed log
WINEDEBUG='+ddraw,+d3d,+x11drv,+wgl,+win,+xrandr' wine ~/.wine/drive_c/Program\ Files/Starcraft/StarCraft.exe &>/tmp/bw1161.log
-- 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=51907 --- Comment #4 from Paul Gofman <pgofman(a)codeweavers.com> --- Created attachment 70876 --> https://bugs.winehq.org/attachment.cgi?id=70876 Validate pitch against the new format in wined3d_texture_update_desc(). Although I am not sure that this is the issue here I see this in the log:
0024:err:winediag:wined3d_dll_init Disabling 3D support.
This suggests renderer is manually set to 'gdi' or 'no3d' in the registry. I suggest running on the clean prefix without custom options. If you believe there is a reason to set that then this is something worth describing, as well as generally the fact of using any non default options when reporting a bug. Although in this case it might be not related really, I think I see at least immediate reason for the failure. Can you please check if the attached patch is fixing the issue if possible? -- 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=51907 --- Comment #5 from Eric Toombs <ewtoombs(a)uwaterloo.ca> --- (In reply to Fabian Maurer from comment #1)
Could you do a bisect to see what regression breaks it?
I could. Are there any extra steps to running a wine compiled in the git root with a prefix at ~/.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=51907 --- Comment #6 from Eric Toombs <ewtoombs(a)uwaterloo.ca> --- (In reply to Paul Gofman from comment #4)
Created attachment 70876 [details] Validate pitch against the new format in wined3d_texture_update_desc().
Although I am not sure that this is the issue here I see this in the log:
0024:err:winediag:wined3d_dll_init Disabling 3D support.
This suggests renderer is manually set to 'gdi' or 'no3d' in the registry. I suggest running on the clean prefix without custom options. If you believe there is a reason to set that then this is something worth describing, as well as generally the fact of using any non default options when reporting a bug.
Although in this case it might be not related really, I think I see at least immediate reason for the failure. Can you please check if the attached patch is fixing the issue if possible?
Can't I just set renderer= to its default option? I'd rather not have to reinstall starcraft again. It's kind of involved. What is renderer='s default option? -- 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=51907 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #7 from Zebediah Figura <z.figura12(a)gmail.com> --- The default is currently "gl", although you can achieve the same behaviour by deleting the registry value. -- 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=51907 --- Comment #8 from Eric Toombs <ewtoombs(a)uwaterloo.ca> --- Created attachment 70887 --> https://bugs.winehq.org/attachment.cgi?id=70887 BW1161 with renderer=gl
winetricks renderer=gl WINEDEBUG='+ddraw,+d3d,+x11drv,+wgl,+win,+xrandr' wine ~/.wine/drive_c/Program\ Files/Starcraft/StarCraft.exe &>/tmp/bw1161-gl.log
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=51907 --- Comment #9 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- (In reply to Eric Toombs from comment #5)
I could. Are there any extra steps to running a wine compiled in the git root with a prefix at ~/.wine?
No, the default is still ~/.wine, though you might want to make a backup if there's anything important in there. -- 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)
-
WineHQ Bugzilla