Posts by Nofan Tasi

    As mentioned earlier, I have my remote configured to have the volume up/down buttons sending to my A/V Receiver/Amplifier, which handles all my HDMI device's audio, instead of handling it directly in LibreELEC/Kodi.

    However, it's easy enough to reconfigure and test with "native" Kodi audio controls. I'll try it tomorrow and let you know how it goes ;)

    I also have a Bluetooth mini-keyboard/trackpad thing with media control buttons. I'll see how that works too.


    Sorry ... and thanks a lot! ... you are right about indirectly controlling your other external device ... I forgot ... I apologize. And: no need to test Bluetooth. My direct remote controller is Wireless (USB dongle). Let's not compare apples with pears ... no to speak about IR control. I think I can experiment on my own. Have a nice day!

    Yeah...

    The workarounds you mentioned (masking eventlircd and creating the udev rule entry) do indeed function [...]

    kurai

    Did you manage to make VolUp/VolDn work on remote (in a fatpak run Application) ?

    I have a wireless remote and could try as well though I doubt if it falls under irc remote tools ... (I used them in the past with success for IR remotes)

    but then first: do VolUp/VolDn work ? Otherwise no need try :)

    Thanks a lot for reporting back, glad to hear it works now!

    I am glad I was of some help.

    I believe I noticed addon fix got committed 18 May so now I installed 19 May LE nightly.

    In 'my addons' I notice Team LibreELEC version is 12.80.7.0 which is same version as the one you gave.

    So I am not sure if fix is in official addons repository.

    Now shall I install current official Team LibreELEC 12.80.7.0 (and test again) or wait for a higher next version?

    Have a nice day!

    Just curious: LibreELEC-Generic.x86_64-13.0-nightly size jumped from 300 to 500 megabytes


    Code
    -rw-r--r--   1 gentoo gentoo 325067193 May 16 13:40 LibreELEC-Generic.x86_64-13.0-nightly-20260516-ba37c30.img.gz
    -rw-r--r--   1 gentoo gentoo 538850403 May 17 17:07 LibreELEC-Generic.x86_64-13.0-nightly-20260517-7374d38.img.gz


    Did something significant change ?

    Have a nice day!

    HiassofT

    Thanks for the kind and excellent support! You are a hero :)

    Your addon fixes the 'flatpak Chromium' no-audio issue.

    Moreover: I can switch beween 'flatpak Chromium' and 'Librespot service' multiple times and both continue to work just fine.

    Your addon 'Settings' has a 'Run' button but with current default values all works fine without any manual intervention.

    Just curious: What is the 'Confirm start' setting? Maybe it controls if (yes/no) the addon is active right after LibreELEC (or Kodi?) startup?

    One observation: the Volume Up and Volume Down buttons on my remote do not seem to have any effect when running Chromium.

    Is or was (or will) this addon (be) in Team LibreELEC repository?

    Nofan Tasi thanks, I think I know now what's going wrong.

    Could you please stop kodi and then run aplay -L and post the output?

    With kodi stopped also please confirm if this works fine:

    Code
    pactl load-module module-alsa-sink device=sysdefault:CARD=PCH

    so long,

    Hias

    HiassofT

    Good news!

    After stopping kodi I can load the pulseaudio module.

    And, when starting kodi again, audio does works in flatpak Chromium.

    In fact: if I put line

    Code
    pactl load-module module-alsa-sink device=sysdefault:CARD=PCH

    in .config/autostart.sh then all is fine.

    Moreover if I then enable Librespot, Librespot works as well ... however:

    If I then run Chromium, youtube cannot play (I suppose an audio issue) and suggests to restart device.

    In short:

    The line in autostart.sh is a valid workaround BUT switching between flatpak Chromium and Librespot does not continue well.

    I think I can live with this situation. I start LibreELEC with Librespot disabled and I can run Chromium with audio. And : when I need Librespot I enable it and restart LibreELEC (or maybe stop and start Kodi) and do not run Chromium.

    Thanks for all your help and suggestions. Have a nice day!

    Also: I will be more than happy to test possible fixes.

    fwiw: I actually should not need a browser but from time to time an add-on (e.g. Netflix and VRT-Nu) does not work good and then having a fallback to play in a browser on a sufficiently powerful machine is a nice luxury.

    here is requested output

    Please test with the librespot addon disabled, reboot, then configure the audio device in system settings so you get GUI sound and then run Chromium flatpak.

    The librespot addon has a long history of creating a mess with audio output so I wouldn't be surprised if it works now.

    so long,

    Hias



    Thank you so much for expertise and patience and reaction.

    I know how funny librespot may act so I removed it.

    still

    no sound on flatpak Chromium Youtube

    I tried Firefox too and some other content (VRT-Max I am in Belgium)

    here latest log (up to flatpak Chromium Youtube)

    https://paste.libreelec.tv/propublicity-norene.log

    Have a nice day

    About output device config it is: "ALSA: HDA Intel PCH, CS4206 Analog"

    and the (only choice) one that works in LibreELEC/Kodi on the iMac speakers


    here is next log with debug

    https://paste.libreelec.tv/unshivering-trenton.log

    same module-alsa-sink issue present

    note I had meanwhile

    - disabled audio passtrough

    - disabled librespot

    also following is from command line


    LibreELEC:~ # pactl list sinks
    Sink #0
        State: RUNNING
        Name: auto_null
        Description: Dummy Output
        Driver: module-null-sink.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: auto_null.monitor
        Latency: 5447 usec, configured 23220 usec
        Flags: DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
            device.description = "Dummy Output"
            device.class = "abstract"
            device.icon_name = "audio-card"
        Formats:
            pcm
    LibreELEC:~ # pactl load-module module-alsa-sink 
    Failure: Module initialization failed

    thanks for follow up

    log created while running youtube in Chromium

    https://paste.libreelec.tv/perversive-jen.log

    I notice perhaps related

    May 16 22:26:00.435416 LibreELEC kodi-run-external[6432]: using ALSA audio device sysdefault
    May 16 22:26:00.442954 LibreELEC pulseaudio[434]: E: [pulseaudio] module.c: Failed to load module "module-alsa-sink" (argument: "device=sysdefault name=flatpak"): initialization failed.
    May 16 22:26:00.443226 LibreELEC kodi-run-external[6477]: Failure: Module initialization failed
    May 16 22:26:00.443362 LibreELEC kodi-run-external[6432]: failed to load pulseaudio module for alsa device sysdefault

    Do you have audio in Kodi (GUI, video playback)?

    The flatpak addon uses the audio device configured in Kodi and just spins up a (temporary) pulseaudio sink for that, if it's an ALSA device.

    If you don't have audio in kodi you also won't have it in the flatpak addons.

    so long,

    Hias

    Thanks for quick reaction! Yes I have audio in Kodi on PCH : HDA Intel PCH, CS4206 Analog in fact I can play a .wav via this device using aplay when browser runs via flatpak.

    On current Generic LE13 nightly x86_64 I flatpak run Chromium (I tried Firefox as well) fine (hardware = someone's old iMac) ... but ... there is no audio. I find several posts on several forums about this (also here). I am rather new here (for x86_64 that is) . Is the audio issue meanwhile solved, perhaps to have some settings or other workaround?

    I have some CoreELEC devices, some latest nightlies alpha 22.0 and some latest stable 21.3, they all are up to date with add-ons an they all run Netflix fine.

    Then I have an up to date generic x86_64 LibreELEC (iMac) and an up to date x86_64 gentoo Kodi on which I tried both latest nightlies and latest stable but it gives the error 'This title is not available to watch instantly' etc...

    I guess that is weird ...

    Why working on some and not on others?

    Does anyone experience similar discrepancy?

    If I can help with providing info, please let me know

    It has been a while since I built Amlogic S905 aarch64 LE 8 or 9 ...

    This time again it went just fine. Solid build environment! Kudos!

    ... but one thing is odd : I cannot build tvheadend, in fact all below commands just do nothing:

    Code
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.tvheadend
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.tvheadend42
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.tvheadend43
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.tvheadend44
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.multimedia.tvheadend
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.multimedia.tvheadend42
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.multimedia.tvheadend43
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon service.multimedia.tvheadend44

    many other addons just build fine.

    update

    Code
    PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ./scripts/create_addon tvheadend44

    seems to be the right command now, sorry ...

    This is the far safer, reliable method that carries the least risk and 98% of the faster day to day box running from eMMC LE benefits, plus you still retain internal Android:


    [HOWTO] Boot from SD card, use internal memory for data

    wrxtasy :

    I fully agree, a shared data partition gives best of both worlds, but, on one of my boxes, Android was completely useless because of unacceptably slow and buggy network performance. Android had 0 added value for me. So, now that box runs LE from eMMC.

    0+x equals x.

    Should one day a better Android appear for that box (I doubt it), I can still flash it.

    have a nice day