https://bugs.winehq.org/show_bug.cgi?id=56606
Bug ID: 56606 Summary: Running PhysX installer fails Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: cybermax@dexter.no Distribution: ---
Created attachment 76360 --> https://bugs.winehq.org/attachment.cgi?id=76360 Shell32 log
When installing PhysX either manually or by using winetricks, this fails using wine-9.5 or newer.
eg. winetricks physx
The attached log is using WINEDEBUG=-all,+shell
Reverting this patch seems to fix the problem:
https://gitlab.winehq.org/wine/wine/-/commit/85d029e3b01f6dd35a86cc07796af98...
https://bugs.winehq.org/show_bug.cgi?id=56606
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Regression SHA1| |85d029e3b01f6dd35a86cc07796 | |af982d66e4a03
https://bugs.winehq.org/show_bug.cgi?id=56606
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yshuiv7@gmail.com
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Where did you download the PhysX installer from?
shell32: Rely solely on SHELL_FindExecutable for ShellExecute.
Please attach the full console output. https://wiki.winehq.org/Bugs
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #2 from Sveinar Søpler cybermax@dexter.no --- (In reply to Ken Sharp from comment #1)
Where did you download the PhysX installer from?
shell32: Rely solely on SHELL_FindExecutable for ShellExecute.
Please attach the full console output. https://wiki.winehq.org/Bugs
Run "winetricks physx" or download it from nvidia... If you claim that it "works fine for me", please tell, and i will download the full console output in the case it is only a fault on my end :)
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #3 from Sveinar Søpler cybermax@dexter.no --- (In reply to Sveinar Søpler from comment #2)
(In reply to Ken Sharp from comment #1)
Where did you download the PhysX installer from?
shell32: Rely solely on SHELL_FindExecutable for ShellExecute.
Please attach the full console output. https://wiki.winehq.org/Bugs
Run "winetricks physx" or download it from nvidia... If you claim that it "works fine for me", please tell, and i will download the full console output in the case it is only a fault on my end :)
In case "winetricks" is too hard to obtain or use in some way, you can download the PhysX installer from nVidia directly here: https://www.nvidia.com/en-us/drivers/physx/physx-9-21-0713-driver/
The file is then named PhysX_9.21.0713_SystemSoftware.exe sha1sum PhysX_9.21.0713_SystemSoftware.exe ffa850b7463cae49c651c24ee364f8f31fcf158e PhysX_9.21.0713_SystemSoftware.exe
https://bugs.winehq.org/show_bug.cgi?id=56606
mickski56@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mickski56@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=56606
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |https://us.download.nvidia. | |com/Windows/9.21.0713/PhysX | |_9.21.0713_SystemSoftware.e | |xe Summary|Running PhysX installer |PhysX installers fails to |fails |start Ever confirmed|0 |1
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- I can confirm this with wine-9.7-155-g898ab8dab19.
https://bugs.winehq.org/show_bug.cgi?id=56606
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PhysX installers fails to |PhysX installer fails to |start |start Keywords| |Installer
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #5 from yshuiv7@gmail.com --- Can you also include `+exec` logs? Thanks!
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 76397 --> https://bugs.winehq.org/attachment.cgi?id=76397 +shell,+exec
There you go.
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #7 from yshuiv7@gmail.com --- (In reply to Gijs Vermeulen from comment #6)
Created attachment 76397 [details] +shell,+exec
There you go.
Thanks. Relying on SHELL_FindExecutable, or more specifically, PathResolve broke the lookup of executable with relative paths. i.e. PathResolve("file.exe", "C:\dir") will find "C:\dir\file.exe", but PathResolve(".\file.exe", "C:\dir") does not (!).
Now, I am not sure if this is a bug in PathResolve, or, if we shouldn't rely on PathResolve at all. I'll do some tests on native Windows to find out.
https://bugs.winehq.org/show_bug.cgi?id=56606
tinozzo123@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tinozzo123@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #8 from yshuiv7@gmail.com --- Looks like FindExecutable really does behave differently from everything else...
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #9 from yshuiv7@gmail.com --- MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/5692
https://bugs.winehq.org/show_bug.cgi?id=56606
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to yshuiv7 from comment #9)
MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/5692
The fix is now merged in Wine-9.10, please retest. The installer of Nvidia Physx 9.21. works correctly for me in Wine-9.10.
https://source.winehq.org/git/wine.git/commitdiff/436e96c5cb2887af239e1131f8...
https://source.winehq.org/git/wine.git/commit/0bad544aab9e2c9ee93bbabac0386e...
https://bugs.winehq.org/show_bug.cgi?id=56606
--- Comment #11 from Sveinar Søpler cybermax@dexter.no --- (In reply to Béla Gyebrószki from comment #10)
(In reply to yshuiv7 from comment #9)
MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/5692
The fix is now merged in Wine-9.10, please retest. The installer of Nvidia Physx 9.21. works correctly for me in Wine-9.10.
https://source.winehq.org/git/wine.git/commitdiff/ 436e96c5cb2887af239e1131f81d7cf002c1ac02
https://source.winehq.org/git/wine.git/commit/ 0bad544aab9e2c9ee93bbabac0386e02c58a39c0
Yes, seems to be working with wine-staging-9.10 Ubuntu 22.04.
Thanks :)
https://bugs.winehq.org/show_bug.cgi?id=56606
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0bad544aab9e2c9ee93bbabac03 | |86e02c58a39c0 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sveinar Søpler from comment #11)
Yes, seems to be working with wine-staging-9.10 Ubuntu 22.04.
Thanks :)
Marking FIXED.
https://bugs.winehq.org/show_bug.cgi?id=56606
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.11.