Jump to content

4k dropping frames


Mbedford

Recommended Posts

Mbedford

Hi all,

 

I have a fairly beefy system spec wise for a media center I think, with a i7 CPU and onboard Intel UHD graphics 630 chip which is marketed on the Intel site as supporting 4k playback.

 

But for H265 4k content im dropping frames (see attached screenshot), im trying to work out why.

 

H264 4k content is playing smoothly and not dropping frames (see attached screenshot), but they are very large files. Looking at the CPU usage its WELL below 100%. Looking at the disk usage in task manager seems pretty low, another reason I dont think its the disk performance is H254 files are much larger, so would be more dependence on a high performing disk.

 

FYI 4k videos on YouTube is smooth. VLC player drops frames also for H265 4k content.

 

Any idea why iys dropping frames when the system seems to be up to the spec required?

 

System specs:
 
[system Summary]
 
Item Value
OS Name Microsoft Windows 10 Pro
Version 10.0.18363 Build 18363
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name MEDIACENTER
System Manufacturer Gigabyte Technology Co., Ltd.
System Model B360M AORUS Gaming 3
System Type x64-based PC
System SKU Default string
Processor Intel® Core i7-8700 CPU @ 3.20GHz, 3192 Mhz, 6 Core(s), 12 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. F12, 14/03/2019
SMBIOS Version 2.8
Embedded Controller Version 255.255
BIOS Mode Legacy
BaseBoard Manufacturer Gigabyte Technology Co., Ltd.
BaseBoard Product B360M AORUS Gaming 3-CF
BaseBoard Version x.x
Platform Role Desktop
Secure Boot State Unsupported
PCR7 Configuration Binding Not Possible
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale Australia
Hardware Abstraction Layer Version = "10.0.18362.628"
User Name mediacenter\MCE
Time Zone AUS Eastern Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.9 GB
Available Physical Memory 9.39 GB
Total Virtual Memory 36.9 GB
Available Virtual Memory 29.6 GB
Page File Space 21.0 GB
Page File E:\pagefile.sys
Kernel DMA Protection Off
Virtualization-based security Not enabled
Device Encryption Support Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not Modern Standby, Un-allowed DMA capable bus/device(s) detected, TPM is not usable
Hyper-V - VM Monitor Mode Extensions Yes
Hyper-V - Second Level Address Translation Extensions Yes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution Protection Yes
 
[Display]
 
Item Value
Name Intel® UHD Graphics 630
PNP Device ID PCI\VEN_8086&DEV_3E92&SUBSYS_D0001458&REV_00\3&11583659&0&10
Adapter Type Intel® UHD Graphics Family, Intel Corporation compatible
Adapter Description Intel® UHD Graphics 630
Adapter RAM 1.00 GB (1,073,741,824 bytes)
Installed Drivers C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd12umd64.dll
Driver Version 26.20.100.7262
INF File oem22.inf (iCFL_w10_DS section)
Color Planes Not Available
Color Table Entries 4294967296
Resolution 4096 x 2160 x 30 hertz
Bits/Pixel 32
Memory Address 0xA0000000-0xA0FFFFFF
Memory Address 0x90000000-0x9FFFFFFF
I/O Port 0x00003000-0x0000303F
IRQ Channel IRQ 4294967292
I/O Port 0x000003B0-0x000003BB
I/O Port 0x000003C0-0x000003DF
Memory Address 0xA0000-0xBFFFF
Driver C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\IIGD_DCH.INF_AMD64_11C26D8A23BFF2A5\IGDKMD64.SYS (26.20.100.7262, 19.68 MB (20,630,888 bytes), 25/10/2019 9:34 PM)

post-139386-0-79697600-1586757301_thumb.jpg

post-139386-0-59833700-1586757310_thumb.jpg

Link to comment
Share on other sites

maegibbons

Hi all,

 

I have a fairly beefy system spec wise for a media center I think, with a i7 CPU and onboard Intel UHD graphics 630 chip which is marketed on the Intel site as supporting 4k playback.

 

But for H265 4k content im dropping frames (see attached screenshot), im trying to work out why.

 

H264 4k content is playing smoothly and not dropping frames (see attached screenshot), but they are very large files. Looking at the CPU usage its WELL below 100%. Looking at the disk usage in task manager seems pretty low, another reason I dont think its the disk performance is H254 files are much larger, so would be more dependence on a high performing disk.

 

FYI 4k videos on YouTube is smooth. VLC player drops frames also for H265 4k content.

 

Any idea why iys dropping frames when the system seems to be up to the spec required?

 

System specs:

 

[system Summary]

 

Item Value

OS Name Microsoft Windows 10 Pro

Version 10.0.18363 Build 18363

Other OS Description Not Available

OS Manufacturer Microsoft Corporation

System Name MEDIACENTER

System Manufacturer Gigabyte Technology Co., Ltd.

System Model B360M AORUS Gaming 3

System Type x64-based PC

System SKU Default string

Processor Intel® Core i7-8700 CPU @ 3.20GHz, 3192 Mhz, 6 Core(s), 12 Logical Processor(s)

