chtof / chocolatey-packages

Apache License 2.0
12 stars 36 forks source link

Successful CUDA install throws unhandled exit code if Telemetry is not detected #6

Closed God-damnit-all closed 4 years ago

God-damnit-all commented 4 years ago

My command for installing cuda is this:

choco install -y cuda --installargs '"nvcc_10.1 cuobjdump_10.1 nvprune_10.1 cupti_10.1 gpu_library_advisor_10.1 memcheck_10.1 nvdisasm_10.1 nvprof_10.1 cublas_10.1 cublas_dev_10.1 cudart_10.1 cufft_10.1 cufft_dev_10.1 curand_10.1 curand_dev_10.1 cusolver_10.1 cusolver_dev_10.1 cusparse_10.1 cusparse_dev_10.1 nvgraph_10.1 nvgraph_dev_10.1 npp_10.1 npp_dev_10.1 nvrtc_10.1 nvrtc_dev_10.1 nvml_dev_10.1"'

This installs all packages except for visual_studio_integration_10.1, visual_profiler_10.1, documentation_10.1, occupancy_calculator_10.1, demo_suite_10.1, fortran_examples_10.1, samples_10.1, and Display.Driver.

I install my display driver with the nvidia-display-driver package, and then I disable telemetry with the disable-nvidia-telemetry package.

At the end of the cuda setup, because it is unable to detect/initiate the telemetry service, it returns the exit code -2147023836. However, the install did complete successfully, every single package is right where it should be, Windows detects the install, it can be uninstalled just fine, but because of this exit code, choco reports a package installation failure.

Please make the cuda package ignore the -2147023836 exit code.

God-damnit-all commented 4 years ago

Closing this because I'm not 100% sure it is a false positive now, I have some files missing from my installation. It may be for unrelated reasons, though,