Posts by hadesdevls

    ht2tweak thanks for pinning it down! Getting wrong colours in 3D with anything but "As SDR" is a bug on my side, and the fix comes in the next update. On the 60 fps side by side file: in your earlier log Hades did switch a file like that to 3D, half side by side at 1080p 60 Hz, with the 3D signalled over HDMI, so on my end it went out as 3D. You'll know better than me whether the receiver could be dropping that on its way to the projector.

    Ryudoadema thanks for the log. The projector lists no 48 Hz mode (23.976 to 30, 50, 59.94 and 60 Hz), so there was nothing to switch to and it stayed at 60. The right eye flickering after going back to the menus should be fixed in 1.2.3, and with "As SDR" for 3D Dolby Vision films, as ht2tweak found, 1.2.3 should work well for you too.

    Rebooting PC and my projector didn't solve the greenish/purplish color issue. Tried multiple options in settings; see video. Later on (around 2:46 timestamp), I show trying 3D HDR and my projector engages 3D and quickly disengages, and shows '3D not supported in HDR' message. What I expected.

    ht2tweak thanks a lot for all the testing, and sorry for the trouble. If 3D was working fine for you on 1.2.2, you can go back to it until the next update: copy the 1.2.2 .tar into the Update folder and restart (Hades asks on the TV before installing an older version). The next update should be out between Tuesday and Thursday, and if more reports like this come in, I'll put out a quick fix on Tuesday.

    If you'd like to help pin it down before going back, try setting Settings > Player > Videos > Stereoscopic 3D > MV-HEVC 3D: the graphics card decodes the first view to Off and play a 24p file again. If the colours come back, I'll know exactly what to fix.

    Just tested 1.2.3. Report attached below.

    Did the .tar update, and re-tested a 24p MV-HEVC mp4, and it initially played fine w/the right colors as SDR2020 (as w/last build). I then brought up the OSD and tried to switch to DV (just to see how my projector would handle), which didn't work (like most projectors, mine only supports 3D in SDR). But, from this point onward, all my 24p MV-HEVC mp4's started playing with wrong colors like NTM-3D above. Still 3D though. But, a reboot, resetting settings didn't fix being able to play with right colors like before.

    With 48fps MV-HEVC mp4, played in SBS mode, and in 3D, but video stutters and freezes. Oddly, no dropped or skipped frames shown. Was trying to see if my projector displays this as 60fps or something else. It does display normal FSBS 60fps as 60.

    Video of trying out above.

    ht2tweak thanks for the report and the video, they helped a lot. In your log, Hades sends that file exactly the same way before and after the reboot (rebuilt as SDR in BT.2020), so nothing of the Dolby Vision attempt stayed in Hades. The colour change is most likely the projector or the receiver holding on to another mode, which a PC reboot doesn't reset, so try switching both fully off and on. If the colours are still off, set Settings > System > Display > Stereoscopic 3D > How 3D video goes out to SDR in BT.709 (an expert setting), which every 3D display shows right.

    For the 48 fps file, the graphics card already took over decoding the first view, as it should. What doesn't keep up is rebuilding the Dolby Vision picture of both 4K views 48 times a second, and it went out at 1080p 60 Hz, so it can't be smooth on that mode anyway. Making that rebuild lighter is the first thing I'm looking at for the next version.

    NTM-3D thanks, great to hear frame packing works on the 5050 too, and that the subtitles and the split image are sorted.

    The 4K per eye MV-HEVC going out as side by side is what Automatic, keep 2160p does on a TV that takes frame packing only up to 1080p. Interlaced for passive TVs, a choice of layout and full SBS for AR glasses I'm noting down for the next version, together with the Dolby Vision MV-HEVC not going to SDR in frame packing and the depth of the OSD in 3D.

    On the 3D Blu-ray subtitles going 2D: partly, yes. Placing them at the depth the disc asks for comes from the work of Dom Cobley, with changes of mine on top, so it may well be the same bug. I'll look into it for the next version.

    For the 5 GHz Wi-Fi, try setting your country in Settings > LibreELEC > Network > Wireless Regulatory Domain; without it some cards don't show 5 GHz networks.

    The failed update from 1.2.2 matters most to me. Could you open an issue on GitHub and attach the logs there? Thanks!

    hadesdevls two results from 1.2.3 on the same setup (RX 7600, JVC, AC3 passthrough to a processor on the Intel HDMI port):

    • MV-HEVC with the graphics card decoding the first view (set to Always): it took over after the bit-for-bit check within 1.5 s on two MV-HEVC 3D films, never went back to the processor, and every picture had both views. Kodi's processor use on one of them went from 2.13 to 1.68 cores, so about 20% less rather than half. The decode rate the log prints in this mode jumps between 74 and 17000 pairs a second, so it doesn't seem to count the GPU's share.
    • The start of passthrough sound: the first word of an episode is still cut, with and without a display mode change. The log shows the first 9 AC3 packets (288 ms) going out as pauses while the sync is measured; the speech in that episode starts 83 ms into the file.

    cinemaONE nice, glad the graphics card held the first view through both films. That rate in the log is clearly off in that mode, I'll sort that line out. The 288 ms of pauses at the start I'm noting down too, to fix in the next version.

    I just checked with 1.2.3 and I don't notice any difference compared to 1.2.2.

    Playing the ISO rip of Avatar 2 with IPT conversion enabled, the GPU usage hovers between 65% and 70% and the GPU temp between 45 and 48 Celsius. This causes the fan of my mini PC to spin up a bit higher that when idle. It is audible, but only during very quiet scenes.

    MrMagic thanks for measuring it. You have it right: with "As licensed players send (IPT)" chosen, 1.2.3 runs the new version of that pass. What changed is that one pass, the IPT tunnel: its filter no longer needs the full 32-bit multiplies that a Radeon runs at a quarter of its speed. That is where "a third less" came from, the instructions of that pass, not the whole load. Decoding, the composer and the other passes are the same as in 1.2.2, so the total barely moves, as you saw. For the next version I'll measure each pass on a Radeon and look at what keeps the card that busy.

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

    1.2.3 brings HDMI 3D frame packing to NVIDIA cards, MV-HEVC 3D with the graphics card's help on AMD and Intel graphics, JVC projector control by the shape of the picture, sound that starts with the picture and stays in step, and a Windows installer that checks that an image is the one I published. It also fixes what you found in 1.2.2.

    Updating
    If you run 1.2, 1.2.1 or 1.2.2, Hades offers this version by itself (Settings > LibreELEC > Updates), signed with the key of LibreELEC Hades. From 1.0 or 1.1, use the .tar file or the Windows installer.

    What's new

    • HDMI 3D frame packing on NVIDIA through buffers the driver takes. Check this setup > 3D: frame packing now asks the driver first whether it takes it on your display.
    • MV-HEVC 3D on AMD and Intel graphics: where the processor can't decode both views in time, the graphics card decodes the first one, with exactly the same pictures, instead of the film going back to 2D. Not tried on a graphics card yet.
    • A TV with 3D only up to 1080p now switches to 3D by itself for side by side and top and bottom.
    • The sound stays on the audio output you chose while its device is there, also with the picture on another graphics card.
    • Sound in step from the start: passthrough sound no longer starts up to a second late after the TV changes mode, and its sync lands within a millisecond, the same from one film to the next and after a pause.
    • The Audio page says what your soundbar or receiver accepts and which device says it, wherever it is connected.
    • Dolby Vision on Radeon RX 400, RX 500 and Vega cards (experimental setting): the whole display pipe is set and read back, and Check the Dolby Vision output reads the checksum of the card itself after the last stage.
    • The IPT transport and the Dolby Vision composer take less work on Radeon graphics, with the same picture byte for byte.
    • HDR10+ as Dolby Vision, also by choice: Play HDR10+ videos as Dolby Vision has a new value, Always, for those who prefer Dolby Vision on a TV that takes both (the film's own HDR10+ stays the more faithful picture there), and the player information says why a video did or didn't go out as Dolby Vision.
    • For JVC projectors: the anamorphic mode by the shape of the picture, picture modes for the menus and for SDR in BT.2020, and the player controls and subtitles inside a scope picture.
    • The Windows installer checks the signed SHA256SUMS before it writes an image, and a USB drive that DMA protection hid on a laptop is now found.

    Fixes

    • Kodi no longer closes when a decoded surround track starts on a stereo output, or when the player information is opened over one.
    • 3D subtitles in side by side and top and bottom are the right size again, and the menus come back whole after a 3D film.
    • The mouse pointer no longer leaves a copy of itself in one eye, and the speaker names on the Audio page are never cut.
    • The TV remote over DisplayPort keeps working through mode changes on Intel graphics.
    • The editor of a start entry (e in the boot menu) is readable, and frames left out before a video's first picture no longer count as skipped.


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

    Safe by default
    Hades keeps everything LibreELEC does, with safer defaults for a PC that is often also your Windows machine: started from USB it keeps the internal disks out of reach, Samba and SSH ask for a password or a key, and the firewall is on. If you prefer the own defaults of LibreELEC, Network access in Services switches them in one step.

    Updates work the same calm way. Hades tells you when a new version is out, and nothing is downloaded or installed until you choose to. Every version is signed with a key that never lives on GitHub or any server, and Hades checks the signature and the file before installing it. How updates are kept safe explains it in more detail.

    About the pace of updates
    Hades updates are usually cumulative: about once a week, once a good set of fixes and improvements has come together. These last days I had more free time, so I took on most of your issues and suggestions as they came in, so you could test them and report back sooner, and so the quality-of-life improvements could reach everyone quickly.

    I'll be busy and away for the next few days, so the next update will most likely come between Tuesday and Thursday, unless something comes up that needs to be fixed sooner, or something holds me up a little longer. I'll still be reading and answering here when I can.

    Thank you
    Thank you to everyone who tested, sent logs, made suggestions or spotted something that could be better: this version is full of what you found.

    If something looks wrong, a diagnostic report helps the most: Settings > LibreELEC > System > Submit Log > Create a diagnostic report.

    NTM-3D thanks again for the logs and the patience. In 1.2.3:

    • Frame packing on NVIDIA goes through buffers the driver takes, with no GBM in between this time. Check this setup > 3D: frame packing asks the driver first and says what it answered, so you can see it before playing a film, and kodi.log says whether the graphics card draws into them or the processor copies each picture.
    • Your TV declares 3D only up to 1080p, so side by side and top and bottom now go out at 1080p with the 3D signal and the TV switches by itself. If you prefer 2160p, Switch the display to 3D (HDMI) > Automatic, keep 2160p.
    • The subtitles: in 1.2.2 I read the pixel shape the wrong way round. Now each eye gets the subtitle of the 2D picture, so once the TV stretches it back it should look like 2D.
    • The menus come back whole after the 48 fps MV-HEVC film.
    • The waits after a skip over Wi-Fi are measured by the cache itself, so the notice only says the source is slow when it really is.


    Interlaced and full side by side aren't in this one. Which display were you thinking of for those?

    Ryudoadema the pointer left in one eye, the speakers "not known yet" and the cut labels are fixed in 1.2.3. The Audio page now reads the speakers of your receiver from its EDID wherever it's connected, room blocks included, or from its ELD, and updates as soon as the receiver says something new.

    Ryudoadema on the controller: in the keymap that Kodi has for game controllers, during a video Start opens the on-screen menu, White the short info and Black the full player information pages. An Xbox controller has neither White nor Black, which is why you only get the short one. A keymap of your own in userdata/keymaps that gives a button the action PlayerProcessInfo brings the pages back. For the 48 fps film, a log would be great when you have one. Choosing side by side and a button for the Dolby Vision menu I'll look into for the next version.

    cinemaONE thanks for the report from the RS4100. The whole film in frame packing with HDR10 in 3D and nothing dropped is great to see.

    MrMagic the IPT pass should take about a third less on Radeon graphics, going by the shader compiler of AMD, with the same picture byte for byte. I haven't measured it on a real Radeon, so if you can, I'd love to know the GPU load with the same film on 1.2.3. JonnyVee same for you, if you get a chance.

    frodo19 the crash with the decoded DTS-HD track is fixed. The downmix row of the player information gave the audio library a smaller buffer than the one it writes. Thanks again for the crash log.

    ht2tweak that's great to hear, thanks for testing it and for the report! A big part of this is thanks to cinemaONE, whose FFmpeg patch made decoding both views much faster.

    frodo19 thanks for the crash log, it led straight to the problem in Hades. It's fixed for the next version, and until then Allow passthrough avoids it, as you found.

    Ryudoadema a you guessed right, it's the graphics card. On AMD the driver takes frame packing, while on NVIDIA it has been refusing the buffers Hades gives it, so Hades falls back to side by side. That's what I'm working on for the next version.

    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.

    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!

    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.

    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: ...").

    Some answers, now that 1.2 is out.

    Quote from Ryudoadema

    While SDR BT709 is probably the safe fallback, would be great to have the options in there of how to send it if it's doable in the first place.


    Welcome, and good timing: 1.2 has that choice. It is in System > Display > Stereoscopic 3D > How 3D video goes out (with the settings level on Expert): Automatic, HDR, SDR in BT.2020 or SDR in BT.709, for every HDR 3D video, MV-HEVC included. Automatic sends HDR where the display takes it and SDR everywhere else. A choice only goes out where the display says it takes it and the graphics driver can send it, and the player information (O) tells you what went out.
    Dolby Vision itself is not sent in 3D, so a Dolby Vision 3D film (profile 20) goes out with each eye as HDR10 or as SDR.
    Side by side and top and bottom 3D at 3840x2160 use the normal 2160p mode of the display, so Hades adds no limit of its own: 4K 3D at 60 Hz with HDR depends only on what the display and the HDMI link take. Frame packing goes out at 1080p per eye, as 3D Blu-ray does.
    If you try it: turn on Player > Videos > Adjust display refresh rate, set Switch the display to 3D (HDMI) to Automatic, and play an HDR 3D video with each choice. For each one I would love to know whether the projector shows 3D, which signal its info menu reports, and whether colours and brightness look right in both eyes. A photo of the player information helps, and Share my results (Settings > LibreELEC > System > Check this setup) makes a line with your setup.

    Quote from lvasan

    It looks like Hades is applying a 1000-nit CMv4.0 target-peak mapping in TV-Led mode (even on a CMv2.9 Profile 7 stream)


    Thank you for both reports and for the lines you copied: they let me check what leaves the PC byte by byte. That mapping comes from three settings that were changed on your system, not from what Hades does by default:

    • Dolby Vision: ignore the studio's fine-tuning (trims): on
    • Dolby Vision: new tone mapping (v4.0): Automatic: add v4.0 for bright masters
    • Tone mapping v4.0: set the TV's peak by hand: on


    Together they leave out the fine-tuning of the studio and add a v4.0 part to your 4000-nit FEL titles, so the A80K got different metadata and mapped them differently. For most of the minutes in your report the player information or a menu was also over the picture, which changes what the TV gets. With the defaults, Hades sends the metadata as the film carries it.
    1.2 makes this easier to spot: while an HDR video plays, the first page of the player information lists any setting of yours that changes the picture from the film, with a Restore button that puts them back after a question. There is also Check this setup > Dolby Vision: Hades or licensed players (A/B), a guided comparison with a test clip made for it.
    Could you compare once more?

    1. Press Restore, or set those three back by hand: trims off, new tone mapping on "As in the video", the peak by hand off.
    2. Same file, same scene, same picture mode on the Sony. Close the player information, turn subtitles off and wait two seconds before you judge.
    3. If Hades still looks dimmer, add this to /storage/.kodi/userdata/advancedsettings.xml, restart Kodi and look at the same scene again:

      Code
      <advancedsettings>
       <video>
         <dvscenerefreshall>true</dvscenerefreshall>
       </video>
      </advancedsettings>


      It marks every frame as the start of a scene, which is the one byte left that differs from what you compared. Please tell me whether it changes what you see, then remove it again.

    4. Run the A/B card on the A80K and tell me which one it prefers.


    Also new in 1.2: HLG as Dolby Vision now takes 8-bit HLG videos too, the kind many cameras record, with the same result as the same picture in 10 bits.

    Quote from JonnyVee

    I couldn't figure out how to make DV output as SDR.


    Sorry, it was too well hidden. While the film plays, press O, then OK on Output of this video, and choose As SDR (without HDR). In 1.2 the help of the HDR settings says so, and so does the player information when Dolby Vision goes out as HDR10 because of the display.

    Quote from JonnyVee

    Is it feasible to add DCI and BT2020 colorimetry for SDR-HDR conversions?


    It is in 1.2: System > Display > HDR to SDR: gamut of the output (Expert), with BT.709, BT.2020 or DCI-P3. The video is mapped straight into that gamut, the display is told so, and the menus and subtitles are converted to match. It goes out only where the display declares the gamut and the driver can signal it. The AMD driver offers no DCI-P3, so on the Lenovo it is BT.2020, and through the Anthem it is the EDID of the Anthem that counts. Your JVC should then show BT.2020 in its info screen.
    The order you suggested for the settings is in 1.2 too: System > Display now goes from the general to the fine, and each setting sits right under the one it depends on.

    Quote from JonnyVee

    3400GE definitely needs some optimization.


    Your report found it. Dolby Vision shown as HDR10 or SDR now steps down the same measured way as native Dolby Vision, only where the graphics really can't keep up and one level at a time, with the enhancement layer always drawn. Graphics that keep up show the exact same picture as before. The 100 % of the 3400GE and the 50 % of the 4650GE were also two different measures; in 1.2 every AMD GPU uses the same one, and the System page shows the GPU time of each pass, so the two can really be compared.
    And since you have an NZ800: 1.2 can switch its lens memory by the shape of the picture and its picture mode by the signal. In System > Display > Projector control over the network (Advanced), choose JVC D-ILA, give its IP address (a fixed one in the router) and its network password, then Test the connection, which should show the model. Then turn on Lens memory by the shape of the picture: by default memory 1 is for narrower pictures and memory 2 for pictures from 2.10:1. A 2.39 film, a 16:9 film and one with IMAX scenes would show whether the lens goes to the right memory, how long it takes, and whether it goes back at the end. kodi.log has every command and answer on its "Projector:" lines, never the password.

    Quote from NTM-3D

    Showing frame packed output more clearly in the OSD, both name but also 1920x2205 instead of 1920x1080 like now would be great.


    Done in 1.2: it now reads "1920x2205 @ 23.976 Hz, 3D frame packing". The fall back to side by side on NVIDIA is not fixed yet. In 1.2 the display goes straight to side by side instead of top and bottom for a few seconds first, which is what left your Philips in the wrong mode, and the driver now writes to the kernel log every reason it refuses frame packing. Check this setup also has a frame packing card for 3D displays. If you run it once on one of the RTX cards and make a diagnostic report right after, the log will name the reason, and that is what I need to fix it.

    Quote from NTM-3D

    Any chance of supporting these new MV-HEVC 4K per eye 3D Dolby Vision files?


    Yes, 1.2 plays MV-HEVC in 3D. NVIDIA cards from Turing on (GTX 16, RTX 20 and newer) with driver 620 decode both views on the card, other graphics on the processor, and where the processor can't keep up the video carries on in 2D and the player information says why. A Dolby Vision 3D file (profile 20) plays in 3D with each eye as HDR10 or SDR, in the right colours. With your collection of 3D displays, a Share my results line from each would be great.

    Quote from Alaric

    Mapping the O key to my Amazon fire remote took way more hassle than expected


    In 1.2 you don't need that keymap any more: while a video plays, hold Menu and the player information opens, and a short press still opens the on-screen controls. If you want the short press back for the controls, delete the firetv.xml from my earlier post. Your X9900 is a JVC D-ILA too, so the projector control works with it if you have a scope screen.

    Quote from theged

    Thanks to Hades, I got it working on a laptop I already owned.


    Thank you, that made my day. FEL from a laptop you already had, in a Proxmox VM with the graphics passed through, is a great result, and it is in What has been tested now.

    Quote from CroqueMr

    3D Lut nice, I had the same idea, I already started to work on 1D/2D/3D lut, I will check your implementation.


    Thank you! It is all in the open, so please do: the 3D LUT is in kodi-9266 to kodi-9272 and kodi-9279, in projects/Generic/patches/kodi/x86-2 of the repository. In short, there is one LUT for SDR and one for HDR for each display (.cube, .3dl or the .3dlut of madVR), applied as the last colour step of the video, both in the Dolby Vision bridge and in the video shaders of Kodi, and never on native Dolby Vision, which the TV maps itself. The table is loaded off the render thread, so even a large madVR LUT never holds a frame up. If you see something that can be done better I would be glad to hear it, and good luck with yours.

    LibreELEC Hades 1.2 is out

    Download LibreELEC Hades 1.2: the image, the update file and the Windows installer.

    More for the picture and for 3D, and fixes for what you reported after 1.1. Thank you to everyone who tested 1.1 and wrote here and in the issues.

    The highlights

    • 3D in MV-HEVC. The spatial videos of an iPhone or a Vision Pro, and 3D films made for the Vision Pro, in MP4, MOV or Matroska, play in 3D as a 3D Blu-ray does: frame packing, side by side or top and bottom. NVIDIA cards with driver 620 (Turing and later) decode both views on the card, other graphics on the processor. Subtitles and menus over a 3D video without depth data now sit just in front of the picture, and Dolby Vision 3D films (profile 20) play in 3D with their right colours.
    • Filmmaker Mode by itself. While a video plays, Hades tells the TV over HDMI that it is a film (and a game that it is a game), so an LG with Filmmaker Mode Auto Start switches to Filmmaker Mode for the film and back for the menus. Not a byte of the picture changes, and the type changes only with a mode change that happens anyway. On by default.
    • A projector that follows the film. For a home-cinema projector on your network (JVC D-ILA, Sony ADCP and SDCP, and ESC/VP.net), Hades selects the lens memory by the shape of the picture, for a wide screen with constant image height, and the picture mode by the signal: SDR, HDR10, HLG, Dolby Vision, 3D. System > Display > Projector control over the network, off by default.
    • A 3D LUT for each display. The calibration of your display from Calman, ColourSpace, DisplayCAL or madVR (.cube, .3dl or .3dlut), one LUT for SDR and one for HDR, applied as the last step of the colour of the video. Each display keeps its own, so the LUT of the projector never reaches the TV. Never on native Dolby Vision, which the TV maps itself.
    • The player information tells you more. While an HDR video plays, its first page names any setting of yours that makes the picture differ from the film, with a button that puts exactly those back. It says when frames are lost steadily and why, what content type the TV is told, and the GPU time of each pass. Hold Menu to open it from a remote without colour keys.
    • Hades or a licensed player, on your own TV. Check this setup > Dolby Vision: Hades or licensed players (A/B) compares native Dolby Vision as Hades sends it and as licensed players send it, with a test clip made for it. Nothing changes unless you say so.
    • Your display, and Share my results. A few questions at the first start (is it a projector, how bright, HDR as HDR or as SDR) set the picture for your display. Share my results makes one line with your PC, graphics, driver, display and the results of the last check, to paste here or in an issue, with no serial number, address or name of the PC.
    • The display settings, in the order of what goes out: from the general to the fine, each setting right under the one it depends on. Every setting keeps its value.
    • A truer picture: truer colour edges in every video that Kodi draws itself (the colour error goes down by 13 % on animation and 26 % on film), smooth gradients on 8-bit screens, subtitles in the black bars of wide films, HDR shown as SDR in BT.2020 or DCI-P3 for projectors that take it, and AiUpscale among the upscalers.
    • Updates from Hades itself. From 1.2, Hades looks on GitHub every six hours for a newer version, tells you, and downloads and installs it after your yes. It takes a version only when it is signed with the key of LibreELEC Hades, newer than yours and whole. Looking sends nothing about your system. The first version offered this way is the one after 1.2.
    • Fixes: Low-Latency is no longer shown as TV-led; the TV remote works as soon as CEC is connected, and a CEC line that answers nothing no longer holds up sleep or shutdown; kodi.log says what powered off, suspended or quit the PC, HDMI-CEC included; 3D Blu-ray in MKV plays in 3D in every form a file declares its second view; the player information names frame packing with its real size; Intel graphics with AV receivers that switch inputs; a start that stayed on the start picture; ASUS Xonar cards with NVIDIA; an SDR copy of every HDR screenshot; Dolby Vision shown as HDR10 or SDR keeps up on small graphics; and 8-bit HLG as Dolby Vision.
    • Up to date: Linux 7.4-rc4, FFmpeg 9.1, Mesa 26.3.1, NVIDIA 620.73.04 and 580.196.11, the latest commits of Kodi 22 and LibreELEC master, and security fixes of OpenSSL, curl, FFmpeg, libass, BlueZ, Python, glibc and more.


    Every change, with its details, is in the release notes and the changelog. What has been tested says what has been seen working, and on which hardware.

    Updating from 1.1
    Your settings and add-ons are kept either way.

    • With the Windows installer: choose the drive that has Hades, then "Update".
    • Or copy the .tar file to the Update folder (the Update share over Samba, or /storage/.update) and restart.


    From 1.2 on, Hades finds its next versions by itself. Two things you may notice: a saved "Use limited colour range" now reads Colour range: Limited (on AMD graphics with a TV that cannot select the range, set it back to Auto), and the display settings have moved, each with its value. The installer is the same program as in 1.1 and is not signed, so Windows may ask whether to run it.

    Tell me how it looks
    If you have a 3D display, a home-cinema projector or a calibrated display, I would love to hear how the new features look on it. Share my results (Settings > LibreELEC > System > Check this setup) makes the line to post. For a problem, post here or open an issue with a diagnostic report: Settings > LibreELEC > System > Submit Log > Create a diagnostic report. A photo of the player information (O) helps a lot.

    Thanks to fandangos, whose measurements the A/B comparison rests on; to CroqueMr, whose build pointed to five fixes of this version and to 8-bit HLG as Dolby Vision; to SamuriHL, who found faults of the sound; to ht2tweak, whose Full SBS 3D Converter showed the colours of profile 20 and the eye of each MV-HEVC view; to YBLOD, for the idea of keeping variable refresh on TVs with AMD graphics; and to corgeone, for the measurements with an AV receiver. AiUpscale is the work of Alexkral, shipped unchanged. Thanks also to JonnyVee, lvasan, NTM-3D and MrPhenix007 for the requests this version answers. Every credit, with its source, is in CREDITS.md.

    HomerJau  NTM-3D  lvasan  JonnyVee  testmest

    I'm reading and noting everything. Thank you all for the support and for sharing bugs, things that can be improved and suggestions. And a special thanks to those of you who took the time to test this so thoroughly and send such detailed reports.

    What I've noted so far:
    - The MV-HEVC 3D request.
    - The follow-up on the A80K brightness. I'm going through both logs.
    - The 3400GE report with the temps, GPU load and photos, plus the ideas about DV as SDR and the layout of the settings.
    - The explanation of the 3400GE and 4650GE temps.

    A new update should arrive between tomorrow and Thursday. If you see any other bug or have another suggestion, let me know.

    I respect hadesdevls for what he's doing but don't get carried away, we have FEL x86 because of CroqueMr and no one else, Hades is mostly a replication of his work. the multiple screens overlay wouldn't have even happened if not for CroqueMr ability to form good devs around him and bring in another amazing developer (who specifically helped out CroqueMr and wanted to contribute). coming up with the idea is most of the work, with AI most developers can extend things. I was going to stay out of this but saying there is any rivalry is disingenuous and discredits CroqueMr achievement. When history looks back CroqueMr should be credited for this breakthrough, it's his work.

    hcliec001 Thanks for asking Da Flex about the posting limit, I really appreciate it.

    I understand where you're coming from, and I fully agree that CroqueMr deserves the credit for this breakthrough. I've said many times, here and on GitHub, that DV on PC started with him and that I'm grateful for it. I have a lot of respect and admiration for his work, and I'd never want to take anything away from it.

    Where I see it a bit differently, with all respect, is the idea that Hades is a replication. It builds on what he started, and I'm glad to credit him for that, but a lot of the work in it is my own. I think both builds can coexist and help each other improve, and in the end that's good for everyone here.

    Khazar  JonnyVee  NTM-3D  lvasan Thank you all for your messages, screenshots, tests and diagnostics. They'll help a lot for the next version, which I hope to release between Tuesday and Thursday.

    Everything is noted: the 3D results on the 5090, the frame packing that drops to side by side on every NVIDIA card in the four reports, the brightness difference against CB1 on the A80K with both logs, and the 4650GE reports with the questions about where the HDR setting lives and BT.2020 or DCI colorimetry for HDR to SDR.

    Sorry I can't always reply to each of you one by one. I'm away from home right now, and the forum cooldown sometimes makes it hard to answer in time. I'm noting down every diagnostic, test, bug and suggestion, both here and in the issues. If you find a new bug, have a useful feature idea, or anything else relevant to add, let me know and I'll keep an eye on it.

    The new version will be up to date with Kodi, LibreELEC and the other dependencies as always, so any fixes they've released will be included too.

    Thanks again for everything.