Windows 10 - Kodi refresh rate change switching to wrong resolution
#1
Hi!

First of all, i tried to find a solution for my problem within this forum and on google but had no luck. But maybe i am only to stupid Wink...

Now to my problem:

I use a Windows 10 system with the Jarvis Version 4 (tried also the DS Player build) on a Intel Core i5-6600. The system has all the latest drivers installed (graphics, ...).
My TV is as Samsung 65 inch 4k 3D UHD TV (65HU8280). The TV is connected via a Denon X4000 AV-Receiver and high qualitiy HDMI cables to my HTPC. The Denon is set to not scale or do video enhancements, only switching HDMI inputs.

My Windows desktop is been set to a resolution of 1920x1080p60 because using 4k resolutions is too small for my eyes. I set Kodi also to use 1080p and everything works fine so far.
But if i watch a movie (e.g. Bluray MKV with 24p) and i have set the option to automatically change the refresh rate to the movie refresh rate, Kodi switches to a 4096x2160 resolution instead switching only from 1080p60 to 1080p24 and the TV is scaling 4096x2160 to its native UHD resolution of 3840x2160 ! That is unusable!

How can i force Kodi to stay at a resolution of 1920x1080 ? I have no 4k content, so i don't mind not using 4k resolutions.

If i disable the refresh rate change option, then Kodi stays at 1080p60. But then you might notice judder (depending on content, movement and personal sensitivity).
It is not so bad that you can not watch a movie, but i would like to sync movie, playerand TV like a hardware bluray player does and let my TV do the upscaling to its native UHD resolution. And my TV scales better than Kodi (without playing arround with filters and so on...).

I also had the exact same behavior with my old HTPC (Intel NUC with Core i5-4250).

Are there any suggestions?

Best regards
mo74
Reply
#2
Post a Debug Log of a file that produces these issues.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Thank you for the fast reply. I will check the wiki how to perform that and will post the info requested.

regards
mo74
Reply
#4
Thx. I implemented this "switch". As background:

There are a lot of intel nucs out there that only support HDMI 1.4b, so max [email protected] So people normally want kodi running at 1080p60, but also want to use their 4k capabilities, especially as most nucs are too slow to upscale 1080p content to 4k in decent quality themselves.

The new method therefore does:
- Not only changing the refreshrate, but:
- It also checks for higher resolutions that would match better. Example: Video is [email protected] hz, we will switch up to [email protected] hz. If video is [email protected], we keep 1920x1080 as the "width" perfectly matches.
- In your case I think something is misbehaving, therefore the logfile is needed to see what is going wrong.

What I think that could be wrong is, that the modelines are somewhat inaccurate, meaning the 4k mode has better refreshrate as the full hd mode and therefore we switch up, which is obviously wrong, but let's see.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
So, i have recorded a debug log and uploaded it. Hope i did it the right way...

Here is the url to the debug log: http://xbmclogs.com/pryy6hwvb

In my case it is switching to the "real" 4k resolution (4096x2160) not to the 4k UHD resolution (3840x2160, which is native to this TV set) . The Samsung TV is capable to receive 4096x2160, downscales it and displays it with black bars on both sides. Looks....ugly Wink


Btw...awesome support and great background info !!
As also developing software and applications i know how hard it is to help and support. Top !!
Reply
#6
From the log it is only switch to [email protected]
Quote:23:01:30 T:4012 DEBUG: CWinSystemWin32::SetFullScreenEx (windowed fullscreen) on screen 0 with size 1920x1080, refresh 23.976023
...
23:01:30 T:7960 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
23:01:30 T:7960 DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 1920x1080. framerate: 23.98. format: YV12
23:01:30 T:7960 NOTICE: Display resolution ADJUST : [email protected] 23.98 - Full Screen (190) (weight: 0.000)

I don't see it switching to 4k at all, it switches to [email protected]

Btw. those 4k modes your TV announces:
Quote:23:01:21 T:4012 NOTICE: Additional mode: [email protected] 29.97 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 30.00 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 29.97 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 30.00 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 29.97 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 30.00 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 23.98 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 24.00 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 25.00 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 29.97 - Full Screen
23:01:21 T:4012 NOTICE: Additional mode: [email protected] 30.00 - Full Screen
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Can you try something: Switch to [email protected] manually? What happens? You can do that from kodi, too and post the logfile afterwards, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
If also read the whole logfile after i recorded it and the point not to find a line which indicates a swtich to a 4k resolution also confused me.
But my TV is displaying it if a tap the info button and the movie takes long to display because there is a change in the resolution.

Do you mean setting to [email protected] before starting Kodi ??
Reply
#9
I am having a similar issue to this with my NUC using isengard 15.2, except mine stays in the different resolution when i go back to kodi's menus. I can try to post a log file for you tomorrow if you want?
Reply
#10
Ok, i set the desktop resolution to [email protected] in the intel control panel. Then i started Kodi and began to watch a movie (avatar). Now the resolution stays at 1920x1080 but 24hz and the display of the movie was much quicker because no "big" resolution change was made.

But because all is now at 23/24hz, the animations of the kodi interface and so on are stutering a bit (not as smooth as with 60hz of course)

How can i change to 23hz in Kodi ??
Reply
#11
Sorry, forgot the logfile. Here it is: http://xbmclogs.com/popwreiec

But i switched to 23hz in windows before starting Kodi, not in Kodi (because i do not know how)
Reply
#12
(2016-01-11, 00:35)apriliaedd Wrote: I am having a similar issue to this with my NUC using isengard 15.2, except mine stays in the different resolution when i go back to kodi's menus. I can try to post a log file for you tomorrow if you want?

That's clearly a driver issue. Kodi 15.2 has no ability to switch the resolution with this setting.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
(2016-01-11, 00:51)mo74 Wrote: Sorry, forgot the logfile. Here it is: http://xbmclogs.com/popwreiec

But i switched to 23hz in windows before starting Kodi, not in Kodi (because i do not know how)

Could you run 15.2 and see if that is _not_ happening with that version, cause in 15.2 we have the following check:
https://github.com/xbmc/xbmc/blob/Isenga...r.cpp#L237 <- you see if the width of the new res does not match the current res it will just continue. For 15.2 I could not explain the issue codewise at all. So would be nice to know.

Thanks much.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#14
I will uninstall my current Kodi after work, check it with 15.2 and post a debug log.
Reply
#15
Okay, thx much.

If 15.2 shows the issue, too - then I am out of ideas, cause not a Windows dev. If 15.2 is fine, but 16 shows the issue I will add additional debugging to the changes that care for "up switching". So that we can see which part of the code is acting up in a wrong way.

Thanks much in advance for helping us to debug this issue.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Windows 10 - Kodi refresh rate change switching to wrong resolution00