Questions tagged [cuda]

57 questions
28
votes
6 answers

How to install CUDA Toolkit 7/8/9 on Debian 8 (Jessie) or 9 (Stretch)?

How to install Cuda Toolkit 7.0 or 8 on Debian 8? I know that Debian 8 comes with the option to download and install CUDA Toolkit 6.0 using apt-get install nvidia-cuda-toolkit, but how do you do this for CUDA toolkit version 7.0 or 8? I tried…
Greg
  • 735
  • 2
  • 9
  • 24
9
votes
3 answers

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 system is ubuntu 16.04 as docker image -…
trainmaniak
  • 111
  • 1
  • 1
  • 4
5
votes
1 answer

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?
4
votes
1 answer

How do I use Cuda toolkit nvcc 11.7.1 on Fedora 36?

As of Sept 2022, Nvidia still has not officially supported cuda toolkit on Fedora 36. The particular part missing is support for gcc12, which Fedora 36 defaults to. One solution to use nvcc on fedora is to go to fedora mirrors and download Fedora…
xdavidliu
  • 333
  • 3
  • 15
4
votes
0 answers

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 would work out of the box, since it's an AMI that…
J. Taylor
  • 2,665
  • 3
  • 23
  • 30
4
votes
1 answer

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.0-1.x86_64.rpm sudo rpm -i…
martin
  • 203
  • 3
  • 7
4
votes
1 answer

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 unity logon screen. The headless server is running…
Greg
  • 735
  • 2
  • 9
  • 24
4
votes
1 answer

What sources to add in order to install cuda toolkit with apt on Debian?

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 contains this CUDA package. However, as for now…
sharkant
  • 3,560
  • 10
  • 30
  • 46
3
votes
0 answers

"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 package (which becomes available when you add an…
einpoklum
  • 8,772
  • 19
  • 65
  • 129
2
votes
1 answer

Restricting user access to nvidia GPU?

On a server with Tesla Nvidia Card we decide to Restrict user access to GPU. In our server 2 GPU. # ls -las /dev/nvidia* 0 crw-rw-rw-. 1 root root 195, 0 Dec 2 22:02 /dev/nvidia0 0 crw-rw-rw-. 1 root root 195, 1 Dec 2 22:02 /dev/nvidia1 I…
Nikolay Baranenko
  • 173
  • 1
  • 2
  • 17
2
votes
1 answer

Stuck at booting after upgrading

My GPU is NVIDIA - GeForce RTX 3090 Ti, and the OS is Ubuntu 18.04. As my code didn’t work, I checked the versions of python, pytorch, cuda, and cudnn. Python: 3.6 torch. version : 1.4.0 torch.version.cuda : 10.1 (nvidia-smi shows CUDA version…
2
votes
1 answer

How to install matching version of nvidia-cuda-toolkit?

I have installed the NVIDIA drivers for my system (Ubuntu 22) as follows: Download the installer script: https://us.download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run Reboot the system in non-graphical mode: sudo…
user542094
2
votes
0 answers

why Cuda not detected by hashcat?

I have the following graphices cards installed in my workstation Thu Aug 18 19:22:51 2022 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version:…
tochka
  • 21
  • 3
2
votes
1 answer

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-1.el7_9.elrepo.x86_64 I have tried all three…
nickb
  • 21
  • 2
2
votes
1 answer

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 environment. while installing requirements file, I…
Liran
  • 21
  • 3
1
2 3 4