Questions tagged [cuda]

CUDA stands for Compute Unified Device Architecture

509 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
1 answer
1k views

Black screen on boot when any NVIDIA drivers installed

I have a machine with Ubuntu GNOME 15.10 and an NVIDIA GTX 970 graphics card. For the last few months it was working fine with NVIDIA driver 352.63 and CUDA 6.5 installed, however I recently tried ...
mxbi's user avatar
  • 220
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 ...
Nejc Kejzar's user avatar
6 votes
1 answer
7k views

Getting CUDA 8.0 to work on Ubuntu 16.04, NVIDIA driver issue

I've spent a couple of days on this and am at my wit's end as to how to move forward. I have an ASUS Zenbook UX303UB with Windows 10 and Ubuntu 16.04 Dual boot. It has an NVIDIA GeForce 940M ...
mwolverine's user avatar
6 votes
0 answers
583 views

Using CUDA with nvidia optimus in Intel mode (14.04)

I'm using a Thinkpad T430 with a NVS 5400M and an integrated Intel HD card. Since it's not possible to use cuda-gdb when the nvidia card is used for video output, I tried to use CUDA while in Intel ...
user275522's user avatar
5 votes
0 answers
20k 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 (...
Adam's user avatar
  • 51
5 votes
1 answer
3k views

cuda unmet libraries but not going to be installed

I run into problems with cuda/nvida installation dependencies. Here's my nvcc --version $ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2015 NVIDIA Corporation Built on ...
Matias Andina's user avatar
5 votes
0 answers
3k views

Nvidia-smi command not found after installing using CUDA Toolkit

I have installed Nvidia CUDA Toolkit version 9.1 which includes the drivers as well and I am able to get output from: $ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2017 ...
Dhruv Marwha's user avatar
5 votes
0 answers
917 views

Disable One GPU with NVIDIA CUDA 8.0 on Ubuntu 16.04

I have been having trouble with my GPUs lately. I just did a clean wipe of my machine and installed Ubuntu 16.04 and CUDA 8.0 on it, hoping that would fix the problem. However, I still get errors. ...
Stephen Phillips's user avatar
5 votes
0 answers
838 views

Installed Cuda toolkit 7.5, but libcudart.so.5.5 remains

After installing Cuda Toolkit 7.5 on Ubuntu 14.04 (via apt-get of .deb file, followed by update of nvidia driver to 352.63), nvcc --version, NVidia-smi, and cuda samples work as expected. 7.5 is ...
user1823664's user avatar
5 votes
1 answer
3k views

How to use Nouveau for graphics and NVIDIA GPU for only CUDA programs on Optimus notebook?

I am using a notebook with a Intel i7 (with its own GPU) and a NVIDIA GPU. On Windows, the notebook uses Optimus to switch between the GPUs intelligently. I am using Ubuntu 14.04 and I installed CUDA ...
Ashwin Nanjappa's user avatar
5 votes
1 answer
11k views

Installing proprietary NVIDIA driver for Geforce 9600 GT on Ubuntu 14.04

I would like to use CUDA on my Ubuntu machine with the graphics card NVIDIA Geforce 9600 GT. Installing CUDA is no problem but in order to run any CUDA code I need to install the proprietary NVIDIA ...
user279703's user avatar
4 votes
0 answers
1k views

GPU performance is very low on Ubuntu installed on a laptop

Introduction I'm having trouble with the GPU speed on Linux installed on xps17. I have two SSDs set up on my XPS, with SSD1 has still Windows and Linux installed on SSD2. The GPU is performing well on ...
Mutsuyuki  Tanaka's user avatar
4 votes
0 answers
751 views

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver

wsl 4.19.121 ubuntu 18.04 cuda-toolkit 11.0 nvidia driver: 460.15 I’ve followed the steps in this tutorial https://docs.nvidia.com/cuda/wsl-user-guide/index.html But when I finished and called ‘nvidia-...
user2236600's user avatar
4 votes
0 answers
1k views

Python importing tensorflow returns "Invalid MIT-MAGIC-COOKIE-1 key"

I am a linux newcomer trying to set up tensorflow with GPU for Python on Pop!_os 20.04. I tried using the proposed Pop!_os apt packages for this but they didn't work for me. After a lot of struggle on ...
pabsan-0's user avatar
3 votes
0 answers
565 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... ...
user63726's user avatar
  • 714
3 votes
1 answer
5k views

Installing cuda 8.0 in ubuntu 20.04

I have been trying to install cuda 8.0 in ubuntu 20.04. I used the documentation provided in: https://developer.nvidia.com/cuda-80-ga2-download-archive I tried with both the deb(local) and deb(network)...
Tara Mishra's user avatar
3 votes
1 answer
2k views

How to use 2 displays with integrated graphics and Nvidia for cuda?

I've spent most of the last days trying to setup cuda on my PC. I own a MSI GE63VR with a Geforce 1070 which I desire to use for Machine Learning computing with cuda. My PC has a dualboot ubuntu 18.04 ...
Statistic Dean's user avatar
3 votes
0 answers
8k views

Unmet dependencies error while removing NVIDIA drivers/files

System information: Ubuntu 18.04 LTS ACER E5-573G NVIDIA GeForce 940M I am trying to download nvidia drivers, CUDA toolkit and cudnn files to use tensorflow with the GPU. I managed to download CUDA ...
Winbuntu's user avatar
3 votes
0 answers
3k views

Issue with Ubuntu 18.04 and CUDA 9.1

I follow the instruction in https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#mandatory-post. At the step "2.6. Download the NVIDIA CUDA Toolkit", there is not a option ...
MyLocal's user avatar
  • 31
3 votes
0 answers
3k views

CUDA symlinks not working

I'm trying to install CUDA on Ubuntu using this guide by @B0rk4: How can I install CUDA 9 on Ubuntu 17.10 The relevant section is to create a symlink for gcc & g++: sudo apt install gcc-6 sudo ...
Tony Merryfield's user avatar
3 votes
0 answers
7k views

How do I install gcc 5.3 on ubuntu 17.04?

The reason I need gcc 5.3.1 or older is because CUDA 8 does not support anything newer yet. Its very similar to this question but not the same. Initially I tried: sudo apt-get install gcc-5 But ...
startoftext's user avatar
3 votes
0 answers
8k views

nvidia-smi: command not found on Ubuntu 16

I installed CUDA with sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb sudo apt-get update sudo apt-get install cuda I then tried sudo add-apt-repository ppa:graphics-drivers/ppa ...
user5739619's user avatar
3 votes
1 answer
2k views

Can't log in after installing CUDA toolkit

I have latest version of Ubuntu 16.04 and I installed latest version of Cuda Toolkit 8.0. After install Cuda Toolkit, I am stucked on login screen and I can't login into Ubuntu with my password. Is ...
Revolt's user avatar
  • 31
3 votes
1 answer
1k views

How to install Nvidia driver for CUDA only in Ubuntu 16.04?

I would like to install Nvidia driver for CUDA only and use nouveau driver or Intel GPU for display (seems Nvidia driver has some issues with OpenGL). Both Nvidia driver and CUDA toolkit are available ...
D. Ca's user avatar
  • 31
3 votes
0 answers
2k views

Installing CUDA 7.5 on Kubuntu 15.10 x64

I'm having issues installing on Kubuntu 15.10 x64, with two Nvidia GTX 690 cards. I tried: # Install Nvidia drivers sudo apt-get purge nvidia* sudo apt-get update sudo apt-get install nvidia-340 ...
Franck Dernoncourt's user avatar
3 votes
1 answer
893 views

Upgrade nvidia-settings on Ubuntu 14.04

I'm installing cuda. Among the dependencies, I have to upgrade my version of nvidia-settings 346.72 to be >= 352.39: The following packages have unmet dependencies: cuda-drivers : Depends: nvidia-...
errolflynn's user avatar
3 votes
0 answers
800 views

Can't get NVIDIA Driver or CUDA working on Optimus laptop

I have an acer aspire V5-573G which comes with a NVIDIA OPTIMUS chipset and 750M gfx card. I have a fairly fresh install of 14.04 and I have tried a number of things to install driver and CUDA. In the ...
bangeneticalgorithms's user avatar
3 votes
0 answers
2k views

Nvidia drivers do not work after update on 14.04

I have Ubuntu 14.04 and an Nvidia GT540M. I had also installed CUDA and it was working fine. Last week I installed some updates and I experienced some problems and I had to remove the Nvidia drivers ...
Grey's user avatar
  • 161
3 votes
0 answers
1k views

Use integrated Intel Graphic card for display and Tesla for Cuda

I have a Tesla C2050 and an integrated graphic card Intel Xeon E3 1200. What I want to do is to use the Intel card for the screen and the Tesla card for doing cuda calculations. I have installed cuda ...
El_Loco's user avatar
  • 159
3 votes
0 answers
180 views

Limiting GPU cards in a sandbox type enviorment

I am designing a server that will run student's cuda/c++ code. The server will have multiple GPU cards so that multiple programs can run at once. I would like to break up the computer in to ...
Michael's user avatar
  • 131
3 votes
2 answers
2k views

nvidia-smi stops working after reboot ununtu 18.04

I have Ubuntu 18.04 installed on ASUS laptop with GEFORCE 940MX GPU card. I have tried everything using proprietary drivers or using NVIDIA run file to install cuda drivers. Finally, I was able to ...
Mandar Kulkarni's user avatar
2 votes
1 answer
4k views

CUDA on Ubuntu 23.04

Installed Ubuntu 23.04 (because it worked with my RTX 4090 out of the box, after problems with 22.04). Now I want to install CUDA. I followed this guide- CUDA preinstallation steps I installed the ...
nanuuq's user avatar
  • 21
2 votes
1 answer
311 views

render error in openai gym

I am currently running on Ubuntu WSL and i have installed nvidia drivers and still suffering with errors 2023-04-03 09:45:48.057924: I tensorflow/core/platform/cpu_feature_guard.cc:193] This ...
Nugget's user avatar
  • 21
