https://bugs.winehq.org/show_bug.cgi?id=52542
Bug ID: 52542 Summary: NVIDIA GeForceNow Installer fails due to rundll32 problems Product: Wine Version: 7.1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Created attachment 71855 --> https://bugs.winehq.org/attachment.cgi?id=71855 Hack
Mostly for bookkeeping, I have it on my ToDo somewhere, although feel free to take it. But please mention when you want to work on this.
The installer tries to use rundll32 to let a dll generate the config. The exact commandline is
trace:rundll32:wWinMain CmdLine=L"C:\users\fabian\Temp\GeForceNOWInstallerTemp\GeforceNOW\NvConfigGenerator.dll ,GenerateConfigs
Notice the space before the comma, that's what causes the problem. Wine doesn't handle that properly. Attaching a hack to work around the issue.
Warning: It seems like you need to set that byte to 0 (see patch). Just skipping the space lets it find the function, but it won't work due to being passed unexpected parameters!
Also be aware, that the installer also tries to call system32/rundll32.exe which is 64bit with a 32bit dll. So to test this, you need to take that into account, else rundll32 will fail to load the dll, nevermind load the entry point.
https://bugs.winehq.org/show_bug.cgi?id=52542
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://download.nvidia.com | |/gfnpc/GeForceNOW-release.e | |xe Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=52542
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kcexton01+winehq@gmail.com
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- *** Bug 52590 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=52542
Alexander Vereeken Alexander88207@Protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Alexander88207@Protonmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=52542
Nikita Malyavin nikitamalyavin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nikitamalyavin@gmail.com
--- Comment #2 from Nikita Malyavin nikitamalyavin@gmail.com --- I have followed the latter hack. The installation proceeded until the next showstopper:
0180:trace:rundll32:wWinMain CmdLine=L""C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{17522AB0-A418-4536-94B4-6256AAC18F98}\NVPrxy64.DLL",Proxy {32FC4D32-64D7-4AF1-BE36-6469B557132B} true" 0180:trace:rundll32:wWinMain DllName=L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{17522AB0-A418-4536-94B4-6256AAC18F98}\NVPrxy64.DLL,Proxy" 0180:trace:rundll32:wWinMain EntryPoint=L"Proxy" 0180:trace:rundll32:wWinMain No manifest at ID 123 in L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{17522AB0-A418-4536-94B4-6256AAC18F98}\NVPrxy64.DLL"
0180:err:rundll32:wWinMain Unable to load L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{17522AB0-A418-4536-94B4-6256AAC18F98}\NVPrxy64.DLL"
https://bugs.winehq.org/show_bug.cgi?id=52542
--- Comment #3 from Nikita Malyavin nikitamalyavin@gmail.com --- Looks like the previous one happens later. Here is what I could find before I press close
017c:trace:rundll32:wWinMain CmdLine=L""C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{0F5F8423-9F13-4F5F-B856-DB1C9C9FC301}\NVPrxy64.DLL",Proxy {63AB4CCE-B57C-4B7E-AFC2-CE96B716E293} true" 017c:trace:rundll32:wWinMain DllName=L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{0F5F8423-9F13-4F5F-B856-DB1C9C9FC301}\NVPrxy64.DLL,Proxy" 017c:trace:rundll32:wWinMain EntryPoint=L"Proxy" 017c:trace:rundll32:wWinMain No manifest at ID 123 in L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{0F5F8423-9F13-4F5F-B856-DB1C9C9FC301}\NVPrxy64.DLL" 017c:err:rundll32:wWinMain Unable to load L"C:\users\nik\AppData\Local\NVIDIA Corporation\Installer2\CoreTemp.{0F5F8423-9F13-4F5F-B856-DB1C9C9FC301}\NVPrxy64.DLL" 0124:err:syslink:SYSLINK_GetItem Link 1 couldn't be found
https://bugs.winehq.org/show_bug.cgi?id=52542
--- Comment #4 from Nikita Malyavin nikitamalyavin@gmail.com --- Both assumptions are wrong. The last call just creates the troubleshooting link. After some more debugging I didn't understand the reason of failure.
https://bugs.winehq.org/show_bug.cgi?id=52542
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71855|0 |1 is obsolete| |
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Created attachment 75818 --> https://bugs.winehq.org/attachment.cgi?id=75818 rundll32 hack
Attaching an updated hack. This makes it go further.
Not sure why, but it only seems to work the second time you run the installer, the first time quits early. The second time it creates a windows and shorty after crashes.
https://bugs.winehq.org/show_bug.cgi?id=52542
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Correction, the crash I encountered is in GeforceNOW already. Possibly some CEF issue, but probably not bug 32342 nor bug 29384.
https://bugs.winehq.org/show_bug.cgi?id=52542
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Update: After "winetricks arial" it works for me. It takes a few tries of restarting "/.wine/drive_c/users/fabian/AppData/Local/NVIDIA Corporation/GeForceNOW/CEF/GeForceNOW.exe" though. Not sure what to make of this, but that's not really part of this bug anyways.
https://bugs.winehq.org/show_bug.cgi?id=52542
Jorge Daniel Leguiza coki@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |coki@hotmail.com
--- Comment #8 from Jorge Daniel Leguiza coki@hotmail.com --- (In reply to Fabian Maurer from comment #7)
Update: After "winetricks arial" it works for me. It takes a few tries of restarting "/.wine/drive_c/users/fabian/AppData/Local/NVIDIA Corporation/GeForceNOW/CEF/GeForceNOW.exe" though. Not sure what to make of this, but that's not really part of this bug anyways.
Hello, I may be misunderstanding this comment but, did you manage to fix this error/make it run at all?
I have tried to get it to work, I have tried to apply the rundll32 hack you provided in this thread but have had no luck so far, my procedure is as follows on an Arch Linux system:
bash git clone (wine official staging repo) wine cd wine git apply (rundll32 hack file) ./configure --enable-win64 make make install winetricks arial
Just to be clear, I also tried on 32 bits version and 64 with 32 bits support as well, always following WineHQ build guide, so im not sure if im applying the hack correctly.
If it is the case that you managed to make it run, may I ask for a guide/steps to reproduce? Thanks for your time