[Bug 49964] New: 32-bit dxdiag doesn't support '/64bit' command line switch (launch 64-bit dxdiag)
https://bugs.winehq.org/show_bug.cgi?id=49964 Bug ID: 49964 Summary: 32-bit dxdiag doesn't support '/64bit' command line switch (launch 64-bit dxdiag) Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Distribution: --- Hello folks, as it says. Encountered with some Wargaming titles in 64-bit WINEPREFIX. It causes a message box to be shown which stays behind the main game window. Not harmful but still worth to get rid of. --- snip --- $ pwd /home/focht/wine-games/wineprefix64-wargaming/drive_c/ProgramData/Wargaming.net/GameCenter $ WINEDEBUG=+process,+msgbox wine ./wgc.exe --disable-gpu >>log.txt 2>&1 ... 03c0:trace:process:CreateProcessInternalW app (null) cmdline L"dxdiag /whql:off /64bit /t C:\\users\\focht\\Temp\\dxdiag_cat_852.txt.tmp" ... 03c0:trace:process:NtCreateUserProcess L"\\??\\C:\\windows\\system32\\dxdiag.exe" image L"C:\\windows\\system32\\dxdiag.exe" cmdline L"dxdiag /whql:off /64bit /t C:\\users\\focht\\Temp\\dxdiag_cat_852.txt.tmp" parent (nil) ... 03c0:trace:process:NtCreateUserProcess L"\\??\\C:\\windows\\system32\\dxdiag.exe" pid 03cc tid 03d0 handles 0xf8/0xfc 03c0:trace:process:CreateProcessInternalW started process pid 03cc tid 03d0 ... 03d0:trace:msgbox:MSGBOX_OnInit L"Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]" --- snip --- Wine source: https://source.winehq.org/git/wine.git/blob/5d5102f8498413f4b7e11f7da0509e77... NOTE: https://stackoverflow.com/questions/28189656/getting-output-from-dxdiag-in-c... --- quote --- DxDiag is quite cranky on a 64-bit OS. The 32-bit version and the 64-bit version accept different command line switches and it doesn't give a peep when you use the wrong one. The /x option simply does not work when you try to use the /64bit option on the 32-bit version. And the 64-bit version does not accept /64bit. You'll have to start the 64-bit version explicitly when you run on a 64-bit OS and your program runs in 32-bit mode. --- quote --- The '64bit' command line switch is simply ignored by the 64-bit executable and not listed in the command line help. $ wine --version wine-5.18-303-g5d5102f8498 Regards -- 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=49964 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://redirect.wargaming. | |net/WGC/Wargaming_Game_Cent | |er_Install_EU.exe Keywords| |download -- 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=49964 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://redirect.wargaming. |https://web.archive.org/web |net/WGC/Wargaming_Game_Cent |/20190219030035/http://redi |er_Install_EU.exe |rect.wargaming.net/WGC/Warg | |aming_Game_Center_Install_E | |U.exe -- 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=49964 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick(a)piezo-forte.be --- Comment #1 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, Background: I reported another issue with WoWs and WG support asked that I provide a WGCheck report. I downloaded the WGCheck tool and has met the dxdiag syntax error message. WGCheck.exe (Wargaming game diagnostic tool) is available freely on: https://eu.wargaming.net/support/en/products/wows/article/22989/ --- WINEDEBUG=+process terminal output --- ... 015c:trace:process:CreateProcessInternalW app (null) cmdline L"\"dxdiag\" /64bit /x C:\\ProgramData\\DXDiag.xml" 015c:trace:process:find_exe_file looking for L"dxdiag" in L"C:\\WGCheck_EU;.;C:\\windows\\system32;C:\\windows\\system;C:\\windows;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem;C:\\windows\\system32\\WindowsPowershell\\v1.0" 015c:warn:process:CreateProcessInternalW (L"C:\\windows\\system32\\dxdiag.exe",...): ignoring some flags in 8000400 015c:trace:process:image_needs_elevation image requested run level 0 015c:trace:process:NtCreateUserProcess L"\\??\\C:\\windows\\system32\\dxdiag.exe" image L"C:\\windows\\system32\\dxdiag.exe" cmdline L"\"dxdiag\" /64bit /x C:\\ProgramData\\DXDiag.xml" parent (nil) 015c:trace:process:NtCreateUserProcess L"\\??\\C:\\windows\\system32\\dxdiag.exe" pid 0194 tid 0198 handles 0x280/0x284 015c:trace:process:CreateProcessInternalW started process pid 0194 tid 0198 ... --- end terminal output --- Regards. -- 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=49964 --- Comment #2 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Created attachment 70742 --> https://bugs.winehq.org/attachment.cgi?id=70742 Accept and ignore option /64bit on the dxdiag commandline -- 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=49964 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |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=49964 --- Comment #3 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, Merge request sent: https://gitlab.winehq.org/wine/wine/-/merge_requests/2756 Regards. -- 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=49964 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |60ef0f86772559187c04098e4c3 | |d8b4678062a1c Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, Should be fixed by commit 60ef0f86772559187c04098e4c3d8b4678062a1c. Regards. -- 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=49964 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.8. -- 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=49964 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x -- 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=49964 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0.x |--- --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 8.0.x milestone from bug fixes included in 8.0.2. -- 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