BIOS Version/Date American Megatrends Inc. F12, 14/03/2019

SMBIOS Version 2.8

Embedded Controller Version 255.255

BIOS Mode Legacy

BaseBoard Manufacturer Gigabyte Technology Co., Ltd.

BaseBoard Product B360M AORUS Gaming 3-CF

BaseBoard Version x.x

Platform Role Desktop

Secure Boot State Unsupported

PCR7 Configuration Binding Not Possible

Windows Directory C:\WINDOWS

System Directory C:\WINDOWS\system32

Boot Device \Device\HarddiskVolume1

Locale Australia

Hardware Abstraction Layer Version = "10.0.18362.628"

User Name mediacenter\MCE

Time Zone AUS Eastern Standard Time

Installed Physical Memory (RAM) 16.0 GB

Total Physical Memory 15.9 GB

Available Physical Memory 9.39 GB

Total Virtual Memory 36.9 GB

Available Virtual Memory 29.6 GB

Page File Space 21.0 GB

Page File E:\pagefile.sys

Kernel DMA Protection Off

Virtualization-based security Not enabled

Device Encryption Support Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not Modern Standby, Un-allowed DMA capable bus/device(s) detected, TPM is not usable

Hyper-V - VM Monitor Mode Extensions Yes

Hyper-V - Second Level Address Translation Extensions Yes

Hyper-V - Virtualization Enabled in Firmware Yes

Hyper-V - Data Execution Protection Yes

 

[Display]

 

Item Value

Name Intel® UHD Graphics 630

PNP Device ID PCI\VEN_8086&DEV_3E92&SUBSYS_D0001458&REV_00\3&11583659&0&10

Adapter Type Intel® UHD Graphics Family, Intel Corporation compatible

Adapter Description Intel® UHD Graphics 630

Adapter RAM 1.00 GB (1,073,741,824 bytes)

Installed Drivers C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_11c26d8a23bff2a5\igd12umd64.dll

Driver Version 26.20.100.7262

INF File oem22.inf (iCFL_w10_DS section)

Color Planes Not Available

Color Table Entries 4294967296

Resolution 4096 x 2160 x 30 hertz

Bits/Pixel 32

Memory Address 0xA0000000-0xA0FFFFFF

Memory Address 0x90000000-0x9FFFFFFF

I/O Port 0x00003000-0x0000303F

IRQ Channel IRQ 4294967292

I/O Port 0x000003B0-0x000003BB

I/O Port 0x000003C0-0x000003DF

Memory Address 0xA0000-0xBFFFF

Driver C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\IIGD_DCH.INF_AMD64_11C26D8A23BFF2A5\IGDKMD64.SYS (26.20.100.7262, 19.68 MB (20,630,888 bytes), 25/10/2019 9:34 PM)

Are you playing this using Emby Theatre on the same machine that is running the server?

 

Not saying this is an issue. Just fact finding.

 

Are you physically noticing the dropped frames with your eyes?

 

Have you tried to force a transcode by lowering the bitrate?

 

Have you tried playing the media on a different client?

 

Need to get @ or someone with MPV knowledge to comment on the reasons for dropped frames showing in SFN.

 

Krs

 

Mark

 

Sent from my SM-N976B using Tapatalk

Link to comment
Share on other sites

Mbedford

Thanks for your reply.

 

Are you playing this using Emby Theatre on the same machine that is running the server? < Emby Theatre app on the same machine.

 

Are you physically noticing the dropped frames with your eyes? < Yes, very slightly, as its not dropping LOTS of frames, as you can see form my 2 screenshots, but its noticeable alright.

 

Have you tried to force a transcode by lowering the bitrate? < Don't know how to do that sorry. But shouldn't it just play with my current hardware/software setup?

 

Have you tried playing the media on a different client? < Yes on VLC player and it drops frames also, in fact I think Emby theatre drops a few less frames, maybe its decoder is a bit more optimised.

Link to comment
Share on other sites

maegibbons

So when you used VLC that was just direct from file? You were not using it as an external player in emby?

 

Have you tried playing on a phone or other networked device?

 

I will see if I have or can download those specific rips to see if i see anything different.

 

Krs

 

Mark

 

 

 

Sent from my SM-N976B using Tapatalk

Link to comment
Share on other sites

daedalus

slow rising dropped frames is in first a good sign that the gpu is not totally overchallenged

 

"4k videos on YouTube" is not a good comparison cause there are different videocodecs and fps possible

 

there are different causes possible, the first i would try, is setting a "better" display refreshrate, 23p media on 30hz especially without display sync, could cause this

if not possible, i would try activating display sync and interpolation

 

totally overlooked that h264 files don't drop frames, so this ^ shouldn't be the cause

Edited by daedalus
Link to comment
Share on other sites

sooty234

Change your display resolution to 3840 not 4096. You're forcing the player to upscale from 3840 to 4096

Edited by sooty234
  • Like 1
Link to comment
Share on other sites

maegibbons

Change your display resolution to 3840 not 4096. You're forcing the player to upscale from 3840 to 4096

That looks like a good catch!

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

daedalus

that should not really count in here, height is the same, so there should not be any upscaling

