Skip to main content

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
-2 votes
1 answer
38 views

How to extract all frames of a video using GTX 550 ti?

My GPU is Nvidia GTX 550 ti and I should extract all frames of video files for my job. my GPU not support latest version of CUDA. I tried multiple softwares to use my GPU for frame extracting but all ...
Pubg Mobile's user avatar
0 votes
0 answers
15 views

Sharing GPU with VM for CUDA Use Cases [closed]

I'd like to switch from a dual boot setup to Windows 11 Host + Linux VMs. I have a RTX 4090 and would like to share it between Win-Host and the VMs. A quick online search yields a few different ...
user avatar
1 vote
1 answer
646 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 ...
Zahra's user avatar
  • 11
1 vote
1 answer
104 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 \ ...
membrillo's user avatar
0 votes
0 answers
39 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/...
Yusuf's user avatar
  • 1
1 vote
1 answer
211 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 -...
membrillo's user avatar
0 votes
1 answer
188 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" -...
ShkYo's user avatar
  • 11
6 votes
3 answers
4k 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 ...
cat pants's user avatar
  • 289
0 votes
0 answers
554 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 ...
Ostap Hnatyuk's user avatar
0 votes
1 answer
215 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 ...
shan's user avatar
  • 1
0 votes
0 answers
166 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) ...
flexorcist's user avatar
2 votes
1 answer
417 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 ...
cat pants's user avatar
  • 289
1 vote
1 answer
8k 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. ...
AlphaCentauri's user avatar
0 votes
1 answer
540 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?
user avatar
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,...
Ivan Kucher's user avatar
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 ...
mjmartis's user avatar
  • 151
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:/...
oofmeister27's user avatar
1 vote
0 answers
1k views

WSL 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 ...
MrGreenH's user avatar
0 votes
1 answer
305 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 ...
srhslvmn's user avatar
  • 249
0 votes
1 answer
362 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 ...
Luis Vls's user avatar
1 vote
0 answers
82 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 ...
Steven Yang's user avatar
6 votes
1 answer
6k 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 ...
Moba's user avatar
  • 163
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 &...
Oneechan69's user avatar
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 +-------------------------------------...
Eyshika's user avatar
  • 111
1 vote
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 ...
Samuel Goosen's user avatar
1 vote
1 answer
925 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 ...
Math_Max's user avatar
  • 111
0 votes
0 answers
539 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 ...
Joris Limonier's user avatar
0 votes
0 answers
160 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 ...
Joris Limonier's user avatar
0 votes
1 answer
79 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 ...
thethiny's user avatar
  • 101
3 votes
0 answers
374 views

Starting previously running Docker containers with GPU support

I recently set up WSL2 (Windows 10, 21H2) with CUDA/Docker support to train some neural networks. For this I followed the instructions from this guide: https://docs.nvidia.com/cuda/wsl-user-guide/...
Adeiln's user avatar
  • 141
-1 votes
1 answer
122 views

Is there anyway to decode a mp4 to bmp images with cuda hwaccel

ffmpeg 3.4.9 ubuntu16.04 I use follow command to decode a mp4 to bmp files (all in one),then I split 1.bmps to image array. ffmpeg -y -i 1632035082_1.mp4 -r 20/1 -vcodec bmp -f image2pipe - > ...
Jack's user avatar
  • 1
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 ...
Gabriel Robaina's user avatar
1 vote
1 answer
405 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-...
Leo's user avatar
  • 11
1 vote
0 answers
703 views

cv2.cuda.getCudaEnabledDeviceCount() return 0 after visual studio build and with_cuda is set true for opencv using windows10

I want gpu to work in opencv , after CMake with_cuda true and build of (ALL_Build, Install) with no errors I found GPU not detected I use windows 10 I tried 3 times to build opencv , but Gpu not work ...
mero's user avatar
  • 111
3 votes
0 answers
5k views

WSL 2 cannot see NVIDIA GPU drivers

