Posts: 37
Joined: Feb 2005
Reputation:
0
Is there a way to make Kodi only switch resolutions if the video has a higher resolution that the Kodi UI?
I would like to keep Kodi UI in 1080p60 and play all videos without it changing resolutions for the refresh rate used in videos -- I'm ok with the videos being played back at the 60fps refresh rate, as I don't like the couple seconds black screen every time the signal changes.
But I would like Kodi to change resolution to 2160p when playing back a 2160p video... Is this achievable with the internal video player?
Posts: 2,510
Joined: Dec 2012
Reputation:
216
In theory:
You have a 4k display or you wouldn't request to play 2160p video in 2160p and everything else you want to lock at 1080p60 because you don't like the additional seconds it takes for your display to match resolutions. You only want to use VideoPlayer.
By denying your display to match refresh rates, you will be introducing judder and instructing 3:2 pulldown to compensate for the mismatch of perfectly divisible frame rates.
None of your titles will be allowed to upscale and will not look anywhere near full potential including the KODI GUI and its artwork.
I don't think this can be done when the only player you want to use is VideoPlayer since you desire to lock everything at 1080p and then want it to unlock and allow only native 2160p to allow your display to correctly match that resolution and only that resolution. You might be able to create a rule in the advancedsetting.xml or playercorefactory.xml but I doubt it giving it a quick ponder. You'd probably have to manually change all your settings back and forth.
What you could do is set KODI to 1080p, uncheck 'Match refresh rates' and whitelist 1080p60. Also set KODI resolution at 1080p. This will probably also set Windows to 1080p globally which is not good either. Then setup madVR to switch refresh rates for 2160p only or the player itself without madVR. You could assign all your media to open with VideoPlayer (they will all play at 1080p60 since that is your only whitelist and the KODI resolution) then, using a playercorefactory.xml create a rule to assign 2160p video to open with a different player. The external player will match refresh rates with or without madVR. This of course if an external player was acceptable and not just VideoPlayer.
Posts: 2,510
Joined: Dec 2012
Reputation:
216
Your PJ would still need to go into a different resolution even if a different frame rate was locked. The switching time would be the same whether you locked in 23/24Hz or not since it still needs to adjust for 1080p and 2160p. Why not try what I suggested? You would get no seconds lost waiting for a title to start with VideoPlayer (at the expense of what I already noted) and those special 2160p moments with an external player would be the only display switch to take place (per your request). Asking how to put all of it on VideoPlayer only isn't possible afaik (other than trying something with a PCF.xml or AS.xml).
Posts: 37
Joined: Feb 2005
Reputation:
0
Yeah that sounds like a plan, as I will need external player for HDR anyway -- but right now I'm still fighting another problem: I have to completely turn off DXVA2 hw acceleration in setup, otherwise there is a short time of display blanking every time I start or stop video playback. Must be something in the Nvidia drivers, but haven't found any settings that might have to do with that. The display mode is exactly the same as before in the UI, but it still blanks for a short time. Strange thing is when video playback stops I see the Kodi UI for a split second, before display blanks again for a second and then returns. DXVA is not used for video scaling, UI and video both at 1080p, no refresh rate change, so it stays at 1080p60. So DXVA is only used for video decoding. Also doesn't matter whether I set Kodi to fullscreen or fullscreen window.
Any ideas from Nvidia users? I'd like to fix that before I get started with external players for 2160p HDR.
Posts: 3,823
Joined: Feb 2014
Reputation:
224
Try another driver version. Could also be a bug in Kodi with regards to DXVA video decoding and Nvidia.
Posts: 154
Joined: Sep 2016
Reputation:
9
luci5r
Senior Member
Posts: 154
Reading the Kodi Leia Beta 5 changelog and GitHub page, there is a few git issues and changelog statements which address 10 bit video as well as 4K video. I'm just wondering, has Beta 5 introduced any level of UHD HDR playback within Kodi's internal video player? Does anyone know?
Posts: 3,823
Joined: Feb 2014
Reputation:
224
No, but 10-bit passthrough might be less buggy than before.
Posts: 2,510
Joined: Dec 2012
Reputation:
216
2018-11-09, 19:15
(This post was last modified: 2018-11-13, 01:09 by brazen1.)
I upgraded nVidia driver to 416.81. Windows audio properties depending on AVR on/off state is now auto switching properly. I tested HDR, SDR, 3D MVC, iso's and mkv's and found no problems. Hoping nVidia adds a 10bit RGB mode that survives a reboot and perhaps addresses audio/video sync custom resolution for 23.976 leading to a dropped frame every 4.5 minutes at 1080p 3D and 2160p 2D 24Hz. Imo, this would perfect their driver for audio/video enthusiasts and probably gamers alike. Afaik, nothing else would need immediate attention.
*Edit* After using new audio driver for a couple days, although improved, it STILL has issues auto switching. I've modified the installer to replace HD Audio with the older version that works as it should.
Posts: 151
Joined: Dec 2010
Reputation:
1
Momma Mia ...
Thought Leia was a go.
But 4K HDR and 3D when quitting external player gives me the postage stamp interface in the upper left corner. The Kodi window border is where it should be - ie the border of the screen but there's only visible display in that upper left corner. This is with Beta 5, Nvidia 416.81, any skin I have including Estuary, pixel shaders or DXVA, fullscreen window or fullscreen. Not sure what else to try. I may go back to 398.82. My card is the 1050ti. I saw the post about setting Display / Adjust Desktop Color settings /content type reported to display as 'full screen video' solved a problem I was having with HDMI handshaking and 416.81 (didn't need to touch it with 398.81).
Posts: 2,510
Joined: Dec 2012
Reputation:
216
I have no answer for you. This was happening to me a while back but it hasn't happened since I uninstalled all skins AND dependencies that were not in the official KODI repository. I've been using Aeon Nox Silvo 5 with no problems for a long time now. Fwiw, pixel shaders, DXVA on/off, FSE, FSW, and Fullscreen video setting in NCP - None of this affects KODI resizing for me. It's all been working really well. Even KODI HDR to SDR looks fairly decent. I upgrade KODI v.18 nightly every few days or so. I hope you find what's giving you problems and if you do it might help another so let us know.