Questions tagged [cuda]

Computing architecture developed by Nvidia that allows programs to process algorithms in the graphics card GPU, instead of the computer's CPU.

Filter by
Sorted by
Tagged with
1 vote
1 answer
50 views

Error submitting a packet to the muxer: Cannot allocate memory

I'm attempting to trim and concatenate several video files using ffmpeg. These videos have already been transcoded with H.264 at a resolution of 720p. However, when executing the command, I encounter ...
1 vote
1 answer
34 views

FFMpeg "vp9_cuvid" doesn't save HDR10 from VP9 4k input video in output HEVC video

I try to encode this 4k VP9 HDR10 vídeo: https://www.youtube.com/watch?v=kgppJX0G--E using this command line: ffmpeg \ -vsync 0 \ -hwaccel cuda \ -hwaccel_output_format cuda \ -c:v vp9_cuvid \ ...
0 votes
0 answers
13 views

Check Max Thunderbolt 3 Speed

How do I check the bandwidth (max Gbps) of my Thunderbolt 3 port? I'm trying to see if it can handle supporting 4 additional monitors with my Wavlink docking station (so that I can get either 1080p/...
1 vote
1 answer
87 views

"-vf crop" doesn't work on FFMpeg hevc_nvenc

This command line downscales fine my 4k video: $ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=1920:1080:interp_algo=bicubic -c:v hevc_nvenc -preset slow -...
0 votes
1 answer
4k views

nvcc can't be found error

im trying to setup a tool that requires nvcc but im unable to to do. This is what i got so far: Installed the CUDA toolkit Verified it by using nvcc -V output: nvcc: NVIDIA (R) Cuda compiler driver ...
6 votes
1 answer
5k views

Accurately extract frames every N seconds using FFmpeg

The Usage I extract images from videos using ffmpeg. I dump one down-scaled image every 10 seconds, inclusive, that I combine into montages with imagemagick. These montages again are used to show a ...
0 votes
1 answer
94 views

FFmpeg: How to encoding h264 mkv files in h265 mkv and keep the 2 subtitles streams?

I've lots of mkv files in h264 format with 2 languages of subtitle, and I'm trying to convert them in h265 (with cuda) and keep the 2 subtitles streams. I've tried that: ffmpeg -i "xxx.mkv" -...
4 votes
3 answers
2k views

Any easy way to load test GPU?

OS is Debian. Looking for a quick command line tool to drive GPU load to max to test temps / cooling. I already looked at nvbench, which does compile and run, but seems more like getting useful ...
4 votes
1 answer
8k views

CG miner "configure: error: No mining configured in "

Nvidia Gt 630 cuda 5.5 running CGminer not. Cuda examples fine. Should CGminer work or is there limitations to it? sudo ./autogen.sh --disable-cpumining --enable-opencl && make Configuration ...
0 votes
1 answer
7k views

InternalError: cudaGetDevice() failed. Status: cudaGetErrorString symbol not found

I run this code: tf.test.is_gpu_available( cuda_only=False, min_cuda_compute_capability=None ) I get the following error: 2019-10-25 18:25:20.855191: I tensorflow/core/platform/...
0 votes
1 answer
154 views

CUDA Installation on WSL Environment Taking Unusually Long

So I want to install CUDA on a WSL Ubuntu environment so I can run TensorFlow on my GPU. Since TensorFlow only supports up to version 11.8, I used the commands from the following tutorial. On the very ...
0 votes
0 answers
323 views

How to properly get nvidia drivers/cuda setup for rtx a6000 workstation

I am having issues setting up nvidia drivers/cuda on a rtx a6000 workstation, if it matters I am running 2 of them in nvlink. I am on Fedora Workstation 39 I've tried multiple ways of installing the ...
0 votes
2 answers
1k views

How to configure nvidia-cuda-mps-control so that there can be multiple users running on the same system

I have, for example, a 4 GPU system. I would like to be able to have 2 users each using MPS on 2 GPUs. In reading the nvidia documentation it looks like I would set CUDA_VISIBLE_DEVICES to specify ...
1 vote
1 answer
3k views

Cuda libraries not found for cuda 11 for ubuntu 20.04

I am using Nvidia VM on Azure with Ubuntu 20.04 I already had nvidia and cuda installed but hile running my program it still showed libraries not found nvidia-smi +-------------------------------------...
0 votes
0 answers
97 views

CUDA toolkit compatibility

I want to rent a server on Paperspace with GPU on a Windows instance. They offer only "Windows 10 running as Windows Server 2022" as OS, and the version of CUDA that I need (for Tensorflow) ...
47 votes
1 answer
144k views

How can I test my GPU memory/RAM?

I run MemTest86 a lot at work on customer's machines, and it's great for troubleshooting memory issues. My question is, how can I test that a GPU is starting to go? I know of programs like 3DMark to ...
10 votes
4 answers
22k views