I have Windows 10 along with Ubuntu 20.04.01 GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 installed (latest for WSL2 - please see edits below- this has changed). I'm a Windows Insider user and ...
Anthony Nash's user avatar
0 votes
1 answer
610 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, ...
bhomass's user avatar
  • 101
2 votes
2 answers
6k views

CUDA support for RTX 3080 (Laptop GeForce Notebook Products)

Does RTX 3080 for laptops already support CUDA and cuDNN for Deep learning requirements? I want to buy a new Razor Blade 15 with RTX 3080 and I don’t see currently any listing of this GPU on Nvidia ...
Sašo Pavlič's user avatar
0 votes
1 answer
2k views

Failled CUDA installation Ubunutu 18.04.5

I'm trying to install the CUDA toolkit with Ubuntu 18.04.5 for my GTX 3060 Ti. I've downloaded the file cuda_11.2.1_460.32.03_linux.run from NVidia's site followed the instructions and when then there ...
waaat's user avatar
  • 1
3 votes
1 answer
286 views

Is there a way to use Linux on Windows while utilizing nvidia CUDA?

VirtualBox cannot use CUDA. Is there a way around without using dual-boot?
rocketsfallonrocketfalls's user avatar
0 votes
1 answer
831 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 ...
Arka Mukherjee's user avatar
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 ...
M. Viaz's user avatar
  • 31
4 votes
1 answer
7k views

Set keyframe interval in ffmpeg when using nvenc

OBS uses nvenc when encoding live streams. In the guide "NVIDIA NVENC OBS Guide", an advanced option is listed as: Keyframe Interval: Set to 2. Streaming platforms may limit what you can ...
Isabella's user avatar
  • 243
8 votes
2 answers
34k views

Understanding pixel format and profile when encoding 10-bit video in ffmpeg with nvenc

I am trying to encode a 10-bit H.265 video from a 8-bit H.264 source using ffmpeg with CUDA hardware acceleration. Without hardware acceleration, a typical command would be ffmpeg -i input.mkv -...
Isabella's user avatar
  • 243
1 vote
2 answers
1k 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 ...
Bub Espinja's user avatar
1 vote
1 answer
2k views

Cannot open NVIDIA Visual Profiler on Ubuntu 20.04

I've installed CUDA kit via apt-get following CUDA installation documentation. However, when I attempt to open NVIDIA Visual Profiler, I can't open it. By the log file I suppose it has something to do ...
LBald's user avatar
  • 131
1 vote
0 answers
958 views

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

System Spec: OS: ubuntu 18.04 GPU: Quadro RTX 4000 I have a fresh installed machine with ubuntu 18.04. To install CUDA 11 toolkit these are the command that i ran : wget https://developer.download....
Dzakirin's user avatar
0 votes
1 answer
328 views

Does Nvidia rtx series still features plain cuda cores or is everything replaced by Tensor cores?

For a long time, consumer Nvidia Graphic cards supportted having plain cuda cores despite not being branded for accelerators. The problem in my case is while Tensor cores allow to perform cuda, they ...
user2284570's user avatar
  • 1,883
1 vote
0 answers
310 views

Cuda enabled FFMPEG not showing any GPU usage

I've compiled ffmpeg 4.3.1 with cuda support using the Toolkit 11. However, when I run ffmpeg against an rtsp stream and transcode into mp4, the process never shows any GPU usage in ProcessExplorer.If ...
Gerald.Rowe's user avatar
4 votes
1 answer
8k views

How to install pytorch FROM SOURCE (with cuda enabled for a deprecated CUDA cc 3.5 of an old gpu) using anaconda prompt on Windows 10?

I have (with the help of the deviceQuery executable in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vX.Y\extras\demo_suite according to https://forums.developer.nvidia.com/t/what-is-the-compute-...
questionto42's user avatar
  • 2,423
0 votes
0 answers
1k views

How do you get FFmpeg script -hwaccel overlay_cuda to fade in and out an image?

The following FFmpeg hardware-acceleration script works fine. But when I try to apply a fade in and out to the overlayed image it breaks. Is there a solution? Working: ffmpeg -hwaccel cuda -...
ISG Tester's user avatar

1
2 3 4 5