You are not logged in.

#1 2023-08-26 09:50:42

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

using full cpu and system resources after uefi bios reset

Hi I am Rupesh from India and I have a system with Intel i3 10th gen 10100 processor and Asus h510 me motherboard. Yesterday I have issued load optimal settings in uefi bios. At present full system resources are not being used.

I have brought my system 20 months back. I installed Arch Linux 4 months ago and compiled ffmpeg git source code. after that I have ran ffmpeg in three terminal emulator windows I mean I ran three instances of ffmpeg in three separate directories.

At present my system is running linux kernel 6.4.11.

While running the system I opened an application called lxtask task manager and I have noticed that cpu load is from 70% to 84%.

Yesterday my system stopped working and there was no display in monitor and so I have removed ram from motherboard and inserted again. After that I entered into bios settings and selected load optimal settings.

At present I have booted into Arch Linux and started three ffmpeg instances in three separate directories. After that I have opened lxtask task manager and this time I have noticed that cpu load is from 57% to 68%.

My cpu base frequency is 3.6 ghz and it's turbo frequency is 4.2 ghz.

I have issued the command cat /proc/cpuinfo and found that frequency is 3.6 ghz.

Finally my complaint is the quality of the video converted from h264 codec to av1 codec is not good.

I think that linux kernel has not detected all of the system components correctly.

I think that kernel has not detected the cpu frequency and it's flags or extensions like mmx, sse etc.,.

I have entered into bios and enabled over locking and even no use.

I want to remove old configuration files of cpu and ram and use new ones.

Kindly try to suggest how to recognise all the system components correctly and make average usage of cpu between 70% to 83%.

Regards,
Rupesh.

Offline

#2 2023-08-26 09:53:52

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: using full cpu and system resources after uefi bios reset

My system is working properly I mean I am able to play media files and watch videos but the average load is not as expected.

Offline

#3 2023-08-26 13:57:09

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: using full cpu and system resources after uefi bios reset

Hi cpu usage is fluctuating between 56 percent and 69 percent instead of 83 percent. Previously I have noticed maximum number of times to be 81 percent.

Can I think that my system is working properly.

My current requirement is I want quality video output from ffmpeg.

Is there any relationship between quality video output and cpu usage. I think that if ffmpeg take more cpu resources it produces quality output.

Please suggest weather my assumption is wrong and can I safely ignore the cpu usage.

Offline

#4 2023-08-26 23:15:08

jonno2002
Member
Registered: 2016-11-21
Posts: 856

Re: using full cpu and system resources after uefi bios reset

this just sounds like a ffmpeg question, what command are you using to encode/transcode your media ?

Offline

#5 2023-08-27 15:45:52

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: using full cpu and system resources after uefi bios reset

name=${temp%????};

ffmpeg -y  -i "$i" -f mp4  -an -c:v libaom-av1  -cpu-used 4 -row-mt 1 -b:v 170k -pass 1 -f null /dev/null && \
   ffmpeg -y  -i "$i" -f mp4  -ac 1 -c:v libaom-av1  -cpu-used 4 -row-mt 1 -b:v 170k -pass 2 -c:a libopus -vbr on -application voip -mapping_family 0   -b:a 20k -ar  48000 -af aresample=resampler=soxr   "${name}_compressed_opus_new.mp4";
  

The same code used more cpu resources and now lower resources.

Last edited by rupeshforu3 (2023-08-27 16:07:05)

Offline

#6 2023-08-27 22:00:45

jonno2002
Member
Registered: 2016-11-21
Posts: 856

Re: using full cpu and system resources after uefi bios reset

im no expert with ffmpeg or av1 but from what ive read your using the wrong encoder, theres 3 right... libaom, svt-av1 and rav1e and from the threads i read svt-av1 seems to be the preferred codec.
just tried this on my system:

ffmpeg -i foo.mp4 -c:a copy -c:v libsvtav1 -preset 8 -crf 35 svtav1_test.mp4

and it maxxed out the cpu.

ill leave you to do some reading and figure out the best preset and crf setting.

Offline

Board footer

Powered by FluxBB