Camtasia 2020 and NVIDIA GeForce RTX 2080?

  • 1
  • Question
  • Updated 4 weeks ago
I suspect I don't really know HOW to set up my system to better utilize the graphics system in this computer. It is the HP Omen Obelisk 875-XXXX with 8GB on the NVIDIA GPU.

As you can see in the image I attach, the GPU is dramatically under-used, while the CPU is running at close to 100% most of the time.

Image 1: GPU use



Image 2: NVIDIA as the Hardware Acceleration choice:


Please advice HOW to improve the use of the RTX 2080 GPU. Thank you!

Al Navas
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
  • I would LOVE to set this better... :(

Posted 4 weeks ago

  • 1
Photo of paulwilliamengle

paulwilliamengle

  • 420 Posts
  • 155 Reply Likes
62% is not not nothing, FYI. 

How much RAM do you have and what CPU are you using? 

Can you take a screenshot from the performance tab scrolled up? I see all your secondary and tertiary storage disks, Ethernet and CPU but not your boot drive, RAM and CPU? 

Is this only when you're rendering projects, Al or is this when you're editing as well? 
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Paul, the computer has 32GB RAM, and a 256GB boot SSD and an extremely fast 2TB HDD. But I added a 2TB Crucial SSD for storage and rendering. The main storage for the videos is another SSD, also 2TB, plus an external 500GB SSD to transfer files to other computers to review results. Overall, a fast gaming machine, although the only games I play are video rendering of my online courses recorded with the Zoom app.
Photo of paulwilliamengle

paulwilliamengle

  • 420 Posts
  • 155 Reply Likes
And your CPU? Sounds like you have a sweet setup? 

My GPU runs close to 80-100% the whole time it renders. I guess your post doesn't make clear: what *issue* are you experience? Slowness editing? Slowness rendering? 


Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Paul, rendering is the fastest I've ever seen Camtasia — and I've use Camtasia since its early days. But I *wanted* the GPU to help much more. I cannot put my finger on it, other than I expected the RTX 2080 to take over some of the work, not so much the CPU.
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Paul the CPU is:

Intel Core i7-8700
  • CPU speed: 3.2 GHz (max turbo boost - 4.6 GHz)
  • CPU cores: 6
  • CPU Cache: 12 MB
  • TDP: 65 W
  • Socket: LGA 1151
Got sidetracked on testing, but hope to get to it this weekend.
Photo of Naomi Skarzinski

Naomi Skarzinski

  • 258 Posts
  • 234 Reply Likes
I have rendering speed issues too, which I posted on a different string. It has not been resolved as of yet. Make sure to put in a support ticket to TechSmith, so at the minimum they can keep track of those who are having rendering issues. It might help them further investigate.
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Thanks, Naomi. I hope that rendering can be improved by allowing the GPU to take over many more of the tasks. I've tried tweaking the NVIDIA Control Panel settings, and it has helped some.
Photo of Muscle Whisperer

Muscle Whisperer

  • 176 Posts
  • 94 Reply Likes
How full is your 256GB boot SSD? And how much space are you using for your Pagefile.sys? Your CPU may be using its energy swapping all the time. I have a more modest machine but during rendering the CPU ticks over no more than 60% of capacity (8 core threads) and the nVidia GPU P4000 is handling it easily. Rendering still takes forever, but until I get a Cray I guess it will.
Photo of Al Navas

Al Navas

  • 35 Posts
  • 6 Reply Likes
Thanks. The boot SSD has 108GB free of a total of 256GB.
Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
In a different thread, a TS s/w engineer posted a referral to this old thread:
https://feedback.techsmith.com/techsmith/topics/some-tips-on-getting-faster-rendering-performance-with-camtasia-9

If you're uncomfortable with changing your registry, you can put the following in a reg file (reg extension), on your desktop and update your registry by dbl-clicking on it. A reg file can be created in by notepad, just be sure it gets the reg extension, not txt.

===================== start
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\TechSmith\Camtasia Studio\20.0\Camtasia Studio\20.0\]
; change above "20.0" to "19.0" if you have Camtasia 2019
"ProductionThreadPriority"=dword:00000002
;priority levels are (low) 0, 1, 2 (highest), default is "1"

"CSRenderLibRenderer"=dword:00000001
;"0" is CPU rendering, "1" is GPU 

"ProductionRendererScheme"=dword:00000001
; "2" is software rendering for frame composition, "1" is GPU

===================== end

A semicolon in column 1 is interpreted as a comment. Above are recommended settings for Al Navas's
to take advantage of his RTX 2080.  

If you intend on using the PC for doing other work while rendering, change:
"ProductionThreadPriority"=dword:00000002      to      "ProductionThreadPriority"=dword:00000001


