Posts by Marsam

    FWIW, I can replicate the original issue report of no DTS-HD-MA audio. I've no idea what the problem is though, other than it's most likely to be an issue in the DRM layer, and right now (and since I only use PCM output in testing) I'm not motivated to look into the issue further. I am highly confident the issue is specific to Amlogic hardware so no need for you to find RPi threads and make "me too" posts there, it's only adding distraction to other people's (different) issues.

    You are wrong again about the vendor firmware. It is precisely running the vendor firmware image where everything does not work in Dreambox. You have to install an image developed by people who know what they do for everything to work properly.

    It has nothing to do with Amlogic hardware, in CoreELEC HEVC 4K UHD works on Dreambox without the alleged problems you say would occur. If I preferred LibreELEC it was only because it was a newer version than @emanuel's CoreELEC. The one modified by him is very old and nobody plans to update it.

    By the way, there is no need to delete my posts in another thread about “No Audio Passthrough” when I try to help people without making fun of them or making them believe that works what does not work. I see more people are joining that other thread with the same problems. Good luck with that.

    I've not bothered to read the full contents of your test report. I stopped about 10% into the text; by which point it's obvious that you are a) expecting feature parity with Amlogic vendor kernel images, b) blindly changing settings expecting miracles. Please go read any recent LE release notes (anything from the last couple of years) which contains clear statements on the current state of mainline kernel Amlogic support (nothing has changed much in years). What worries me the most is users with wildly unrealistic expectations for the AMLGX image because they don't read.

    NB: You are welcome to continue experimenting with AMLGX, but I don't need bug reports. The issues and current state are all well known (and documented). You are also welcome to continue using the factory Android image, which works, with all features.

    I have bothered to read quite a few of your posts 100% and there are a few things that stand out:
    a) you can not properly answer a message without having read it in its entirety, unless the intention is to mock the questioner as you do in many of your answers to the users of this forum.
    b) the factory image on a Dreambox is not Android, which shows your knowledge about this device.
    c) I have also changed the configuration in a similar way as Marsam has done and it is not to do it blindly, but to follow what some users of this same forum indicate that it has worked for them with 4K UHD videos. If you read the user posts in full you would realize that.
    What worries me is that you invite to read documentation without even reading the complete messages of the people who participate in this forum. Part of the documentation you refer to is WRONG:

    As box images can be used on many devices you must configure the device-tree file to use first. This is done by editing uEnv.ini in the root folder of the SD card. Change @@DTB_NAME@@ to the name of the .dtb file to use. Current supported device-tree files are in the dtb folder.

    https://wiki.libreelec.tv/hardware/amlogic

    @emanuel already made clear that it is not possible to boot a LibreELEC image on a Dreambox with the documentation above. However, you were telling me in this thread that it was the right thing to do:

    ZunZun
    December 19, 2024 at 1:55 PM

    The fact that chewitt didn't know what he was talking about regarding Dreambox has been clear from the beginning when he didn't even know that LibreELEC images don't work on this device no matter how much he insists on sending people to read info about things he hasn't even tested with a Dreambox. My question was directed to @emanuel.

    LibreELEC-AMLGX.aarch64-13.0-devel-20250115231833-f7f63d7-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one.img.gz

    Hello, here I come back after having flashed on my new SDXC card all the LibreELEC images for my Dreambox One. These ones:

    LibreELEC-AMLGX.aarch64-12.0-devel-20231223152449-8fece3c-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-12.0-devel-20231214151211-9340b68-dreamone.img.gz

    LibreELEC-AMLGX.arm-12.0-devel-20231117123809-25beb26-dreamone.img.gz

    LibreELEC-AMLGX.arm-12.0-devel-20230827153624-bbd297b-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20240704153658-289c09b-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20240623195447-d897522-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20240529181505-c8e0f92-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-12.0-devel-20240308131135-f3b540d-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230412113408-efb9002-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230215211649-60007e8-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20221216175951-c01ae9b-dreambox.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230210103536-b708f11-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230107203227-c50d113-dreambox.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230104154543-bb98dc6-dreambox.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20250115231833-f7f63d7-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one.img.gz

    They can be downloaded from here as emanuel pointed out:

    TEST Images (unstable)

    I have been several days looking at different things. Now, I’ll show you the problems that I have found in the different images in case they can be solved:

    CANNOT BOOT:

    LibreELEC-AMLGX.aarch64-12.0-devel-20231223152449-8fece3c-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-12.0-devel-20231214151211-9340b68-dreamone.img.gz

    LibreELEC-AMLGX.arm-12.0-devel-20231117123809-25beb26-dreamone.img.gz

    LibreELEC-AMLGX.arm-12.0-devel-20230827153624-bbd297b-dreamone.img.gz

    ALL VIDEOS ARE PIXELATED AT THE START, IMPOSSIBLE TO PLAY 4K VIDEOS PROPERLY:

    LibreELEC-AMLGX.aarch64-13.0-devel-20240704153658-289c09b-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20240623195447-d897522-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-devel-20240529181505-c8e0f92-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-12.0-devel-20240308131135-f3b540d-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230412113408-efb9002-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230215211649-60007e8-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20221216175951-c01ae9b-dreambox.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230210103536-b708f11-dreamone.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230107203227-c50d113-dreambox.img.gz

    LibreELEC-AMLGX.arm-11.0-devel-20230104154543-bb98dc6-dreambox.img.gz

    NOTE: IN THESE 2 IMAGES BELOW, IN ADDITION TO THE FACT THAT THE VIDEOS ARE PIXELATED AT THE START AND THAT IT IS NOT POSSIBLE TO PLAY 4K VIDEOS PROPERLY, THERE IS NO AUDIO AT ALL (Therefore, no HD audio passthrough not even in expert mode) Settings / System / Audio / Audio Output Device: Only shows - Default, Bluetooth Audio (PULSEAUDIO) (Expert Mode) AND THIS MESSAGE IS CONSTANTLY SHOWED EVEN IF THE USER DOES NOT REMOVE A USB MEMORY OR A HARD DISK:

    Succesfully removed storage device.

    LibreELEC-AMLGX.aarch64-13.0-devel-20250115231833-f7f63d7-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one.img.gz

    THINGS COMMON TO ALL IMAGES:

    -Settings / System / Display / Stereoscopic 3D / Preferred mode: Anaglyph does not appear, so you cannot play a 3D SBS or 3D HOU movie properly.

    -Settings / Interface / Regional / Language: only shows - English (Although you can choose other languages in the welcome screen, even if you choose, for example, German, Spanish or Italian, only English will be displayed after the setup wizard finishes)

    -Settings / Interface / Skin: only shows - Estuary

    -Power Options: Suspend: No suspend, with this option the Dreambox always restarts.

    NOTE: The following notification is always showed at start-up on all images. (Even if I turn it off in Settings / System / Input / Peripherals, it always reappears. I'm not quite sure what its function is):

    Connecting Pulse Eight CEC Adapter.

    THIS IS WHAT I HAVE DONE TO TRY TO SOLVE THESE PROBLEMS:

    Originally it was as follows (with this, .ts and .mkv Full HD videos have some stuttering, all of them are pixelated at the start. 4K UHD videos only with audio and no picture):

    Settings / Player / Videos:

    Allow using DRM PRIME decoder: On

    Allow hardware acceleration with DRM PRIME: On

    Prime RENDER METHOD: Direct to Plane

    With this change, .ts and .mkv Full HD videos have more stuttering, all of them are pixelated at the start. 4K UHD videos only with audio and no picture):

    Allow using DRM PRIME decoder: On

    Allow hardware acceleration with DRM PRIME: On

    Prime RENDER METHOD: EGL

    With this change, .ts and .mkv Full HD videos have some stuttering, but none of them are pixelated at the start. 4K UHD videos only with audio and no picture):

    Allow using DRM PRIME decoder: On

    Allow hardware acceleration with DRM PRIME: Off

    Prime RENDER METHOD: Direct to Plane

    With this change, .ts and .mkv Full HD videos have more stuttering, but none of them are pixelated at the start. 4K UHD videos only with audio and no picture):

    Allow using DRM PRIME decoder: On

    Allow hardware acceleration with DRM PRIME: Off

    Prime RENDER METHOD: EGL

    With this change, .ts and .mkv Full HD videos have some stuttering, but none of them are pixelated at the start. 4K UHD videos has picture and sound but in slow motion

    Allow using DRM PRIME decoder: Off

    Allow hardware acceleration with DRM PRIME: Off

    Prime RENDER METHOD: Direct to Plane

    With this change, .ts and .mkv Full HD videos have more stuttering, but none of them are pixelated at the start. 4K UHD videos has picture and sound but in slow motion

    Allow using DRM PRIME decoder: Off

    Allow hardware acceleration with DRM PRIME: Off

    Prime RENDER METHOD: EGL

    NOTE: All the same videos play properly, including all 4K UHD videos, without any stuttering, with the Media Center of the various Dreambox images that can be found at https://dreamboxupdate.com/

    What could be done to fix this? What worries me the most is not being able to play 4K UHD and 3D videos properly.

    Thank you very much for the detailed explanation. Indeed, as you say, it’s all complicated. My knowledge on the subject is still not very extensive so there is something I don't quite understand. I had never noticed those 2 variants of "gpt-multiboot.img.gz" and "multiboot.img.gz”:

    packed images are ready here for all 3 bootloader variants:

    a) for original bootloader, *.img.gz
    b) GPT multiboot loader (manufacturer Multiboot) *gpt-multiboot.img.gz
    c) gboot multiboot *multiboot.img.gz

    I have read in some forums about the risk of trying to update the bootloader. If someone does not know what he is doing it is possible to wreck the Dreambox. I simply wanted to burn the image onto the SDXC card, insert it into the Dreambox and run LibreELEC. My idea is to download one of these two:

    LibreELEC-AMLGX.aarch64-13.0-devel-20250115231833-f7f63d7-dreamone.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one.img.gz

    I don't know if with variants b) and c) (like the three below) I will have to configure something that is beyond my knowledge and, if I do it wrong, I might wreck the Dreambox or the new SDXC card (Sandisk Extreme Pro 64 GB UHS-I Class 10 U3 V30) that I am waiting for:

    LibreELEC-AMLGX.aarch64-13.0-devel-20250115231833-f7f63d7-dreamone_gpt-multiboot.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one_gpt-multiboot.img.gz

    LibreELEC-AMLGX.aarch64-13.0-nightly-20250124-0e145cf-dreambox-one_multiboot.img.gz

    I understand that one of the first two images, out of the five I say, would be the best bet.

    https://github.com/emanuel4you/pack-libreelec-for-dreambox

    It is absolutely necessary to provide the LibreElec image with a chain boot loader. Otherwise the manufacturer's boot loader of the Dreamboxes cannot boot the image. A script for repacking is available here on github, or the pre-packed images are available from me on ihad.

    According to this:

    https://wiki.libreelec.tv/hardware/amlogic

    To run LibreELEC on a Dreambox One you only need to edit the file “uEnv.ini” and then just insert the SD card in the box and power on. Some box devices detect the presence of the SD card automatically

    At this point I don't understand why you choose to use scripts and a Nightly build instead of directly downloading the latest stable version and doing the above.

    I will try all with the new SDXC card in a few days when it arrives. But to run the scripts I will have to install Linux first.

    BTW, I see that you don't mention anything I ask about CoreELEC, I imagine that the Dreambox version is something you have completely abandoned. Unless you have to run some script and use a Nigthly build also with CE.

    Hello. I don't know if I’ll have problems booting from a SDXC card larger than 64GB. Maybe there is a card size limit with the Dreambox One. I think this Sandisk Extreme is supported:

    51oAxrz1daL._AC_SL1000_.jpg

    Although my idea was to buy this one, much, much more expensive:

    61Z+LrbCbQL._AC_SL1200_.jpg

    Will there really be an appreciable performance difference? A priori, it does seem so. 200 Mb/s vs 300 Mb/s, UHS-I Class vs UHS-II Class, V30 vs V90. But I don't know if the last card is supported by Dreambox One. The same thing happens with the next two.

    This time it’s something in between the two previous card, Lexar. That is, 250 Mb/s and V60 but UHS-II like the second Sandisk:

    XXwDePo9_o.jpg

    Another option, Kingston, apparently identical to the more expensive Sandisk, but at half the price, is this one:

    R6AZGYkA_o.jpg

    These are the options I am considering at the moment, without clearly deciding on one of them yet.

    I've no idea what patches and changes _emanuel_ adds to his images (he is not pushlishing the sources to his GitHub account) but I doubt he deviates far from AMGLX.

    It sounds like it falls back to the 5.1 'core' audio. Have you checked cables? - it requires high bandwidth and if the HDMI connection can't handle that it will cause fallback. Please also enable debug logging in Kodi, demonstrate the issue by playing something, and then run "pastekodi" over SSH and share the URL generated.

    I’ll do 3 things. Buy a new HDMI cable, a new SDXC card and new tests with an official LibreELEC version.

    I assume there will be no difference in performance if I choose aarch64 or arm11. I’ll download one of these two for the Dreambox One, although I can try both:

    LibreELEC-AMLGX.aarch64-12.0.2-box.img.gz

    LibreELEC-AMLGX.arm-11.0.6-box.img.gz

    I do only repack the normal *box.img after building, add extra scripts (autoexec.img, ..) and a chain u-boot.ext to FAT partition and rename it to DREAMBOOT.

    All changes are only necessary for the original tpm protected dreambox bootloader in order to boot or shutdown the 6.X kernel.

    There are no src changes/patches, all is original LE git.

    I've got only a packing script nothing more.

    it can all be done from Nightly builds or *.tar from Nigthly can be used for update.

    Thank you. I see you’ve also done something similar with CoreELEC for Dreambox:

    Index of ./DREAMONE/old/

    In another thread I’ve created here I have been recommended to use CE for the HDR to SDR issue. It seems that you start from a 2020 version, I can't find another one, this: CoreELEC-Amlogic.arm-9.2.3-Generic.img.gz

    Release CoreELEC 9.2.3 · CoreELEC/CoreELEC
    CoreELEC 9.2.3 is now available. While there are no big individual changes, CoreELEC 9.2.3 does bring many updates, a number of bug fixes identified thanks to…
    github.com

    I have downloaded this version: CoreELEC-Amlogic-ng.arm-21.2-Omega-Generic.img.gz

    Releases · CoreELEC/CoreELEC
    A lightweight OS for KODI. Contribute to CoreELEC/CoreELEC development by creating an account on GitHub.
    github.com

    But I don't know which device_tree file I should choose for Dreambox One or what changes I should do to use the latest CE version.

    At first glance the differences I see are that in emanuel's CoreELEC the files "autoexec.img" and "autoexec.src" appear (as in emanuel's LibreELEC) and "aml_autoscript", "cfgload" and "config.ini" disappear. We see also inside device_tree a single file, "g12b_a311d_dreamone.dtb" that would correspond to "g12b_a311d_khadas_vim3.dtb" of Khadas Vim3, its SOC, however, is A311D, instead of S922X in the Dreambox One.

    emanuel’s CoreELEC:

    Original CoreELEC:

    A priori, version 9.2.3 (emanuel's CoreELEC) is enough to test the HDR to SDR issue on one of my non-HDR compatible displays but I think that version does not fix the artifacts and banding with S922X devices that I guess will have been solved in 21.2, after 5 years. Hence my interest in trying the latest CoreELEC version, although on the rest of my displays I’ll use LibreELEC only.

    Have you enabled Advanced or Expert mode in Kodi settings?. IIRC the pass-through settings for individual formats aren't exposed in the standard settings level, and if they're not enabled and there's no DTS core audio to fall back to in media, there'll be silence.

    Thanks, passthrough is enabled now but when I play True-HD 7.1 material sound is there but it's Dolby Digital Plus 5.1.

    Maybe it's because I'm running emanuel’s LibreELEC. Is there any difference between that image and the one that can be downloaded here? I assumed it would be the same.

    Don't worry. As far as I have found out, HDR to SDR conversion is not very good on S922X devices, apparently it is better on S905X3.

    Some people claim to get a better picture on non-HDR compatible TVs with HDR movies by making some adjustments. Maybe on LibreELEC it is possible to improve the picture a bit with some modification but I haven't managed to find a way yet. Anyway I think the best solution is to buy a new 4K UHD TV in the near future.

    I have never tried CoreELEC, I have looked at their website and there is no version for devices with S922X.

    I thought it would be possible in LibreELEC, here they talk about it in Kodi:

    Playing HDR content on SDR ... bad result with kodi, comparison with MPV player

    HDR to SDR conversion is an option I can't even find with the original Dreambox Image. Is there anyone who has found it in any Image for Dream One?