Kodi Community Forum

Full Version: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
fritsch,

I found some time to do more testing. I remux some mkv at differents framerates for all resolutions.

all are good except :

3840x2160@50p is played at 2560x1440@60p ( I don't have 2560x1440@50p mode ) same for 4096x2160@50p
4096x2160@25p is played at 4096x2160@24p

Image

Image
Please enable full debug logging - We should see what is happening.

The problem here is, that the 4096 resolution is probed first and as it perfectly matches "resolution wise" - it is chosen. After that, we don't switch down anymore, as 1080 is not considered at all anymore. Same happens in the other case.

Possible solution: Presort resolutions - but let's see if the log is right
@fab67: http://fritsch.fruehberger.net/openelec/...78c676.tar

What happens now?

Edit: I am sorry - i pulled the wrong branch :-(
fritsch,

3840x2160@50p is now played at 1080p50
but 4096x2160@25p is now played at 1080p50 and not 2160p25
and 3840x2160@30p is also played at 1440p60 and not 2160p30

log : http://pastebin.com/zwWrwH3S
I have a 502 Bad Gateway with http://www.xbmclogs.com/ this morning
@fab67: The rest is fine?

3840x2160@50p is now played at 1080p50 <- that's fine isn't it?

but 4096x2160@25p is now played at 1080p50 and not 2160p25 <- need to think about that
and 3840x2160@30p is also played at 1440p60 and not 2160p30 <- will look

But all videos are playing now correctly, right?
Yes all videos are at the correct framerate ( or double framerate ) but not at the max resolution available for 3840x2160@30p and 4096x2160@25p
Okay - I have it. One moment :-)
@fritsh nope Sad

To be clear I summerized :

available mode :
4096x2160p 24
3840x2160p 24,25,30
2560x1440 60
1920x1080 24,25,30,50,60

now samples I played:
3840x2160p50 best mode is 1080p50 kodi played 1080p50 : ok
3840x2160p30 best mode is 3840x2160p30 kodi played 1440p60 : not ok ( double framerate )
3840x2160p25 best mode is 3840x2160p25 kodi played 1080p50 : not ok ( double framerate )
3840x2160p60 best mode is 2560x1440p60 kodi played 1440p60 : ok
4096x2160p24 best mode is 4096x2160p24 kodi played 4096x2160p24 : ok
4096x2160p25 best mode is 3840x2160p25 kodi played 1080p50 : not ok ( double framerate )

log : http://pastebin.com/pL8XW6zX
Man :-) - it's getting a long night this time :-)

here is another build with additional logging: http://fritsch.fruehberger.net/openelec/...5305aa.tar
http://pastebin.com/x6AKrJET

3840x2160p30 -> 1080p60
...
It's: 0x31637668), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 46361 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc (default)
http://fritsch.fruehberger.net/openelec/...5305aa.tar

Even more logging. I need some hw to test - I think I am called with changing weight from somewhere ... or I need to get some hw for reproducing ...
log : http://pastebin.com/wfk09LA6

fritsch, you don't need to hurry, 4K usage is minimal and we can watch all this videos without problems.
Watching at best conditions can wait a little .