(Edited)
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Thank you, Ed. I will give this a shot.
Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
Al -  I should have also mentioned, I think your mother board will host 2 or 3 NVMe SSD's - about 15 times faster than an SATA-3 attached SSD. Ask your dealer.
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Ed, the motherboard will host 1 more, indeed. I will check the possibilities!
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Ed, I was wrong. It will host 2 more SSDs.
Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
If you lived next door, I could show you how to get 15+ x  performance from 1 and 32 x performance from the other two. I assume you're not close to Colorado Springs, CO?
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Not at all, Ed  lol. I am East of you, near Kansas City, MO.
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
My first guess is thermal throttling on your laptop. You might want to monitor the CPU and GPU temps and see if/how it correlates. You could check with HP on how they throttle with your specific configuration. I use HWiNFO for this type of temp monitoring. My Lenovo laptop is running an i9 with an Nvidia Quadro T2000. Depending on the version of the BIOS, drivers, and power management configuration from Lenovo, I have seen a wide variety of throttling differences.
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Thank you, Rich. I've never seen temps higher than 80°C/176°F even under the heaviest of loads. But I will keep a closer eye on both temps and try to develop a correleation.
Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 523 Reply Likes
Is your HP Omen Obelisk 875-xxxx is a Laptop?
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
Looking up the model, it must be a desktop? Also, the temp listed above is for CPU or GPU?
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
It is a desktop, a 6-month old HP Omen Obelisk.
Photo of Joe Morgan

Joe Morgan

  • 9088 Posts
  • 4787 Reply Likes
Hey Al Navas,

Just a suggestion. If you're going to tweak your settings. Do a test render of something.
Like exactly 5 or 10 minutes of a typical projects. It keeps the math simple.
Fire up an on screen timer. Or time it any way that suits you.

Tweak your settings and render again. See if it actually gets you anywhere.Determine if the change is worth adopting.

I'm no software engineer.
I can tell you this much. I've run identical test renders both with and without the GPU on Camtasia 8 through 2019.  I never got around to testing version 2020. Maybe today? {:>)

Camtasia 9, doesn't have native GPU rendering. Its a software mode render-er. So its a different beast.



I didn't tweak any Camtasia settings in my tests.

Camtasia 8 outperformed all of them. I suspect the 32 bit architecture played a part.
2019's GPU render was almost as fast 8's GPU render.
But 8's CPU render was 20% faster than 2019's.

I was running 10 minute test renders.

The same video in Adobes Premiere Pro. Kicked Camtasia's tail without using the GPU at all.
Outperforming Camtasia's Best GPU render times by over 10%.

Premiere Pro utilizes the GPU for GPU accelerated effects.Which this video had none of.

So, that brings me to my point. I can't tell you how Camtasia works under the surface. It absolutely  renders faster with the support of a GPU.
Why its so much slower without one might be a better question to ask?

If tweaking the settings hampers CPU performance? It may be a even handed trade-off. So step lightly and test is my suggestion.
(Edited)
Photo of Al Navas

Al Navas

  • 36 Posts
  • 6 Reply Likes
Joe, I will have to run real tests. The original results I showed were screen captures during a render of an 80-minute video with Closed Captions.
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
I grabbed some snapshots from my desktop during a rendering this morning, in case these comparisons are helpful. I am running Camtasia 2020.0.3. My GPU typically hovers around 50% utilization at 50°C. My CPU hovers around 75% utilization at 75°C after an extended period of rendering in Camtasia. I assume that Camtasia has some logic as to which operations are best done on GPU versus CPU (and it might vary depending on the content that's being rendered). I feel that Camtasia 2020 has done better at pushing the system hard during rendering than previous versions. I would be interested in hearing from TechSmith any details as to the logic to optimize the utilization of the hardware.






Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
I rendered the file two more times. Once again with the registry changes still in place and once again after removing the registry changes. I tried to keep the computer load (outside of Camtasia) the same during the test.

Duration to render with registry changes: 13:27
Duration to render after removing registry changes: 13:27

It appears the registry changes have no impact on my system.

Render summary below. I was bringing together a few sources, including 4k video, 1080P video, 1024x768 screen capture, and audio.

Content duration:    00:54:04 (hh:mm:ss)
Content size:    2.06 GB
Video Dimensions:    1920x1080
Total Dimensions:    1920x1080

Production Options:
Frame Rate:    30
Keyframe rate:    5
Pause at start:    Disabled
Bitrate Mode:    Quality Mode
H264 Profile:    High
H264 Level:    Auto
Video Quality:    60 %
Audio Bitrate:    128 kbps
Audio Format:    AAC
Watermark:    Disabled
Table of Contents:    Disabled
SCORM:        Disabled
Production Preset:    MP4 only (up to 1080p)

And to confirm, these are the registry settings I used (and exported) to paste below:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TechSmith\Camtasia Studio\20.0]
"ProductionThreadPriority"=dword:00000002
"CSRenderLibRenderer"=dword:00000001
"ProductionRendererScheme"=dword:00000001

