Skip to main content

Questions tagged [cuda]

CUDA stands for Compute Unified Device Architecture

Filter by
Sorted by
Tagged with
-2 votes
0 answers
18 views

How to initialize struct object malloc by cudaMallocManaged?

Im new to cuda and i wrote a cuda code to calculate the multiplication of two matrices, the code is as follows: #include <iostream> #include <cuda.h> #include <cuda_runtime_api.h> #...
Qi Chen's user avatar
0 votes
0 answers
20 views

I get a cuda warning when trying to update ubuntu [duplicate]

I am a beginner regarding Ubuntu software, and I've got a warning that I cannot handle. Moreover, it seems that this error prevents the Ubuntu 22.04 to upgrade to the newer LTS version. Please, help ...
pauk's user avatar
  • 101
0 votes
0 answers
30 views

Ubuntu no longer working with NVIDIA RTX4900

I have dual boot (Windows/Ubuntu) on my PC. NVIDIA appears to work 100% as normal in Windows. But in Ubuntu, two problems: Dual monitors work if I plug them both into the motherboard. But one ...
Andrew L's user avatar
0 votes
0 answers
22 views

Cannot get cuda toolkit or nvidia drivers on my dual booted ubunutu 22.04 machine

Recently got into reinforcement learning, been solving lots of openAI-GYM environments . while doing this , im struggling with training time for my models , so i wish to utilize the nvidia-gpu that i ...
Thundrgod N1's user avatar
1 vote
1 answer
39 views

update-alternatives of CUDA versions not shown [duplicate]

Summary: I'm trying to include an additional version of CUDA in update-alternatives however it does not show up after adding it to PATH and when querying. Information Three versions of CUDA installed ...
user16796559's user avatar
1 vote
1 answer
101 views

GPU not working with WSL 2 running Ubuntu 22.04

I had an issue with my computer and had to completely reinstall windows on my machine. I previously had CUDA working with WSL and could run PyTorch models using my GPU. However it seems that WSL can't ...
Matt's user avatar
  • 13
0 votes
0 answers
57 views

How to install ubuntu on jetson orin nano

I have nvidia jetson orin. I download ubuntu 20.04 and balenaEtcher to flash ubuntu in microsd card. After flashing the jetson is not start just black screen on monitor what I want is to flash ubuntu ...
Mubashir's user avatar
0 votes
0 answers
1k views

Issues Installing CUDA and cuDNN on Ubuntu 24.04

I'm currently using Ubuntu 24.04 and have encountered several issues while trying to install CUDA and cuDNN drivers. Despite following the installation instructions, I am running into problems. ...
DrGenius's user avatar
  • 109
0 votes
0 answers
215 views

Installation issues for CUDA 12.0.1 on a Ubuntu 22.04 Dual Boot

This might get a bit long but I want to make sure I include as much info on what I did as possible. I’m trying to install CUDA 12.0.1 on a Ubuntu 22.04 Dual Boot. I don’t know if it’ll be relevant, ...
DymVoc's user avatar
  • 9
0 votes
0 answers
40 views

Are the drivers used by the 2080ti and A5000 different?

A friend who was using a 2080ti requested to replace it with an A5000 ubuntu 20.04 or 22.04 maybe.. sudo apt-get purge nvidia-* sudo apt-get -y install ubuntu-drivers-common ubuntu-drivers devices ...
kazuha's user avatar
  • 11
1 vote
1 answer
5k views

Installing NVidia-driver 555 with ubuntu-drivers on Ubuntu 22.04

To be able to use CUDA 12.5, I had to update the drivers on my Ubuntu 22.04 to NVidia:555. For that, I wanted to use ubuntu-drivers, as described by https://ubuntu.com/server/docs/nvidia-drivers-...
arc_lupus's user avatar
  • 240
-1 votes
2 answers
681 views

mismatched versions between nvcc 11.5 vs. nvidia-smi 12.2 on ubuntu

I'm trying to install cuda in my ubuntu system. So I ran the following command: sudo apt install nvidia-driver-535 And nvidia-smi had shown me, I have got the correct cuda version (or at least what I ...
Maifee Ul Asad's user avatar
0 votes
0 answers
63 views