and running a display below its native res is nothing you should do

Edited by daedalus
Link to comment
Share on other sites

sooty234

He's also stretching the width, as the height doesn't change. Windows will recommend the resolution to be 3840 x 2160.

Link to comment
Share on other sites

daedalus

seeing some black bars on the left and the fact that mpv does not stretch out of the original aspect ratio in the default config, i dont think there is some upscaling here

 

we have just too much useless und too less usefull informations here

 

a shot from the video settings page in ET could be usefull

Edited by daedalus
Link to comment
Share on other sites

Mbedford

we have just too much useless und too less usefull informations here

 

a shot from the video settings page in ET could be usefull

Here you go, I hoe you mean this options screen:5e967b4f32aa7_settings1.png

 

5e967b6d23030_settings2.png

 

Everything is unticked and left default. I haven't hacked up pretty much anything in Emby, its all pretty much default settings throughout.

Edited by Mbedford
Link to comment
Share on other sites

daedalus

I would guess it’s the refresh rate mismatch...

but then there would also be dropped frames with h264 content

not saying that this should also be corrected

 

 

Here you go, I hoe you mean this options screen:  Everything is unticked and left default. I haven't hacked up pretty much anything in Emby, its all pretty much default settings throughout.

the important part high quality profile and interpolation (the last two settings) is missing :)

but i guess they are unchecked as said

 

as shot in the dark, try setting hardware acceleration mode to Auto (copy back)

Link to comment
Share on other sites

Mbedford

but then there would also be dropped frames with h264 content

not saying that this should also be corrected

 

 

the important part high quality profile and interpolation (the last two settings) is missing :)

but i guess they are unchecked as said

 

as shot in the dark, try setting hardware acceleration mode to Auto (copy back)

Thankyou for your help by the way. :)

 

Preferred Refresh Rates: blank

Enable video display syncing: Auto

Enable OpenGL high quality profile: unticked

Enable interpolation: unticked

 

Screenshot attached of 'stats for nerds' with Auto (copyback) enabled with a 4k H265 movie, still dropping some frames. H264 still not dropping frames.5e96dcb6eb93b_WithAutocopybackenabled.jp

 

Not sure if this helps, but running Emby in Chrome instead of Emby Theater gives the same dropped frames result.

and also same result in VLC player.

Edited by Mbedford
Link to comment
Share on other sites

daedalus

if all players drop frames by 4k h265 10bit than the GPU simply can't handle it

 

if the CPU can, you could try setting hardware acceleration mode to none to cross check

Link to comment
Share on other sites

  • 2 weeks later...
Mbedford

Hi, sorry for delay.

 

I set the acceleration to none, it dropped very slightly more frames than when set to auto

 

When set to auto it says video renderer is GPU and hw acceleration d3d11va

Link to comment
Share on other sites

PrincessClevage

I have the same observations, even when I set display to 24hz movies will still drop and gpu is running 60% load. Stats for nerds says d3d11va Hwa and media and display are 23.xyz FPS. Similar result when I change to copy back and gpu load drops lower but still drops

Edited by PrincessClevage
Link to comment
Share on other sites

Mbedford

Yeah what's strange about all this is when you go to task manager and look at the GPU load or CPU load it's not freaking out, my GPU load is lower than yours and I'm still dropping a few frames, it seems 3 to 5 frames a second I drop.

Link to comment
Share on other sites

ryanfinger

I run a customer MPV.conf file.  Maybe this will help you out.

 

## GENERAL ##
save-position-on-quit
fs=yes
 
log-file=d:\mpv\mediacenter-1.log
msg-level=v
 
hwdec-codecs=all
hwdec=cuda-copy
#scale=ewa_lanczossharp
opengl-pbo
audio-exclusive=yes
dither-depth=auto
deband 
deband-iterations=1
deband-grain=0
Link to comment
Share on other sites

  • 2 weeks later...
PrincessClevage

My mpv.conf file and still dropping frames. I believe for h265 you should use d3d11va?

 

 

## VIDEO ##

hwdec=auto

opengl-pbo

scale=ewa_lanczossharp

cscale=ewa_lanczos

dither-depth=auto

deband

deband-iterations=1

deband-grain=0

deinterlace=no

saturation=5

brightness=3

contrast=-3

deinterlace=no

hwdec-codecs=all

gamma=14

 

 

## SUBTITLES ##

sub-create-cc-track=yes

sub-pos=9

 

## AUDIO ##

audio-stream-silence=yes

audio-exclusive=yes

 

## AUTO-PROFILES ##

[interlaced]profile-desc=cond:p["video-frame-info/interlaced"]

hwdec=d3d11va

copyvf=bwdif

deinterlace=yes

 

[720p]

profile-desc=cond:p["video-params/w"]==1280

deinterlace=no

 

[HDR]

profile-desc=cond:p["video-params/primaries"]=="bt.2020"

dither-depth=auto

deband=yes

deband-iterations=1

contrast=-6

saturation=4

brightness=6

gamma=0

Link to comment
Share on other sites

PrincessClevage

Try removing your scale and cscale options and see what happens.

Same dropping with these settings removed
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...