Posts by HiassofT

    My 65CX goes to standby in a couple of minutes and when i start it again Pi 5 is not reachable unless i ssh.

    What do you mean by "not reachable"? What happens if you have kodi running, power off the TV (put it into standby with the TV remote) and then power it on again?

    I don't have any such issues here with my RPi5 and my LG C8, even when it outputs 4kp60.

    We'll need a debug pastekodi log and some more info.

    so long,

    Hias

    The screensaver engaging in VacuumTube is the one from external helper, though, not its internal one.

    Yes, and my point is/was that both Firefox and VacuumTube already disable the screensaver while a video is played.

    If you have some program/flatpak that comes with it's own screensaver then it should also have an option to disable the (desktop) screensaver - it's an issue with that specific program and not something we should try to work around with an flatpak addon setting.

    I only want to clarify that the old "black/dim" way is actually wasting less energy and pixel life than what happens on my LG C1 which goes straight to its "screensaver" with full frame pictures rotating, when no signal is detected. Meaning the screen is going full steam ahead with bright content (even if it's varied).

    I've tested this on my LG C8, when the screen is blanked / video output disabled the TV shows "No Signal", the picture gallery can be disabled in TV settings, and after 15 minutes it goes into standby.

    OTOH if it receives a (black) video signal it will only go to standby after the activity timeout limit configured in the TV settings (2-8 hours or off).

    Does your TV behave differently?

    so long,

    Hias

    VacuumTube, and also Firefox when playing a Youtube video behave correctly: during video playback the screensaver is inhibited, when paused / stopped the screensaver engages.

    Just tested that on stock LE nightly with the official addons and screen blanking time set to 1 minute so it quickly kicks in.

    How did you test that?

    (DPMS) screen blanking is pretty much the safest screensaver as disabling video output will allow displays/TVs/... to automatically enter standby - in comparison the standard "black"/"dim"/"some animation" screensavers that were used back in the old days when CRTs were popular will never allow a display to enter standby as it's still receiving a valid video signal.

    I'm not too keen to add yet another background service (which uses CPU/memory resources) when the sole purpose of the screen blanking is to prevent OLED burn-in - which is already implemented with the "display off" function that allow display to immediately go to standby.

    so long,

    Hias

    I'm talking about the opposite, though: applications that have more full fledged screensavers that the user might actually prefer, while still wanting a screensaver for something like Firefox (or other browsers).

    Which applications would that be?

    And if they go to the effort to implement a screensaver on their own then why don't they use the standard inhibit method to disable the default (desktop) screensaver? How would these applications behave in a standard desktop environment with a screensaver configured?

    so long,

    Hias

    This graphics card is too old and not supported.

    LE12.2 uses the 575 legacy series driver, LE13 the 580 legacy series driver and those support GTX745 up to RTX4000 series.

    See eg the supported card list here: https://www.nvidia.com/en-us/drivers/details/285683/

    I wouldn't recommend investing in an nvidia card though, in LE14 we'll switch from the legacy series driver (which will soon be EOL and unsupported) to the current production driver which ATM means RTX2000-RTX5000 series cards.

    In general you are better off using the integrated AMD/Intel GPUs.

    so long,

    Hias

    The second one was the scrensaver, as some apps offer an internal one and some don't. If I think of others, I'll post them.

    Applications can already prevent the screensaver from activating via standard methods (eg the idle-inhibit wayland protocol).

    That's what games, mediaplayers, browsers (during video playback) all use and it also works in flatpak addons on LE - just like on linux desktop systems, where you also only have a global screen saver/blanking setting.

    Oh, right: mouse speed, mousewheel speed should be offered at least as settings for all flatpaks, if not per single flatpak. I know/I've discovered that one can create labwc personal settings, but I suppose that's too technical for many users. And standard mouse speed on a big TV is atrocious (at least it was for me).

    Personally I didn't have any issues with mouse speed but this sounds reasonable, I'll have a look at adding that.

    so long,

    Hias

    FYI: updated addons for x86/Generic are now in the repo, too.

    Several settings, like confirming startup or the screen blanking time, can only be configured globally in the External program helpers addon as I didn't see much point in making them configurable individually per flatpak addon and that would only clutter settings.

    Technically it would be no big problem to add those per addon, but I don't see the usecases for that.

    If actually you have such usecases please comment, if they are convincing I may rethink that design decision.

    so long,

    Hias

    Quick update: I've just added basic flatpak management functions (show info, check for updates, uninstall) and a shortcut to open the External programs helper settings to all the flatpak addons, so you can do the most common tasks directly from the addon settings and don't need to open the flatpak or external programs helper addons:

    Updated ARMv8/aarch64 addons (eg RPi4/5) are already in the repo, x86/Generic addons will follow in a day or two - the CI build ran a bit too soon and so it missed the change.

    so long,

    Hias

    Anyone else lost audio in Vacuumtube after upgrading to LE13 Beta 1? Was running the nightly for 14/11 fine.

    Vacuumtube is working fine here.

    Make sure all addons have updated, if the issue persists open a new thread and post a logfile:

    Enable debug logging in kodi, reboot, start Vacuumtube, then while Vacuumtube is running ssh in and run "pastekodi" and post the URL.

    so long,

    Hias

    You can't listen for specific key presses of a device that is used by kodi as kodi will grab the input device so no other software is able to see key presses.

    It's correct that we don't use lirc anymore, but it's still available if you really want to use it - you have to create a lircd.conf file and create an empty rc_maps.cfg file in the config folder.

    so long,

    Hias

    It's not about development, it's about building the binaries. And if you let your AI handle the building then just point it to the info - and tell it that should do a clean build from scratch (by deleting the build... folder before starting the build).

    Old relics in the build folder are the number one cause of build issues. Most of the time doing unclean rebuilds (with the build folder intact) work fine (and those rebuilds are quick), but pretty regularly they'll fail because of old stuff hanging around there - and of course with odd error messages (or weird libs getting picked up from sysroot).

    If you ever run into odd issues, first thing to do is delete the build folder and try again. If the issue persists, it's worth asking about.

    BTW: even we long-term devs sometimes get caught by these issues, our buildsystem doesn't handle dependency changes too well so nuking the build folder is necessary.

    so long,

    Hias

    Also be careful when doing non-clean rebuilds (i.e. when you don't wipe the build.LibreELEC... dir) - if at some point libXrender (or something else) got built and ended up in sysroot it'll be auto-picked-up by packages unless it's explicitly disabled in meson/cmake/... configure options.

    Hint: you can put sources and ccache directories outside of the build folder by setting the SOURCES_DIR, CCACHE_DIR and LOCAL_CCACHE_DIR environment variables, then you can simply nuke the current build.LibreELEC... directory and do a clean rebuild without needing to re-download all the sources or loosing ccache.

    so long,

    Hias

    Last Friday we switched to a different wayland compositor (labwc instead of cage), with support for screen blanking and volume control with the multimedia keys on the keyboard - this was not possible with cage.

    Very likely this is the cause of your issue.

    I don't have an AVR and could only simulate the 4k+AVR setup on HDMI1+2 here.

    I did notice the mouse issue (it seems the AVR is kept as second screen right of the main screen) and also noticed that screen mirroring no longer worked - when viewing the output of HDMI2 it was blank (with the mouse cursor though if it moved there) instead of showing the top-left quarter of the image.

    This seems to be a bug with labwc and I found an open issue related to that on github: https://github.com/labwc/labwc/issues/3435

    However, it worked fine with the Default display option in Externalhelper and kodi's audio device set to vc4hdmi1 (the second HDMI port).

    BTW: "Default" means to use the native resolution of your TV/monitor and in general you don't need to change the audio device in Externalhelper - the one configured in kodi will be used automatically.

    It would be good if you could reproduce the issue with the "Default" display setting and post a log - start Firefox, then ssh in and run "pastekodi" and post the URL you got.

    BTW2: In order to get audio out of HDMI2 that port needs to be set up for video, too (there's no such thing as audio-only HDMI).

    Therefore the default kanshi config simply configures all connected outputs at their native resolution in mirrored mode:

    Code
    profile default {
      ...output * enable position 0,0
    }

    The "1920x1080" configuration contains a separate entry for HDMI1+2, setting both to 1920x1080:

    Code
    # display on HDMI-A-1 with AVR for audio on HDMI-A-2
    profile hdmi1and2 {
      output HDMI-A-1 mode 1920x1080@60 position 0,0
      output HDMI-A-2 mode 1920x1080@60 position 0,0
    }

    You could also test with a separate config (eg in .config/kanshi/4k-avr, then choose "4k-avr" custom display config) with HDMI1 set to 4k and HDMI2 set to HD:

    Code
    profile hdmi1and2 {
      output HDMI-A-1 mode 3840x2160@60 position 0,0
      output HDMI-A-2 mode 1920x1080@60 position 0,0
    }

    so long,

    Hias

    If you really want to use lircd make sure you have an empty /storage/.config/rc_maps.cfg - yours seems to be 16 bytes and I just noticed in your log that it creates an error:

    Code
    Jun 26 08:44:24.021850 KodiLG (udev-worker)[477]: event5: Process '/usr/bin/ir-keytable -a /storage/.config/rc_maps.cfg -s rc0' failed with exit code 255.

    BTW: As I mentioned in the linked thread I strongly recommend that you give lircd2toml.py a try - this'll make things a lot easier.

    so long,

    Hias