MPC-HC high CPU usage

View previous topic View next topic Go down

MPC-HC high CPU usage

Post by chummy on Wed Jun 17, 2015 6:08 pm

Hello, i started notice a problem yesterday when playing a video and it start stutter some times. So i see in task manager CPU usage was around 50% and increasing to 80-100 sometimes.

It's strange because the videos are 1080p/x264 and my i7 4770 always get no more than 5-15% cpu usage to run such quality/codec. I dont know if that is a bug with latest mpc-hc build or some thing in k-lite causing the problem.

In WMP the same video is running at half CPU frequency (2ghz) with 5-15% usage, while in mpc-hc x64 going to full speed 4ghz and 40-50% usage, and causing some stutters in video after time.

I already reinstalled the k-lite to see if that was a glitch in installation but keep same problem after that.

chummy

Posts : 5
Join date : 2014-09-16

View user profile

Back to top Go down

Re: MPC-HC high CPU usage

Post by Admin on Wed Jun 17, 2015 10:32 pm

Are you using version 11.2.0 or 11.2.3?

Options > Player > Output > Select "Enhanced Video Renderer"
Does that solve the problem? There were some changes to the custom renderers of MPC-HC, which could possibly be responsible for your problem.

Sometimes a reboot is enough to fix these kind of problems, so don't forget to test if the problem still occurs today before you change any settings.

Admin
Admin

Posts : 2979
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC high CPU usage

Post by chummy on Thu Jun 18, 2015 1:39 am

Maybe i dont understand right, but everytime i install k-lite i choose software decoding by default. In past i never see such cpu usage for playback 1080p videos here in these decoding mode. The videos im testing are 1080p/60fps from gameplays i have, and with them this is happening but with low 24-30fps ones the usage is no higher than 10-15%.

Is 1080p/60fps so demanding for a i7 to run it and i never notice it before? I already played HEVC 4k here fine, i just dont know if without my concern it was using GPU acceleration instead.

Can GPU driver possible causing such problem? Running youtube 1080/60 video in firefox and with HW acceleration disabled, cpu is using 40-50% and GPU 30%.

chummy

Posts : 5
Join date : 2014-09-16

View user profile

Back to top Go down

Re: MPC-HC high CPU usage

Post by Admin on Thu Jun 18, 2015 4:36 am

I am not talking about hardware acceleration. I use software decoding too on a slightly slower CPU. 1080p 60fps should normally use around 10-25% CPU.

Try that setting I mentioned. I helps diagnose the cause of the problem.

Also look at MPC-HC menu > Play > Filters. You should see LAV Video Decoder in that list, not some other decoder.

Admin
Admin

Posts : 2979
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC high CPU usage

Post by chummy on Thu Jun 18, 2015 12:03 pm

Yes, it's already using LAV codec for video and audio. But like i said this is not just happening to MPC-hc, the problem occurs playing 1080p videos at youtube. I notice thanrunning in WMP the 5-15% usage was due HW acceleration, and when turned HW off even at WMP cpu usage increased to same amount in browser or mpc.

It looks like started happening since 2 days ago, only thing i do was putting old nvcuvenc.dll in both path \system32 and \syswow64 to try using GPU Acceleration for Preview in video editor software because with last Nvidia driver it broken in that application.

chummy

Posts : 5
Join date : 2014-09-16

View user profile

Back to top Go down

Re: MPC-HC high CPU usage

Post by Admin on Thu Jun 18, 2015 11:22 pm

nvcuvenc.dll is a component for encoding video. It should not have any effect on decoding of video, certainly not when doing software decoding.

YouTube uses either Flash (own decoder) or HTML5 (Microsoft decoder). So it is not decoder specific. 5-15% with HWA enabled also seems a bit higher than expected.

Maybe try running a benchmark to see if performance is bad in general.
http://www.passmark.com/products/pt.htm
(free trial)

Admin
Admin

Posts : 2979
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC high CPU usage

Post by chummy on Fri Jun 19, 2015 7:05 pm

I play games and all runs fine, but tested Passmark to see and for average the results are normal, being better than 8150 and below 5820k in multithread results.

I use chrome and firefox, chrome uses html5 by default and firefox i tweaked settings to runs full html5 for support 60fps youtube videos. In youtube 60fps video the cpu usage is around same for both 50% in Tskmgr with some spikes up with HWA disabled.

Running 24fps video with HWA/DXVA2 since my gpu have h264 encoder/decode, cpu usage stay at 1-5%. My main OS is Win8.1 but just to certificate i tested in my seconday Win10 preview OS and there same results with HWA disabled for 60fps videos at MPC or browsers, average 50% at Tskmgr.


Edit: Today after changed mainly 2 things in system and Bios the cpu usage dropped a lot. I was having some problem with 2 windows update related to windwos 10 upgrade, which installed in system, both broken the sfc /scannow giving reports of corrupted files but was not broken really just a glitch these updates cause to sfc/scannow. I just uninstalled both and disabled "execute disable bit" in Bios. One of theses 2 things or another thing i dont know bring back today the cpu usage to a lot better numbers in video playback.

60fps videos now are runing under 8-12% cpu usage. Another strange results before was a 100% pcie bus load under GPU when running video in software decode, but now the pcie bus is in 5% when running video at software decoding.

chummy

Posts : 5
Join date : 2014-09-16

View user profile

Back to top Go down

Re: MPC-HC high CPU usage

Post by Admin on Sat Jun 20, 2015 4:04 am

Good to hear the problem is solved.

A 100% pcie bus load would be the cause of the stuttering. I doubt it is related to the "execute disable bit", as that is normally enabled by default on Win8+ systems. Maybe some other bios setting got reset.

Admin
Admin

Posts : 2979
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC high CPU usage

Post by Sponsored content Today at 1:33 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum