[Bug 24308] New: Fullscreen fails for MechWarrior 4 games (Only one D3D device per DirectDraw object)
http://bugs.winehq.org/show_bug.cgi?id=24308 Summary: Fullscreen fails for MechWarrior 4 games (Only one D3D device per DirectDraw object) Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs(a)winehq.org ReportedBy: georg298(a)gmx.de For all MechWarrior 4 games, fullscreen fails with message fixme:ddraw:d3d7_CreateDevice Only one Direct3D device per DirectDraw object supported. Obviously, the game falls back to window'ed mode, as static HRESULT WINAPI d3d7_CreateDevice(IDirect3D7 *iface, REFCLSID riid, IDirectDrawSurface7 *surface, IDirect3DDevice7 **device) returns DDERR_INVALIDPARAMS changing this behaviour (returning D3D_OK instead): if (ddraw->d3ddevice) { FIXME("Only one Direct3D device per DirectDraw object supported.\n"); LeaveCriticalSection(&ddraw_cs); return D3D_OK; // return DDERR_INVALIDPARAMS; } makes fullscreen work for these games. Probably it's not "legal" to return D3D_OK in this case, but maybe there is a real solution for this problem? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 Georg Hennig <georg298(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |georg298(a)gmx.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|georg298(a)gmx.de |wylda(a)volny.cz --- Comment #1 from Wylda <wylda(a)volny.cz> 2010-09-08 13:35:28 CDT --- Thanks for bug report and findings, but no need for put yourself to cc. (http://wiki.winehq.org/Bugs) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #2 from joaopa <jeremielapuree(a)yahoo.fr> 2010-09-08 14:06:43 CDT --- And please attach a console output with winedebug channels d3d7 and ddraw enabled. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #3 from Georg Hennig <georg298(a)gmx.de> 2010-09-08 14:18:16 CDT --- Created an attachment (id=30636) --> (http://bugs.winehq.org/attachment.cgi?id=30636) trace with WINEDEBUG=+ddraw,+d3d7 Trace using free MechWarrior 4 Mektek release, run with WINEDEBUG="+ddraw,+d3d7" wine MW4Mercs.exe -noautoconfig /gosnodialogs > output 2>&1 Note that many native dlls are used, namely those installed by winetricks vcrun2005 directx9 directplay quartz -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #4 from Georg Hennig <georg298(a)gmx.de> 2010-09-08 14:21:43 CDT --- Forgot to add: At the point the trace stopts, the program "hangs" with an "Fatal Error" message saying Nested exception! - Cause: 'EnterWindowMode' Error: "FAILED (0x80070057 - WINERR_) - CreateDevice(BLADE from 0x69dadd8)" at 0x706095 And continues in window'ed mode after clicking ok. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #5 from joaopa <jeremielapuree(a)yahoo.fr> 2010-11-09 04:41:08 CST ---
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x16 @60! (XRandR)
You must fix your Xorg conf file to support this fullscreen mode -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #6 from Georg Hennig <georg298(a)gmx.de> 2010-11-09 06:09:40 CST --- This fullscreen mode actually is supported in my xorg conf file, therefore fullscreen mode works with the patch above at this resolution 800x600. If I remember well, this error just means "800x600 does not exist at this refresh rate, so wine's falling back to 800x600 at any refresh rate", which works fine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #7 from joaopa <jeremielapuree(a)yahoo.fr> 2011-07-28 07:08:10 CDT --- still a bug in current wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #8 from Georg Hennig <georg298(a)gmx.de> 2011-12-03 06:04:52 CST --- Fullscreen still does not work with wine 1.3.34. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #9 from Georg Hennig <georg298(a)gmx.de> 2012-01-01 06:46:45 CST --- Fullscreen still does not work with wine 1.3.36. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=24308 --- Comment #10 from Austin English <austinenglish(a)gmail.com> --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) 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=24308 Jeff D. Hanson <jhansonxi(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhansonxi(a)gmail.com --- Comment #11 from Jeff D. Hanson <jhansonxi(a)gmail.com> --- Still occurs with 1.7.34 and I'm seeing similar behavior with both MechWarrior 4: Vengeance and MechCommander 2 demos: http://download.microsoft.com/download/MechWarrior/Trial/1.0/W9X2KMe/EN-US/M... http://www.sarna.net/files/download/programs/games/mechcommander_2/demo/mc2t... There are several "D3DERR_SURFACENOTINVIDMEM" error dialogs which may be related. I submitted bug #38059 for those. I built Wine from git (1.7.36-...) but don't know how to apply the workaround from comment #1. Note that MW4 demo can operate at 32-bit by setting "bitdepth=32" in "[graphics options]" in the options.ini file which is created after the first successful launch. Currently it needs the following to start without errors: winetricks -q directplay dsound MW4.exe -window /gosnovideo /gosnodialogs Remove -window to trigger the error. -- 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=24308 --- Comment #12 from Jeff D. Hanson <jhansonxi(a)gmail.com> --- To test and actual mission, "ShadowMode=1" needs to be set in options.ini else the mech shadows will cause an abort. -- 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=24308 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #13 from Bruno Jesus <00cpxxx(a)gmail.com> --- Confirming in wine 1.7.51. -- 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=24308 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://archive.org/details | |/Mechwarrior4VengeanceDemo -- 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=24308 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #14 from super_man(a)post.com --- (In reply to Bruno Jesus from comment #13)
Confirming in wine 1.7.51.
Still an issue wine 1.9.6 -- 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=24308 Mike Ellery <mellery(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery(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=24308 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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=24308 --- Comment #15 from joaopa <jeremielapuree(a)yahoo.fr> --- confirming with wine 3.11 -- 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=24308 pattietreutel <katyaberezyaka(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka(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=24308 leestrobel(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leestrobel(a)gmail.com --- Comment #16 from leestrobel(a)gmail.com --- This appears to still be an issue in Wine Staging 6.9 Surely it must be possible to do something to fix this in the mainline code, given that such a simple patch 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=24308 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zakk(a)rsdio.com --- Comment #17 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- *** Bug 40431 has been marked as a duplicate of this bug. *** -- 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=24308 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #18 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- *** Bug 36955 has been marked as a duplicate of this bug. *** -- 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=24308 --- Comment #19 from Béla Gyebrószki <gyebro69(a)gmail.com> ---
From what I see this was fixed by https://gitlab.winehq.org/wine/wine/-/commit/9d95bd5f4b54a392d97f0b58db8f78d...
Please retest and confirm. -- 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=24308 --- Comment #20 from joaopa <jeremielapuree(a)yahoo.fr> --- Indeed! Working for me with wine-10.1 -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla