Help please: Poor performance on Linux

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

bstaley

  • Posts: 83
  • Joined: Tue Jan 15, 2019 1:26 pm
  • Real Name: Bill Staley

Help please: Poor performance on Linux

PostFri Apr 30, 2021 11:50 pm

My hardware:
AMD TR1950x
GTX 1080
32GB RAM
All SSD's

I had been running versions 15.x and then 16.x of Resolve Studio on Windows 10. My footage is mostly 4k60p 10bit HEVC from Fuji X-T3 and Panasonic XC-1500. On Windows I could play this footage smoothly on the timeline. Right around the time 17.x was in Beta, I switched to Linux Mint 20.1. I've been running 17.x since the switch. Not only can I not play 4k60p without stuttering, I can't even play 4k30p HEVC footage without stuttering.

Obviously I know the hardware can handle it, because it worked under Windows. I'm wondering if the issue is Linux or something in the configuration of my system. Is Resolve 17.x worse in performance compared to 16.x? Again, I'm running the Studio version of Resolve, so my understanding is that the GTX1080 should be doing hardware decoding. Under Linux I don't know how to tell if it's doing that or not. I am using the nVidia Driver 460.73.01 and I've tried some of the older ones too. I have also verified in Resolve Preferences that my card is selected and the CUDA option selected.

Can anybody offer any advice how to troubleshoot this? I really don't want to go back to the Windows world. Thanks.
Windows 10
AMD Threadripper 5950x
32GB RAM
nVidia GTX 1080
All SSD
Resolve Studio 17
Offline

bstaley

  • Posts: 83
  • Joined: Tue Jan 15, 2019 1:26 pm
  • Real Name: Bill Staley

Re: Help please: Poor performance on Linux

PostSat May 01, 2021 4:15 pm

275 views and not one reply. What am I doing wrong here?
Windows 10
AMD Threadripper 5950x
32GB RAM
nVidia GTX 1080
All SSD
Resolve Studio 17
Offline

smunaut

  • Posts: 524
  • Joined: Sat Jan 30, 2021 6:15 pm
  • Real Name: Sylvain Munaut

Re: Help please: Poor performance on Linux

PostSat May 01, 2021 5:42 pm

You can look at the `nvidia-smi` output, I think it outputs GPU usage so you can see if it's being used during decode.

Do you have sample clips I could try to play on my system ? I only have BRAW and I can play 4k 30fps braw just fine.
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux
Offline

bstaley

  • Posts: 83
  • Joined: Tue Jan 15, 2019 1:26 pm
  • Real Name: Bill Staley

Re: Help please: Poor performance on Linux

PostSat May 01, 2021 8:51 pm

Here are two sample 4k60p clips. One from my Fuji and one from my Panasonic:
https://u.pcloud.link/publink/show?code ... AhcLGj1dQV

I was not aware of the nvidia-smi thing. Thanks for pointing that out. I will read up on it and give it a try.

Please let me know how your system is able to play the clips from the timeline.
Windows 10
AMD Threadripper 5950x
32GB RAM
nVidia GTX 1080
All SSD
Resolve Studio 17
Offline

smunaut

  • Posts: 524
  • Joined: Sat Jan 30, 2021 6:15 pm
  • Real Name: Sylvain Munaut

Re: Help please: Poor performance on Linux

PostSat May 01, 2021 9:34 pm

Looks fine to me at least.

I've never been a fan of high frame rate content, always looks weird to me, but the playback indicator is locked to 59.94 and green.

Note that the clips you sent are not 60 fps but 59.94 and there was a thread recently pointing that resolve has issues with this when playing the timeline causing small tearing / frame repeat because of the mismatch with the screen refresh and I would definitely expect linux to not necessarily handle that all that well either.

So I guess it depends what you call "stutter". At least to me it doesn't "pause" that I can see but maybe I just don't have the eye to catch details like that. At the very least I wouldn't have any issue using that for editing.

This was tested on Resolve 17.1.1 running on ubuntu 20.04 using drivers 460.73.01 with a RTX2070 super GPU and a 3700X CPU. GPU util was about 30% and CPU util was about 50% (of 1 core).
Also note I had render cache off (for me render cache tends to screw things up since it tries to write to disk and that causes more load than anything else)
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux

Return to DaVinci Resolve

Who is online

Users browsing this forum: DippityDapper, Frank Engel, KrunoSmithy, panos_mts and 252 guests