Questions tagged [cuda]
CUDA stands for Compute Unified Device Architecture
1,089
questions
1
vote
2
answers
211
views
CUDA can't be installed or uninstalled and dkpg can't install anything
When I do sudo apt --fix-broken install
Errors were encountered while processing:
/tmp/apt-dpkg-install-6CZ1pM/00-cuda-cudart-11-0_11.0.221-1_amd64.deb
/tmp/apt-dpkg-install-6CZ1pM/01-cuda-...
1
vote
1
answer
678
views
How does one make a GPU in a brand new ubuntu 20.04 VM usable?
I've been trying all day to have this (v100) GPU working on a new ubuntu VM. I tried installing the drivers and rebooting and also purging/uninstalling everything to do with nvidia but none of these ...
2
votes
1
answer
5k
views
How do I install cuda for Ubuntu studio 21.04?
OS: Ubuntu studio 21.04.
GPU: GeForce GTX 980
It's an operating system that has pre-installed software like the animation software called blender.
I downloaded the operating system here: https://...
1
vote
0
answers
625
views
TensorFlow GPU could not load cuda libraries on PyCharm
I'm having a hard time trying to get the things work with TensorFlow, nvidia and PyCharm. Basically, I had followed the pre/post steps during installation process and ended up with:
eric@xps:~$ gcc --...
0
votes
0
answers
326
views
Wipe clean all the packages and drivers related to cuda and nvidia and start fresh
I'm using an old HP laptop(about 6 years old). It does not support tensorflow above 2.2 due to some compute capability and micro-architecture issues. With some tricks I installed tf2.2.0 on my ubuntu ...
0
votes
1
answer
2k
views
cuda 10.1 installation gives E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm trying to install cuda 10.1 in my ubuntu 20.04 system. I looked this up on the official nvidia website. However, the cuda version that I need is not available for ubuntu version I have. So, I ...
0
votes
1
answer
4k
views
Ubuntu 20.4 Asus Tuf Dash F15 Nvidia Driver Hung on Boot
I have installed a fresh version of Ubuntu 20.4 on my band new Asus Tuf Dash F15 laptop. Then I went into the software update settings and switched the driver to nvidia-460 proprietary using the GUI. ...
0
votes
0
answers
382
views
Internal SSD not detected whle on 'Try Linux'
Currently running a windows laptop but needed to perform some CUDA computation on the GPU which can only be done on Linux. I created the boot image on the USB as per the instructions on the Ubuntu ...
1
vote
0
answers
266
views
nvcc/gcc broken in Ubuntu 20.04/21.04: how to patch gcc (installed via apt)?
Question: What is the step-by-step solution to apply a gcc patch, in particular when it is installed via apt? (I want to apply the one mentioned here)
I tried following multiple guides on how to patch ...
0
votes
0
answers
10k
views
Nvcc is not found while cuda is installed
I'm trying to get nvcc working, but it seems that it's not even installed on my system. Although I have installed cuda-10.2 when installing pytorch with conda, but there's no mention of nvcc at all ...
0
votes
0
answers
511
views
Black screen after installing CUDA, UBUNTU 20.04
Hi can anyone help me please? I got a black screen after installing nvidia cuda drivers.
UBUNTU 20.04, kernel 5.8.0-55-generic
NVIDIA-SMI 465.27
Driver Version: 465.27
CUDA Version: 11.3
20gb of RAM, ...
3
votes
0
answers
382
views
CUDA uninstallation, removing package not possible [duplicate]
On my dev system (Kubuntu 20.04) I just installed CUDA 11.3. After checking the installation, I found some older CUDA packages installed, which are remainders from experiments some time ago. That CUDA ...
0
votes
1
answer
953
views
How to install Cuda Toolkit Version 11.1 on Ubuntu 20.04?
I am trying to install cuda toolkit version 11.1 on Ubuntu 20.04 because a neural network I'm using is only compatible with cuda version 11.1, however, the latest version is 11.3. Is there anyway I ...
1
vote
1
answer
6k
views
Nvidia on WSL2 still not working
I am trying to get my GPU recognized by WSL2. I have followed this guide, looked at the reply to this post, ran through multiple other tutorials and I still cannot get my GPU connected. When I run the ...
2
votes
3
answers
14k
views
How to find out CUDA cores and information on command line for NVIDIA GPU
Simply put, I want to find out on the command line the CUDA compute capability as well as number and types of CUDA cores in NVIDIA my graphics card on Ubuntu 20.04.
Any suggestions? I tried nvidia-smi ...
0
votes
1
answer
170
views
How to 'freeze' my running tensorflow with cuda installation
Using the tag [tensorflow], there are plenty of problems on this page from people who try to get their installation running.
I managed to install tensorflow with a GPU backend using this installation (...
1
vote
1
answer
5k
views
CUDA 11.3 installation failure on Ubuntu 18.04
I have installed Ubuntu desktop 18.04 on HP laptop with nVidia graphics card GM107GLM [Quadro M2000M]:
$ sudo lshw -C display
*-display
description: VGA compatible controller
product: GM107GLM [Quadro ...
3
votes
1
answer
8k
views
Setting up tensorflow-GPU Conda environment with CUDA 11.2 and cuDNN 8.1-8.2 (CUDA 460 Driver
I am trying to create a conda environment for tensorflow-GPU. I have a GeForce RTX 3080, running Ubuntu 21.04 with the CUDA 460 driver installed (secure boot disabled). I tried to install cudatoolkit ...
3
votes
1
answer
3k
views
Ubuntu 20.04 use Intel for graphics and NVIDIA GPU for CUDA
I am trying to configure Ubuntu 20.04 to use the integrated Intel graphics for xorg and leave the NVIDIA GPU as free as possible to CUDA programs. Such that nvidia-smi shows no process using the GPU.
...
1
vote
0
answers
2k
views
how to install cuda 10.2 or cuda 11 for ubuntu 16.04
I want to install cuda 10.2 or cuda 11.1 on my machine with ubuntu 16.04.
My aim is to run my pytorch code on the GPU and it requires these cuda versions.
Currently, I have a cuda 8 which I checked ...
0
votes
0
answers
4k
views
nvcc -V not found with CUDA installed
I am running the docker image nvidia/cuda:11.2.2-base-ubuntu20.04. When I run the command nvidia-smi, looks like CUDA is already installed as it prints:
Fri Apr 30 11:00:48 2021
+---------------...
0
votes
0
answers
3k
views
installing cuda 11.3 on Ubuntu 18.04
I tried to install cuda 11.3 on Ubuntu 18.04 according to Driver Version: 465.19.01, using guide installation in the official website, when I finished running and tried this command nvcc --version ...
2
votes
1
answer
1k
views
Trying to install cuda on ubuntu 20.04
I want to install cuda for my course project, and I have a graphics driver version of 340.108 with nvidia GeForce GT 9800. I know that a higher version of the graphics driver is needed from this error ...
2
votes
0
answers
486
views
/bin/sh: 1: :/usr/local/cuda-11.0/bin/bin/nvcc: not found
when i used nvidia-smi i got the version of cuda is 11.0 but I checked the path /usr/local and found /cuda11.1
i got an error when I installed mmcv package
/bin/sh: 1: :/usr/local/cuda-11.0/bin/bin/...
4
votes
1
answer
4k
views
Possible to install distinct drivers for two dissimilar nvidia GPUs on Ubuntu 20.04?
I have had a Geforce GTX 470 in my ubuntu rig for some time. I was unable to get it working with CUDA because apparently nvidia dropped support for old Fermi cards. Note that I tried uninstalling/...
2
votes
2
answers
11k
views
apt-broke after trying to install cuda [duplicate]
Ubuntu version: 18.04
Apt version: 1.6.13
I attempted to install a different cuda toolkit, and in doing so may have irrevocably broken apt. I believe the problem has nothing to do with cuda however, ...
0
votes
0
answers
784
views
CUDA installation gone wrong on a fresh Ubuntu installation (dependency problems)
I'm sorry it's come to this. I normally don't like to just dump such a specific problem onto here. But I've been at this for many hours.
I just installed a fresh Ubuntu 20.04 with minimal applications ...
2
votes
1
answer
2k
views
Can I decouple Nvidia driver and CUDA installation?
Like others, I've been very confused about instructions for how to install a specific CUDA version for the purposes of deep learning.
Today's main deep learning libraries (Tensorflow and PyTorch) don'...
4
votes
1
answer
7k
views
RuntimeError: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES
I am trying to check the GPU device name but after executing this code. I got this unknown runtime error. please help me to solve this problem and give complete instructions to solve this error. ...
1
vote
0
answers
147
views
Pytorch on CUDA in Ubuntu
total beginner here, with a few questions.
My setup:
GPU: GeForce GTX 1650
GPU Driver 430.09 (suggested by nvidia homepage)
Ubuntu 20.04
Goal:
Make any Pytorch Version run on my GPU
Questions:
...
0
votes
0
answers
176
views
/dev/sda5: clean, files ..., blocks.... AND PCIe Bus Error: severity=Corrected after nvidia-driver install
I have Dell laptop with Nvidia Quadro 620M with Ubuntu 20.04.2 (along some remnants of Windows) with kernel 5.8.0-48.
After installing Nvidia drivers the system won't boot: it does not reach the login ...
0
votes
0
answers
343
views
How to install gcc 5.3.1 in Ubuntu 18.04 LTS
I want to install CUDA 8 in my Ubuntu 18.04 which needs gcc 5.3.1. If I use sudo apt install gcc-5.3 g++-5.3 then it gives me the following error:
Reading package lists... Done
Building dependency ...
6
votes
0
answers
17k
views
Downgrading CUDA without changing NVIDIA driver version
I'm struggling to downgrade my current CUDA version. I am using Ubuntu 20.04 LTS with NVIDIA GeForce RTX 3070 GPU, 460 drivers and CUDA 11.2. I am using tensorflow 1.13.1 as part of a machine-learning ...
1
vote
0
answers
313
views
Ubuntu 20.04 breaks periodically cuda 11.0
Installed the Ubuntu 20.04 system. GPU driver 450.102.04 and cuda toolkit 11.0. cudnn packages are not installed. The computer works around the clock, processing data on GPU cores. A periodic error ...
0
votes
0
answers
43
views
Delete an inconsistent package fully
I was installing Cuda toolkit using these instructions. But my root partition had very less amount of memory and I had to stop the installation process using ctrl+c. Now the package became ...
0
votes
1
answer
733
views
Which version for correct Nvidia setup for Ubuntu 20.04?
Trying to install latest Nvidia/CUDA after update, the drivers tool points to 340.108 (proprietary, tested) but I try installing cuda Ubuntu packages... Now I get
$ sudo apt --fix-broken install
...
0
votes
0
answers
4k
views
Installing CUDA 11.1 on Ubuntu 20.04 for NVIDIA GeForce 1650 Ti (notebook)
I purged everything related to cuda/nvidia and installed the nvidia driver for 1650 Ti (notebook) from scratch from NVIDIA Website and again it installed cuda 11.2 for me while I do need CUDA 11.1 for ...
0
votes
1
answer
968
views
How can I install CUDA on Ubuntu 20.04 to a Dell XPS-15-9570 with GeForce GTX 1050 Ti Mobile?
I have a hard time installing CUDA on my Ubuntu 20.04 with Nvidia GTX 1050 Ti. I needed to install CUDA Toolkit 11.1 as it was recomended for Blender 2.92 here
https://wiki.blender.org/wiki/...
1
vote
0
answers
932
views
Compile cuda-toolkit to work with nvidia-driver-460
nvidia driver v460 is compatible with cuda toolkit 11.2, i have installed cuda-toolkit 11.2 but when i do nvcc --version i get:
vcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA ...
1
vote
1
answer
2k
views
NVIDIA driver and Xserver do not work together
This is a question on a topic that has, in different variations, been asked already. However, since none of the answers I found was applicable to my problem, I will first outline the problem and then, ...
0
votes
2
answers
1k
views
Why don't the Nvidia official instructions to install CUDA 11 on Ubuntu 16.04 work?
I am following the Nvidia official instructions to install CUDA 11 on Ubuntu 16.04.7 LTS x64 don't work:
apt-get update && apt-get upgrade
wget
http://developer.download.nvidia.com/compute/...
0
votes
2
answers
4k
views
PyTorch on Ubuntu RuntimeError: CUDA error: all CUDA-capable devices are busy or unavailable
I attempted to build PyTorch from source as recommended.
Specs: GPU: GT 710, Driver 460.32.03, CUDA 11.2, Python 3.8.5.
Test:
import torch
print(torch.__version__) -- 1.7.1
print(torch.cuda....
2
votes
6
answers
10k
views
Blender can not detect my GPU
My blender preferences say, "No compatible GPUs found for path tracing, Cycles will render on CPU" for CUDA.
Some relevant info:
Blender version: Blender 2.82 (sub 7)
Processor: Intel(R) ...
4
votes
1
answer
8k
views
Out of memory: Killed process
I got from dmesg
Out of memory: Killed process 24502 (python) total-vm:19568804kB, anon-rss:14542148kB, file-rss:4kB, shmem-rss:0kB, UID:1000 pgtables:31232kB oom_score_adj:0
How can I increase the ...
0
votes
1
answer
1k
views
Not able to fix broken installation [duplicate]
I am unable to install any new software on ubuntu due to a broken installation. I tried the following commands to try to fix it:
$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/lib/dpkg/lock
$ sudo ...
1
vote
1
answer
8k
views
Help installing Nvidia CUDA on WSL2
I'm trying to follow this guide but it's not working. https://docs.nvidia.com/cuda/wsl-user-guide/index.html#known-limitations
System requirements met:
cat /proc/version
Linux version 5.4.72-microsoft-...
0
votes
0
answers
406
views
how to make nvidia/cuda/tensorflow/keras installation work
I have recently started setting up an environment to begin Machine Learning. I have Win10, an i9 processor, GeForce GTX 1650. I had Ubuntu 20.04.1 LTS, and installed vcxsrv. I was able to install ...
1
vote
0
answers
110
views
Ubuntu 18.04 LTS Nvidia MX150 stopped working after a kernel upgrade
I have searched the forums and googled. I have tried many different permutations of kernels and nvidia drivers but unable to make Nvidia Mx150 work with Ubuntu 18.04 LTS.
My system was working fine ...
1
vote
1
answer
1k
views
A problem when Installing the Nvidia, Cuda on Ubuntu 16.04, and with upgrading the Ubuntu
I'm facing a problem with installing Nvidia. I have tried many solutions but none of them is working. Even, I can not open the Software Updater.
#Python 3.7.4
#tensorflow-gpu 2.2.0
import tensorflow ...
5
votes
1
answer
11k
views
Changing Tensorflow PTXAS location
I am currently trying to custom train a neural network using tensorflow 2.4.0 with a RTX 3070 running CUDA 11.0 and and CUDNN 8.
I am having this wierd issue where I can train the model, but I can't ...