Kodi 16 doesn't adjust refresh rate for HD movie

Moderators: odroid, mdrjr

Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Sun Jul 31, 2016 5:23 am

Hi there,

I am posting a log from smpc (Kodi v16 equivalent) where the adjust refresh rate doesn't work in odroid c1, android lollipop or kitkat when you play a HD movie. The only correct version is Kodi v15.2.

Hope the log gives a hint for the necessary fix.
Attachments
spmc.log
(18.82 KiB) Downloaded 22 times
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby koying » Sun Jul 31, 2016 9:57 pm

You are in 720p and only 60Hz is reported by the C1 at that resolution:

22:09:12 T:18446744072347012352 NOTICE: CEGLNativeTypeAndroid: Current resolution: 1280x720 @ 60.000004 - Full Screen
22:09:12 T:18446744072347012352 NOTICE: Previous line repeats 1 times.
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 720 x 480i @ 60.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 720 x 480 @ 60.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 720 x 576i @ 50.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 720 x 576 @ 50.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 60.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 60.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 50.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 50.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 24.000000 Hz
22:09:12 T:18446744072347012352 NOTICE: Found (1280x720@60.000000) at 20, setting to RES_DESKTOP at 16
koying
 
Posts: 57
Joined: Fri Mar 22, 2013 8:08 pm
languages_spoken: english, french
ODROIDs: U2

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Mon Aug 01, 2016 12:10 am

Thank you koying for the reply.

The problem I have is that when I play a HD movie then, the size if the screen is half of it!

I use the Kodi v15.2 on the same box and the same resolution and the HD movies are displayed correctly on full screen! Not half like in Kodi 16.

I am posting a log if you need it from smpc v15.

Kodi 15

17:05:59 T:18446744072347012352 NOTICE: virtual bool CWinSystemEGL::InitWindowSystem(): Using EGL Implementation: amlandroid
17:05:59 T:18446744072347012352 NOTICE: Current resolution: 1280x720 @ 60.00 - Full Screen
17:05:59 T:18446744072347012352 NOTICE: Previous line repeats 1 times.
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 60.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 60.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 50.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 50.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 24.000000 Hz
17:05:59 T:18446744072347012352 NOTICE: Found (1280x720@60.000000) at 16, setting to RES_DESKTOP at 16
17:05:59 T:18446744072347012352 NOTICE: Checking resolution 16
17:05:59 T:18446744072347012352 NOTICE: GL_VENDOR = ARM
17:05:59 T:18446744072347012352

Any idea why hd movies work on v15 in the same odroid c1 box?
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby odroid » Tue Aug 02, 2016 12:23 pm

What is the output of "cat /sys/class/amhdmitx/amhdmitx0/disp_cap" ?
User avatar
odroid
Site Admin
 
Posts: 21806
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby odroid » Tue Aug 02, 2016 7:21 pm

60Hz with 30fps video will not be a problem(30hz x 2)
Try to play 24fps video clip to see the auto frame rate.
User avatar
odroid
Site Admin
 
Posts: 21806
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Wed Aug 03, 2016 2:40 am

u0_a52@odroidc:/ $ cat /sys/class/amhdmitx/amhdmitx0/disp_c
disp_cap disp_cap_3d
u0_a52@odroidc:/ $ cat /sys/class/amhdmitx/amhdmitx0/disp_cap
480i
480p
576i
576p
720p
1080i
1080p
720p50hz
1080i50hz
1080p50hz
1080p24hz
vga
u0_a52@odroidc:/ $
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Wed Aug 03, 2016 6:37 am

odroid wrote:60Hz with 30fps video will not be a problem(30hz x 2)
Try to play 24fps video clip to see the auto frame rate.


I tried the HD samples in Kodi web pages. http://kodi.wiki/view/Samples

I tried this one.

https://drive.google.com/file/d/0BwxFVk ... sp=sharing

And playing it via Kodi, resulted in half screen.

Definitely Kodi v16 has a problem with refresh rate.

I tried the suggestion from Linux regarding refresh rate but it doesn't work.

