• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

RPi + CamillaDSP Tutorial

Looks like I spoke to soon when I claimed that Async resampler needed less chunksize than Synchronous.

Btw, what does "read overrun" mean?
 
Last edited:
I've managed to install CamillaDSP on PiCorePlayer
Barrelhouse Solly, well done in getting through the script.

I tried it as I was running PiCore Player (PCP) on one RPi and Camilla on a second and figured that only one Pi would be simpler, but couldn't get the script to complete. I loaded the full Raspberry Pi desktop on a Pi attached to a 7" screen (same setup as PCP) then following Michael's instructions loaded CamillaDSP. I then loaded JiveLite which is the GUI for SqueezeLite. That worked but was a pain having to swap between the two apps.

Then as an experiment hooked the Pi up to a desktop 23" monitor and found that I could run the CamillaDSP GUI and JiveLite and it worked well.

Next was to get the cheapest Waveshare 10.1" touch screen, mount an 8Gb RPi5 behind it with a passive heatsink and install CamillaDSP and JiveLite. After a bit of experimenting I settled on the "Min" browser (install Pi-Apps and select it from the extensive list of browsers) as it only uses one line for the address while Firefox and Chromium use several lines thus reducing usable screen space. I run the screen at 1280 x 800 and JiveLite with Touch Skin at 1024x600.

All documented here https://github.com/wirrunna/CamillaDSP-Building-a-Config?tab=readme-ov-file , mainly for my own use as I'm 78 and starting to forget things.

