Posts by nissel

    So this a follow up to my Flatpak audio / display resolution thread, I thought a new post made more sense than added another thing :)

    Another issue using Moonlight via the Flatpak is the Wayland compositor in use (Cage https://www.hjdskes.nl/projects/cage/) does not support point constraints, this is commonly used by games the lock the pointer to the game window allowing for infinite mouse movement in any direction, instead of being limited by the desktop size.

    Currently without this protocol the mouse pointer will often run into a virtual wall and no further movement is possible, this happens both on a streamed desktop and in games with Moonlight.

    There is a PR open to implement this in Cage https://github.com/cage-kiosk/cage/pull/527 but i don't know if or when this will be merged and released. I have built Cage from the branch in the PR and manually copied it to my LibreELEC box and confirmed it working for me, so i can just continue to do this for now.

    So this thread is both info for anyone else looking to manually fix the issue, and also an ask to consider creating a patch for the Cage build package or temporarily make a fork of Cage with the fix and build against that.

    Thanks for the hint that moonlight can support surround sound output, I've now implemented that and added a setting in the moonlight addon https://github.com/LibreELEC/LibreELEC.tv/pull/11985

    I also noticed that stereo-upmixing should actually have been disabled by default in LE about 9 years ago, but the change was buggy and had no effect - and no one seems to have noticed that yet :)

    I've also opened a PR for that https://github.com/LibreELEC/LibreELEC.tv/pull/11986

    so long,

    Hias

    That should be perfect, thank you.

    On a related note could the display configuration that's currently in the External Programs helper add-on be added to the moonlght add-on settings too? As I would like to be able to run VacuumTube at 4k60 but moonlight at 1440p120.

    Thanks for the update, sadly the HDR10+ to DV playback now just gets stuck at pending for me and never starts or fails.

    Might even be best to delegate the channel count config to each flatpak app, because something like VacuumTube only supports stereo and it's nice if that is output at 2 channels to allow the AVR/TV to process it suitably. On the other hand Moonlight works great at 5.1 or 7.1 via 6/8 channels.

    Ok i made some progress hacking stuff around until it worked.

    I had to add channels=6 to https://github.com/LibreELEC/Libr…run-wrapper#L42 the created sink then has the correct channel count and mapping.

    The next issue was by default it now upmixes stereo output to all the channels, for this the daemon config did work so i created a file as:

    Code: ~/.config/pulse-daemon.conf.d/multi.conf
    enable-remixing = no

    So would be really nice if the flatpak-run-wrapper could be properly updated to honour your Kodi channel count, as for the remixing at least that is already fixable via user config.

    Interesting thanks, speaker-test works correctly, lists the expected channels and the tones play from the expected speaker.

    But when I config the pulseaudio to with "default-sample-channels = 6" i get:

    I know pulse is used for Bluetooth audio and that's limited to stereo, maybe some existing config for is getting in the way.

    Installed and working well here. Some feedback on the new features of RC2:

    1. Could the HDR10+ option be separate from the HDR10 options, as you can't currently config HDR10 to DV and HDR10+ to DV without changing it during playback. Also the menu entries in settings remain flagged as (unavailable) based on the previous playing file which is confusing.

    2. Is it possible to show if the CMv4 convertion is active in the PPI? Preferably updating live if one of the auto modes is in use.

    Thanks

    I've recently started using the LE13 nighties on an intel NUC. All the HDMI audio works great in Kodi but apps/add-ons running via Flatpak are limited to stereo and i'm trying to use Moonlight with 5.1 surround.

    I've tried tweaking the custom audio device setting in "External programs helper" but i don't think that's where the problem is.

    I've added some Pulseaudio daemon config with "default-sample-channels = 6" which did make it start outputting 5.1 but the channel map is all mixed up with audio coming from the wrong speaker. Changing "default-channel-map" in the same config doesn't help.

    Anyone have any ideas? it would be really good if this could be streamlined / automatically configured based of the Kodi audio output settings in future.