4k player stutter and high CPU utilization

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
Been trying to watch Mad Max in VLC but it stutters and maxes out all four of my i5 2500 cores. I figured the only thing it could be would be hardware acceleration being turned off, but when I went into settings it was set to automatic. With automatic not working, I changed it to the only other option that wasn't disable, "Direct X Video Acceleration (DXVA) 2.0. 4k playback still stutters and still chokes my CPU. My 1060 6gb should handle 4k playback with ease, but I seem unable to get any 4k media player to use anything other than the CPU. Help would be appreciated.
 

Bacon1

Diamond Member
Feb 14, 2016
3,430
1,018
91
Try Media Player Classic? Or if W10 try one of the UWP based players?
 

nathanddrews

Graphics Cards, CPU Moderator
Aug 9, 2016
965
534
136
www.youtube.com
How is the video encoded? Can you post a screenshot like this?
current-media-information.png
 
  • Like
Reactions: poofyhairguy

nathanddrews

Graphics Cards, CPU Moderator
Aug 9, 2016
965
534
136
www.youtube.com

OK, I see the problem now. 100% CPU usage means that your CPU is trying to decode the stream and your GPU is not doing anything. You have to ensure that whatever player you use (VLC in this case) is passing decode responsibility to your GTX 1060. This is clearly not happening. Try the latest nightly build of VLC (2.2.5, I think) and make sure that GPU-accelerated playback is selected.

I don't have a perfect list yet, but:

Pure hardware decode of 4K HEVC Main10 is available on:
1. NVIDIA Maxwell 2 GPUs (only GTX960 and GTX950)
2. NVIDIA Pascal GPUs (all mobile and desktop)
3. Intel Kaby Lake CPUs (all mobile and desktop)
4. AMD Polaris GPUs (all mobile and desktop)

Partial/Hybrid hardware decode of 4K HEVC Main10 is available on:
1. Intel Skylake CPUs

Other 4K HEVC profiles (not Main10) fully or partially supported in hardware or software:
1. AMD Fiji GPUs
2. AMD Carrizo APUs
3. Maxwell 1 GPUs (all mobile and desktop)
4. Intel Broadwell CPUs (all mobile and desktop)
5. Intel Haswell CPUs (only 4-core+ models)
6. Intel Atom CPUs (Apollo Lake and Braswell)
 

FFFF

Member
Dec 20, 2015
199
18
36
You probably need to set the default graphics to High-Performance Nvidia Processor for VLC in Nvidia's control panel. If that option is greyed out, you'll have to use Nvidia Inspector or some other tool to manually change the value in the drivers.
 

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
Well it definitely isn't going to be as simple as toggling a setting in the control panel, it's gone in the latest version. Ugh. More hoops to jump through and more stupid shit just to get options and functionality that once existed, but has since been removed. I'm started to tire of this behavior in software in general. More and more it all feels increasingly stripped down.
 

mnewsham

Lifer
Oct 2, 2010
14,539
428
136
Try MPV, in my own personal testing I found it works well with GPU decoding.

The GTX 1060 should support Main 12 HEVC decoding up to 8K res. So it's gotta be something in your software that's preventing hardware acceleration of the GPU.
 

FFFF

Member
Dec 20, 2015
199
18
36
Well it definitely isn't going to be as simple as toggling a setting in the control panel, it's gone in the latest version. Ugh. More hoops to jump through and more stupid shit just to get options and functionality that once existed, but has since been removed. I'm started to tire of this behavior in software in general. More and more it all feels increasingly stripped down.

Like I said, you could try the Nvidia Inspector route.
 

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
MPV uses the CPU for decoding like everything else.

Like I said, you could try the Nvidia Inspector route.
Yeah, I know. I just lament having to put up with downloading all kinds of additional 3rd party software now to restore the functionality that we used to see baked in for free with the primary program. Alright I downloaded it, went into the inspector and found the VLC profile but see no "High-Performance Nvidia Processor" or gpu acceleration option. What's next?
 

FFFF

Member
Dec 20, 2015
199
18
36
MPV uses the CPU for decoding like everything else.


Yeah, I know. I just lament having to put up with downloading all kinds of additional 3rd party software now to restore the functionality that we used to see baked in for free with the primary program. Alright I downloaded it, went into the inspector and found the VLC profile but see no "High-Performance Nvidia Processor" or gpu acceleration option. What's next?

You need to make sure Enable application for Optimus is on, then scroll down the window until you find Shim Rendering Mode Options per application for Optimus and on the dropdown menu select SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE and apply changes.
 

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
You need to make sure Enable application for Optimus is on, then scroll down the window until you find Shim Rendering Mode Options per application for Optimus and on the dropdown menu select SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE and apply changes.
I don't see that option in particular. Which should I select?

dKgeTeW.jpg
 

FFFF

Member
Dec 20, 2015
199
18
36
I don't see that option in particular. Which should I select?

dKgeTeW.jpg

Since It's already green that means it's enabled, you can just skip to the next step:

then scroll down the window until you find Shim Rendering Mode Options per application for Optimus and on the dropdown menu select SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE and apply changes.
 

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
What I'm saying is "SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE " isn't available. Look at the screenshot to see what options I have available from the pull down. Is it a variation of another option listed? Is it "SHIM_RENDERING_MODE_ENABLED"?
 

FFFF

Member
Dec 20, 2015
199
18
36
What I'm saying is "SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE " isn't available. Look at the screenshot to see what options I have available from the pull down. Is it a variation of another option listed? Is it "SHIM_RENDERING_MODE_ENABLED"?

SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE is under Shim Rendering Mode Options per application for Optimus, you're looking the wrong place.
 

Sonikku

Lifer
Jun 23, 2005
15,749
4,558
136
Closed VLC. Made the change, selected Apply changes. Reopened VLC. Same problem.

Op8dCSj.jpg


Now what?
 

FFFF

Member
Dec 20, 2015
199
18
36
Closed VLC. Made the change, selected Apply changes. Reopened VLC. Same problem.

Op8dCSj.jpg


Now what?

Well now VLC should always run using Nvidia card by default, so the problem is clearly not that. Other causes could be either drivers or OS configuration.