There are a few advantages of the full desktop OS over the PCP "tiny linux" such as the ability to easily run software such as "btop" system monitor in a terminal window (https://www.tecmint.com/btop-system-monitoring-tool-for-linux/) .
 
I just got CamillaDSP going on PiCorePlayer using the JWahle script from github. It works well except for one thing. I have the streaming url for my local PBS station in my LMS favorites. It plays fine on my Pis running Moode with CamillaDSP but not on PCP. When I try to play the station CamillaDSP shuts down and the station starts and stops in 2 seconds. Today the CDSP log shows a normal shutdown. Yesterday it showed an error about trying to access a nonexistent file. As soon as I try to play any other source--radio, Qobuz, or local files CDSP starts up and everything works. If I uninstall CDSP I can play the station on PCP. I've tried changing the stream url for the station since it has several streams. Nothing works. I'm wondering what the incompatibility might be.
 
I just got CamillaDSP going on PiCorePlayer using the JWahle script from github. It works well except for one thing. I have the streaming url for my local PBS station in my LMS favorites. It plays fine on my Pis running Moode with CamillaDSP but not on PCP. When I try to play the station CamillaDSP shuts down and the station starts and stops in 2 seconds. Today the CDSP log shows a normal shutdown. Yesterday it showed an error about trying to access a nonexistent file. As soon as I try to play any other source--radio, Qobuz, or local files CDSP starts up and everything works. If I uninstall CDSP I can play the station on PCP. I've tried changing the stream url for the station since it has several streams. Nothing works. I'm wondering what the incompatibility might be.
I just discovered that it seems to apply to Moode running CDSP as well, something I didn't think was true. When I try to play the station the same thing happens. When I shut off CDSP using the Moode mini-config button the radio station plays. I'm still curious as to what an audio source can do to affect CDSP this way. The station is KQED in SF. You can see the list of stream urls on their web site.
 
I just discovered that it seems to apply to Moode running CDSP as well, something I didn't think was true. When I try to play the station the same thing happens. When I shut off CDSP using the Moode mini-config button the radio station plays. I'm still curious as to what an audio source can do to affect CDSP this way. The station is KQED in SF. You can see the list of stream urls on their web site.
this could be if somewhere in your chain something is going to sleep, maybe your ssd or wifi etc.
 
I just got CamillaDSP going on PiCorePlayer using the JWahle script from github. It works well except for one thing. I have the streaming url for my local PBS station in my LMS favorites. It plays fine on my Pis running Moode with CamillaDSP but not on PCP. When I try to play the station CamillaDSP shuts down and the station starts and stops in 2 seconds. Today the CDSP log shows a normal shutdown. Yesterday it showed an error about trying to access a nonexistent file. As soon as I try to play any other source--radio, Qobuz, or local files CDSP starts up and everything works. If I uninstall CDSP I can play the station on PCP. I've tried changing the stream url for the station since it has several streams. Nothing works. I'm wondering what the incompatibility might be.
It may help to install "Radio Now Playing" plugin in LMS, search for KQED and start the stream from there.
I'm running LMS, CamillaDSP plus squeezelite on RPi5 bookworm and the station streams fine that way.
 
Unfortunately the streams listed under KQED are for other stations. Here's a list of the available streams: https://kqed-helpcenter.kqed.org/s/article/What-radio-streaming-URLs-does-KQED-have-available
Using i.e. https://hls.kqed.org/hls/smil:itunes.smil/playlist.m3u8 from your supplied list, it just plays fine here on RPiOS bookworm LMS/squeezelite/CamillaDSP/PlayHLS1.1-plugin to USB-DAC.

EDIT:
On cross-checking with RNP-plugin station, it's the SAME programme!
What gives?
IMG_9918.png
 
Using i.e. https://hls.kqed.org/hls/smil:itunes.smil/playlist.m3u8 from your supplied list, it just plays fine here on RPiOS bookworm LMS/squeezelite/CamillaDSP/PlayHLS1.1-plugin to USB-DAC.
Interesting. It plays for about a minute then shuts down. CamillaDSP stays active. Its log shows nothing. There has to be something unique about whatever KQED is sending. I just tried it on a PCP install with no CamillaDSP and it did the same thing, shut down after about a minute. I've removed the Radio Playing Now plugin. Curiouser and curiouser.
 
Interesting. It plays for about a minute then shuts down. CamillaDSP stays active. Its log shows nothing. There has to be something unique about whatever KQED is sending. I just tried it on a PCP install with no CamillaDSP and it did the same thing, shut down after about a minute. I've removed the Radio Playing Now plugin. Curiouser and curiouser.
I had it running over 5 minutes...
 
Hi it's me again. I recently got new network gear into my home and during switching I got a list of devices in my router, some of which don't report their host name. That made me loose one of my Camilla Raspberrys, I've got no idea if it's connected to the new wifi or not and with what IP. It has previously been visible to my Windows's by it's host name, but not while writing this. While searching it, I noticed that my Windows sees my miniDSP SHD (and my TV) in local network as media devices like this:
1768252315440.png

And when I click on it, it opens the SHDs internally hosted Volumio on web browser. I'm unfamiliar with LAN protocols, what exactly makes it visible like this and even allows it to open the web ui easily. Needless to say, it would be really good if CamillaDSP GUI had this feature or if it's a Linux config, installation guide had instructions for this.
 
Hi it's me again. I recently got new network gear into my home and during switching I got a list of devices in my router, some of which don't report their host name. That made me loose one of my Camilla Raspberrys, I've got no idea if it's connected to the new wifi or not and with what IP. It has previously been visible to my Windows's by it's host name, but not while writing this. While searching it, I noticed that my Windows sees my miniDSP SHD (and my TV) in local network as media devices like this:
View attachment 503692
And when I click on it, it opens the SHDs internally hosted Volumio on web browser. I'm unfamiliar with LAN protocols, what exactly makes it visible like this and even allows it to open the web ui easily. Needless to say, it would be really good if CamillaDSP GUI had this feature or if it's a Linux config, installation guide had instructions for this.
https://en.wikipedia.org/wiki/Avahi_(software) allows network services to be advertised for automatic discovery. The other end needs to understand how to use the advertised service though. I've not looked at how this might apply to this tutorial.
 
https://en.wikipedia.org/wiki/Avahi_(software) allows network services to be advertised for automatic discovery. The other end needs to understand how to use the advertised service though. I've not looked at how this might apply to this tutorial.
Thanks, I looked at this with help of ChatGPT. RPi already has avahi-daemon installed and setting up the service-file was relatively easy with AI. However, that doesn't seem to do anything for Windows. I asked and AI told me to install samba (I disabled the file sharing part) and wsdd. Those two made the RPi visible in Windows Network, which is a lot better than nothing, but it's not recognized as a media device and clicking it doesn't open the web UI. Now the AI wants me to install gmediarender, which has something to do with UPNP and DLNA. There's also SSDP, but I didn't go that far, I'm hesitant because those are yet another apps to slow down boot time and take up disk space and also the AI keeps running in circles with its answers.

If someone is good with this they probably can set it up confidently in little time, but that's not me. :)
 
Thanks, I looked at this with help of ChatGPT. RPi already has avahi-daemon installed and setting up the service-file was relatively easy with AI. However, that doesn't seem to do anything for Windows. I asked and AI told me to install samba (I disabled the file sharing part) and wsdd. Those two made the RPi visible in Windows Network, which is a lot better than nothing, but it's not recognized as a media device and clicking it doesn't open the web UI. Now the AI wants me to install gmediarender, which has something to do with UPNP and DLNA. There's also SSDP, but I didn't go that far, I'm hesitant because those are yet another apps to slow down boot time and take up disk space and also the AI keeps running in circles with its answers.

If someone is good with this they probably can set it up confidently in little time, but that's not me. :)
I'm not clear on exactly what it is you want it to do. You're talking about a whole load of other services that have nothing to do with CamillaGUI which is what you originally asked about.
 
Thanks, I looked at this with help of ChatGPT. RPi already has avahi-daemon installed and setting up the service-file was relatively easy with AI. However, that doesn't seem to do anything for Windows. I asked and AI told me to install samba (I disabled the file sharing part) and wsdd. Those two made the RPi visible in Windows Network, which is a lot better than nothing, but it's not recognized as a media device and clicking it doesn't open the web UI. Now the AI wants me to install gmediarender, which has something to do with UPNP and DLNA. There's also SSDP, but I didn't go that far, I'm hesitant because those are yet another apps to slow down boot time and take up disk space and also the AI keeps running in circles with its answers.

If someone is good with this they probably can set it up confidently in little time, but that's not me. :)

Perhaps I missed it, but did you closely follow the directions at the following link?:


If not, I recommend that you do so. As far as the Raspberry Pi image to use, "Raspberry Pi OS Lite" works well.
 
I'm not clear on exactly what it is you want it to do. You're talking about a whole load of other services that have nothing to do with CamillaGUI which is what you originally asked about.
The ultimate goal would be that when CamillaDSP GUI is running, it would advertise itself on the LAN and at least Windows would recognize it as a media device, and as such double clicking it in the network devices view would open up the Camilla GUI that's running on that device on a web browser accordingly. That's exactly what happens for the miniDSP SHD and its Volumio that's in my last screen cap in #2712, so it should be possible in a way or another.

I understand that this is not a direct CamillaDSP/GUI feature or not sensible as such, because it can made with other Linux applications. If anyone could help me to configure it, I would appreciate it. ChatGPT didn't get me there.
 
Perhaps I missed it, but did you closely follow the directions at the following link?:


If not, I recommend that you do so. As far as the Raspberry Pi image to use, "Raspberry Pi OS Lite" works well.
I read the guide, but there has been many changes to it after the last time I installed CamillaDSP. If there is a specific chapter that would help me with what I'm trying to accomplish (see my previous post), please link me to it.
 
The ultimate goal would be that when CamillaDSP GUI is running, it would advertise itself on the LAN and at least Windows would recognize it as a media device, and as such double clicking it in the network devices view would open up the Camilla GUI that's running on that device on a web browser accordingly. That's exactly what happens for the miniDSP SHD and its Volumio that's in my last screen cap in #2712, so it should be possible in a way or another.
is difficult to open this in web brower ? http://192.168.1.XX:5005
 
Back
Top Bottom