RetroELEC Kodi+Wayland+Emulationstation+RetroArch (x86/XU4/RPi)

  • Trying to upgrade from LibreElec to RetroElec, but can't get past boot. An Error pops up for less than a second, so sorry about the quality... Had to record a video and frame advance just to read it. O.O

    It gets to "Update UTMP about system Runlevel changes." and then fails to unmount /flash.

    Running latest generic x86 build (RetroELEC-Generic.x86_64-9.2-devel-20200214162808-28eddc2)

  • When configuring Kodi to use PULSE, all passthrough settings are disabled and my receiver claims to be receiving PCM. In ALSA mode, this works fine. So, I'll just stick with ALSA.

    As mentioned, you need to tell PA what pass-through formats are supported using the command I gave you.


    Wrt\ to 'obsession'. I would assume that my Yahama receiver does a better job in the decoding, conditioning and up/down-mixing the audio stream for my speaker setup. But, yeah, at some point it might become a question of 'believe' ;)

    There should be no difference where the decoding is done, as long as all information is extracted (which I believe it is at this point). There is no remixing done by Kodi/PA if the sink supports the sampling format (avoid-resampling=true is set in /etc/pulse/daemon.conf).

  • There should be no difference where the decoding is done, as long as all information is extracted (which I believe it is at this point). There is no remixing done by Kodi/PA if the sink supports the sampling format (avoid-resampling=true is set in /etc/pulse/daemon.conf).

    The standards typically specify the bitstream format but not necessarily any further post-processing. So, if the receiver knows which compressed content it is dealing with, it should do a better job compared handling 'unknown' PCM. But, anyway. PT works. Thx !

  • escalade

    Small behavior I noticed:

    On the RPi I noticed that a log is created when I access \\192.168.178.22\ and another one if I access \\192.168.178.22\Logfiles

    Code
    LibreELEC:~/logfiles # ls -lat
    total 295
    drwxrwxrwx    2 root     root          1024 Feb 20 23:09 .
    -rw-rw-rw-    1 root     root         42267 Feb 20 23:09 log-2020-02-20-23.09.39.zip
    -rw-rw-rw-    1 root     root         43753 Feb 20 20:01 log-2020-02-20-20.01.16.zip
    -rw-rw-rw-    1 root     root         43624 Feb 20 20:01 log-2020-02-20-20.01.00.zip
    -rw-rw-rw-    1 root     root         45253 Feb 16 21:28 log-2020-02-16-21.28.57.zip
    -rw-rw-rw-    1 root     root         45036 Feb 16 21:28 log-2020-02-16-21.28.29.zip
    Code
    LibreELEC:~/logfiles # ls -lat
    total 337
    drwxrwxrwx    2 root     root          1024 Feb 20 23:09 .
    -rw-rw-rw-    1 root     root         42512 Feb 20 23:09 log-2020-02-20-23.09.57.zip
    -rw-rw-rw-    1 root     root         42267 Feb 20 23:09 log-2020-02-20-23.09.39.zip
    -rw-rw-rw-    1 root     root         43753 Feb 20 20:01 log-2020-02-20-20.01.16.zip
    -rw-rw-rw-    1 root     root         43624 Feb 20 20:01 log-2020-02-20-20.01.00.zip
    -rw-rw-rw-    1 root     root         45253 Feb 16 21:28 log-2020-02-16-21.28.57.zip
    -rw-rw-rw-    1 root     root         45036 Feb 16 21:28 log-2020-02-16-21.28.29.zip

    I tried the latest RPi2 image 'RetroELEC-RPi2.arm-9.2-devel-20200216221355-28eddc2.img.gz', but same here, Kodi doesn't start.

    Messages on the screen:

    Logs attached

    Edited 2 times, last by RomMon: Logs removed (February 22, 2020 at 1:11 AM).

  • Here's a small preview of what's to come :)

    uoyT0Pc.png

    Here we see Sway with window shadows, Firefox 73 (with Webrender/EGL acceleration), RPCS3 and LavaLauncher. All beautifully rendered through pure Wayland (Mesa and controllable with the Dualshock 4 functioning as mouse. Lightweight desktop environment for the modern HTPC :)

    RomMon

    Looks like a clean boot except for Kodi not being able to open a GBM surface. Can you check that your /flash/distroconfig.txt contains

    dtoverlay=vc4-fkms-v3d? A new build for the RPi2 is halfway done as well, will be uploading soon. EDIT: Uploaded, please try it with a clean SDcard if possible.

  • Ah. OK. Yep passthrough via PULSE know works. Thx.

    Update: RA starts up and has audio. ES and FF are not starting up properly and seem to hang somehere (Sway background is visible). Are there any PA related settings I need to adapt or remove ?

    N64: Still some crackling sound with Doom64, while F-Zero X and Mortal Combat4 seem ok. So, not a general problem, it seems.

  • Your Pentium J005 simply isn't powerful enough for more demanding N64 emulation. I don't see any attempts to start ES/FF in your logs, they both should log to /var/log. The logs are wiped on reboot, so reproduce without rebooting.

  • Your Pentium J005 simply isn't powerful enough for more demanding N64 emulation. I don't see any attempts to start ES/FF in your logs, they both should log to /var/log. The logs are wiped on reboot, so reproduce without rebooting.

    Not sure if you can see anything in the logs (yet). Maybe this helps:

    ps -ef :

    1277 root 0:00 {kodi-browser.sh} /bin/sh /usr/bin/kodi-browser.sh

    1278 root 0:00 systemctl start firefox

    1279 root 0:00 /usr/bin/dbus-daemon --session --address=unix:path=/run/dbus/session_bus_socket --nofork --nopidfile --syslog-only

    1286 root 0:00 /usr/bin/sway -V

    1288 root 0:00 /usr/bin/sway -V

    1297 root 0:00 swaybg -o * -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png -m fill

    1301 root 0:00 swaybar -b bar-0

  • Can you check that your /flash/distroconfig.txt contains

    dtoverlay=vc4-fkms-v3d?

    No it doesn't:

    cat /flash/distroconfig.txt

    Code
    # SPDX-License-Identifier: GPL-2.0
    # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
    
    # WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!

    After adding this line it boots into Kodi normally. Thanks!!!

  • Your Pentium J005 simply isn't powerful enough for more demanding N64 emulation. I don't see any attempts to start ES/FF in your logs, they both should log to /var/log. The logs are wiped on reboot, so reproduce without rebooting.

    Yep. Question is if I'm rather CPU or GPU bound ?

    There's a new Pentium silver coming up. CPU clock speed is up to 500 MHz higher, but GPU is identical.

    I'm looking for an affordable fan-less system. The cheaper Intel NUCs seem to have a fan, and anything else that's fan-less costs about 500+ Euros, which I consider too much for an HTPC.