dpkg-deb (subprocess): cannot copy archive member from 'cuda-repo-wsl-ubuntu-11-8-local_11.8.0-1_amd64.deb' to decompressor pipe:

so i am installing cuda 11.8 through windows wsl2 but in the fourth line 1(the fourth line) im getting this error dpkg-deb: error: subprocess returned error exit status 2 please help me thank you
saswat kumar adibhatia's user avatar
1 vote
0 answers
300 views

6.5.0 kernel issues w/CUDA 12.1 - how to make nvidia-modprobe install for only one kernel version

TL;DR, how do I: Upgrade the cuda library versions / downgrade the driver version Remove a kernel (6.5.0-35) that is somehow "associated" with the linux hwe image / headers Made nvidia-...
realharryhero's user avatar
0 votes
1 answer
411 views

Ubuntu server 22.04 installing Nvidia drivers with libnvcuvid1 without also installing GUI

I have had a working setup using tdarr inside a docker container for multiple months now, but it stopped working after an update to the container and my ubuntu packages. Tracking down the issue led me ...
Jonathan Pellerin's user avatar
0 votes
0 answers
215 views

Unable to locate Nvidia Nsight or fix the broken package or stop it

So I am using ubuntu 22.04 and I had space issues so had to clean up and may have deleted the .deb for this, this nvdia package wont fix, and i dont know how to remove this completely. I tried ...
vans-drop's user avatar
0 votes
0 answers
958 views

nvidia-smi got `No devices were found` on second run but it's ok in first run after reboot

I tried to install Nvidia driver on a VPS with PCIe Passthrough System info: Ubuntu 22 Server VmWare VPS (14 core CPU) (24GB of RAM) Nvidia driver 520 GPU RTX 3060 The Problem: After OS reboot ...
Mahmoud.Eskandari's user avatar
0 votes
0 answers
102 views

Facing installation issue on installing cuda toolkit 12.4.1 in ubuntu under proxmox environment

I am trying to install cuda toolkit 12.4.1 in ubuntu under proxmoxlogs of nvidia installer environment from past week but have been facing the same issue( please check the nvidia installer logs) when ...
Sanjay Mhj's user avatar
1 vote
0 answers
91 views

CUDA in Docker image breaks and require sudo apt upgrade

Question Why sudo apt upgrade on the host OS is required to make CUDA work in Docker container? The problem does not occur without Docker, but occurs only when a Docker image is recreated. Environment ...
mon's user avatar
  • 319
0 votes
0 answers
34 views

Nvidia package dependencies often break [duplicate]

The general issue I'm regularly having issues with previously installed Nvidia package dependencies. About once every two months when I try to upgrade my system or install something new (non-nvidia ...
imdoor's user avatar
  • 11
-1 votes
2 answers
522 views

Broke down my nvidia-smi when I tried updating nvidia drivers

Problem I have seen many similar questions in this forum, and I have tried many of the solutions proposed, however nothing seems to work :c I was trying to install CUDA from the CUDA installation ...
Jules_JJ's user avatar
0 votes
1 answer
3k views

Unable to install NVIDIA drivers with apt-get

I am trying to install the recommended NVIDIA driver by the following command: sudo apt-get install nvidia-driver-550 But I keep getting the following error message: Get:1 file:/var/cuda-repo-...
Sagnik Taraphdar's user avatar
0 votes
2 answers
2k views

Error installing NVIDIA drivers on Ubuntu 22.04

I'm trying to install CUDA 12.1 on Ubuntu 22.04. I'm on a laptop with a 2060. These are the commands I have used. The first ones are to uninstall my current cuda drivers and the next ones are to ...
Danfb__'s user avatar
  • 21
0 votes
0 answers
125 views

Installed nvidia through file runner, nvcc is on my system but not properly configured

I installed version 11.8 of CUDA on my system through the runfile: https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&...
Makogan's user avatar
  • 303
0 votes
0 answers
117 views

nvidia a100 doesn't seen on lspci command in ubuntu with supermicro h12ssl-i motherboard

