LibreELEC-RR [ Brave | Spotify | Moonlight | Emulationstation | Retroarch | Pegasus ]

  • Just wanted to say a big thanks for this build! Been trying to get various combinations of RetroPie/Kodi/RetroPlayer to play nicely together and this just makes the whole thing easier. Plus PCSX-rearmed actually works in this build which it doesn't on the standard Kodi 19 build. Great work!

    One quick question. How do I set the resolution of RetroArch? it's defaulting to 4k and the output options seem to have been disabled or some such.

    EDIT... found this in the wiki.

    Home · SupervisedThinking/LibreELEC-RR Wiki · GitHub's-&-Configuration#x-set-custom-rpi4-kms-resolution

    I've checked the wiki and used the RR-Config app to configure audio, but it doesn't matter if i use ALSA or PA, no audio works in retroarch.

    I've also noticed now that no audio us working on rpi4 via retroarch. it looks like the audio driver cannot load.

    Edited 3 times, last by domb84 (August 28, 2021 at 11:01 PM).

  • Hi,

    I've just set up a brand new NUC with a Tiger Lake CPU/iGPU (1165g7) and I'm not having much luck with anything that requires GL graphics.

    glxinfo provides:

    name of display: :0.0

    Error: couldn't find RGB GLX visual or fbconfig

    I found this: https://forum.libreelec.tv which I thought might have something to do with the solution, so I compiled LE RR 10 from source with 5.11.22 but still the same issue.

    I'll keep trying at it but thought I'd point out the issue and see if there's something simple that I might be overlooking?

    Thanks

  • Hi glennguy the 5.10 LE works (ish) Though there are issues until you get to 5.12. I am running 5.14 on my NUC11 - though not doing any RR stuff. 5.14 will PR to nightly shortly, and there are a number of intel and mesa updates in nightly.

  • Well I guess I have to enable the midi sequencer kernel module for RPi too :/

    Anyway I'm currently updating packages & rebased on latest LE10.0 with some kernel bumps, will upload updated packages in the next days.

  • I'll keep an eye out on upstream and try the master branch in RR with 5.12/13/14 and report back.

    I've tried building from SupervisedThinking/master-rr-westmere which is running media-driver 21.3.1 and mesa 21.2.1 but no luck, same issue.

    Also tried updating kernel to 5.12.19 but I ran into a bunch of issues with the packages. Fixed some but got stuck on getting crazycat to build.

  • Just download the .tar file stored in testing, copy it to the update folder & reboot your RPi4

    Have updated to the latest build and there's still no audio with ALSA or Pulseaudio on the RPI4 within retroarch. All emulators show the same error:

    ALSA

    Code
    [ERROR] [ALSA]: Failed to initialize...
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    Pulse

    Code
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    The rr-config tool seems to have no effect on anything. The retroarch settings remain unchanged after I switch from alsa to pulse and vice versa using the RR config tool.

  • Have updated to the latest build and there's still no audio with ALSA or Pulseaudio on the RPI4 within retroarch. All emulators show the same error:

    ALSA

    Code
    [ERROR] [ALSA]: Failed to initialize...
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    Pulse

    Code
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    The rr-config tool seems to have no effect on anything. The retroarch settings remain unchanged after I switch from alsa to pulse and vice versa using the RR config tool.

    Well I need a full log & not a single sniplet. Beside that did you enable the addon? Since it works on all other platforms flawless its the usual RPi4 b$&%/%&t/shenanigans & since I do not own I'm digging in the deep especially since it worked in the past on RPi4 too.

  • Well I need a full log & not a single sniplet. Beside that did you enable the addon? Since it works on all other platforms flawless its the usual RPi4 b$&%/%&t/shenanigans & since I do not own I'm digging in the deep especially since it worked in the past on RPi4 too.

    Happy to supply logs, which ones? Just the retoarch.log or additional ones? I looked for logging from your addon but couldn't find any. Where does the addon log to?

  • Good Evening All. I'm trying to use this build with the Metropolis skin. I'm trying to setup 'spotify' as a custom 'furniture item'. I'm using this line from the wiki.

    Spotify

    • /usr/bin/app-spotify.py

    Adding that as a 'spotify' button on the home screen to that line above does nothing. Am I missing something?

  • Hi,

    i paired the Keyboard using the underlying linux commands via ssh. Now everything is fine.

    The but seems to be in the libreelec pairing interface.

    Hendrik

  • Have updated to the latest build and there's still no audio with ALSA or Pulseaudio on the RPI4 within retroarch. All emulators show the same error:

    ALSA

    Code
    [ERROR] [ALSA]: Failed to initialize...
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    Pulse

    Code
    [ERROR] Failed to initialize audio driver. Will continue without audio.

    The rr-config tool seems to have no effect on anything. The retroarch settings remain unchanged after I switch from alsa to pulse and vice versa using the RR config tool.

    Hmm, I got audio working on RPi 4 in emulators and moonlight. If pulseaudio is used I had to clear the audio device in retroarch (removed that hw:0,0 setting). If ALSA is used, I had to set audio device to hw:3,0 to make it work (I'm using an USB audio device). You can find out your sound device with aplay -l.

    However, I did not manage to get moonlight to work with correct 5.1 support. On ALSA I only get 2.1 sound even if the correct sounddevice is set. If pulseaudio is used things get weird. Stereo sources are upmixed to four channels (front -left, front-right, center, lfe and rear right, rear-left is missing. But if I start a 5.1 game all channels are used, but not in an correct order. This might be due to default-alsamixer settings. At the moment I'm using a really cheap usb sound device, I get a new one in a few days and check if this is caused by the physical device and provide some logs in case its nor working.


    SupervisedThinking Another quirk may be caused by eventlircd. As soon as I installed my Argon One Remote retroarch and especially moonlight have some problems. It seems like eventlircd is recognized as a game-controller and always set as number 1 controller. This is a minor inconvenience in retroarch because you can reset this in the retroarch settings, but it is a real problem in moonlights, because some games (especially single player games) can't cope with that. If I stream from a Windows PC, 2 xbox controllers are recognized in the device manager. I tested the assumption that eventlircd is causing this by running systemctl stop eventlircd from ssh, while streaming with moonlight. The controller was immediately disconnected and the device manager didn't show the wrong xbox controller anymore, restarting eventlircd reconnected the "wrong" controller. So, would it be possible to automate this and stop eventlircd every time moonlight (or even retroarch) starts and restart it if moonlight is ended ?

    Edited 2 times, last by Cillit (September 8, 2021 at 7:22 PM).

  • (...)

    Well again please upload the complete log file zips. The audio configuration works for every other platform (AML, Generic, RK) fine & worked in the past for the RPi4 too. Normally you have to enable the rr-config-tool addon, select your audio output, enable pulseaudio and you're done. You don't have to manually edit any config files - if you do so you will break things because scripts adjust the automatically to match the audio devices.

    About the eventlircd problem GitHub - denilsonsa/udev-joystick-blacklist: Fix for keyboard/mouse/tablet being detected as joystick in Linux I guess this might be the solution & probably prevents the from being picked up as joystick devices