2 votes
0 answers
338 views

How can I reserve my GPU for only executing Python scripts?

I'm on Ubuntu 22.04 trying to run a PyTorch script and get torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 3.81 GiB total capacity; 3.18 GiB already allocated; 80....
dextervex's user avatar
2 votes
0 answers
533 views

Ubuntu 20.04 CUDA 11.3 installation problem

I have a problem with CUDA 11.3 installation, I have followed official CUDA installation guide from nvidia step by step, several times, I've also tried different nvidia drivers. But no matter what i ...
bruno_junakovic's user avatar
2 votes
1 answer
6k views

How do I install CUDA development headers on Ubuntu 22.04?

I tried installing the recommended Nvidia driver using the "Additional Drivers" control panel. This results in CUDA being installed according to nvidia-smi, but cuda.h is missing. Normally I ...
Alistair Buxton's user avatar
2 votes
0 answers
1k views

Installing CUDA and NVIDIA driver on Kubuntu 22.04 from distribution repositories

I switched from Kubuntu 21.10 to 22.04 and tried to install CUDA and NVIDIA drivers as before: sudo apt install nvidia-driver-470 # driver sudo apt install nvidia-cuda-toolkit # cuda This worked ...
Silicomancer's user avatar
2 votes
0 answers
7k views