I have installed ubuntu 22 lts on my h12ssl-i motherboard and just after installation I can see my nvidia a100 on lspci | grep -E "VGA|3D" command. I installed cuda toolkit and nvidia-470 ...
Ilia's user avatar
  • 1
0 votes
0 answers
814 views

How to install opencv with CUDA support

I need help of building opencv in Ubuntu. I tried to install opencv in Ubuntu 20.04 - not install libopencv. I want to install opencv with CUDA support. I installed CUDA-12.4, CUDNN-9.0.0 Then I tried ...
Albers Joy's user avatar
1 vote
1 answer
1k views

When i try to get the : nvcc --version I get this error:

I get this response: $ nvcc nvcc: command not found this is in my bashrc file: export PATH="/usr/local/cuda-12.4/bin:$PATH" export LD_LIBRARY_PATH="/usr/local/cuda-12.4/lib64:$...
samsonbull's user avatar
2 votes
0 answers
278 views

fix-broken install not working?

I have just tried to install the Nvidia Cuda and cudnn. But now when I try to run command upgrade, it shows this error: You might want to run 'apt --fix-broken install' to correct these. The following ...
sundowatch's user avatar
1 vote
0 answers
451 views

22.04.3 LTS: Why is power draw showing "ERR!" in nvidia-smi?

Why is the power draw (Pwr:Usage/Cap) for my NVIDIA GeForce GTX 1050 Ti showing "ERR!" in nvidia-smi? This is my pc specs venv) luffy@predator:~/fern/forge-code/backend/gpt-service/gpt-2-...
shivank anchal's user avatar
1 vote
4 answers
6k views

Unable to remove nvidia and cuda drivers

Question Regardless of how I got here, I really just want to completely remove nvidia and cuda drivers and reeinstall them. But, no matter what I do, I can't get rid of them. Background I'm on Ubuntu ...
ciru_4011's user avatar
1 vote
0 answers
264 views

Unable to Install Cuda Drivers on ubuntu 22.04 LTS

Trying to install nvidia drivers on my ubuntu server. Running nvidia-smi after install and reboot yields the following: nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA ...
PotatoLeeg's user avatar
1 vote
0 answers
1k views

NVIDIA driver error: assignment of read-only member ‘vm_flags’

I installed NVIDIA driver based on this suggesiton using the following command: sudo ubuntu-drivers autoinstall The above command installed nvidia-driver-535 (535.154.05-0ubuntu0.22.04.1) and other ...
ravi's user avatar
  • 291
0 votes
0 answers
247 views

Running CUDA on GTX Titan Black in Ubuntu 22.04

I recently got a hold of 2 GTX Titan Black's and I was trying to get CUDA running on them. But as of now I couldn't get CUDA to work on this PC. I'm using Driver version 470.223.02 with CUDA version ...
Leon's user avatar
  • 1
0 votes
1 answer
168 views

System fails to resume after suspension with NVRM errors