How can i recover a zip password using CUDA (GPU)?

How can i recover a zip password on linux using CUDA (GPU). For the past two days i tried using "fcrackzip" but it's too slow Few months back i saw some application that can use GPU / CUDA and get ...
1 vote
1 answer
6k views

How do I get CUDA 11.7 on Arch Linux?

This should be pretty straightforward, pacman search for it, if not, yay search for it, if not, try to find some other AUR for it. If none of that works, use the official binary blob from Nvidia. ...
17 votes
3 answers
44k views

Use host CUDA from VirtualBox?

Problem I would like to use my host dGPU to train some neural networks using its CUDA cores via my Ubuntu 16.04 guest in Oracle VM VirtualBox version 5.2.22. Would it be possible to do this? Host ...
2 votes
1 answer
290 views

Is it possible to mix CUDA compute capabilities with two different gpus on a single system?

OS is Debian 10. I currently have a Geforce 1060 GTX that I'm trying to use for various CUDA tasks. However, there is no way to "renice" a process that runs on a video card, so when my tasks ...
0 votes
0 answers
154 views

ffmpeg: filter frame using cuda

Is it possible to filter frames on nvidia GPU side? For intel qsv it looks like [sprites_src]vpp_qsv=framerate=1/10,scale_qsv=-1:160:mode=$mode:format=rgb32,hwdownload,format=rgb32[sprites_out]; For ...
1 vote
1 answer
3k views

"Cannot load libcuda.so.1" when running ffmpeg with hardware acceleration on WSL2 Windows

I am following NVIDIA's doc for building ffmpeg with hardware acceleration capabilities. I have also installed the appropriate driver for my GeForce GPU and did the CUDA toolkit setup for WSL2. I am ...
5 votes
3 answers
6k views

streaming multiprocessor number

how do I know how many streaming multiprocessors(SM) I have on my GTS 250?
0 votes
1 answer
472 views

Does any gaming laptop with NVIDIA GPU support CUDA?

Does any gaming laptop with NVIDIA GPU support CUDA? Or, do I have to be careful about purchasing one?
1 vote
0 answers
1k views

WLS 2 on Windows 11 (Ubuntu 22) freezes after ~15 hours of running

This appears to be a similar problem to this unanswered question. Usually I have a tail -f nohup.out command running in one pane, and nvidia-smi running in the other pane (refreshing every second) to ...
5 votes
2 answers
3k views

Cuda in WSL2: "GPU access blocked by the operating system"

I am attempting to install cuda in WSL2 for use with TensorFlow (as per the TF instructions, which include the NVIDIA instructions). The Windows-side tool nvidia-smi.exe works and gives the following ...
1 vote
3 answers
3k views

Is there a way to run CUDA applications with the CUDA device being a secondary adapter?

I've been trying to run a CUDA program on a remote computer which has Windows 7 installed. The GPU is GeForce GTX 480. One of the problems I've been facing is that, the computer has two adapters, 1) ...
1 vote
0 answers
213 views

Trouble running Tensorflow-gpu GPT-2 model

I'm trying to run OpenAI's GPT-2 model using the Tensorflow GPU running on my NVidia SLI GTX-780 though I keep getting errors regardless of what versions I run or what I do. File "C:\Users\myUser\...
1 vote
1 answer
2k views

FFmpeg & CUDA - scale video and overlay image

I want to scale input video to 1920x1080, then overlay image And I use next command: ffmpeg -i /video1.mp4 -i /overlay.png \ -filter_complex "[0:v][1:v] overlay=100:820:enable='between(t,...
1 vote
1 answer
474 views

Installing CUDA in GCP VM instance ( Debian 10.x)

I am just coming up to speed with GPU & CUDA and going around in circles. My GPU is Nvidia Tesla T4. However, Google documentation is lacking https://cloud.google.com/compute/docs/gpus/install-...
3 votes
0 answers
4k views

NVIDIA: “RuntimeError: No CUDA GPUs are available”

I am implementing a simple algorithm with PyTorch on Ubuntu. Two times already my NVIDIA drivers got somehow corrupted, such that running an algorithm produces this traceback: Traceback (most recent ...
0 votes
1 answer
578 views

13.022698] nvidia-modeset: Version mismatch: nvidia.ko(430.64) nvidia-modeset.ko(460.32.03)

I have been trying to get cuda 10.2 installed on ubuntu 18.04. I am getting this mismatch error. There are similar posts on stackoverflow. I tried deleting dpkg lines, and repeat the install script, ...
0 votes
1 answer
3k views

Unable to get CUDA to work on conda enviornment Ubuntu 22.04

I am trying to install Cuda 11.3 (since i understand this is the most stable one and any version after leads to compatibility issues). I have Ubuntu 22.04 LTS and I followed these instructions: https:/...
7 votes
1 answer
13k views

Are there any external CUDA devices?

