Questions tagged [cuda]
CUDA stands for Compute Unified Device Architecture
979
questions
2
votes
0
answers
39
views
apt upgrade apparently "stuck" in a loop
Ubuntu 20.04.2
At the n-th sudo apt update && sudo apt upgrade I got the message that
The following packages were automatically installed and are no longer required:
nsight-compute-2022.2.0 ...
1
vote
1
answer
361
views
Unable to install CUDA on Ubuntu 22.04 WSL2
I was following the chain of commands provided here:
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&...
0
votes
1
answer
17
views
Slow boot time in ubuntu 18.04
My computer takes 130 seconds to boot. I have a
Dell Vostro 5568 ,
cpu : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
gpu : Nvidia geforce 940mx gpu with 4gb memory.
Is it reasonable for me to expect ...
1
vote
0
answers
53
views
Pairing versions of CUDA and cuDNN
The cuDNN archive specifies a CUDA version for every cuDNN version. For example, there are 4 types of cuDNN v7.5.1 for CUDA 9.0, 9.2, 10.0 and 10.1. Are these pairings strict? Can I for example, use ...
1
vote
0
answers
134
views
How can I install gcc-7 for Ubuntu 22.04?
I've just installed Ubuntu 22.04, and I'm struggling installing gcc-7. I've already tried with sudo apt install gcc-7 but it says there is no installation candidate. I tried to find a PPA for this ...
1
vote
1
answer
77
views
Different ways of installing CUDA on Ubuntu
In this blog post cuda is installed on Ubuntu 20.4 just by running:
sudo apt update && sudo apt install nvidia-cuda-toolkit
However, Nvidia's official instructions are different and contain ...
0
votes
1
answer
63
views
Can I make my program continue running even after I lock my screen?
I developed a program that needs to run for a long time (training an AI model). It works well, but the moment my screen get locked it stops with an error. The errors are multiple lines like those :
E ...
1
vote
1
answer
118
views
FFmpeg for Super Resolution : libtensorflow_framework Relink Error & vaSyncBuffer undefined symbol
I am trying to do Super Resolution with FFmpeg following this thread from Video Stackexchange : How do the super resolution filters in FFmpeg work ?.
SYSTEM :
Ubuntu 20.04
Nvidia 510 (verified using ...
0
votes
1
answer
258
views
Errors with NVIDIA drivers --"cannot determine support level" and "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver"
I bought a new laptop and installed Ubuntu 20.04 on it and would like to run my code on the GPU and not on the CPU. Unfortunately I have problems with it. I tried to install the driver (nvidia-driver-...
0
votes
1
answer
315
views
Getting GPU passthrough to work on WSL2 for windows 10
My Ubuntu install is not picking up my CUDA card. I have an GTX A5000. I ran through the following steps in section 4.2.6 from this tutorial:
wget https://developer.download.nvidia.com/compute/cuda/...
1
vote
0
answers
84
views
PyTorch does not see my available GPU on 21.10
I have CUDA 11.3 installed with Nvidia 510 and evertime I want to run an inference, I get this error:
torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available
This is my CUDA:
> nvcc --...
0
votes
1
answer
30
views
How to create a docker container from an image
I have the following image:
REPOSITORY TAG IMAGE ID CREATED SIZE
nvcr.io/nvidia/pytorch 18.04-py3 c3555fec4fe6 3 years ago 5.9GB
The goal is to use Ubuntu 18....
0
votes
1
answer
59
views
nvidia driver and cuda toolkit installed but gpu still unavailable
I installed the Cuda compiler and Cuda toolkit on my Ubuntu 20.04 LTS machine.
$nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:...
0
votes
2
answers
97
views
Ubuntu 20 clean installation failed to install Nvidia drivers [duplicate]
My computer is Dell XPS-15.
After clean installation, when trying to install Nvidia drivers, using Software Updater, or by installing packages from Nvidia site, with CUDA or without it, I am getting ...
0
votes
0
answers
62
views
Installing CUDA automatic reinstall Nvidia driver
I am using Ubuntu 20.04 with nvidia gpu. From driver list I can select nvidia driver version 510, but when I try to install cuda version 11.2 (new version is CUDA 11.6). During the install, it will ...
2
votes
1
answer
728
views
Force CUDA toolkit version 11.6 in Ubuntu 18.04, latest in repos is 9.1
I just installed cuda following instructions in nvidia site:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/...
3
votes
1
answer
2k
views
CUDA installation, uncomprehensible conflicts
SOLVED, the initial question and all of the error messages and attempts are below.
For those visiting this page in the future:
the accepted answer worked after all of the attempts I made and that you ...
0
votes
0
answers
131
views
Nvidia-smi no devices were found in VMWare Ubuntu 20.04.03 and RTX3060
I tried to install CUDA 11.6 on my Ubuntu 20.04.03 which is running on VMWare esxi based on the tutorial here : https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-...
0
votes
0
answers
32
views
Login time slow when monitors connected to GPU on. Ubuntu 18.04
When I have my monitors connected to my GPU, login time takes about 30 seconds, whereas if I plug them into the motherboard, this time is reduced to 7 seconds. The boot time is reasonable, and I would ...
0
votes
0
answers
75
views
devices.allow: operation not permitted: unknown
I am trying to use nvidia-container-toolkit to use the CUDA-enabled GPUs and corresponding NVIDIA drivers from the Docker container or to use CUDA inside the container in any other way without ...
0
votes
1
answer
80
views
Get rid of Xorg processes on Tesla card
I am running a Workstation with two GPU boards. One older AMD board connected to my screens and a Tesla K80 for CUDA development. After installing Kubuntu 21.10 I have some problems like kernel launch ...
0
votes
0
answers
88
views
cuda_kde_depth_packet_processor.cu:39:10: fatal error: helper_math.h: File or directory not found while trying to compile libfreenect2 on ubuntu 21.10
I want that my Kinect 2 is recognized as webcam on ubuntu 21.10 + nvidia driver 470.86 + cuda 11.4 :
marietto-BHYVE:/home/marietto# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) ...
2
votes
2
answers
134
views
I would like that my Kinect 2 is recognized by Ubuntu 21.10 as a webcam,but gcc 10 is not accepted for compiling libfreenect2 with nvidia 470+CUDA 11
Hello to every linux/ubuntu lover all around,
I'm trying to run my Kinect 2 on my Ubuntu 21.10. The commands that I've issued one by one are the following :
marietto-BHYVE:/home/marietto# nvcc --...
3
votes
1
answer
106
views
Dependency errors for any apt command
When attempting to install or remove packages I am running into an error something to do with cuda.
For example, installing curl (which I already have installed):
sudo apt install curl
Reading ...
0
votes
0
answers
104
views
Bazel finds no targets to be built for tensorflow
I'm trying to build Tensorflow with GPU support for Deepspeech because my CPU does not support AVX instructions. I have followed the instructions from https://deepspeech.readthedocs.io/en/latest/...
0
votes
1
answer
521
views
Is CUDA 11.5 compatible with Ubuntu 20.04 + Nvidia 470 driver + Geforce GTX Titan?
I can't seem to get CUDA 11.5 to work Ubuntu 20.04 + Nvidia 470 driver + Geforce GTX Titan. After installing this CUDA version and rebooting, a dual monitor system becomes reduced to a single monitor ...
0
votes
0
answers
182
views
getting error when running CUDA samples on ubuntu 20.04
I installed Cuda 10.4 toolkit and Cudnn on ubuntu 20.04.
Nvidia-smi shows a CUDA version of 11.4. However, nvcc -V command outputs not found.
When I run cuda samples, I recieve following message:
$ ...
2
votes
0
answers
317
views
How do I re-install nvidia driver and CUDA on ubuntu in a non-fresh-start environment?
I use 2080Ti, Here is what I did:
1: I installed a clean xubuntu 20.04 from scratch up.
2: I noticed the default driver is xorg driver, so I installed nvidia-driver-470 from
software & update >...
2
votes
1
answer
2k
views
Intel 12th GEN CPU in Ubuntu 18.04 LTC
I want to make a computer composed by Intel 12th GEN CPU(I9-12900), and need to install Ubuntu 18.04 version because of my special software.(only hardware upgrade)
Will this computer work properly? (...
1
vote
0
answers
135
views
Pytorch for very old GPU
I've got Nvidia Quadro 2000 1GB from year 2010. From Nvidia's CUDA legacy GPUs list i can see it supports compute capability of 2.1.
I found a CUDA compatibility manual with a table of "CUDA ...
0
votes
2
answers
540
views
Which CUDA version should I install? Do they have back compatibility?
This is the first GPU I am using and unfortunately, I am using Ubuntu 20.04 not easy easy Windows.
I want to use my GPU (Nvidia Quadro 2000 1GB GDDR5) for very basic machine learning models. I've got ...
2
votes
1
answer
109
views
Problems updating CUDA on 18.04 LTS (driver package conflict?)
I am trying to upgrade my CUDA install on Ubuntu 18.04 LTS - more specifically, I am following the instructions provided by the TensorFlow documentation here (I followed these instructions for the ...
0
votes
1
answer
3k
views
docker: unrecognized service when installing CUDA
WSL2 Ubuntu 20.04.3 LTS
kernel image: 5.10.60.1-microsoft-standard-WSL2
I am trying to install CUDA according to the instructions here: https://ubuntu.com/blog/getting-started-with-cuda-on-ubuntu-on-...
2
votes
1
answer
130
views
Jetson Nano Unmet dependency after CUDA installation
I have tried to install CUDA 11 on Jetson Nano 4G
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/sbsa/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/...
0
votes
0
answers
166
views
Can't properly install cuda and cuDNN
I have big troubles to install cuda and cuDNN to be able use my GPU with machine learning library.
TLDR;
Help me install cuda and cuDNN to work with my configuration.
Long Version
I finally success ...
0
votes
0
answers
170
views
CUDA toolkit seems intal but tensorflow don't see GPU
I have a laptop with an RTX3060, I use tensorflow >= 2.6.0 on ubuntu 20.04.
I have installed nvidia drivers version 495.44
I installed dependencies following tensorflow tutorial.
I have installed ...
0
votes
0
answers
203
views
the ways to install nvidia driver and cuda
I want to install nvidia driver and cuda and cuDNN. I am using ubuntu 18.04.6 LTS. I'd like to run deep learning algorithms.
I am a little confused with the ways of installation. Could you help me ...
4
votes
1
answer
2k
views
Problem with installing CUDA Toolkit on Ubuntu 21.10
I successfully installed CUDA Toolkit by following the process mentioned on the official site. But during installation, it also upgrades the Nvidia drivers. Currently nvidia-driver-390 is working but ...
2
votes
1
answer
402
views
Can't make GeForce RTX 3080 Mobile / Max-Q 8GB/16GB communicate with NVIDIA driver despite CUDA compatible GPU, Ubuntu version & latest Nvdia driver
I have a GP66 Leopard with this GPU:
anto@anto-GP66-Leopard-11UH:~$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev ...
1
vote
0
answers
475
views
nvidia-smi - No devices were found - Ubuntu 20.04
Ubuntu 20.04.3 LTS
Have 1 Nvidia GPU
Installed Nvidia drivers and CUDA 11.2
UserA has "sudo" capability i.e. in group "sudo"
UserB is a normal user
UserC is in group "...
0
votes
0
answers
2k
views
No /usr/local/cuda/ directory after Cuda installation
I have installed Cuda with this command:
$ sudo apt install nvidia-cuda-toolkit gcc-10
and then checked the version with:
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (...
0
votes
1
answer
141
views
Lubuntu 21.04: Install CUDA
I need to install CUDA (and later cuDNN) on Lubuntu 21.04.
I have updated to NVIDIA drivers (my GPU is a legacy one so I am using NVIDIA 390 drivers) and now am trying to install CUDA but cannot. I ...
3
votes
0
answers
492
views
nvidia-cuda-toolkit ? not compatible with nvidia-495 driver
When trying to install nvidia-cuda-toolkit (on ubuntu 21.10 with the nvidia-495 diver) I am asked to remove the nvidia driver. Why?
~> sudo apt install nvidia-cuda-toolkit
Reading package lists... ...
0
votes
0
answers
47
views
Getting fix-broken-install and can't install anything (CUDA libs) [duplicate]
I have attempted to install Sox with apt-get install sox, and I get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want ...
0
votes
0
answers
22
views
Server cannot start Login module after CUDA install
I got an Ubuntu 20.04 server with some GPU's on it, I'm trying to install NVIDIA Drivers and started with NVIDIA CUDA Toolkit, used their official documentation to install it and when finished, I ...
0
votes
0
answers
731
views
Unable to run Tensorflow model with CUDA on Ubuntu 20.04
I have been trying to install CUDA for the past few days to fit my Tensorflow CNNs.
Right now is installed on my machine (Ubuntu 20.04 LTS, RTX3060):
tensorflow-gpu 2.4
python 3.8.10
cuDNN 8.0
CUDA 11....
0
votes
0
answers
68
views
Ubuntu inconsistant GPU informations
I have been trying for a few hours to install CUDA for tensorflow-gpu. I felt like the thing was up and runnning but I had an error when fitting a simple CNN. I checked my GPU as it seemed to be an ...
0
votes
1
answer
197
views
Can't install nvidia-cuda-toolkit
Ubuntu 20.04 x86_64
GeForce GT 730
Cuda 10.1
Can I install tensorflow gpu with my system ?
After running sudo apt install nvidia-cuda-toolkit get this error
Reading package lists... Done
Building ...
0
votes
0
answers
102
views
Can't install updates after I failed to install tensorflow
Ubuntu 20.04 x86_64
GeForce GT 730
Cuda 10.1 (checked before installing tensorflow, using nvcc --version worked, but now doesn't)
After I tried to install tensorflow and I failed first I couldn't ...
0
votes
1
answer
274
views
inconsistent CUDA toolkit path /usr vs /usr/lib, tensorflow build from source
When I use the default tensorflow build I get Illegal instruction core dumped error.
Based on my research https://stackoverflow.com/questions/60858317/how-to-fix-illegal-instruction-core-dumped & ...