[Bug 52092] New: game pass
https://bugs.winehq.org/show_bug.cgi?id=52092 Bug ID: 52092 Summary: game pass Product: Wine Version: 6.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: master.zion(a)gmail.com Distribution: --- Hi everyone... it seems it is not possible to install the xbox application for PC using wine. It would be useful to play Windows games from xbox game pass, and it will be very useful on Steam deck. it fails during the installation startup. ------ Unhandled Exception: 0024:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 05E202EE, 00000000, 01EA96F4) stub. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Windows.Foundation.UniversalApiContract, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRunt ime' or one of its dependencies. Module not found. at XboxInstaller.App..ctor() at XboxInstaller.App.Main() ------ https://www.xbox.com/en-IN/apps/xbox-app-for-pc -- 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=52092 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|game pass |Xbox app for Windows PC | |crashes at start Component|ntdll |-unknown URL| |https://assets.xbox.com/ins | |taller/20190628.8/anycpu/Xb | |oxInstaller.exe Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download CC| |xerox.xerox2000x(a)gmail.com --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Confirming. Seems related to UWP so for now i fear this is future music. The missing Windows.Foundation.UniversalApiContract seems to be contained in https://globalcdn.nuget.org/packages/microsoft.windows.sdk.contracts.10.0.22... Google gives maybe some other useful info on this missing 'Windows.Foundation.UniversalApiContract': https://www.thomasclaudiushuber.com/2019/04/26/calling-windows-10-apis-from-... sha1sum XboxInstaller.exe ee07659a7efaa8ba7bd735b7ef8ad4279573e5c7 XboxInstaller.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=52092 selurvedu(a)dismail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |selurvedu(a)dismail.de -- 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=52092 Ker noa <blue-t(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t(a)web.de -- 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=52092 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jon9097(a)gmail.com --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- *** Bug 53023 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=52092 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julianhoyos94(a)gmail.com --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- *** Bug 52188 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=52092 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de Summary|Xbox app for Windows PC |Multiple UWP apps crash at |crashes at start |start due to missing | |"Windows.Foundation.Univers | |alApiContract" (Xbox app | |for Windows PC, Minecraft | |installer) --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Adjusting summary to reflect current state better. Not even sure how to properly address this though, the UWP stuff is weird. -- 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=52092 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- 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=52092 harkamalsr(a)gmail.com <harkamalsr(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harkamalsr(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=52092 safe.bell6727(a)alistair23.me changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safe.bell6727(a)alistair23.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=52092 --- Comment #5 from safe.bell6727(a)alistair23.me --- Created attachment 75067 --> https://bugs.winehq.org/attachment.cgi?id=75067 Exception backtrace -- 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=52092 --- Comment #6 from safe.bell6727(a)alistair23.me --- Same issue on Wine 8.14, I have attached a full backtrace -- 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=52092 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grandrodri3(a)gmail.com --- Comment #7 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- *** Bug 56626 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=52092 tobil4sk(a)outlook.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobil4sk(a)outlook.com --- Comment #8 from tobil4sk(a)outlook.com --- I am able to workaround this error with XboxInstaller.exe by changing the Windows version to Windows 10. On the download page, it says that Windows 10 is the minimum requirement. However, when the app starts with all required dependencies installed (corefonts, d3dcompiler47 and I think dotnet as well), the app then complains that the Windows version is outdated and then tries to run the Windows updater. The download page also says that 19H1 or higher is required, but I'm not too sure how to deal with that and maybe that's for a separate thread. -- 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=52092 --- Comment #9 from Tobi L <tobil4sk(a)outlook.com> --- Created attachment 76521 --> https://bugs.winehq.org/attachment.cgi?id=76521 Patch to avoid the UniversalApiContract 7 crash This patch seems to avoid the crash when the prefix is set to Windows 7. -- 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=52092 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #10 from Vijay Kamuju <infyquest(a)gmail.com> --- Created a MR with tests for this based on your patch : https://gitlab.winehq.org/wine/wine/-/merge_requests/5771 -- 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=52092 Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |etaash.mathamsetty(a)gmail.co | |m --- Comment #11 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- Hello I just tried the xbox installer, and using Windows 7 I get the same outdated message with the patch. The real issue here is init_current_version returning the wrong version (windows 8) instead of the correct version (using the prefix's windows version), the app calls GetVersionExW to get the windows version -- 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=52092 --- Comment #12 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- the logic looks obviously wrong, im kind of curious how it got into this state. (or maybe I just can't read the code properly) -- 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=52092 --- Comment #13 from Vijay Kamuju <infyquest(a)gmail.com> --- Can you try using a clean prefix? -- 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=52092 --- Comment #14 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- now it is getting the same crash even with the 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=52092 --- Comment #15 from Vijay Kamuju <infyquest(a)gmail.com> --- Marked the patch as draft till we clarify the fix. -- 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=52092 --- Comment #16 from Tobi L <tobil4sk(a)outlook.com> ---
Created a MR with tests for this based on your patch
Thanks!
I get the same outdated message with the patch
To clarify, are you getting the "Windows.Foundation.UniversalApiContract" crash? Or are you talking about the incorrect version check once the app starts? Could you confirm the windows version and what the error is. I did some debugging, it seems there is an issue on this line: https://gitlab.winehq.org/wine/wine/-/blob/951e0e27a743e52c75c7fedc0b1eaa9eb... Here, nt->OptionalHeader.MajorOperatingSystemVersion is 4, so it reverts to the default current version which is Windows 8.0. -- 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=52092 --- Comment #17 from Tobi L <tobil4sk(a)outlook.com> --- I've opened a separate thread about the version check logic, as that's unrelated to the UniversalApiContract crash: https://bugs.winehq.org/show_bug.cgi?id=56795 -- 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=52092 --- Comment #18 from Vijay Kamuju <infyquest(a)gmail.com> --- Ok then, I am removing the draft status from 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=52092 Fox2Code <fox2code(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fox2code(a)gmail.com --- Comment #19 from Fox2Code <fox2code(a)gmail.com> --- The missing dlls are available on nuget website. There: https://www.nuget.org/packages?q=WindowsContract The package name doesn't exactly match the dlls names. -- 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=52092 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple UWP apps crash at |Multiple UWP apps crash at |start due to missing |start due to missing |"Windows.Foundation.Univers |"Windows.Foundation.Univers |alApiContract" (Xbox app |alApiContract" (Xbox app |for Windows PC, Minecraft |for Windows PC, Minecraft |installer) |installer, Arc browser | |installer) CC| |alexhenrie24(a)gmail.com --- Comment #20 from Alex Henrie <alexhenrie24(a)gmail.com> --- The Arc web browser installer also needs Windows.Foundation.UniversalApiContract: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Windows.Foundation.UniversalApiContract, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'Windows.Foundation.UniversalApiContract, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Windows.Foundation.UniversalApiContract, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. https://releases.arc.net/windows/ArcInstaller.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.
participants (1)
-
WineHQ Bugzilla