https://bugs.kde.org/show_bug.cgi?id=512987

            Bug ID: 512987
           Summary: No Hardware Acceleration with Nvidia nvenc
    Classification: Applications
           Product: kdenlive
      Version First 25.08.3
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Rendering & Export
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 187367
  --> https://bugs.kde.org/attachment.cgi?id=187367&action=edit
screenshots

SUMMARY

When rendering a project, Kdenlive uses little CPU and no GPU. CPU load is
around 15%, and GPU load is 1-5%.
A test video with a duration of 1:25 is encoded at an average speed of 6
frames/sec. in 6 min. 57 sec.
When compiling the project, I tried using the following presets with hardware
acceleration:

    1. NVENC H264 ABR (ab=160k acodec=aac channels=2 f=mp4 real_time=-1
threads=0 vb=6000k vcodec=h264_nvenc) 
    2. NVENC H265 ABR (ab=160k acodec=aac channels=2 f=mp4 real_time=-1
threads=0 vb=6000k vcodec=hevc_nvenc) 
    3. NVENC AV1 VBR (ab=160k acodec=aac channels=2 f=mp4 rc=constqp
real_time=-1 threads=0 vcodec=av1_nvenc vq=72 vqp=72) 

But if I run the command:

ffmpeg -hwaccel cuda -i 194.mp4 -c:v h264_nvenc -vf "scale=2560:1440" -b:v 10M
output.mp4

The same test video is encoded in 11 seconds, with the GPU loaded at 100%.

STEPS TO REPRODUCE
1. Start rendering a project with nvenc preset

OBSERVED RESULT
Very slow rendering without hw acceleration on GPU

EXPECTED RESULT
Rendering with hw acceleration on GPU

SOFTWARE/OS VERSIONS
    • openSUSE Tumbleweed 20251127 
    • KDE Plasma: 6.5.3 
    • KDE Frameworks: 6.20.0 
    • Qt: 6.10.1 
    • Kernel: 6.12.59-1-longterm (64-bit) 
    • Wayland 
    • CPU: AMD Ryzen 7 3700X 8-Core Processor 
    • RAM: 32 Gb 
    • GPU: NVIDIA GeForce RTX 5060 Ti 16Gb (driver 580.95.05)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to