I have 22.04 LTS, and an nvidia 4070 card. I installed the driver via Cuda toolkit v12.3, and blacklisted nouveau (which doesn't even fully work with 4070 still). When I suspend the system, and try to ...
sodiumnitrate's user avatar
0 votes
0 answers
47 views

Tesla k40c Driver install on Ubuntu [duplicate]

i have a server running Ubuntu with two Xeon x5680s and just install a NVIDIA Tesla k40c HPC / GPU for running PyTorch and tensorflow-gpu models but cant get the drivers running. i used "sudo ...
Mixo Max's user avatar
-1 votes
1 answer
5k views

How do you uninstall the nvidia drivers?

I have tried to updated nvidia drivers by several methods and it became a mess. Containers that I could run before are not runnable anymore (with the message unsatisfied condition cuda >- 12.3 ) To ...
KansaiRobot's user avatar
0 votes
0 answers
106 views

Docker run does not work anymore after upgrading cuda

I was having problems trying to run COLMAP GUI inside a container because a cudaErrorInsufficientDriver error. So I used the Sotware updater to update the Nvidia driver. However now I can not even ...
KansaiRobot's user avatar
0 votes
0 answers
294 views

How to install cuda10.1?Torch not compiled with CUDA enabled

First of all, my graphics card is MTT S80. A friend suggested using the CPU version of pytorch, but when I run deep learning code, it prompts me:Torch not compiled with CUDA enabled, so I think I ...
lqqq's user avatar
  • 11
0 votes
1 answer
2k views

Command "nvidia-smi" not found, but can be installed with:

I want to install CUDA, so I need to check the driver and CUDA version, but when I input nvidia-smi I get the following error: Command "nvidia-smi" not found, but can be installed with: My ...
lqqq's user avatar
  • 11
0 votes
0 answers
94 views

how to clean up nvidia driver versions shown by `apt policy nvidia-driver-470`?

(This is a follow up to this question) I think I messed up the system while trying to fix some issues. I tried to update Nvidia driver (the one that shows by nvidia-smi) and also installed several ...
jun's user avatar
  • 109
0 votes
1 answer
342 views

Update breaks CUDA and nvidia-driver-390!

I have an old Dell XPS laptop with a NVIDIA® GeForce® GT 550M. I managed to get CUDA® and OpenCL working just fine, with clinfo displaying CUDA® as a platform. However, I recently upgraded the kernel ...
Langdon's user avatar
  • 49
0 votes
0 answers
372 views

Ubuntu 22.04 Tensorflow crash: EAGAIN in phtread_create

I am currently struggling with a tensorflow training on Ubuntu 22.4 crashing with the following error message right after the call to model.fit(), before any actual training happens, in around ~30% of ...
Vvabi's user avatar
  • 1
0 votes
1 answer
897 views

CUDA package problems: Can't update Ubuntu 22 due to 'unmet dependecies'

So I am pretty new to Linux. I played around with installing CUDA libraries for some ML experiments on my linux system. However since a couple of weeks I have not been able to get updates to my system ...
Slinky's user avatar
  • 1
0 votes
0 answers
385 views

install cuda by conda,can not use it

/home/dengjunli/miniconda3/envs/3DGS2/compiler_compat/ld: cannot find -lcudart: No such file or directory collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code ...
邓珺礼's user avatar
0 votes
1 answer
548 views

xterm: Xt error: Can't open display: :0

I have a cronjob that didn't work this morning. The line in crontab -e looks like this: 20 9 * * 1-5 export DISPLAY=:0 && /bin/bash /opt/ibc/twsstart.sh I couldn't find any errors in /var/log/...
Taylor's user avatar
  • 159
0 votes
0 answers
112 views

Why am I unable to run a basic CUDA program even though I have nvcc installed in my system?

Why am I unable to run a basic CUDA program even though I have nvcc installed in my system? my_username@192:~$ nvidia-smi Sun Dec 3 10:23:33 2023 +-----------------------------------------------------...
user366312's user avatar
4 votes
2 answers
2k views

WSL2 graphical application display issue

I have installed Ubuntu 20.04 on wsl2, Windows 11. I have installed CUDA as well. whenever I open any Ubuntu app with GUI, such as file manager or any other installed apps, the graphics window display ...
Anoop Jangra's user avatar
5 votes
1 answer
6k views

How to install or enable CUDA and cuDNN in Ubuntu 23.10?

I am trying to enable cuda and cudnn in my ubuntu 23.10, however, the only available cuda toolkit is for Ubuntu 22.04, any suggestions how can I proceed?
Jjay's user avatar
  • 51
1 vote
0 answers
759 views

CUDA on Wayland? (just computation, no graphics)

I have a setup with an integrated Intel GPU and a dedicated Nvidia GPU. I'm trying to continue using Wayland (using the Intel GPU) while keeping the dedicated Nvidia card reserved purely for ...
Ashkan Arabi's user avatar
14 votes
2 answers
17k views

Installing CUDA on Ubuntu 23.10 - libt5info not installable

Today I've installed from scratch Ubuntu 23.10 on my computer. After having installed all the software I need, I tried to install CUDA from the NVIDIA website, following their instructions: https://...
Dresult's user avatar
  • 193

1
2 3 4 5
23