shutter-encoder icon indicating copy to clipboard operation
shutter-encoder copied to clipboard

Hardware Acceleration / GPU Decoding do not work on Linux on Nvidia

Open tsuza opened this issue 1 year ago • 6 comments

I'm running the v18.4, and whenever I try to export a video with GPU Decoding set as Cuda and Hardware Acceleration set as Nvidia NVENC, it silently fails ( the progress status bar fills up instantly and no new file is created ).

tsuza avatar Aug 27 '24 19:08 tsuza

To add to this, it works just fine elsewhere ( Shotcut, etc... ).

tsuza avatar Aug 27 '24 19:08 tsuza

Does it works on 'auto'?

paulpacifico avatar Sep 02 '24 07:09 paulpacifico

Nope, the same thing happens.

tsuza avatar Sep 02 '24 19:09 tsuza

Thanks for logging this as I was wondering why nothing outputted or played on my Manjaro system with Nvidia and Cuda enabled. Setting GPU to None then everything worked.

I can say too that I do use FFmpeg fine on the CLI with Cuda enabled. So I also assumed None or Cuda would work.

Danie10 avatar Oct 19 '24 18:10 Danie10

I am on debian 12 and fhe ffmpeg provided with Shutter Encoder does not work with nvenc.

WORKAROUND

I did not test everything, but replacing it with a link to the debian version seems working.

install ffmpeg

su
apt install ffmpeg

hard link

su
cd /usr/lib/Shutter\ Encoder/usr/bin/Library
ln /usr/bin/ffmpeg

restart Shutter Encoder

Probably, the link must be recreated every time Shutter Encoder is updated

AnthillSudoku avatar Nov 23 '24 16:11 AnthillSudoku

The next version (v18.6) will allow the user to use a custom FFmpeg path.

Paul.

paulpacifico avatar Nov 24 '24 05:11 paulpacifico