[x86-64][hadesdevls Builds] LibreELEC Hades - native Dolby Vision, HDR10+ and 3D

  • LibreELEC Hades 1.2.1 is out
    Download LibreELEC Hades 1.2.1: the image, the update file and the Windows installer.

    A short version after 1.2, with fixes for what you reported and a few things you asked for.

    If you run 1.2, it finds this version by itself
    1.2.1 is the first version that comes through the new update channel. A notice says "New version: Settings > LibreELEC > Updates". Open Available Versions and Hades shows 1.2.1, asks, downloads it and restarts to install it. It is taken only because it is signed with the key of LibreELEC Hades. From 1.0 or 1.1, update with the Windows installer or the .tar file, as before. From this version the files are named LibreELEC-Hades-1.2.1-Generic.x86_64.

    What's new

    • A 1D LUT for the calibration of a display, next to the 3D LUT: the .cal of DisplayCAL and ArgyllCMS, or a 1D .cube, alone or before a 3D LUT.
    • The frame of the video, saved alone: Shift+Print Screen, or Save the frame of the video in the video settings of the player, saves the frame of the film without menus or subtitles, at its own size, with an SDR copy when it is HDR.
    • HDMI 3D frame packing on NVIDIA: where the driver refuses the picture buffer of a frame-packed mode, Hades now draws the two eyes into buffers of its own, so that the mode can go out in frame packing instead of side by side.
    • The remote wakes the PC: the receiver of a remote control (a flirc, a Media Center receiver) may now wake the PC from sleep, and Settings > LibreELEC > System > Sleep > Wake from sleep chooses what may.
    • Dolby Vision sent in IPT takes much less work: each pixel is converted once and the PQ curves come from precise tables, with a picture even closer to the exact conversion.

    Fixes

    • A Dolby Vision 3D film (profile 20) keeps its colours after going back to 2D, and subtitles over an HDR video in 3D no longer leave old menus in the right eye.
    • AV receivers that lose the HDMI link again while they settle, a DisplayPort link that the kernel reports as failed, and audio outputs that come and go.

    New since 1.1? 1.2 came out just before this version and is the bigger one: 3D in MV-HEVC, a 3D LUT for each display, projector control over the network, Filmmaker Mode by itself, and updates that Hades finds and checks itself, along with many fixes. Updating to 1.2.1 brings all of it. What changed in 1.2

    Quote from MrMagic

    Is it because you're using a different algorithm / path to do the conversion?


    MrMagic Thanks for this one, it was worth it. Reading that code again for your question, one pixel of every pair was worked out twice, and the PQ curves were computed with exponentials and logarithms for every pixel. In 1.2.1 each pixel is converted once and the curves come from tables made in double precision: half the work in my measurements, with a picture even closer to the exact conversion than before. I can only measure it on a software renderer here, so I would love to hear how your 660M takes it now. As composed stays the default, with no conversion at all.

    Quote from ht2tweak

    So, with MV-HEVC 3D (DV P20), you're getting there, but it isn't quite working yet


    ht2tweak Thanks for testing it, for the video, and for pointing to the Disney VR releases for profile 20. Your settings show VAAPI, so on your graphics the two 4K views are decoded by the processor, and where it can't keep up the video goes on in 2D. In 1.2 a profile 20 film turned green and purple from that point, which looks like what your video shows. 1.2.1 fixes that: after the fall back to 2D the picture is rebuilt exactly as a 2D film. Your 1.2 should offer it by itself, so it is also a good first test of the new updater. If it still looks wrong, please make a diagnostic report and attach it here in the forum (I don't open files on external hosts).

    Quote from ht2tweak

    the SMB login/password change from LE default (not a fan on this; trips me up all the time)


    Fair point. Samba is off in Hades, and when you turn it on it gets a password that the Services page shows; the same page lets you turn the password off if you prefer it the LibreELEC way. SSH is the same idea: while root still has the default password it only takes keys, which is why FileZilla said "no more authentication methods". Turn SSH off and on again in Settings > LibreELEC > Services and it asks for a root password; with one set, SFTP works. The Logfiles share makes a filtered log each time it is opened, so on a big log you see filtered-log-in-progress.txt first and the zip a little later. I'll look at making all of this easier to get along with.

    Quote from HomerJau

    the best has been new Intel Wildcat Lake 304 cpu based


    HomerJau Thanks for the tip. Hades has the kernel and Mesa for Wildcat Lake, but reading the EDID on it has not been seen on real hardware yet. If one of yours runs Hades, a Share my results line from Check this setup would be great.

    NTM-3D  Khazar this is the version with the frame packing change for NVIDIA. If you can, please try a 3D Blu-ray or an MVC file on your RTX cards with Adjust display refresh rate on, and tell me whether the display switches to frame packing. kodi.log says which buffer went out ("3D output: ...").

  • NTM-3D  Khazar this is the version with the frame packing change for NVIDIA. If you can, please try a 3D Blu-ray or an MVC file on your RTX cards with Adjust display refresh rate on, and tell me whether the display switches to frame packing. kodi.log says which buffer went out ("3D output: ...").

    Just checked the 1.2.1 version on my 5050 and frame packing seems even more broken. Still do over/under and then some sort of side by side mix? Hope the logs will help tell whats happening :)

    By disabling switch HDMI to 3D and setting output to 4K I managed to test the MV-HEVC and could play a 48fps file with 2-3% CPU and around 70% GPU load. So the HW decode seems to work fine. I tried to skip forward 30 minutes and it took a good while before playback started and then it stopped/stuttered. Again the logs may be able to say why.

    One thing though with the side by side mode is that the subtitles are HUGE and distorted. If my memory serves me I believe OU/SBS subtitles have been broken like this since Kodi 20. They do render correctly in Kodi 19.



    I also tested it on one of my intel laptops. Frame packing still works and now show up in the OSD very clearly, thank you :)
    I did try some of the MV-HEVC files but stutter galore. I did again have to disable switching HDMI to 3D otherwise if would default to 1920x1080@60 for SBS instead of 4K@60, tried 48fps and stutters/buffers, tried a 24fps and got no signal.

    Edit:
    I do know why it goes to 1080p SBS. 4K SBS was never a official format so I suspect the TV advertises SBS support but only for 1080p in the EDID. As far as I know all 4K 3D TV do support OU/SBS in 4K.

    Would it be possible to add support for more 3D output formats? Thinking interlaced for the passive TVs and maybe full SBS for the AR glasses that are so common now :) I would be able to test both.

  • I was testing on 1.2 and 4k DV mv-hevc 3d worked well for me. My specific projector (probably most/all?) did not allow hdr 3d, but did allow sdr 2020 and half-4k 3d. Full 4k may be possible with some custom resolution trickery like one can do on PC, but this is still pretty great as is.

    There may be some quirks when going back to the menu and exiting the movie, but I will have to test some more. The main issue I ran into immediately is a "content loading" right eye. It lasts for 3-5 seconds while the left eye is playing and before it loads to the correct image. That is not too bad, but it also comes up anytime the video is paused. Also if I was in a menu like the "O" menu or using "x" on xbox gamepad, that menu now shows in the right eye when paused while the left eye remains correct. So it's pretty disorienting and I have to close one eye if doing anything with the video paused. (images attached)

    Another unrelated issue is the sound doesn't show my 2 heights being used with atmos, so I have to figure that out. I will run the check I didn't have time for quite yet.

    Also, is there a way to open the "O" menu on xbox gamepad without add-ons for remapping etc? I will use an add-on if I have to, but wasn't sure if I was missing a button combo or some built-in remapping method.

  • My 3d mv-hevc came up split vertically down the center as opposed to ht2tweaks, so I had to use side by side. I also had the play 3d as SDR 2020, since the projector showed a message that 3d cannot be played with HDR when I tried otherwise.

    I had an odd permanent mouse trail shown in the "system" screenshot when I tried using my mouse when the movie was paused and in the overview. Not a big deal to me, but thought I'd mention it. It also seemed to be moving pretty slow.

  • Here is one small ppi info service addon for Hades build.

    The addon enable the user configurable playerinfo transparency, text colors, and more, it will looks same in all skin.

    You need map a key RunScript(script.hades.ppi.window) (for example with Keymap Editor) in your remote to run.

    The values are same as the original ,builded .

    It's dont touch the original one.

    Also have optional webserver, to connect your android phone to see your library,

    start/stop the movie, browse, see the processinfos there etc, with app, called tiny mobile.

    (that linked in the github page)


    Download from the release page


    Thank to hadesdevls for the work on his project!

    also for ht2tweak to testing the addon.

  • LibreELEC Hades 1.2.2 is out
    Download LibreELEC Hades 1.2.2: the image, the update file and the Windows installer.

    A short version after 1.2.1, mostly for 3D on PCs and for what you asked of the safe defaults, with less work for the graphics and the same or a more exact picture.

    Updating
    If you run 1.2 or 1.2.1, Hades offers this version by itself (Settings > LibreELEC > Updates), signed with the key of LibreELEC Hades. You can also update right away with the .tar file or the Windows installer, as from 1.0 or 1.1.

    What's new

    • HDMI 3D frame packing on NVIDIA through the driver's own buffers. The logs of 1.2.1 showed that the GBM of NVIDIA still could not make the buffers of a frame-packed mode; Hades now uses the ones of the driver, which the display engine always shows.
    • Side by side and top and bottom of a 2160p mode go out at 2160p, and on NVIDIA the display is now told of them at 2160p, at 24 to 30 Hz too, by the same rule as Linux on Intel and AMD.
    • HDR in 3D, display by display: Check this setup > 3D: HDR plays a short HDR clip in 3D, asks what you saw and keeps the answer for that display. Until then an HDR 3D video goes out in SDR, and the first one says where to check it.
    • MV-HEVC 3D decoded about twice as fast on the processor, with a patch by cinemaONE for FFmpeg and up to 24 threads. Where the processor still can't keep up, the film goes to 2D in about four seconds instead of ten to twenty.
    • Less work for the graphics: a paused video with a menu over it is no longer converted again at every refresh, the PQ curves come from tables made in double precision, and an identity 3D LUT gives the picture back to the bit.
    • The speakers of the Audio page say which speakers get sound, which ones your TV or receiver declares, and the Atmos objects your receiver renders to its heights.
    • The devices that may wake the PC, chosen one by one, Bluetooth ones too.
    • Network access in one choice, in the first-start wizard and in Services: Recommended (safer), or As in LibreELEC. Samba: How to connect shows the address, the user and the password at any time.
    • Holding Start on a game controller opens the player information during a video.

    Fixes

    • Subtitles in 3D side by side and top and bottom keep their shape (they were twice as wide), and leaving a 3D video changes the display mode once instead of twice.
    • Deep colour that a display does not lock onto (some laptop HDMI ports, Intel) goes out in 8 bits instead of leaving no picture.
    • The buffering after a seek on a slow network source shows how far along it is, and the Logfiles share filters a big log about four times faster.


    Every change, with its details, is in the release notes and the changelog.

    Most of the 3D work has not been tried on a 3D display yet. If you have one, a report would help a lot: Settings > LibreELEC > System > Submit Log > Create a diagnostic report, attached here in the forum.

    NTM-3D thanks a lot for the two reports, they made this one easy to find.

    On the 5050 the driver wants the frame packing picture in video memory, and the buffers I tried in 1.2.1 couldn't be made there. 1.2.2 uses the driver's own buffers, which always live in video memory. The over/under you saw was the first few frames before the driver gave up, then the side by side fallback. If you get a chance, try a 3D disc or an MVC file again; kodi.log will say which buffers it used.

    The subtitles: you were right, it's been broken since Kodi 20. Each eye got the wrong pixel shape, so in side by side the letters came out twice as wide. Fixed for side by side and top and bottom.

    On the Intel laptop:

    • SBS was going out at 1080p60 because your TV only lists 3D up to 1080p. 1.2.2 keeps side by side and top and bottom at 2160p, and you switch the TV to 3D yourself.
    • The 24 fps black screen is the laptop's HDMI port: it can't do 10-bit at 4K 24 Hz, even though the same TV input takes that exact signal from your 5050. Nothing in the EDID says so, so 1.2.2 asks the TV a couple of seconds after switching and, if it didn't lock on, drops that mode to 8-bit for the rest of the session.
    • MV-HEVC: two 4K views are a lot for a laptop CPU. The decoder is much faster now, and if it still can't keep up it goes to 2D after about four seconds instead of stuttering first.


    The slow 30 minute jump was the Wi-Fi. The player had the new position almost instantly and then waited on the share, which was sending about a third of what the film needs. Now you see the buffering progress, and a notice if the source is too slow.

    ht2tweak thanks for the debug log. Your CPU couldn't decode both 4K views fast enough, so the film dropped to 2D, and that's where the green and purple came from (fixed since 1.2.1). In 1.2.2 decoding the two views is about twice as fast thanks to a patch from cinemaONE, so your Ryzen 7 might keep up now. I'd love to know. If it doesn't, it goes to 2D after about four seconds without the long stutter, and pressing O won't make it try 3D again.

    About the defaults: there's now a Network access option in Services and in the first-start wizard. Pick As in LibreELEC and you get Samba without a password, SSH with the default password, no firewall and AirPlay on, all in one go. Samba also has a How to connect button with the address, user and password, and the Logfiles share is about four times faster with big logs.

    Ryudoadema thanks for the photos, they helped a lot. Going through your points:

    • Right eye showing the home screen: one menu layer was only being cleared on the left eye. Fixed since 1.2.1.
    • Player information from a controller: in 1.2.2 hold Start during a video (Menu on Xbox, Options on PlayStation). A short press still does what it did.
    • Native Dolby Vision next to SDR: Dolby Vision never goes out as such in 3D, each view gets rebuilt. The page now says so and doesn't offer the native choices for a 3D video.
    • HDR in 3D: a projector doesn't say whether it handles HDR in 3D, so Automatic now sends 3D in SDR (BT.2020 if it takes it) until you check. The first time you'll get a notice pointing to Check this setup > 3D: HDR, which plays a short clip and asks what you saw. It remembers your answer for that projector, and your own setting still wins.
    • 3D not signalled at 2160p: on NVIDIA, Hades only knew the 3D modes at 720p and 1080p. It now reads them at 2160p too, and for 24 to 30 Hz I changed the driver to signal it the way Linux does on Intel and AMD. I can't test this without a 3D display, so a log from yours would be great.
    • Quirks going back to the menu: leaving a 3D video switched the display mode twice. It's one switch now. If anything else looks off, a log taken right after would help.
    • Atmos heights: with passthrough, Hades doesn't touch Atmos, your receiver renders the objects. The 5.1 was just the core of the stream. The label now says DD+ Atmos 5.1 + objects, and the Audio page shows your speakers from the receiver's EDID, heights included when it declares Atmos.
  • hadesdevls Seems like I can't yet like a post, but thanks for the great (and quick) work. I'll be sure to test some more soon.

    Ryudoadema thanks! The mouse trail and the slow cursor are being fixed for the next version, and I'd love to hear how 1.2.2 does on your projector when you get to test it.

    frodo19 thanks for building on Hades, it's really nice to see. Making the player info your own and taking it to the phone is a cool idea!

  • hadesdevls
    Tried the 1.2.2 on my 5050. Sorry to say it is very broken. Frame packing still does not work with Nvidia. It still do over/under and then go to SBS. Now it does it in 4K so 3D is not triggered. I tried whitelisting just 1080p24 and then it triggered the 3D on the TV but still OU and then SBS so no frame packing only 1080p SBS.

    The subtitles are even worse now. Now I get like 4 words per row on my 65 inch ;) and they are still malformed, so the size is not the only issue. The subtitles are not properly squeezed into the half sbs format, probably the same for OU.

    I then tried skipping in MV-HEVC again but still get the constant buffering after skip. The speed I have copying that file from that share to this 5050 laptop in Windows is 950 MBit/s so don't think the actual speed is the issue.

    After stopping the MV-HEVC the interface broke and stayed in SBS but only showed the left eye. Hope the logs will be helpful to figure out what went wrong with this release. Do please tell me if there is any specific test I should do.

  • Seems like the loading and menu in the right eye issue is fixed. It's working great. I didn't notice any issues leaving or pausing the movie. I forgot to check the pause button on controller. It goes into the initial less informative overview, and probably goes into the more in depth one if I press again but didn't check.

    It plays as side by side with both eyes squished horizontally in 3840x2160 before I turn on SBS, then it is 3d 3840x2160. This is why I assume it is only half-4k 3d due to it initially scaling the width in half. I wonder if there is a way to send the 4k 3d mv-hevc and other 4k 3ds that display as sbs at 7680x2160 to try and get the full 4k 3d working? It could very well be the case it would not work.

    Does the fact the audio page only lights up 5.1 speakers mean heights are not used? I was a little confused by your update/explanation. Tests are only done with 5.1 or 7.1 etc and same with speaker setting in kodi/hades. I know pass-through should still activate them though.

  • so I would love to hear how your 660M takes it now. As composed stays the default, with no conversion at all

    Thanks, the GPU usage is much lower now, it hovers around 70% when IPT conversion is enabled while playing my Avatar 2 ISO rip.

    GPU temperature stays below 50 C now. I still hear the fan spinning up a bit higher than with CroqueMr's build, but it's much improved already.

  • NTM-3D  Ryudoadema  MrMagic thanks a lot for testing 1.2.2 and for the logs and photos. I've gone through all of it, and the next version answers each point. I'll reply properly when it's out.

    Hi,

    Code
    Hades 1.2.2 (LibreELEC devel-20261126084827-c81bbae), x86_64, HDMI to a TCL C825
    (its EDID declares FL/FR only).

    Kodi aborts (SIGABRT) when starting or resuming a film with DTS-HD MA / DTS:X
    (8 ch, decoded to 7 ch PCM) while audio passthrough is off. The same file plays after a restart.
    kodi_crash_minimal.log


    Crash is on the main thread:
    CWinSystemGbmGLESContext::SpeakerPlanInfo()
    <- PublishPlayerInfo() <- PresentRender() <- CGraphicContext::Flip()
    <- CApplication::Render() <- CGUIDialogBusy::WaitOnEvent()

    Workaround: turn "Allow passthrough" on, then the films play.
    Minimal crash log attached.

  • Was about to test MV-HEVC playback w/1.2.2, but looks like you have all you need?

    ht2tweak if you can, sure, it would help! Your Ryzen 7 decodes both 4K views on the processor, and 1.2.2 makes that about twice as fast, so I'd love to know whether it keeps up now. But the next version should be out later today or tomorrow with more 3D fixes, so if you'd rather test once, waiting for it makes sense too. Either way, after a minute or two of the film, a diagnostic report (Settings > LibreELEC > System > Submit Log > Create a diagnostic report) attached here tells me how the decoder did and whether it stayed in 3D.

  • Glad I did... MV-HEVC is working perfectly for me! F***ing amazing! So, whatever you do, don't break it, LOL 😬😅. Just making this more compatible for everybody 😊. Working for me on both XGIMI Titan Noir Max (pics below) and Aura 3 Max.

    This is so cool, so quickly, to be able to enjoy these high quality videos natively! Thanks much!

    Debug zip attached to this post.