#High CPU while encoding AV1

51 messages · Page 1 of 1 (latest)

plain kite
#

Hey, I've just got a new A380 for encoding stuff.

So I threw (screwed lol) it into my old pc with older hardware (i7-7700k, 16gb@1600mhz ram, 500gb samsung ssd) and tried to encode a h265 video into av1 using handbrake. but to my surprise, my gpu only had a usage of ~60% but my cpu a 100% one.

Is my cpu the bottleneck?

nimble marsh
#

Are you using the QSV AV1 profile to encode?

plain kite
nimble marsh
#

try a higher res file?

plain kite
#

4k60 H264
-> 1080p60 w/ QSV AV1

Still high cpu, 50-60% cpu

nimble marsh
#

what version of handbrake?

plain kite
#

1.7.2 (2023122400)

nimble marsh
#

I'll do some testing after this meeting

plain kite
#

Okay okay thx :)

nimble marsh
#

is the file you used to test available publicly?

plain kite
#

nope sadly not, but i'm just using random recordings

one from my phone (s21+) so i don't really think it matters

#

but i can record a new one if you want

nimble marsh
#

ok this is really weird

#

Handbrake does this on Arc and NV

plain kite
#

so i'm not the only one having this problem LULW ?

nimble marsh
#

not sure what the deal with Handbrake is tbh

plain kite
#

i'm trying starrip rn, maybe this will work

#

33% cpu
54% gpu

hybrid egret
#

check video encode too

#

~50% is expected because there is two media units on XeHPG

plain kite
#

wym

hybrid egret
#

in task manager, you can change what load is displayed. currently you only show "video decode" and "video processing"

#

change one of the four graphs to "video encode"

#

And observe

plain kite
#

tbh, i don't have a video encode graph anywhere in task manager

hybrid egret
#

Which opens do you have?

plain kite
hybrid egret
#

curious

#

could be one of the unnamed ones, but I am sure there was one for video encoding as well

#

arc control just has this "media activity" field which is less useful.

#

will take me 3 days to check on my system

plain kite
#

maybe another reason could be one of those two things?:

  1. before that, there was a amd gpu in it, i didn't reinstall windows
  2. i didn't have to install a driver from a page like nvidia
hybrid egret
#

check what driver you are on

#

it might make a difference. And while at it, run DDU to remove the unneeded bloat first

plain kite
hybrid egret
#

yeah, that's from like July 2022 before launch I think

#

we are at 5186 right now

#

might also be a firmware update included.

#

I don't think anything significantly has changed with video encoding tho. Apart from the Vulkan video support, which I don't think is used by handbrake or other ffmpeg guis.

plain kite
#

where can i get newer ones from? i've only found ubuntu drivers

hybrid egret
#

be careful with that installer, don't check the spyware or the bloatware they want to give you

#

if you want arc control, you can extract the installer and install that by hand.

#

There might also be a flag to do that directly. Haven't tried it yet.

plain kite
#

alright, alright

#

let me look into that tomorrow
it's 2am over here

i'll update you then :) but thx for now

plain kite
#

// have to do that on the WE sorry

plain kite
#

Hey quick update. The driver fixxed everything

There are still some performance problems when streaming stuff to discord, but idk if they're from my old cpu/ram or maybe my connection? it's weird

hybrid egret
#

No, that's Discord

#

they only did AV-1 for Nvidia Ada cards, so it might even crash if you are trying to watch some RTX 4090 streaming