Despite the title it is not only CUDA setup, it is also driver setup because they are both installed using same setup technology developed by NVIDIA.
Steps to reproduce:
Download CUDA 10.1 or latest 419.17 display drivers, both setups will do the same.
Open regedit.exe and navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Make sure that Path registry key is of type REG_EXPAND_SZ.
Right-click This PC → Properties then click Advanced System Settings then Environment Variables
In System variables list locate and double-click Path entry
Click new and add an entry %ProgramFiles%\7-Zip (it is just example, no need to have 7-Zip installed)
Click OK until you close all windows
Run CUDA or display driver setup and let it finish.
Repeat steps 2 to 5.
Expected behavior:
NVIDIA related paths (such as PhysX, CUDA, etc) should be added at the end of list.
Other values should not be changed.
Registry key Path should be of type REG_EXPAND_SZ.
Actual behavior:
NVIDIA related paths (such as PhysX, CUDA, etc) are added at the end of list.
All other values which had other environment variables as part of path (such as %SystemRoot%\system32, %SystemRoot%, %ProgramFiles%) got expanded.
Since setup.exe is 32-bit process running on 64-bit OS, variables like %ProgramFiles%, %CommonProgramFiles%, %comspec% get incorrectly expanded to their 32-bit values because of Wow64 filesystem redirection.
Registry key Path is set as REG_SZ.
Please fix, it’s annoying to go and revert the changes everytime driver or CUDA are updated.
Theses forums are not designed as a bug-reporting venue, although Robert Crovella sometimes takes it upon himself to open bugs in response to issues reported here.
I would suggest using the bug-reporting form available via the registered developer account to report the issue. Log in here: [url]https://developer.nvidia.com/[/url]
I know how to report a bug, but there is no “Setup” category for CUDA Toolkit, not to mention that I have no Display Driver category at all, let alone “Setup” under that.
I submitted it under “Other” category so don’t blame me if it doesn’t get picked up by the right team or at all because the ball is now squarely in NVIDIA’s court.
As for “Bugs aren’t picked up from the forums”, yes they get picked (for display drivers at least) on GeForce forums, Manuel Guzman sometimes picks them up. Maybe you all should follow his example instead of making your customers jump through hoops to report such glaring issues which should have been caught by your own QA team?
Approximately 1 hour ago, an email was sent to the address you used to report the bug, acknowledging receipt. The issue has been observed internally at this time. It will not be addressed in the next CUDA public release. If there are any changes made for it, it would be some time after that.
I wouldn’t be able to provide further updates until the issue is addressed in a public release. If there are additional questions and I don’t respond, it means there is nothing I can share publicly. Questions asking variants of “when will this be fixed” will specifically not be responded to. I a unable to make forward-looking statements on this forum, especially as it pertains to software or hardware development schedules.
After all this time I still don’t have any new information on this bug which is still annoying the hell out of me every time I have to change NVIDIA drivers.
In the meantime, since this bug also affects NVIDIA driver setup – I just tested with 441.28 studio driver the bug is still there. Do you have any idea when the same fix will roll out for driver setup as well?
The fix was also picked up in R440 (and newer) driver branches, so that should include the 441.28 driver.
I think a useful test would still be to try the CUDA 10.2 with its bundled R440 driver, and see what you observe. Then report your findings back into the bug if you wish.
Robert, I will definitelly test this with CUDA 10.2, though I am not happy that I have to install another R440 driver because I am having issues with all drivers since 430.86 and Iray in DAZ Studio (CPU fallback).
Tested, does not work, not fixed. Waste of time. Giant shame for a big company like NVIDIA.
Not to mention that even the drivers in CUDA package are not WHQL certified and Windows asks whether to trust NVIDIA while installing.
As for me, I have less and less trust in NVIDIA software so it seems that next time I get such a question request will be denied, NVIDIA software removed, and NVIDIA hardware sold never to be bought again.
Failing to fix a simple PATH corruption issue for seven months is totally unacceptable.
Releasing non-WHQL drivers in developer package is next level of unacceptable.
Thanks for the warning. I tend to take preventive measures when I install packages as large as this. Especially since I have had issues with the previous two updates. For this package, the first thing I do is export some registry keys of interest. The environment variables are one of those. I find it much easier to recover from errors when I do this. I have noticed the environment variables are somewhat problematic when installing the CUDA SDK. I filed a bug report/suggestion about this previously.