• 1
  • 77
  • 78
  • 79(current)
  • 80
  • 81
  • 92
Release Kodi Matrix 19.0 HDR Windows API (merged)
(2020-10-26, 01:22)brochild Wrote: But still... PC should but freeze, I don't think
I think yes, you wrote before that some HDR movies play fine from start to end, I guess these are low bitrate and the ones who freeze ur PC are high bitrate.
Your CPU is just too weak to deliver the data fast enough to the GPU. (Not sure which NVIDIA you have).
Is the source a HDD or SSD?

Cheers
Tom
Reply
Thanks for the quick reply.
So you think my CPU is the culprit?
Ryzen 5 3600 and Nvidia 1660 6 gig ordered

Source is hard drive, GPU is Nvidia GTX 960 Superclocked Gaming ACX 2.0 2GB GDDR5 128bit PCI-E 3.0 16x

I'll try capturing a new log with debug enabled this time.
Reply
(2020-10-26, 20:29)brochild Wrote: Source is hard drive, GPU is Nvidia GTX 960 Superclocked Gaming ACX 2.0 2GB GDDR5 128bit PCI-E 3.0 16x

According to log info previously posted (https://paste.kodi.tv/uzugiyumes.kodi) you have another different graphic card:

2020-10-24 22:19:35.568 T:8552 INFO <general>: DX..DeviceResources::CreateDeviceResources: device is created on adapter 'NVIDIA GeForce GTX 1060 6GB' with D3D_FEATURE_LEVEL_12_1

NVIDIA GeForce GTX 1060 6GB

If so, it is more than enough to play 4K HDR (although 1660 is better Big Grin )
Reply
I sent the wrong GPU info - sorry about that.
I am trying to rebuild my HTPC because it was so so old I was told Smile  Rofl

Anyway, I tried again tis morning with debug login
As soon as the HDR movie begun, both cores showing 100% CPU then PC froze.

My question is why is my CPU being used, instead of my GPU?

Logs are here 
Reply
It is difficult to know exactly what is going on by looking at the log unless it is a completely clean installation and without so many custom advanced settings. Still there are certain minimum requirements (for 4K HDR) that are clearly not met in the case of the CPU. But also everything must be consistent:

DDR4 RAM, SSD, Pcie 3.0, Gigabit LAN (1000 Mbps), new CPU (recent instruction sets, 4 or more cores), graphics card with HDMI 2.0 and 4 GB VRAM

To play 4K with high bitrate is need to move 80 - 130 MB/s HDD to RAM/VRAM or LAN to RAM/VRAM even an old HDD (or fragmented) can be a bottleneck (also 100 Mbps LAN or normal Wifi is insufficient).
Reply
Was able to play 2 HDR movies back to back last night.

Not so lucky today, and have captured logs with additional debug.

My CPU levels are still unusually high at 98% each core before freezing.
New log is located here

Some info towrds the end of the log in interesting, but I don't have enough knowledge on the subject...

2020-10-27 10:58:38.343 T:9580     INFO <general>: Whitelist search for: width: 3840, height: 1600, fps: 23.976, 3D: false
2020-10-27 10:58:38.343 T:9580    DEBUG <general>: Trying to find exact refresh rate
2020-10-27 10:58:38.345 T:9580    DEBUG <general>: Matched exact whitelisted Resolution Generic PnP Monitor #1: 3840x2160 @ 23.98Hz (114)
2020-10-27 10:58:38.345 T:9580     INFO <general>: Display resolution ADJUST : Generic PnP Monitor #1: 3840x2160 @ 23.98Hz (114) (weight: 0.000)
2020-10-27 10:58:38.445 T:9572     INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41727
2020-10-27 10:58:38.809 T:6220    DEBUG <general>: CApplication::OnAVChange: CApplication::OnAVChange
2020-10-27 10:58:39.163 T:6220    DEBUG <general>: CApplication::OnAVStarted: CApplication::OnAVStarted
2020-10-27 10:58:39.167 T:6220    DEBUG <general>: CApplication::OnAVChange: CApplication::OnAVChange
2020-10-27 10:58:39.196 T:9580    DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------
2020-10-27 10:58:39.349 T:6520    DEBUG <general>: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-53775.256953, adjusted:-41708.333333
2020-10-27 10:58:40.374 T:6520    DEBUG <general>: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-28506.146366, adjusted:-41708.333333
2020-10-27 10:58:42.966 T:9572    DEBUG <general>: CPtsTracker: detected pattern of length 1: 41708.33, frameduration: 41708.333333
Reply
It's going to be very difficult to figure out your issue while you run a complex skin.  please switch to Estuary and disable all the service addons then try just to start the video.  AFAICT you are playing an H.264 720p video with hardware decoding and DXVA rendering that is upscaling to 2160p.

scott s.
.
Reply
Hi,

Is there a way to make Kodi 19 HDR show all files in a folder?
I have a folder that Kodi 19 (with AFS-RAR) says doesn't contain any content, whereas Kodi 16 correctly finds content in the folder. 
As the content is "RAR'ed" could it be an issue that the new AFS-RAR Extension supports a limited set of "RAR" configurations compared to the older used in Kodi 16?

Thanks.
Reply
Heart 
(2020-10-27, 22:02)scott967 Wrote: It's going to be very difficult to figure out your issue while you run a complex skin.  please switch to Estuary and disable all the service addons then try just to start the video.  AFAICT you are playing an H.264 720p video with hardware decoding and DXVA rendering that is upscaling to 2160p.

scott s.
.

Love this skin Bro
Will put up with the freeze for now  Cool
Reply
Hi

I have SDR 4K TV used as primary monitor. It looks like HDR processing for SDR displays is broken in the build KodiSetup-20201027-ac48ff40-master-x64.exe. The picture is very dark on the Mandalorian S01 4K. The latest that correctly processes HDR to SDR conversion for me is the build KodiSetup-20201014-a6c1b2aa-master-x64.exe.

Any thoughts?

Michel
Reply
Maybe a side effect of https://github.com/xbmc/xbmc/pull/18581

Could you see if this also has the issue http://mirrors.kodi.tv/nightlies/windows...er-x64.exe

and whether this one doesn't http://mirrors.kodi.tv/nightlies/windows...er-x64.exe

I can't help but please provide debug logs in case jogal can.
Reply
(2020-10-30, 13:26)krondor Wrote: Hi

I have SDR 4K TV used as primary monitor. It looks like HDR processing for SDR displays is broken in the build KodiSetup-20201027-ac48ff40-master-x64.exe. The picture is very dark on the Mandalorian S01 4K. The latest that correctly processes HDR to SDR conversion for me is the build KodiSetup-20201014-a6c1b2aa-master-x64.exe.

Any thoughts?

Michel

This is due The Mandalorian (source) has not HDR light metadata and neither mastering luminance:

Image

MediaInfo says the source is PQ transfer but no metadata. 

I'm pretty sure this source will behave the same on all previous Kodi builds since this code has not been modified.

However, there is a workaround for this (I did this for HDR passtrough earlier) to correctly detect these sources.

It can be considered by default 1000 nits and do tone mapping anyway... it will always be better than not doing it since the source is HDR at the moment that the transfer is PQ.

I will create a PR for this...

EDIT: PR created https://github.com/xbmc/xbmc/pull/18688

EDIT2: Test build with this PR => http://www.mediafire.com/file/vfuv1ercc0...4.exe/file
Reply
So if I wanna take a jab at HDR playback via Kodi do I download the thing from this topic's first post or from the official downloads Pre release section "Kodi v19 Matrix Alpha 2", and is there a difference between the two? I've gotten a tad confused with all the merging talk etc.
Reply
Download latest from here: http://mirrors.kodi.tv/nightlies/windows/win64/master/
Reply
Cheers, will try. I wonder if having Kodi v18 as well is gonna mess with the installation, settings or some other such compatibility hijinks?
Reply
  • 1
  • 77
  • 78
  • 79(current)
  • 80
  • 81
  • 92

Logout Mark Read Team Forum Stats Members Help
Kodi Matrix 19.0 HDR Windows API (merged)2