I have a workstation with a recent graphics adapter: Nvidia Gefore FX3700. As I want to use that adapter for long running CUDA programms, it might be very useful not to run also my desktop graphics on ...
21 votes
4 answers
29k views

ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec

I am trying to compile FFMPEG with Nvidia Cuda support, on Debian 9.3. Parameters, what I am using: --enable-cuda --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include --extra-...
0 votes
1 answer
270 views

How to parallelize a Python simulation script on a GPU with CUDA?

I want to test run some finite-difference time domain (FDTD) simulations using parallelization on a GPU and compare the speed to CPU-based simulation runs. This is basically my very first attempt at ...
3 votes
1 answer
14k views

Do I need to install cuda separately after installing the NVIDIA display driver?

Is cuda already included in the installation of the graphics card display driver? The card has 192 cuda cores according to https://www.asus.com/Graphics-Cards/GT710-SL-2GD5/specifications/, and Cuda 3....
0 votes
1 answer
319 views

Can I delete directories in /var without verified signatures (NO_PUBKEY Error) in Ubuntu 20.04?

When I execute sudo apt-get update command I get the following terminal output: Get:1 file:/var/cuda-repo-ubuntu2004-11-3-local InRelease Ign:1 file:/var/cuda-repo-ubuntu2004-11-3-local InRelease ...
1 vote
0 answers
76 views

Is it possible to use cuda or opengl in a container without passthrough the physical gpu?

After googling how to run cuda in a container, I am confused why most articles requires "passthrough" the gpu to the container: the container does not have own kernel, how does the kernel ...
1 vote
1 answer
1k views

FFmpeg: How can I hstack two videos, and scale just one up with scale_cuda?

This is a command I used that worked with scale_npp instead of scale_cuda ffmpeg -c:v h264_cuvid -i "Input1.mkv" -c:v h264_cuvid -i "Input2.mkv" -c:v h264_nvenc -filter_complex &...
6 votes
3 answers
12k views

CUDNN ERROR: Failed to get convolution algorithm

I'm having trouble running convolution networks on Keras with a source-compiled Tensorflow build. I'm using CUDA 10.0 and CuDNN 7.4 and both have been correctly compiled, as verified by their example ...
1 vote
1 answer
892 views

How to check the health of a GPU

I have a GTX 1080Ti which I have been using as my personal deep learning card for about 3,5 years. Lately, I'm getting a lot of obscure CUDA errors. Training and inference code that was running fine ...
1 vote
2 answers
975 views

Power of NVIDIA GPU out of limits (Nvidia A100)

I am executing a CUDA kernel in my A100 GPU and I've realized that the power consumption at some points is higher than nvidia-smi given range: The picture has been taken from nvtop. Is it something ...
1 vote
1 answer
4k views

Tensorflow-gpu: CUDA_ERROR_OUT_OF_MEMORY [closed]

I am relatively new to tensorflow and tried to install tensorflow-gpu on a Thinkpad P1 (Nvidia Quadro P2000) running with Pop!_OS 18.10. I installed tensorflow-gpu into a new conda environment and ...
0 votes
1 answer
68 views

Running DL Training on CUDA GPU (util 98%) does not impact gaming? Are CUDA cores not Render Cores?

I downloaded CUDA 11 to run some heavy (and I mean it, heavy) DL model training tasks that use low memory (2GB). I'm rocking a 3070 Ti with 8GB. However in task manager I can see CUDA utilization is ...
1 vote
0 answers
373 views

try compile ffmpeg with cuda 11.1 on window10 but get error when run make -j 8

I am trying to compile ffmpeg with cuda 11.1 on Windows. I run configure like this: ./configure --arch=x86_64 --target-os=mingw64 --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-...
0 votes
0 answers
516 views

Tensorflow GPU not working on Ubuntu 20.04 (error message)

So, I tried to go through several tutorials (the latest being this one) to set up GPU support for TensorFlow on Ubuntu 20.04 and I always get the following message: joris@joris-N751JK:~$ python3.9 ...
0 votes
0 answers
155 views

TensorFlow GPU on Ubuntu 20.04

The Tensorflow documentation details how to install Tensorflow with GPU support for Ubuntu 16.04 and 18.04. I can't find anything up to date for Ubuntu 20.04 however. How do you install Tensorflow ...
0 votes
1 answer
786 views

Error after installing CUDA on WSL 2 - RuntimeError: No CUDA GPUs are available

I am trying to install CUDA on WSL 2 for running a project that uses TorchAudio and PyTorch. I have done the steps exactly according to the documentation here. However, when I run my required code, I ...
4 votes
3 answers
28k views

Remote desktop graphics card

So as most people know, when you use RDP to connect to your desktop, it disables the graphics card and uses generic CUDA. I don't want Windows to revert to using CUDA instead of the Graphics Card. I ...

1
2 3 4 5