Virtual Keyboard 1.0.4 doesn’t work… with latest touch display buster beta …
Yes, I wrote that Virtual Keyboard does not work earlier. Not matchbox-keyboard is the problem but chromium browser. Workaround is to revert to the old chromium version that gets installed on Jessie based systems.
auto start 1.1.2 doesn’t revert to last played song … 6 songs later it plays… seems to play random
but not set on random…
default startup volume is not working set on 60 doesn’t jump to 60 , startup volume after reboot is 100%
system information 0.1.3 works oke…
backup / restore 0.7.2 is broken… creates no backup…
album art : /data/albumart/web <<< images not showing they are present…
@truckershitch mpd2chromecast does not directly access the sound card. It does rely on a client connection to the onboard MPD server to continually query the current playback state and track/file details. It would almost suggest that MPD was not functional prior to those changes and hence the mpd2chromecast script fell foul of that. I’ll try updating my own volumio rpi to the same new beta and see if I can reproduce the same issue. I don’t however have any 3rd party sound device on my rpi as it’s only use to stream audio to chromecasts.
I believe that this is the case. I should have been more specific in my message.
I think this is specific to add-on sound cards and your script. If I remember correctly, the first error that occurred was when your script queried the volume
parameter of the mpd software status. mpc status
did not show a valid value for volume
. I tried a number of things until I changed
snd-bcm2835.enable_compat_alsa=1
in the /boot/cmdline.txt
file. I don’t think that this is the proper fix, as I was unable to change the volume from your program’s web page.
I’d be happy to help you out with this if you want. Maybe this should be on GitHub or on another thread here on the forum?
We (well @Darmur) had similar issues with the pi0 - the Audio jack doesn’t show up.
Are you running on a pi4? I really hope these bootflags do not need to be tuned on a per-pi basis!
What was the final combination that worked for you? Could you share the output of aplay -l
?
Found some hints:
So snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_hdmi=1
should work as before?
EDIT:Looks like they disabled the audio jack for the pi0
On 3.014beta trying to execute dtoverlay
from the CLI fails with command not found
.
On the Jessie based builts dtoverlay
, dtoverlay-pre
and dtoverlay-post
are found in /usr/bin
in the form of symlinks to the respective files in /opt/vc/bin
. These symlinks are missing in Buster beta.
Executing
/opt/vc/bin/dtoverlay
results in
error while loading shared libraries: libdtovl.so: cannot open shared object file: No such file or directory
libdtovl.so
is present in /opt/vc/lib
though.
Edit: Just found that on Jessie /opt/vc/lib/libdtovl.so
is symlinked to /usr/lib/libdtovl.so
but can’t test ATM if adding that symlink (and maybe running ldconfig
) already solves the issue.
All these quirks, if only we could just install libraspberrypi-bin
which handles it!
Does this work?
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/vc/lib /opt/vc/bin/dtoverlay <>
Will fix the Lib path in the next build…
EDIT: Just tested, should be fixed in the next build
Will test and report back as soon as I get home tonight.
Okay, so it was my fault it seems. I had a lot of problems getting 3.010 to work with my card and I had to change a few things, and I didn’t get everything straight. I thought those changes would be necessary in 3.014 but I was wrong.
I just now started again from scratch. I did not change the configuration in /boot
at all and merely went through the startup wizard on the web page. I rebooted and heard the startup sound.
Then I went to check and see if there was a volume
value shown in the mpc
client. There was not. It merely showed n/a
. Choosing a station in Web Radio worked fine from my sound card. Playback seemed all right.
I looked at the sound settings, changed MPD Clients Volume Control
to On
, and checked again. The volume was at 60%. Success!
I think I’m fine from here. I let @dresdner353 know and I think my issue is finished.
I’ll try and break your beta through some other angle.
This is a Pi 3B+ by the way. I don’t know exactly how that changes things but I guess it’s in the audio devices somehow.
It suffices to add the symlinks:
sudo ln -s /opt/vc/lib/libdtovl.so /usr/lib/libdtovl.so
sudo ln -s /opt/vc/bin/dtoverlay /usr/bin/dtoverlay
sudo ln -s /opt/vc/bin/dtoverlay-pre /usr/bin/dtoverlay-pre
sudo ln -s /opt/vc/bin/dtoverlay-post /usr/bin/dtoverlay-post
After that dtoverlay command works
FYI for those following the mpd2chromecast issue with this latest beta… I’ve pushed changes now to handle the absence of volume from the MPD server.
Please share logs and details of how to trigger the error, as I don’t have issues here…
just say how i can get the log ash btw is there a version 2.853 with a mpd upgraded to 0.21.16?
this is needed for the new youtube plugin …
Either from the /dev
page using the livelog feature or via ssh.
# Volumio logs
journalctl -f
Note try to include minimal steps that triggers the issues you are facing to reduce noise in the logs
No clue, to be honest I haven’t run a jessie volumio image for a few years now, been either on Stretch or Buster…
@ashthespy i think it’s the wait between pressing buttons… of 30 sec…
now it’s seems to work on the 3.14… only bit slower than the 3.10
and getting pretty hot 67 °C added extra fan … 48°C
if i press a song i have to wait 30 sec before playing…and every song next…
System information plugin : if closed on pc stays open on rpi 7inch screen…
Version: 2020-12-10, version 0.014 on PI 4
Seeing an exception in mpd.log when changin songs.
Blockquote
Dec 16 20:13 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
Dec 16 20:13 : player: played “INTERNAL/Tango_3.0/01_Tango_Square.mp3”
Dec 16 20:13 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
Dec 16 20:13 : player: played “INTERNAL/Tango_3.0/02_Rayuela.mp3”
Dec 16 20:13 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
Dec 16 20:14 : player: played “INTERNAL/Tango_3.0/03_Desilusion.mp3”
Dec 16 20:14 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
Dec 16 20:16 : player: played “INTERNAL/Tango_3.0/02_Rayuela.mp3”
Dec 16 20:16 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
Dec 16 20:17 : player: played “INTERNAL/Tango_3.0/03_Desilusion.mp3”
Dec 16 20:17 : exception: Failed to open mixer for ‘alsa’: no such mixer control: PCM
What DAC (and type of pi) do you have? It looks like the mixer setup is having trouble for some reason.
Could you share output of:
aplay -l
cat /data/configuration/audio_interface/alsa_controller/config.json
amixer
Using a Pifi DAC+ on a Pi 4
{
"volumestart": {
"type": "string",
"value": "disabled"
},
"volumemax": {
"type": "string",
"value": "100"
},
"volumecurvemode": {
"type": "string",
"value": "logarithmic"
},
"outputdevice": {
"type": "string",
"value": "2"
},
"mixer_type": {
"type": "string",
"value": "Hardware"
},
"mixer": {
"type": "string",
"value": "Digital"
},
"volumesteps": {
"type": "string",
"value": "10"
},
"outputdevicename": {
"type": "string",
"value": "HiFiBerry DAC Plus"
}
}
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]