Audio passthrough testing

  • Thanks, looking forward to it :-)

    serafis I rebuilt images. Can you try again (same place)?

    Thanks, this works a treat on H3 OrangePi PC (in 1080P only, droputs in other resolutions as expected).

    Note: need to use either of the two ALSA HDMI "hi-fi" devices listed, not the "SR606" one (my amp is Onkyo TX-SR606) - no sound if I use that one.


    - DTS OK

    - Dolby Digital OK

    - DTS-MA OK

    - Dolby TrueHD OK

    - Dolby digital WAV audio - OK

    - DTS FLAC audio - OK

    - MP3 and other audio formats - OK


    Great work - looks like a keeper!

  • Finally there was some momentum to crack audio passtrough support on mainline kernel. Thanks to the RPi4 effort, I gained better understanding what needs to be done. I believe that first variant is ready to be tested.

    Hi Guys, just checking in where to find out the reference to the RPi4 effort to passthrough is coming from? Thanks...........

  • hello,

    I have a possible stupid question,

    I currently Have boxes with AMLogic chips (passthru support) and Rockchip ones (no passthru support :( )

    I was thinking of getting a extra box with a Allwinner chip, so I have all flavors of boxes (looks like H6.. series is best ?)

    I was wondering if this new passthru feature you are testing also works thru the boxes s/pdif (optical or coaxial) outputs ? (if they box has those ?)

    Because I now use passthru on my AMlogic box with the COAX SPDIF output (my amp only has optical and coax spdif, no HDMI support)

    or is this passthru you are testing now only with HDMI output support ?


    thank you,

    Hans

  • I was thinking of getting a extra box with a Allwinner chip, so I have all flavors of boxes (looks like H6.. series is best ?)

    Yes, H6 is the best.


    I was wondering if this new passthru feature you are testing also works thru the boxes s/pdif (optical or coaxial) outputs ?

    I tested passthrough only on HDMI, but in theory it should work also on SPDIF. It's currently enabled only on Beelink GS1 (talking about H6). I have to check if my Tanix TX6 has it...

  • Yes, H6 is the best.


    I tested passthrough only on HDMI, but in theory it should work also on SPDIF. It's currently enabled only on Beelink GS1 (talking about H6). I have to check if my Tanix TX6 has it...

    Thank you for the info,


    How big do you think my chanses are in getting a random cheap box with for instance a H616 chip to run the image you made here for the beelink ??

  • How big do you think my chanses are in getting a random cheap box with for instance a H616 chip to run the image you made here for the beelink ??

    None. While H616 is very similar to H6, it has different (better) GPU, can actually use whole 4 GiB of RAM, has different DRAM controller and two ethernet controllers. Needless to say, it's not yet supported in mainline kernel. I'm working on it but it will take plenty of time.


    Most other (cheap) H6 boxes won't work with Beelink GS1 image, but I can enable spdif easily. Currently I don't have Tanix TX6 with me, so I can't check if it really has spdif or not (promo websites say it has).

  • Ah ok,


    Gues ill wait for a new box a bit than,


    I actualy tought that H6 meant any H6xx series chip :)

    Looks like I am totaly wrong with that one :)


    Anyone actualy has Libreelec builds for boxes with H616 ?

  • I actualy tought that H6 meant any H6xx series chip

    AW actually caused big confusion here. Some H6xx chips are actually compatible with H6. I think they are denoted H60x. I guess H61x means slightly better than H6, but that means that software changes are needed.


    Quote

    Anyone actualy has Libreelec builds for boxes with H616 ?

    No, they can't exist. SDK is not publicly released and there is no support for it in U-Boot nor in Linux kernel.

  • Ah ok,


    I will be waiting a bit longer than, or just adding a AMlogic box to my collection,


    thanks for the info , and all the work on these builds :)



    Hans

  • I updated test images. H6 compatibility with various devices should be much improved. Please test.

  • Hello jernej ,

    I did some tests with the image (image that include fix for HDMI) you generated today and PT work super well !!


    AC3 : OK

    DD+ : OK

    DD+ Atmos : OK

    TrueHD : OK

    TrueHD Atmos : OK

    DTS : OK

    DTS HD-MA : OK

    DTS:X : OK


    I will continue my test and I gonna give you more feedback.

    Libreelec : Raspberry 4, Orange pi lite2, Orange pi PC(and +), Pine H64, Rock64, RockPro64, soon Orange Pi 3 and PC2

    Divers : NVidia Shield Pro, NVidia Shield Tube, N2 and C4

  • Hello jernej !


    Just for your information, I hear small cutoffs in sound with TrueHD Atmos. I changed the System setting "Audio->output configuration" to "Best match" instead of "Optimized", that help but I still hear sound cutoffs.



    I continu my tests, for the moment I don't hear cutoff with other sound format.


    Edit :

    I hear soud cutoffs with DTS:X too

    Libreelec : Raspberry 4, Orange pi lite2, Orange pi PC(and +), Pine H64, Rock64, RockPro64, soon Orange Pi 3 and PC2

    Divers : NVidia Shield Pro, NVidia Shield Tube, N2 and C4

    Edited once, last by mike2002 ().

  • Can you try with 1080p 60 Hz mode? Note that with this image multi channel PCM reportedly doesn't work, it's no ideal either way... I watched yesterday about 15 min in 4k @ 60 and 15 min in 4k @ 30 and I didn't hear any cutoffs, but I did with older image.

  • jernej I don't test in 1080p for the moment but what I did is to set Kodi GUI in 2160p, set it at 60Hz and adjust display refresh rate switch set to off. With these settings no more cutoff but the movie play at 60hx instead of 24hz. As soon I enable adjust display refrsh rate to "Always" or "On start/stop" cutoffs are back,

    Libreelec : Raspberry 4, Orange pi lite2, Orange pi PC(and +), Pine H64, Rock64, RockPro64, soon Orange Pi 3 and PC2

    Divers : NVidia Shield Pro, NVidia Shield Tube, N2 and C4

  • Yeah, I think 60 Hz refresh rate works good for some reason and other don't (30 Hz seems to work too, but I didn't do thorough test). I have no idea why that is. It could be Kodi, kernel or something else. Sorry, but this will have to do for a while.

  • jernej Overall the result is really good !! From far, I prefer that situation to no PT.


    For the moment all others sound formats seem to work really well with the adjust refresh rate except these two formats (DTS:X and Atmos). That's really good !

    Libreelec : Raspberry 4, Orange pi lite2, Orange pi PC(and +), Pine H64, Rock64, RockPro64, soon Orange Pi 3 and PC2

    Divers : NVidia Shield Pro, NVidia Shield Tube, N2 and C4

  • When that alsa config issue is solved, I'll open PR. I consider those cutoffs minor issue too.