Cuda 10.1 on Ubuntu version 22.04 installation

After installing the last released Nvidia driver (418.226), I see "Cuda version 10.1" in nvidia-smi command (first snapshot). I guess it means I have to install Cuda version 10.1, based on ...
Aref Hemati's user avatar
2 votes
0 answers
832 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 ...
Andyc's user avatar
  • 228
2 votes
0 answers
3k 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 ...
Othon Gonzalez's user avatar
2 votes
0 answers
1k 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 >...
Westack's user avatar
  • 131
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 ...
Srikar Siddarth's user avatar
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/...
user3188912's user avatar
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'...
Alexander Soare's user avatar
2 votes
0 answers
4k views

Gnome-shell keeps crashing (logs says :Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation)

I had installed Ubuntu 20.04, which kept crashing randomly. Searching it up on google, tried all the solutions but didn't work. What I was able to assume is that most common problems point to graphics ...
PatXio's user avatar
  • 21
2 votes
0 answers
732 views

On Ubuntu and in hardware is it possible to extend GPU DRAM with CPU RAM

I am doing machine learning on an Nvidia 2080TI GPU using PyTorch. It has 11GB of DRAM and I have 32GB of CPU RAM. I have to carefully tune my batch to fit inside 11GB. Using CUDA unified memory I ...
Lars Ericson's user avatar
2 votes
0 answers
422 views

Ubuntu 18.04 Tensorflow/keras installation issues, Can someone help?

I'm very interested in Neural Networks and currently trying to install and get tensorflow and keras running. Of course I want to run all the training on my GPU but something is weird with my ...
Bernhard Vonbank's user avatar
2 votes
1 answer
8k views

CMake Error - CUDA_cublas_LIBRARY not found

I am trying to install this https://github.com/NVlabs/ssn_superpixels but get the error below. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set ...
Kong's user avatar
  • 1,221
2 votes
0 answers
2k views

UBUNTU 18.04 Unable to determine the device handle for GPU 0000:00:04.0: Unknown Error

My gpu stopped working all of a sudden. nvidia-smi -a Unable to determine the device handle for GPU 0000:00:04.0: Unknown Error cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel ...
Emilia Stoica's user avatar
2 votes
0 answers
561 views

GPU has fallen off the bus

After I added additional Nvidia 1080ti and run training neural network, I got such error. GPU 0000:0a:00.0: GPU has fallen off the bus. After rebooting, I can't run neither nvidia-smi command, nor ...
Slavka's user avatar
  • 21

1
2 3 4 5
11