(Bug): Using more CPU than GPU when rendering
RafaelLinux opened this issue · comments
Make sure to follow our issue report guidelines
- I'm using the latest version of Natron (not required but recommended)
- I've restarted Natron and the issue persists
- I've run Natron via the command line and the issue persists
- I've followed the contributing guidelines to the best of my understanding
- My issue is not on the issue tracker or in a pull request already (go search for it and dig around a little bit!)
- This bug is reproducible
Natron version
Natron 2.4.0
Operating system
Linux
System specs
System info
Operating System: openSUSE Tumbleweed 20230718
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.18 (libva 2.18.2)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
Did you install Natron using the official installer?
- Yes, I used the official installer
- No, I installed from a binary archive
- No, I compiled Natron from sources
- No, I installed Natron via another method
Custom installation path
~/bin/Natron
What were you trying to do?
Play project
What did you expect to happen? What happened instead?
Natron is not using GPU for rendering (not appear even in "nvtop" command line program).
Step-by-step reproduction instructions
- Start Natron
- Open gnu.ntp project
- Click "Play forward" button
Additional details
No response
Natron uses the CPU, some nodes can use OpenGL, that's it.
Are there plans to use GPU in next versions?
Not really. The primary focus is maintenance and bug fixes.
I am sorry to read that. I thought Natron was also looking to optimise its performance. Personally, on my Intel i5, Natron is so slow that an acceptable workflow becomes impossible, not even for testing (I have loaded your examples from the web).
After my experience, in my opinion, I see Natron as a good idea (working with nodes) as Resolve does, but in practice, Olive (which also includes nodes at a more basic level) works with a more than reasonable level of optimisation.
Thank you for your great job