I’m currently testing version 3.010-2020-08-21 on a Pi3B+, and I can’t get sound out of my IQaudIO Pi-DAC Pro. I tried to follow the steps that @ashthespy advised to @steve65, but it did not solve it.
In the Web UI under Playback Options, if I choose :
I2S DAC : Off and Output Device : Headphones
$ grep hw /etc/mpd.conf
device "hw:0,0"
I2S DAC : Off and Output Device : IQaudIO DAC
$ grep hw /etc/mpd.conf
device "hw:1,0"
I2S DAC : On and DAC Model : IQaudIO DAC Plus
$ grep hw /etc/mpd.conf
device "hw:2,0"
Here is what actually happens when trying to play audio in these 3 cases :
I hear audio out of the Raspberry Pi’s headphone jack
I hear no audio anywhere (well, I do hear a hum out of the DAC headphone jack)
Playback does not start and errors, as hw:2,0 does not exist
Before trying Volumio I tried the latest Raspberry Pi OS, and everything was working fine : even the hum in case 2 wasn’t occuring.
I did check alsamixer for any mutes or low levels. I also tried to aplay a file, which worked on RPi OS, but not on Volumio. Also, when I try it in case 2, it fails with the following message :
$ aplay -D hw:1,0 FIP\ Groove_07.wav
aplay: main:828: audio open error: Device or resource busy
Which indicates that MPD is effectively using the right device.
Hello to all,
Currently I am using test version 2.847. I use button plugin, led for status volumio and rpi4 status, when is powered on. My connection is wired Lan… Also I am using 4.3 inch dsi touchscreen and mpd oled script on an 1.3 inch oled.
I would like to switch to buster image due to python 3 version cause I would like to install mpd2chromecast and peppy meter.
If I will switch to beta buster image I will be able to still use the configuration from above and of course new qobuz beta mode or when new implementation from qobuz will be released officially I still be able to use it on this new buster image?
Thanks in advance
You should go with the Nodev8 version (please see the first post) build then to ensure you don’t have to recompile core modules for those plugins.
Hmm, Unfortunately at this stage there all the MyVolumio stuff is untested with Buster. I built a test image a few months back, but since it contains closed source things, I would rather someone from the core Volumio team check and then release that image
Kernel 5.x+ does not load the “rpi_ft5406” module anymore but the “raspberrypi_ts” module when a Raspberry Pi Foundation touchscreen is connected. This required an adaption of the Touch Display plugin: touch_display_1_2_1Busterbeta.zip (793,3 KB)
it’s still running over here ash it’s missing some folders for the plugin’s but
runs mutch better than the latest release i can say …
yt plugin (doesn’t search yt any more), auto start, system,
touch display, local music and radio runs well …
it’s for me the best release only you have to do all by hand…
ash are you still working on the 3.10 or is it gone?
I tested Volumio 3.0 and found that:
The operating system runs really well, and it’s fast, the sound seems pure.
Stores USB scan history
the big downside I see all volumio versions have is: the boot speed is very slow when the music files increase for example:
Hard drive contains 1T of music: boot speed is: 1 min 30 s. 2 Tb music: 2 minutes. This is bad, because I tried the Moodeaudio, it was very smart, it stored the first scan and the boot time was very fast, only 50 S, and regardless of the number of songs and hard drive space!
So can you handle this? ie the start-up speed is independent of the number of music files, and retains the first scan history ??
Thank you very much!
Mac
Hey @mac
What pi are you running this on?
This is a pet project that I would like to investigate - the slowdown during boot due to database scanning. It’s some quirk with the async code. However, I don’t really have a large music collection, as I mostly stream these days. So if you don’t mind - could you share your /var/lib/mpd/tag_cache (privately) with me? I’d like to play around a bit to see where the bottleneck is
How do I get it to boot quickly, without being affected by the size of the file: tag_cache.
And where is the starting speed specified?
Please just let me know!
Thanks
Mac
Thanks
1- aAbout boot time:
Volumio 3.0 : 55 s
Moodeaudio 6.7 : 46 s.
2- The music file : 2.2 T music off 4 T Hdd (WD)
I use 32G Micro SanDisk Extreme Pro for write Volumio and Moodeaudio on Pi 4- 4 G,
Ok - after I scan all music to Volumio 3.0 and Moodeaudio, so I test and I see:
1- Moodaudio boot time is still 46 s, with full scan music file, and play well when boot again- no need scan again .
2- Volumio 3.0 boot time go up 1 m 20 s, and some time , it run scan again Hdd,
So I ask you : why Moodeaudio is well with boot time and scan music file??
Why Volumio 3.0 is bad off time boot and scan music auto again?
Oh, Volumio have many many member can support !
Thank you advice
Best regards!
Mac
I installed this just now and had to manually resize the SD card. You posted the solution here (just need to add sudo of course):
One other thing: I have an Allo Boss card. I had to disable HDMI sound in my headless setup or the card was recognized as card 3. I appended this line to /boot/cmdline.txt:
snd_bcm2835.enable_hdmi=0
Also in that file, I changed this option:
snd-bcm2835.enable_compat_alsa=1
I did those two things to get the mpd2chromecast plugin to work. There may be another way. I haven’t tried adding those to /boot/userconfig.txt.
Before changing that second option, my sound card was not being properly recognized by mpd2chromecast. However, playback was working out of the analog output of my sound card before I changed that option.
I’ve only had it up for half an hour but my Pandora plugin is working. Looks good!
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.
@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?