1 (edited by MarioPL98 15-02-2018 22:52:33)

Topic: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

Hi. I'm trying to playback 4k hevc 10 bit video (24->60fps). My cpu usage is  15-50% depending on settings. Index stays between 0.6 and 0.95 (usually 0.7). Video stutters very much. My player is mpv.
http://4kmedia.org/lg-chess-hdr-demo/ this video plays fine without SVP (it's 4k hevc 10 bit native 60 fps). I also tested few other native 60 fps samples and result is always the same.
My pc specs:
ryzen 1700 stock, rx 470, 16GB@2933Mhz, SSD for OS, svp and player, 2TB HDD for video file (about 150-180MBps sequential read)

I think I tested all possible settings, including different threads amount.

What's weird is that if I'm playing 60fps 4k hevc 10 bit in mpv with disabled svp in background, video starts stuttering. By disabled I mean a profile that has condition "if framerate higher or equal 30.0001" and disabled (unchecked/unclicked) "do frame rate conversion". Another weird thing is that in 10 bit hevc 4k 60 fps playback, svp overlay logo and text is white, sometimes just doesn't show.
mpv config:

#
# THIS FILE WILL BE OVERWRITTEN WITH THE PACKAGE UPDATE
# Use %APPDATA%/mpv/mpv.conf
# OR SVP's menu -> Information -> Add. information -> mpv config. file
#     to define your own customized configuration
#
# Sample mpv configuration
#

# this is required for SVP to "catch" the mpv
input-ipc-server=mpvpipe

# hardware video decoder
hwdec=auto-copy
hwdec-codecs=all

vo=gpu

# high quality video output, require rather fast video card
#profile=gpu-hq

# use ANGLE if you have problems with default d3d11 renderer
#gpu-context=angle
# OR the newest VULKAN API
#gpu-api=vulkan

# miscellaneous options

# fixes audio desync
hr-seek-framedrop=no

# this can't be used with SVP cause it also saves vf's states
save-position-on-quit=no

# "ReClock" replacement
#video-sync=display-resample
#video-sync-max-video-change=5

#log-file=mpv.log

opengl-backend=win

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

check gpu load

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

Also you can send bug report. It will give more information from logs.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

Gpu load jumps between 0 and 100%, I'd say about 30-50% avg.
I posted a report with "https://www.svp-team.com/forum/viewtopic.php?id=4374" in description

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

With disabled framerate conversion, there is about few percent gpu load, but still stutters.

6 (edited by Quaternions 16-02-2018 15:53:44)

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I have 4k 60fps video working excellently on my computer.  My CPU is an i7-7700k and I have a dedicated GPU.  I found that no player I tested other than MPC-HC would work without stuttering.  I think that it has the best hardware decoding of any player I have tested.  The bootleg update found here https://forum.doom9.org/showthread.php?t=175209 has better support for HEVC playback, particularly bluray remuxes.  My cpu usage sits around 77% with the SVP settings maximized.  I am interested to see how ryzen can or cannot handle this task, post your cpu usage if it works!

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

https://image.ibb.co/fEfA1S/image.png
With these settings 8bit 4k 24->60fps video plays fine with 40-50% cpu usage in mpc hc, but stutters in mpv. Afaik mpc hc doesn't support 10 bit color depth, so I'm trying to get it to work with mpv.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

Could you please try playing this file http://jell.yfish.us/media/jellyfish-12 … -10bit.mkv in mpv with svp enabled? I wonder if it's because of my system or because something doesn't work as it should.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I have not been able to get mpv to work smoothly, so I cannot help there, but a quick google search for "mpc hc 10 bit" showed some results, such as one using MadVR.  Did they not work for you, or they are not truly 10 bit?  I was also under the impression that true 10 bit monitors were rare, expensive, and hard to find outside of things like professional color work.  However, I only have noticed 8 bit color rearing its ugly head on images with obvious gradients, such as this
https://i.imgur.com/N6IC3xJ.png
so I have not concerned myself with it thus far.  The display I'm using for my 4k content is a cheapo LG 27UD58-B.  If I could get my hands on a true 10 bit display on the cheap that would be neat.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I tried playing your demo videos in different situations.

Jellyfish on mpv with SVP was stuttery
https://i.imgur.com/xJZjDz1.png
without SVP it played fine
https://i.imgur.com/FVxMGV6.png

Jellyfish on MPC with SVP was smooth
https://i.imgur.com/3hctmVL.png

Interestingly, the chess video did not work properly on MPC, with or without SVP!  The video played too slowly, which caused the audio to pause intermittently.   However, mpv played the video fine (but did not play smoothly with SVP) though the colors looked weird.

11 (edited by MarioPL98 16-02-2018 17:07:33)

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I have not been able to get mpv to work smoothly, so I cannot help there, but a quick google search for "mpc hc 10 bit" showed some results, such as one using MadVR.  Did they not work for you, or they are not truly 10 bit?

Afaik SVP doesn't support 10 bit with mpc hc. mpv is one of very few players that svp supports with 10 bit color depth. Correct me if I'm wrong, but I'm almost sure there is conversion 10->8 bit while using mpc hc and svp. @MAG79

12 (edited by dlr5668 16-02-2018 17:19:53)

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

windows gpu load can be missleading. example (I run crypto algo with 100% gpu load)

https://i.imgur.com/NxWG9xp.png

use GPUZ

https://i.imgur.com/oqbAiFR.png

13 (edited by MarioPL98 16-02-2018 17:20:09)

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I use GPU-z to check gpu load. What does it show with that algorithm?

EDIT Nvm

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I have a bit older version of windows 10 installed, I don't have gpu usage in task manager.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

mpv is not a good player for 4K with SVP - for some reason it takes 2 times more CPU power than the same video with same settings playing in MPC-HC (64-bit)
we don't know why
however recent builds seems to be noticably better
http://www.svp-team.com/forum/viewtopic … 886#p67886

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

So this might be caused by single-core performance? Is there any alternative to mpv that svp supports with 10 bit color and that can handle 4k hevc?

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

https://image.ibb.co/bFXhY7/image.png
This is while playing 1080p hevc 10 bit in mpv. Video is very smooth, however svp index looks weird.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

try that mpv.exe from 040218

4K doesn't stutter if you lower SVP settings a little bit (move the slider to the left)

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

It indeed does work with 4k now, but only with 8 bit. With 10 bit it didn't change almost at all. With jellyfish and bar moved to left the cpu usage is about 9-12%, yet video feels like 5 fps and index shows 0.5-0.9.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

https://image.ibb.co/gozh0n/image.png Graph while playing jellyfish.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

I also noticed that 8 bit clip has about 32-35% cpu usage in mpc hc and 45-55% in mpv (my custom settings, not the automatic bar). Both are smooth yet mpv takes a bit more time to "stabilise" framerate and stuttering.

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

BTW VLC 3.0 claims "HDR support" but I didn't tested it yet

Re: Low cpu usage and index below 1 when playing 4k hevc 10bit video.

Are there any theories about why this happends?