Finally, here are the screen caps while running the two renders. The first image is during the render with the registry changes. The second image is during the render without the registry changes (i.e., Camtasia default settings).



Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
Out of curiosity, I wanted to confirm Camtasia was reading the registry settings. Using Sysinternals Process Monitor, I got this:

ProductionThreadPriority - Result:SUCCESS

CSRenderLibRenderer - Result:SUCCESS, Result:BUFFER OVERFLOW, Result:SUCCESS (read three times, once with a failure)

"ProductionRendererScheme - Result:SUCCESS

Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 523 Reply Likes
OK, I guess TS no longer knows how to change its priority in Windows.

I haven't figured out how to change the Windows settings for a "Windows App" in the registry yet, but here's something that'll move your CPU meter a bit:
1) Launch Camtasia
2) In Task Manager go to the details tab 
3) Find CamtasiaStudio.exe and rt-click on the file name, 4th item down in "Set Priority".
I got a 8% CPU bump going from normal to high, I don't use hardware acceleration.
Tonight I'll try the "Realtime" priority.

Without permanently changing a registry entry "somewhere", we'd have to do this, every time we launch Camtasia. Time to contact Kevin again.
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
You can create a shortcut using "start" and /PriorityLevelName so that you don't have to do this each time. Example Windows shortcut:

cmd /c start "" /High "c:\program files\techsmith\camtasia 2020\camtasiastudio.exe"
(Edited)
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
I rendered again with the Camtasia process base priority at HIGH.

Duration to render with registry changes at NORMAL priority: 13:27
Duration to render after removing registry changes at NORMAL priority: 13:27
Duration to render without registry changes at HIGH priority: 13:23

The CPU and GPU average utilization looked similar for all three.
Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
Joe - 
Yea, amazing how little changed in the Registry in the last 4 years. The settings suggested for v9 also work for every version since. The key locations changed a bit, but I made the appropriate changes in the reg file for 2019 and 2020 at least.

You may have missed Kevin Liu post . . . yesterday when he referred us (Paul & I & ??) to his 4 year old post and said, "still applies today". :
https://feedback.techsmith.com/techsmith/topics/how-technical-hardware-works-with-camtasia-request-f...
- Ed
Photo of Joe Morgan

Joe Morgan

  • 9088 Posts
  • 4787 Reply Likes
Here's what Kevin Liu actually posted.

I had an old post couple of years ago talking about rendering performance in general, some concept still applies if interested: 

The test results will speak for themselves.

Rich is batting Zero. Which is unfortunate.

Lets hope the experiment pans out for someone. {:>)

Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
Rich - I have Kevin looking into it - none of your hi-lited keys have any effect no mater how they are set.
Re: Handbrake: With NVENC checked, I get 100% CPU and 2% GPU (I have a poor video card nVidia GTX 1070).
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
I have a 2080 Ti in my other PC, and the NVENC encoding performance is amazing. I can't wait to test the 3080 Ti (saving my pennies right now).
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
Btw... I would expect better performance in Handbrake with your 1070 GPU. I just ran a quick comparison on my 2080 Ti system.

CPU: i7-8086K 4GHz
GPU: Nvidia RTX 2080 Ti

Handbrake
Video 4k MXF (16GB in size) to MP4 quality 24

H.264 x264 encoder (100% CPU, 0% GPU)
~56 min

H.264 NVENC encoder (30% CPU, 98% GPU)
~16 min

(Edited)
Photo of rich

rich

  • 60 Posts
  • 8 Reply Likes
I ran that same test on my AMD PC.

CPU: Ryzen 9 3900X 3.8GHz
GPU: Nvidia GTX 1080 Ti

Handbrake
Video 4k MXF 16GB in size to MP4

H.264 x264 encoder (100% CPU, 20% GPU)
~28 min

H.264 NVENC encoder (25% CPU, 50% GPU)
~12 min

The AMD whooped the Intel and the 1080 Ti beat out the 2080 Ti with this specific video. Historically, the 2080 Ti has run 25%+ faster with NVENC, so not sure what's up with this file / test.


Photo of Ed Covney

Ed Covney

  • 1042 Posts
  • 524 Reply Likes
Thanks Rich, 

I agree, 24 threads is way better than 12. But your 60 MB of L3 cache is likely half the reason. (I'm jealous)