Kodi v15 works great.
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Wed Aug 03, 2016 7:31 am

Let me clarify the adjust refresh rate.

If I set android gui via odroid utility in 720p, then playing hd movies in Kodi via version v16, has the issue in playing half screen.

If I set the android gui via odroid utility in 1080p, then playing hd movies in Kodi via version v16, the issue is gone.

However Kodi v15.2 works fine no matter what resolution is my android screen.

So, I hope somebody fixes the Kodi v16 issue if android gui is different then the movie played. I choose 720p as gui.

P. S. Playing files I 720p gui, via mxplayer doesn't resize the screen in half. It's ok.
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby Brian.K » Wed Aug 03, 2016 10:13 am

I got what is your problem about adjust refresh rate.

C1 Android does not support changing resolution dynamically yet. So, Kodi 16.1 on C1 Android only auto adjusting TV Hz from the movie fps is valid until now.
If Kodi changes the display resolution via adjust refresh rate option, then TV resolution can be changed.
But, the display screen is to be small because of the previous frame buffer size(My guess, I will check later.).
User avatar
Brian.K
 
Posts: 197
Joined: Tue Sep 15, 2015 7:30 pm
Location: South Korea
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby Brian.K » Wed Aug 03, 2016 10:34 am

I think Kodi 15 changes the frame buffer also by frame buffer setting and Kodi 16 changes display resolution only for that.
User avatar
Brian.K
 
Posts: 197
Joined: Tue Sep 15, 2015 7:30 pm
Location: South Korea
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby Brian.K » Wed Aug 03, 2016 11:02 am

I tested adjust refresh rate on Kodi 15.2 version. Kodi 15.2 does not try to change the resolution, only TV Hz is changed.
User avatar
Brian.K
 
Posts: 197
Joined: Tue Sep 15, 2015 7:30 pm
Location: South Korea
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Wed Aug 03, 2016 2:27 pm

Thank you Brian. K

Finally I was able to describe my issue. :)

Just a hint. I have seen that this issue is not on libreelec by wrxtasy, you have a correct running of Kodi v16 there. Maybe he can be of help.

viewtopic.php?f=117&t=20475#p142673


Thanks again.
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Sun Sep 18, 2016 9:28 pm

I was wondering, if this issue is on focus to be solved. Rather than fixing odroid software, maybe fixing Kodi v16 could be easier. Just a thought.

I would love a perfect Kodi v16 modification running on lollipop.
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby martin63134 » Sun Oct 02, 2016 4:28 pm

odroid wrote:60Hz with 30fps video will not be a problem(30hz x 2)
Try to play 24fps video clip to see the auto frame rate.

what does this mean; when I use kodi 16 to rewind/fast forward the picture goestrogen out tI'll I pressplay how can I fix this problem?
martin63134
 
Posts: 23
Joined: Fri Sep 09, 2016 10:56 am
languages_spoken: english
ODROIDs: C1+

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby odroid » Mon Oct 03, 2016 2:29 pm

@martin63134
Post a link of the video file you are having the problem of 30FPS,
User avatar
odroid
Site Admin
 
Posts: 21806
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Tue Dec 13, 2016 5:12 am

Well, I can't believe that accidentally I found out that this issue is solved on Kodi v17 beta 6. One more reason to continue running this box as media player. :D :D
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby odroid » Tue Dec 13, 2016 12:29 pm

Do you run the Kodi 17 beta 6 on Android?
User avatar
odroid
Site Admin
 
Posts: 21806
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Tue Dec 13, 2016 9:36 pm

Yes. It is running nice, but a a bit slow.
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1

Re: Kodi 16 doesn't adjust refresh rate for HD movie

Unread postby albsat » Tue Mar 21, 2017 10:01 am

Kodi 16 Jarvis never worked OK on auto refresh switch , on C1. Kodi 17 and Kodi 15.2 are the only ones that work. How comes?
albsat
 
Posts: 146
Joined: Tue Jul 21, 2015 1:41 am
languages_spoken: english
ODROIDs: C1


Return to Issues

Who is online

Users browsing this forum: No registered users and 1 guest