https://bugs.winehq.org/show_bug.cgi?id=53954
Bug ID: 53954 Summary: Saints Row 2022 fails with Unimplemented function KERNEL32.dll.SetProcessInformation Product: Wine Version: 7.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mo78@abv.bg Distribution: ---
Created attachment 73529 --> https://bugs.winehq.org/attachment.cgi?id=73529 Saints Row 2022 wine log
Saints Row 2022 fails with Unimplemented function KERNEL32.dll.SetProcessInformation and it can't be started at all.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Please check if this patch works https://gitlab.winehq.org/wine/wine/-/merge_requests/1451
https://bugs.winehq.org/show_bug.cgi?id=53954
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32
https://bugs.winehq.org/show_bug.cgi?id=53954
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #2 from mo78@abv.bg --- Unfortunately it doesn't work. Now there's no error but nothing happens. There's SaintsRow.exe process though, but the game doesn't start. I'll attach a log but I can't see anything helpful.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #3 from mo78@abv.bg --- Created attachment 73531 --> https://bugs.winehq.org/attachment.cgi?id=73531 Patched Wine log
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Relevant part is this:
010c:fixme:process:NtSetInformationProcess(0xffffffffffffffff,0x0000004d,0x20f850,0x0000000c) stub
So SetProcessInformation() is called. You can check if failure from ntdll is a problem by returning STATUS_SUCCESS for ProcessPowerThrottlingState class.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #5 from mo78@abv.bg --- Thanks! How can I do this?
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 73533 --> https://bugs.winehq.org/attachment.cgi?id=73533 patch
Apply this diff on top of that MR.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #7 from mo78@abv.bg --- So, if I understand it right, I have to apply this patch: https://gitlab.winehq.org/wine/wine/-/merge_requests/1451 And then apply: https://bugs.winehq.org/attachment.cgi?id=73533&action=diff
Is that correct?
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Yes, they won't interfere with each other, so apply both of them.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #9 from mo78@abv.bg --- Thanks! I'll try but I have to compile it in a VM, so it'll take a while.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #10 from mo78@abv.bg --- It doesn't work and we have the same behaviour - there's a SaintsRow.exe process but the game doesn't start.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #11 from mo78@abv.bg --- Created attachment 73535 --> https://bugs.winehq.org/attachment.cgi?id=73535 Pached Wine log 2
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Okay, let's wait for this missing function fix to get accepted first, then we'll need another bug report for next issue.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #13 from mo78@abv.bg --- All right, I'll wait for you to tell me when and what to do :)
https://bugs.winehq.org/show_bug.cgi?id=53954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ce91ef6426bf5065bd31bb82fa4 | |f76011e7a9a36 Status|UNCONFIRMED |RESOLVED CC| |dark.shadow4@web.de Resolution|--- |FIXED
--- Comment #14 from Fabian Maurer dark.shadow4@web.de --- Should be fixed by https://gitlab.winehq.org/wine/wine/-/commit/ce91ef6426bf5065bd31bb82fa4f760...
Please create a follow-up bugreport for the other issue, and link it here.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #15 from mo78@abv.bg --- Thanks bu I don't know what the other problem is and what to write in the issue?
https://bugs.winehq.org/show_bug.cgi?id=53954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53961
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #16 from Fabian Maurer dark.shadow4@web.de --- I created one at bug 53961, see you there.
https://bugs.winehq.org/show_bug.cgi?id=53954
--- Comment #17 from mo78@abv.bg --- Thank you :)
https://bugs.winehq.org/show_bug.cgi?id=53954
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.22.