LibreELEC Add-ons / Virtual filesystems / Archive support
Perfect, thanks.
LibreELEC Add-ons / Virtual filesystems / Archive support
Perfect, thanks.
This was fixed in Update addon.xml · zach-morris/plugin.program.iagl@20ca6ae · GitHub
Not sure why the failed dependency issue is occurring for you. You should install vfs.libarchive from add addons.
Thanks for your response. Where can I find this addon?
Hi. I'm trying to install Internet Archive Game Launcher on Libreelec 10 (Kodi 19.1) but failing due to a missing dependancy. See below from the log:
ERROR <general>: CAddonInstallJob[plugin.program.iagl]: failed to find dependency vfs.libarchive
How can I resolve this? I've pretty much created the image on the SD, then immediately trying to install the add-on so I haven't messed with Libreelec (e.g. remove add-ons) or anything.
I can't test on LE 9.2.6 anymore as I am running LE 10 Nightly for a long time but I did not have any Audio issues on official LE 9.2.6 build for RPi 4B in past. And the error messages from aplay are strange. The piano2.wav plays without issue on my LE 10 and this is what you should see (and hear the melody of course):
# aplay piano2.wav
Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
So it looks to me that your LE installation is still corrupted - it might be due to improper / unofficial installation image used or an issue with your SD card etc... Use only official builds from here: Raspberry Pi 4 – LibreELEC or a latest LE 10 Nightly build from here: LibreELEC-RPi4.arm-10.0-nightly-20210604-f6b7711.img.gz
You may also try to install LE to USB key instead of SD card to eliminate possible incompatibility (it may also depend on the bootloader version you are running - see here for details: RE: Boot from SSD instructions )
Thanks. I've downloaded the image and installed via the imager as a custom OS. Sound is workin now.
So what's the result of aplay the .wav file now?
Just the same as I posted above.
It looks you screwed up the LE installation with some bad plugin / Add-on installed.
Try to install the LE from scratch without any suspicious plugins / Add-ons and the Audio should work properly.
OK, tried re-imaging the OS onto the SD card, started it up again, stepped through the setup wizard but there was no option for plugins. So I've SCP a mkv file over to test it, the video plays fine but still no sound.
I noticed that when starting up for the first time I had an alert saying connecting to Pulse, but didn't see any error from it. However, this happens before I've even had a chance to enter the WIFI password so if it's trying to access something from the internet, it won't manage. Is this of concern? Is there a way to check for dependent drivers etc post setup?
Which HDMI port on the RPi4 are you using?
I've tried both
It looks you screwed up the LE installation with some bad plugin / Add-on installed.
Try to install the LE from scratch without any suspicious plugins / Add-ons and the Audio should work properly.
Thanks, I'll give that a go now. Don't recall adding anything other than the defaults mind you but worth a shot.
Try from SSH console (hopefully the file exists on LE version you are using - if not, search for some .wav):
systemctl stop kodi
aplay /var/media/root/usr/share/scratch/Media/Sounds/Instruments/SpookyString.wav
systemctl start kodi
Thanks for the response. I couldn't find that file on Libreelec so I downloaded my own but had issues:
LibreELEC:~ # wget http://www.kozco.com/tech/piano2.wav
Connecting to www.kozco.com (69.73.128.108:80)
Connecting to www.kozco.com (69.73.128.108:443)
saving to 'piano2.wav'
piano2.wav 100% |********************************| 1182k 0:00:00 ETA
'piano2.wav' saved
LibreELEC:~ # aplay piano2.wav
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /home/jails/home/jenkins/LE/build2/workspace/RPi4/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.2.6/alsa-lib-1.1.9/src/pcm/pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:828: audio open error: No such file or directory
Display More
Any ideas?
I've accessed Settings > System > Audio >
Under Audio Output Devices, it has PI:HDMI, PI:Analogue, PI:HDMI and Analogue, and Pulse (default, bluetooth audio (pulseaudio)
I've tried them all but no luck. I've tested other devices with kodi to ensure my hardware is working and they work fine.
I've tried checking the audio settings via SSH, not 100% sure what I'm doing mind you. Tried the following:
LibreELEC:~ # pacmd list-sinks
No PulseAudio daemon running, or not running as session daemon.
LibreELEC:~ # pulseaudio
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] stdin-util.c: Unable to read or parse data from client.
E: [pulseaudio] module.c: Failed to load module "module-gsettings" (argument: ""): initialization failed.
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Is there anything else I ought to try?