Posts by HiassofT

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

    No, wait for the next version, it'll be 12.80.7.1 and Kodi should auto-update to it when it hits our repo.

    It usually takes a day or two from PR merge until addons are uploaded to our repos.

    so long,

    Hias

    If you want to play around with the remote:

    Simply "systemctl mask eventlircd" and disable the eventlircd udev rule by creating an empty .config/udev.rules.d/98-eventlircd.rules file - then reboot.

    If you configure the "OK" button to send "enter" (via ir-keytable) the up/down/left/right buttons will work like cursor keys and "OK" like the enter key on a keyboard.

    so long,

    Hias

    Keyboard handling is actually quite simple, both kodi and wayland use libinput plus libxkb for that so we just need to pass the keyboard layout that's configured in kodi on to wayland (via an environment variable) and you get the same keyboard layout in flatpak addons as in kodi.

    What's missing in the wayland environment though is software to listen on volume keys and adjust audio volume. Usually that's handled by the (pulseaudio) volume/mixer applets in desktop environments, but there's no such thing (yet) in LE.

    Kodi handles the volume keys on it's own which is why it works in kodi.

    Remotes are quite a mess though. Currently we need to run remotes through eventlircd (and explicitly configure libinput not to handle them, too) as libxkb and kodi still doesn't support quite a lot of buttons found on remotes (especially the quite important "OK" button).

    There's a kodi PR to improve that https://github.com/xbmc/xbmc/pull/27932 but it hasn't been merged and also still doesn't support all common remote buttons.

    Realistically we won't get proper remote button support before the kodi 22 / LE13 release so we won't be able to drop that eventlircd workaround until some time during the LE14 dev cycle.

    Well, someone could write a separate program that translates LIRC events back to input events and injects those via uinput but that's quite meh (and would also be another - hopefully - short lived workaround).

    so long,

    Hias

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

    I'll PR the fixes so the should be in our addon repo in the next few days.

    With the "confirm start" option you can disable the "Start Chromium" etc dialogs that pop up before starting the flatpak addons.

    Concerning volume control: that's usually handled by special (background) services of desktop environments, but LE doesn't include a full desktop environment so the buttons on your keyboard/remote won't have any effect.

    so long,

    Hias

    Thanks again for the logs and tests!

    There's a bug in the current audio device selection code, it misses the :CARD=PCH which is important in your case.

    I'll have a look at fixing that and report back when I have an updated addon to test.

    so long,

    Hias

    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

    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

    Please enable debug logging in kodi, reboot, start a flatpak again and post another log.

    Also: you don't seem to have any ALSA audio devices configured in kodi. Did you manually configure pulseaudio? If yes, post all config files you added.

    so long,

    Hias

    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?

    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

    I'm happy to announce that I managed to create a few browser and game addons for LE13.

    The 64bit ARM versions (aarch64, eg for RPi4 and RPi5) have just been uploaded to the LibreELEC addon repo, you'll now find them in the "Progams" section. Generic/x86_64 will follow at a later point.

    Under the hood these addons use the flatpak versions in a minimal wayland session with kodi stopped.

    You can configure the display resolution for these addons in the new "Exteral programs helper" addon - I recommend using 1920x1080 if you are a couple of meters away from your 4k TV, otherwise the browser GUI will be really tiny.

    In the new "Flatpak" addon you see a list of all installed flatpaks and can update them via the context menu ("Check for updates").

    The new "Terminal (Foot)" addon is also available for 32bit ARM from our repo, this is a native program, not a flatpak. You can configure the font size via it's settings.

    Note: browsers have become real monsters today, you need at least 2GB of RAM to run them and you also need several GBs of space on your /storage partition (I recommend at least 8GB).

    Also note that retroarch currently doesn't the cores buildbot URL configured by default on aarch64, you need to manually configure it to http://buildbot.libretro.com/nightly/linux/aarch64/latest/ in the Updater settings to download cores.

    And: make sure you are running the latest LE13 nightly build, compatibility with older nightlies has not been tested.

    so long,

    Hias