Posts by johngalt

    Is there any other advantage to this build, in addition to the 10bit/HDR work that has been done, for the 1080p users?

    Three notable advantages:

    • On default 8 bit output, 10-8 dithering is enabled (fixes the nougat "color banding" that was reported on earlier kszaq nougat builds). Just realized S912 should have had dithering enabled on the old nougat kernel as well, sorry for mixing up a s905 and s912 issue.
    • Some users who had output issues on nougat through AVRs may have them fixed now.
    • It's been reported HDR->SDR conversion is improved.


    Just wanted to let you know, and not very important for me but I just tested testing7 and the BBC One video still judders, it seems dec_control is 0 instead of 4;

    LibreELEC:~ # cat /sys/module/amvdec_h264/parameters/dec_control
    0

    Thanks for your hard work, it is a real pain to find a balance between all the big and little issues with the amlogic code.

    I guess I needed to full rebuild (was a dirty build)

    The default behavior of the box should be to switch to 4:2:0 at >= 50Hz, not 4:2:2...?
    Afaik, 4:2:2 at >= 50Hz would be more than the HDMI 2.0 bandwidth can handle...


    BTW, using "testing7" for a fresh install does not work johngalt, only update is possible.
    I used "testing1" instead and updated to 7 right after that...

    You're right, I misspoke. And I'll clean build and test a clean install to see what's going on.

    Edit: Thank you kszaq, I just saw your message :) . That makes sense.

    Internal dvb tuner isn't supported in testing6. johngalt fix your sources, you have to update linux patches for nougat. Look in my branch

    LibreELEC.tv/projects/S905/patches/linux at 8.0.2-testing6 · afl1/LibreELEC.tv · GitHub

    Also update dtb for KI Pro, there is fix for IR.

    KI_Pro-nougat.dtb

    Thank you, I updated links to that dtb, and added that patch. I missed that commit prior, otherwise patches/sources were good.

    Edit: "testing7" uploaded with that patch and the bbc dvb-t fix added back.

    On 50 hz ok and 4.4.4 ok i set this in autostart.sh without autostart.sh ewrythinght ok

    Okay. With the command in OP, it will still set 422 on >=50hz, so it's recommended to just use that command then.

    This works, now the BBC One video is playing correctly without stutters. :) By the way with the stutters it looks like the playing is dropping 2 to 3 frames each second. What does this setting do and does it have any side-effects?

    It may have side effects. It's a default setting in kszaq's builds that I removed after a user reported it caused playback issues for them (but may have been related to other changes). I'll add it back and see how it goes.

    Hi John, does your build support internal Tuners like KII Pro or KI Pro ?

    can we just update your latest test build on afl1 build ?

    If they're supported in kszaq's builds, then they're supported here. You can update as with any other build (place in .update or write to sd).

    Quote from lufa2710

    Manually setting 4.2.2 on both 8 and 10 bit 1080p green screen all the time

    But if you play <50hz media without setting attr you don't get it? What happens if you set 444,10bit as in the OP?

    422 green screen in test 6 test1 ok

    Assuming 4:2:2 10bit? Are you manually setting 422, or is this just on <50hz playback? What happens if you set 444 like in OP? Or do you mean it's occurring on 422 media?

    It looks like the 20170515 updates fixed the inverse image, I'll look into it. For the BBC One file with shudders, could you try the following before playback? echo 4 > /sys/module/amvdec_h264/parameters/dec_control

    Get my Bqeel M9Cmax today. All fine with HEVC 10 Bit Playback and HDR, but one problem i have.

    Why is Hyperion not working?

    I don't have a Hyperion setup, so I need more info and a log. HOW TO:Provide Logfile - LibreELEC

    Testing6 uploaded, only change from testing5 is a minor video_dev change to bring it inline with other nougat modules.

    Thank you for the correction; I misread when you first mentioned this. I may have found the change that caused this behavior, but am not planning on releasing tests with it until we get nougat-exp working correctly (h264 issues).

    I just tested the "Samsung HDR Wonderland" demo in the "testing5" build.
    Unfortunately, macroblocking and weird flicker are still there - easily visible in most skies, very obvious in the one above the stadium, approx. 1:20min in.

    Output mode is set to 444, 10bit. Box directly connected to TV.

    On the latest "testing6" build I can't see these in that demo video and watched it a few times. There are still the vertical lines occasionally visible, but I'm really not sure about those.
    Would you mind giving it a try?

    Uploaded "testing5" with the partial 20170515 updates reverted (to fix 4k nougat output bug reintroduction).

    Hello,

    This testing builds i´ll be the future for 912 devices?

    I'll have a tested S912 build up by this weekend.

    Just reporting that unfortunately I do see the 2160p/10bit vertical lines at normal viewing distance (3m to 65") after all - especially on bright content.
    I don't want to annoy you, it's just an observation.

    I assume you have not had any epiphanies on how to get rid of them? ;)

    I've started noticing them as well, particularly on bright skies. A movie I watched yesterday (la la land) had a few spots where they were noticeable from my couch. I'd like to get rid of them, but don't know where to start. Most of what we've fixed was fixed at some point in another amlogic release. Unfortunately, I also get them in marshmallow android + spmc.

    A small status update:

    IMO the state of the pull requests is good and on par with marshmallow. At this point, the only users who are still having output issues either also had them on the marshmallow kernel, or only have them on 10bit output (and have confirmed a cable replacement solved it).

    Recently, I haven't had much time for solid testing and reading through the kernel source. Long-term I'd still like to fix the h264 issues on the nougat-exp branch (full nougat amports + 20170515 merges), but unfortunately in terms of output bugs we have a dilemna that also needs to be solved for that branch:

    • nougat-exp fixed nolyx 4k output bug which he also had on marshmallow (was never a release that had working 4k output prior for them).
    • 20170515 merges brought back the traditional "4k nougat output bug" for RedCat that we fixed in c4e93dc

    Just uploaded a new experimental build.

    This is a mix of the experimental branch and standard branch used in the "testing" builds. This is targeted at fixing 4k output for users such as nolyx , but needs more testing. Due to personal time constraints currently, I only checked that it booted and played a single video. **Get ready to roll back to 8.0.2-testing3**

    Hello guys,

    does this command "echo 400 > /sys/module/am_vecm/parameters/panel_max_lumin" still work?

    Only for dolby vision conversion, not for standard HDR->SDR.

    I am testing your builds on my Pana 42GT60 however the panel is not showing which mode (422,444,420, 8bit, 10bit) is being used and I do now own AVR which does. The only thing the Pana tells you is 1080 24Hz. Is there a cat /proc/something or debug setting to check which output mode the Amlogic chip / Kodi / LE is using? As both default Kodi debug OSD infos are not showing much in depth info too. Thanks!

    Yes, you may check dmesg for "cd =" in at least the second occurance. if it says "cd = 4" then it's 8bit, if it says "cd = 5" then it's 10bit.

    I'm posting this here instead of starting a new thread simply for those that want to test John's Nougat-WIP Kernel on AML S912's

    Its a very early LibreELEC 9.x Kodi Leia Alpha that is subject to much experimentation and change, hence no point publishing source at this very early stage.

    Kodi video playback does work pretty well having said that, I'm using a S912 - MINIX U9.


    Index of /LE-9.x-S912-Nougat-WIP/

    Thank you! I got my s912 to test builds on as well, but haven't got a chance to do anything yet (and probably won't until mid-week).

    jd17, There isn't an easy way to go about it. I'm also not sure if that's the issue, and due to limited knowledge I'd be taking shots in the dark that could negatively affect output for everyone else.

    From what you've said, I don't think it is a pixel clock/sync issue. That's also something I really don't want to mess around with (sorry, huge can of worms and potential for other issues).

    So far two others reported a similar issue and solved it by using a shorter "premium" cable. This doesn't fall inline with symptoms of the 4k nougat output bug (like @RedCat's with a denon AVR).

    Thank you for reminding me about the pseudo encode issue. This was reported awhile back in kszaq's thread, and I don't think anyone ever got to it (or no samples were posted)? I put it on my list.

    BTW, because most displays upscale better than these boxes, it's recommended to keep the GUI at 1080 since it will switch resolutions up to 4k on 4k media.

    Hi johngalt,

    thanks for your great work.

    After testing all your builds and kszaq builds, the only time i have 4k working is with your experimental builds. All other Show only flickering Color on the screen.

    I have a beelink 905x and a hisense 4k tv. I report this, because i was so happy when you first uploaded your experimental builds. Now with the testing builds and kszaq builds there is no 4 k for me.

    Thank you, this is actually very good news. You don't get 4k output on the "marshmallow" builds either such as kszaq's current 8.0.2 builds?

    The reason why I stopped publishing the "experimental" builds is because some h264 playback was very broken on them, and >=50hz 4k output was stuck at 8bit. I'll be uploading another experimental build tomorrow with some reverts that workaround the issue, and will be interested to hear if that also has 4k output for you.

    You might also want to try a shorter "premium" hdmi cable if you have one laying around (a few users have reported this fixed their 4k output issues).

    No, I did not touch the hardware acceleration settings since my first libreelec install which was 8.0.1j.

    Now, on your testing1 I took a look at the settings (didn't change them) and it is set to SD always accelerated.

    But, after changing it no never and playing the same h264 SD movie, async video and audio for ~8 secs remains.

    Thank you, it's not what I thought. Also, I've made no changes that could have fixed this since testing1.

    I'm not sure of a similar function that's currently implemented (and I'm also not sure if it would help). The 10-8 dithering is disabled on 10bit output, but it could be a sync issue of some kind (though if you also get it on 50/60hz, then possibly not).

    Skipping in HEVC videos now messes up the playback. Everything jumps around.
    I assume the quoted part is responsible for that?

    Damn! Will fix. Thank you for reporting. I also believe that "macro blocking" issue you reported might be related to a color range bug if we fall back on hdmi mode from an edid parsing failure.

    I just want to politely ask if you also fixed my reported h264 SD hardwareacceleration bug?

    Of course I will test it the weekend ;)

    I may have misunderstood when you reported it: did you explicitly enable hardware acceleration for SD videos?