Questions tagged [cuda]
The cuda tag has no usage guidance.
53
questions
0
votes
1
answer
18
views
Ubuntu 22.04, Dual graphic cards, Intel for display, NVidia for GPGPU, how to setup?
My laptop got 2 graphics cards, something very similar to: https://www.linuxbabe.com/desktop-linux/switch-intel-nvidia-graphics-card-ubuntu .
I would like to have Intel graphic card for display ...
0
votes
0
answers
42
views
Cuda installation, conflicting nvidia drivers seem to not exist
I am a relatively new Linux user getting an error about conflicting nvidia drivers when installing cuda on Centos 7:
Error: nvidia-driver-latest-dkms-libs conflicts with nvidia-x11-drv-libs-515.48.07-...
0
votes
0
answers
195
views
CUDA 11.7 failing to install on Debian sid
I'm trying to install CUDA 11.7 (the latest) on Debian sid using the NVIDIA-recommended method, but am running into the following errors:
$ uname -a
Linux foo 5.17.0-1-amd64 #1 SMP PREEMPT Debian 5.17....
0
votes
1
answer
39
views
How can update my broken CUDA packages?
How I can fix the following problem? I want to update both these CUDA packages.
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
...
0
votes
0
answers
85
views
Contradiction in GPU numbering of `$CUDA_VISIBLE_DEVICES` and `nvidia-smi` when MIG is active
My aim is very simple. We have multiple GPUs on each node. However, if I allocate only two GPUs for me. nvidia-smi or nvidia-smi -L shows a list of all GPUs including those being used by others and ...
0
votes
1
answer
44
views
Clearing apt-cache policy version table to prevent the installation of newer versions
I am trying to install a specific package , CUDA for Nvidia to be exact. I followed the steps in their developer guide and my question is not about CUDA specifically. When I try to install it with APT ...
0
votes
0
answers
100
views
Set Environment Variables in launch.json for CUDA Debugging When Using Nsight Visual Studio Code Edition
I am developing a CUDA application in vs code and would like to debug it with cuda-gdb, which is integrated in nsight visual studio code edition as an IDE. One requirement in using nsight visual ...
0
votes
0
answers
51
views
How to debug C++/CUDA code built into a shared Library and loaded by a python script in VS Code
I am debugging a CUDA function registered as tensorflow custom op and executed in a tensorflow session. The CUDA code is a simple GELU kernel with its launching wrapper:
#ifndef GELU_KERNEL_
#define ...
1
vote
1
answer
50
views
Installation of iMod on CentOS 7
I'm trying to create a shell script that installs a series of things for me. One such thing is iMod. I've located self-installing shell script for iMod and have run the following commands on my bash ...
0
votes
0
answers
25
views
Using Nsight Systems in Singularity Container
Recently, I tried to profile a multi-process application using Nsight Systems within a singularity container. The command I used within the container is “nsys profile -o SOME_DIR APP_COMMAND APP_ARGS”....
0
votes
0
answers
108
views
NVRM: None of the NVIDIA graphics adapters were initialized!
I am trying to run a TensorFlow deep learning model on image segmentation.
I get an error during training:
Could not load dynamic library 'libcudart.so.11.0' and I then checked and found out that '...
0
votes
0
answers
23
views
Failing to install NVIDIA driver after it previously having worked
I'm working on a CentOS 7 machine, on which NVIDIA's drivers were installed recently (alongside with CUDA 11.4). The installation went fine. A few days later, however, the system was failing to load ...
1
vote
0
answers
29
views
how to run cuda-uninstaller without interaction?
the cuda-unintaller does not have any help message. I try to use -s or --silent but it does not work. I do not want to run the uninstaller on all machines manually and select the components to ...
0
votes
0
answers
24
views
CUDA_VISIBLE_DEVICES and rollback to cuda 10 from 11
in RHEL 7.9 was running some software that had a problem with CUDA 11.x. So we did nvidia-uninstall and cuda-uninstall then installed cuda 10 to fix that specific problem related to only that ...
0
votes
0
answers
68
views
Installing cuda in deb 10 (buster) docker image
I'm trying to install CUDA drivers on a docker image running debian 10 (buster). I was following this guide: https://linuxconfig.org/how-to-install-nvidia-cuda-on-debian-10-buster
However I'm running ...
0
votes
0
answers
69
views
Is it possible to install a QEMU VM without admin privilege in which I can install nVidia GPU driver and CUDA?
Without host's administrator privilege (including being a user of a special group that has admin privilege), is it possible at all to install a QEMU VM in which I can install nVidia GPU driver and ...
0
votes
0
answers
30
views
Singularity Container -- Conflict between "--nv" and "--writable"
I am trying to build a singularity sandbox (writable container) to run my CUDA app.
In my understanding, a container can access host CUDA utilities (such as nvidia-smi and mps) through the flag "-...
0
votes
0
answers
24
views
Failed to Build Code in Container
I have a codebase successfully built in Linux SUSE with CUDA 11.4. The same codebase failed to build as it was bound to a container (image built with singularity) with a different Linux distribution (...
0
votes
1
answer
302
views
/usr/local/cuda/version.txt does not match with /usr/lib/cuda/version
I realized that the server I am working on has problem with the CUDA versions. WHen I check the CUDA version with nvidia-smi, nvcc --version and cat /usr/local/cuda/version.txt - they all yield ...
1
vote
4
answers
3k
views
Installing CUDA Toolkit (11.5) on Debian (11)
The instructions to install CUDA Toolkit (11.5) on Debian (11) are nicely organized here: developer.nvidia.com/cuda-downloads.
But I seem to run in a small dependency issue, whether I try the deb (...
1
vote
0
answers
59
views
Use the GPU on another process when it is available(Nice-like command for GPU)
I have a program that uses a lot of GPU power. During some epochs, for example, it takes a job and processes it, and then waits about 10 to 15 minutes before taking the next job. When the main program ...
0
votes
0
answers
51
views
Linux source path issue with nvidia graphic driver installation
I'm trying to install nvidia driver on Ubuntu Linux 20.
The issue - I'm getting the following error during installation.
If you are using a Linux 2.6 kernel, please make sure
you have configured ...
3
votes
0
answers
386
views
CUDA not available on Deep Learning AMI (DLAMI) running on an Amazon EC2 P2 instance
I am running the Ubuntu 18.04 Deep Learning AMI (DLAMI) on AWS, and am attempting to run it on a p2.xlarge EC2 instance, but CUDA is not available in my Python interpreter. I was assuming that CUDA ...
0
votes
0
answers
167
views
reinstalling CUDA for Tensorflow on Linux
Recently I discovered that Tensorflow doesn't have access to the GPU anymore. I.e. executing tensorflow.config.list_physical_devices only includes the CPU but not the GPU. I also noticed that the CUDA ...
1
vote
0
answers
2k
views
"cuda-runtime-11-3: Depends: cuda-drivers but it is not going to be installed" - want to install anyway
Background
I want to build (not run) a program using CUDA 11.3, on an Ubuntu 20.04 machine (a Travis CI machine actually). To do this, I want to install, among other things, the
cuda-runtime-11-3 ...
1
vote
1
answer
126
views
CentOS 8 can't boot after cuda toolkit installation
[Lenovo LEGION laptop with dual boot - win10 and centos 8]
I was trying to run some YOLOv5 example on my laptop Tutorial#1, using pycharm.
to keep it under control I've generated an yolov5 conda ...
0
votes
0
answers
365
views
failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error : Ubuntu 20.04.2, RTX 2070 SUPER GPU
System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.2 LTS
TensorFlow installed from (source or binary): binary
TensorFlow version: 2.5.0
Python version: 3.7.10
...
1
vote
0
answers
1k
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. ...
0
votes
1
answer
23
views
Graphic driver versions available for Ubuntu 16
I have Nvidia GTX 1080Ti and according to Nvidia's website the latest driver version is 460. I tried to install this and failed. With the .run file nothing got installed. With ppa and ubuntu-drivers ...
1
vote
1
answer
415
views
CUDA on kernel 5.9
I tried to install cuda on Manjaro with kernel linux54 and linux59 but did not manage to get it work. I have a 64-bit laptop with Hybrid graphics, my graphic card being a GeForce 950M. My video-driver ...
0
votes
0
answers
164
views
NVIDIA driver version/pytorch error message on Ubuntu 18.04
in pycharm IDE I get the following error message:
RuntimeError: The NVIDIA driver on your system is too old (found version 9010). Please update your GPU driver by downloading and installing a new ...
1
vote
1
answer
2k
views
Installing CUDA on Debian Machine 10.3
So, I am trying to install Cuda on Debian 10.3 on SageMaker studio instance ml.g4dn.xlarge.
I am trying the instructions from here:
https://developer.nvidia.com/cuda-downloads?target_os=Linux&...
0
votes
1
answer
1k
views
failure: repodata/repomd.xml from libnvidia-container: [Errno 256] No more mirrors to try
I followed the instructions from https://developer.nvidia.com/cuda-80-ga2-download-archive
sudo rpm -i cuda-repo-rhel7-8-0-local-ga2-8.0.61-1.x86_64-rpm
sudo yum clean all
sudo yum install cuda
Now I ...
1
vote
1
answer
808
views
dpkg-shlibdeps fails with “no dependency information found”
I am building a custom debian package for tensorflow. At some point, when I run
dpkg-buildpackage -us -uc
I get:
dpkg-shlibdeps: error: no dependency information found for /usr/local/cuda-9.1/lib64/...
1
vote
1
answer
2k
views
Should I grant sudo to a user or add CAP_SYS_ADMIN capabilities to use nvprof/ncu? And why?
Since CUDA 10.1, users are required to have sudo privileges to collect advanced metrics with cuda profiling tools such as nvprof or nsight compute (ncu).
Alternatives to get around it are described ...
1
vote
1
answer
128
views
compiling HPL-2.0_FERMIv15
when i compile xhpl i always get the error message:
./xhpl: error while loading shared libraries: libdgemm.so.1: cannot open shared object file: No such file or directory
when i type ldd xhpl:
linux-...
1
vote
0
answers
248
views
How to fix broken CUDA installation [ZorinOS/Ubuntu]?
I have some problems installing CUDA on ZorinOS (I know it's not officially supported, but it acts much like Ubuntu). I tried to install it the way it is described in the official documentation, did ...
5
votes
2
answers
19k
views
libGL error: No matching fbConfigs or visuals found | Glxgears error, Docker, CUDA, VirtualGL
when I run glxgears, I get following error.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Error: couldn't get an RGB, Double-buffered visual
My ...
0
votes
0
answers
25
views
"Hermetically" override a distribution-installed CUDA with a locally-installed version
In my Devuan GNU/Linux Beowulf distribution (which is essentially Debian Buster without systemd), CUDA 10.1 is installed. I don't want to uninstall it for various reasons; but - I do want to use a ...
1
vote
1
answer
2k
views
CUDA 10 and dkms on RHEL8
I want to install CUDA according to the info on NVIDIA CUDA toolkit site
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-rhel8-10-2-local-10.2.89-440.33.01-...
1
vote
1
answer
2k
views
Unable to find (and uninstall) installed version of CUDA
I am trying to install CUDA version 10.0, but it is telling me a newer version is already installed. I am not able to find the newer version, so I can't run the uninstaller. I am on CentOS 7. Here's ...
0
votes
1
answer
579
views
Transaction check error during CUDA installation on CentOS 7
I am trying to install CUDA on a Linux CentOS 7 x86_64 AWS instance via the installation guide and running into an error that I cannot resolve.
Here are the steps I took:
I verified that I had gcc ...
0
votes
1
answer
545
views
Installing CUDA on my Ubuntu 18.04 system
I want to install CUDA on my system to run OpenCV.
I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver ...
0
votes
1
answer
3k
views
How to install CUDA 9.2 on Linux Mint 19
I would like to install CUDA 9.2. on Linux Mint 19.
It was possible to install CUDA on Linux Mint 18.3 even though Linux Mint is not an officially supported distribution. However,
Linux Mint 18 was ...
5
votes
1
answer
6k
views
How to install CUDA 9.1 on Mint 18.3?
I'm running Linux Mint 18.3 with the Cinnamon desktop environment, and I want to install CUDA 9.1 and NVIDIA drivers. How can I do that?
0
votes
1
answer
3k
views
Install CUDA 8 on linux mint 18.2
I'm running Linux Mint 18.2 "Sonya" and want to install CUDA 8. When I install it using package manager it install Cuda 7.5 instead:
sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit
...
...
4
votes
1
answer
4k
views
How to install CUDA on a headless server without installing/activating X11?
After installing CUDA on a headless server (using the below procedure) I noticed that X11 was turned on/installed.
I noticed X11 when using console redirection (remote KVM over IPMI/BMC) and saw a ...
4
votes
1
answer
2k
views
What sources to add in order to install cuda toolkit with apt on Debian? [duplicate]
I am new to Debian and I want to install the NVIDIA CUDA toolkit,
so I typed:
apt install nvidia-cuda-toolkit
but it did not work, I found out I need to add a source in /etc/apt/sources.list which ...
1
vote
0
answers
220
views
No Ethernet connection after a failure to install CUDA with JetPack
After downloading Jetpack 3, I tried to flash the Jetson and install CUDA 8.
I tried to install using two different computers (wifi turned off).
I wasn't able to install CUDA, I had an error.
For both ...
1
vote
1
answer
358
views
How to install CUDA on Linux Mint with Xen already installed?
Xen is installed on Linux mint. How to install CUDA without getting a black screen or command line on restart?
In other words, how to get Xen's Dom0 Mint Desktop with CUDA installed?