DIGITS with Windows Subsystem for Linux and GTX1060

Hi There,

New to the Nvidia and Jetson ecosystem.

I’m trying to setup DIGITS on my laptop using the following setup guide. I’ve encountered an issue with the first step and I’m not sure how to proceed.

I am attempting the follow the guide using Ubuntu 18.04, Windows subsystem for Linux and using a GTX 1060. However, when following the commands in the link above.

$ sudo apt-get install -y apt-transport-https curl
$ cat <<EOF | sudo tee /etc/apt/sources.list.d/cuda.list > /dev/null
deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /
EOF
$ curl -s \
 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub \
 | sudo apt-key add -
$ cat <<EOF | sudo tee /etc/apt/preferences.d/cuda > /dev/null
Package: *
Pin: origin developer.download.nvidia.com
Pin-Priority: 600
EOF
$ sudo apt-get update && sudo apt-get install -y --no-install-recommends cuda-drivers
$ sudo reboot

I am getting the following error when attempting the run $ nvidia-smi.

Command 'nvidia-smi' not found, but can be installed with:

sudo apt install nvidia-340
sudo apt install nvidia-utils-390

After attempting to install both of those packages, I am getting another error message, suggesting to try run apt --fix-broken install'. This however currently doesn’t change the behaviour shown above, when attempting to execute nvidia-smi (The full error message when trying apt --fix-broken install' is given below).

$ sudo apt install nvidia-340

Reading package lists... Done
Building dependency tree
Reading state information... Done
**You might want to run 'apt --fix-broken install' to correct these.**
The following packages have unmet dependencies:
 cuda-drivers : Depends: nvidia-440 (>= 440.64.00) but it is not going to be installed
 nvidia-440-dev : Depends: nvidia-440 (>= 440.64.00) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Should these commands work in Ubuntu 18.04 Windows subsystem for Linux with a GTX 1060?

This is really for the embedded Jetson systems, not for PC, and so you might want to post this under another forum. That particular error is about the GPU driver for Linux, and did not actually get to DIGITS yet, so I’ll suggest here:
https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148

However, I am skeptical that the Windows subsystem would provide direct GPU access, but perhaps it does. The reference to “nvidia-340” is the direct hardware access driver from NVIDIA to the GPU (and the “smi” is for PCI bus access to the hardware). You might use the “fix broken” steps and try to install it again (whatever results you get you will want to post in a forum such as the Linux forum rather than an embedded Jetson forum):

sudo apt update
sudo apt --fix-broken install

…then try installing nvidia-340.

Thanks @linuxdev, appreciate your help.

Ah apologies, I naively posted here as I’m trying to do some training on my PC for a Jetson Nano. I’ll make sure to post on the suggested site in the future.