VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

If something seems really buggy, report it here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby michelangelo » Sun Nov 30 2014 21:21

Dear guys, big release day.
Please post here the bug you can spot. Try to give as much informations as possible, like:

- Device (UDOO, cubox-i etc.)
- System description (which USB DAC, which NAS etc)
- When the strange behaviour occurs
- Is it a fresh image or did you change something
- Add anything you think is useful

Thank you and enjoy!
User avatar
michelangelo
Founder
 
Posts: 4471
Joined: Sun Dec 15 2013 23:18

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby ImG » Mon Dec 01 2014 10:08

I've downloaded the 1.5 image and tested it, here's my setup:
Device: Hummingboard-i1 (i.MX6 Solo, 512MB RAM, RTL8192CU-based USB wifi adapter, using built-in SPDIF output)
Image: Cubox-i v1.5, fresh install

Here's my findings:

Bugs:
  • Missing packages - Samba, cron
  • Player name setting is applied literally as hostname (in /etc/hostname and /etc/hosts) - this could be a problem with spaces. Should be transformed into, .e.g dashes. I want my player name as something descriptive like 'Kitchen speakers', but as a hostname this could be 'kitchen-speakers'.
  • Services started on boot (but instead should be started manually by Volumio?):
    • mpd
    • upmpdcli (causes a problem because when started as a service takes UPnP name from config file, not player name as when started by player_wrk.php)
    • smbd (nmbd seemed to have been disabled already)
    • samba-ad-dc (not needed?)
    • nginx (tho if disabled as a service Volumio doesn't start it - incidentally, why is the design like this, that services are disabled and Volumio controls them manually? Why doesn't Volumio just use service start/stop? Anyway, seems nginx must be started by system)

Not bugs, per se, but problems or things that 'just aren't right':
  • Ramdisk (/run/shm) is 512 MB (tho smb.conf description says 265mb) - Cubox/Hummingboard-i1 devices only have 512 MB RAM total, would be better to set this more dynamically? (in fact, why is Ramdisk in /etc/fstab? tmpfs already exists on /run/shm, so mount shows it twice?)
  • /home/volumio owned by root:root (should be volumio:volumio)

Suggestions, recommendations & feature requests:
  • UpMpdCli version is old (0.63) - update to 0.90 (why not use the provided apt repository?). Also set openhome=1 in config file (for playlist control via, e.g. Bubble DS/UPnP)
  • Consider including sc2mpd with upmpdcli (unfortunately have to build it (and ohNet, ugh..), no pre-built package available) to enable Songcast streaming (OpenHome 'Receiver')
  • First boot should expand SD card filesystem (perhaps see how Igor Pečovnik's Debian image/build scripts do this as an example for Cubox-i)
  • Local storage (on SD card) exposed as a Samba share and indexed as MPD folder would be useful (more useful to me than Ramdisk, but I appreciate others may use that)
  • Lower timeout and other options for DHCP on eth0 so that wifi-only systems boot faster (see, e.g. https://calomel.org/dhclient.html) - sorry, looks like it's already done!
  • Mount /tmp as tmpfs (RAM)?
  • Use noop scheduler for SD card?
  • mpd zeroconf name is 'volumio' - does this cause problems if multiple Volumio players are on the same network? Should MPD take up the player name as its zeroconf name too?
  • Should alsa-utils service be enabled to store/restore volume on boot/shutdown?
  • Set HDMI video output to lower resolution & bit-depth as it's not really needed? (also set GPU mem options to as small as possible? appreciate some people might use this, and probably can't disable HDMI as it would get rid of HDMI audio? but my case is headless)
  • Is the serial port TTY really needed?
  • Publish automated build scripts (also see, e.g. Igor Pečovnik's Debian image/build scripts do this as an example for Cubox-i)

Issues I am experiencing that may be bugs or specific to my setup:
  • AirPlay output is distorted (had this on my previous Debian image too, but tested with ethernet and sc2mpd gives clear audio so don't think it's a network bandwidth thing. I'm using Airfoil from a Windows 8 PC, must try with iPhone/iOS too)
  • Network connection seems unstable - goes offline (wlan0 and eth0) but comes back after a few minutes, not rebooted, can't tell what caused it (no /var/log/messages?), must test without USB wifi adapter
Last edited by ImG on Mon Dec 01 2014 14:14, edited 1 time in total.
Random avatar
ImG
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Mon Nov 03 2014 20:12


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby flahutbux » Mon Dec 01 2014 13:19

Hi Michelangelo and Volumio team!

I downloaded and installed volumio 1.5 on my cubox-i2Ultra yesterday, and I am very, very happy with the result!
All the issues i had with previous volumio version (i.e. kernel panic during MPD update) are simply gone!!!
This is the very first time I have volumio up and running and it is GOOD!

More detailed feedback:
1- My system:
- Music (mainly ALAC and MP3) on Synology NAS
- Cubox mounting the NAS share via NFS
- Audiolab MDAC hooked up to the cubox via USB (got a hub in between - ... the solution I found to prevent pops and clicks when using Archphile)

2- Functioning:
- NAS mount and MPD DB update work fine!
- Both Ethernet and Wifi do function great!
- Mpod client on iOS: connection OK.
- Shairport working great from both mac and iOS.
Basically, all I tried is working good!

3- Modifications to the image:
- Installed lighttpd to serve the album covers for Mpod: works great, no interference with WebUI, and no impact on CPU load, as far as I can say!

4- Bug(?)/Problems/Questions:
- Volumio and playlists
From WebUI, it seems feasible to save a playlist.
I tried, but could not retrieve the playlist(s) I created from webUI, nor from Mpod.
From Mpod, I cannot save a playlist, which I was able to do when using Archphile.
Could you please confirm it is possible to save playlists in WebUI and retrieve them on both WebUI and Mpod/other clients?

- Volumio not playing/no sound
After discovering volumio and listening to some music yesterday, I switched off the amp and DAC but left the cubox on overnight (Wifi).
This morning, I switch on the DAC and the amp, connect with Mpod and play a webradio: no sound.
On Mpod, all looks normal, but it never starts playing. At some point I can read "Paused" on the top of the screen
On WebUI, the webradio was indicated as being played but...time was not moving.
From trying other distributions, I know this happens to be a connection issue between the DAC and the Cubox.

I tried to:
- power cycle the DAC: no sound, same symptoms as described above.
- switch off DAC, reboot cubox with DAC off: no sound, same symptoms as described above.
- reboot cubox with DAC on: Voila! There was sound finally.

I will have a look at the logs and give more details about this point when I m home tonight.
In the meantime, any idea, suggestion?

- Access to volumio via finder (mac OS)
Even though my previous tries at volumio were not successful, I remember I was able to see and access some folders of the the Volumio machine on my network, directly from the finder.
This is not the case any longer, as reported there: volumio-cubox-connection-from-outside-possible-t2161.html

5- Tips:
Easy adding Webradios:
- webradio source: http://vtuner.com/setupapp/guide/asp/Br ... rtpage.asp
- Include in volumio: download the .m3u file and move it to the webradio folder (/var/lib/mpd/music/WEBRADIO)
- Update DB and you can find the .m3u file(s) in the webradio folder.

Getting webradios as playlist in Mpod (My cheap workaround to the playlist issue I report above)
- webradio source: see above
- Include in playlists: download the .m3u file and move it to the playlists folder (/var/lib/mpd/playlists)
- go to the browse tab in WebUI and refresh the view. The playlist(s) appear at the same level as the shares (e.g. NAS, WEBRADIO, USB...), and can be retrieved in Mpod under saved playlists.

6- To do:
short term:
Try streaming to volumio with airfoil
Out of curiosity, try to remove the USB hub between the cubox and the DAC and confirm about pops and clicks.
Investigate the no sound issue reported above (point 4, second bullet)
Investigate the playlist issue (any help welcome)
further away:
get volumio to auto-backup (cron to reboot from USB, clone the SD card to NAS, reboot from SD) and keep different versions!

7- Conclusion
Volumio 1.5 is working very good, with only few issues to be worked out (especially the no sound one).
Volumio is a great piece of soft!

Thank you all for your dedication and hard work!

Cheers
Flahutbux

PS: to be added to the to do list, short term: find and press the "donate" button! :)
Random avatar
flahutbux
Sunday DIYer
Sunday DIYer
 
Posts: 37
Joined: Tue Dec 31 2013 10:58


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby ImG » Mon Dec 01 2014 14:17

I realise my post might look a bit negative now! Have to say that what I did try with Volumio works pretty well, generally very pleased with performance, and of course, much better than v1.4 image which didn't boot at all on my Hummingboard-i1.

flahutbux wrote:- Access to volumio via finder (mac OS)
Even though my previous tries at volumio were not successful, I remember I was able to see and access some folders of the the Volumio machine on my network, directly from the finder.
This is not the case any longer, as reported there: volumio-cubox-connection-from-outside-possible-t2161.html


I think this issue might be related to Samba not being installed. Certainly I can see my Volumio and shares on the network, now that I have installed it via SSH:
Code: Select all
apt-get install samba
Random avatar
ImG
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Mon Nov 03 2014 20:12


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby michelangelo » Mon Dec 01 2014 19:05

@ImG, no I do really appreciate your detailed and costructive report! You were not negative, instead this helped me a lot. To quote:

- Need to install Samba, got rid of it for compatibility issues but now I solved the problem.

Services:
mpd is started by worker
upmpdcli is started by worker, with all the required parameters also the open home settings

As for the other suggestions, they completely make sense. I'll refine the code and post the result. Again many thanks.

@flahutbux

Volumio detects sound hardware at boot. That is why if you plug a USB dac after boot (or you turn it off) the device is not recognized. I may implement an hotplug function in next releases to solve this issue... But this is something quite complicated as lot of services need to be restarted as well..
User avatar
michelangelo
Founder
 
Posts: 4471
Joined: Sun Dec 15 2013 23:18


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby chevelle.fu » Tue Dec 02 2014 16:54

Hi , I tried upgrade my Cubietruck to Ver 1.5 , everything is fine but Library can't find my SATA Harddrive , even I change the folder . I am sure the haddrive is mounted ... :?
Random avatar
chevelle.fu
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Tue Dec 02 2014 16:49


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby metalrob » Tue Dec 02 2014 20:15

Hi Michelangelo!

Same problem with my SSD and cubietruck. No SATA recognition. Would it work with the recommended workaround of V 1.4?

One more thing: External USB drive doesn't power down after shutdown (Same as with V 1.4)

Everything else seems to work fine for my needs.

Greetingz, Robert
Random avatar
metalrob
Serious Listener
Serious Listener
 
Posts: 81
Joined: Sat Jan 04 2014 00:42


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby MobeyDuck » Tue Dec 02 2014 22:08

ImG wrote:Bugs:
  • Missing packages - Samba, cron

Not bugs, per se, but problems or things that 'just aren't right':
  • /home/volumio owned by root:root (should be volumio:volumio)


the cron deamon is missing / disabled by design it can easily be installed if needed, but volumio it self doesn't need it. maybe in the future if / when volumio turns in an alarm clock schedule-play-list-t564.html

@ flahutbux
You should be able to find the playlists in the Browse tab
User avatar
MobeyDuck
Moderator
 
Posts: 482
Joined: Sun Jan 05 2014 20:28
Location: The Netherlands


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby flahutbux » Wed Dec 03 2014 12:22

Hi

@ Michelangelo
Thank you for your answer about the "no sound issue when starting the DAC with Volumio up and running".
I clearly understand now the reason why, and confirm the hotplug function in future releases would be appreciated.

@MobeyDuck
When I create a playlist and save it with the webUI or Mpod, I cannot retrieve it.
It does not appear in the browse tab, nor in Mpod.
I checked the playlist folder (/var/lib/mpd/playlists) and it remains empty, as if no playlist was created.
However, when I manually place some .m3u files (webradios) into the playlists directory, then they appear in the browse tab.

Anyway, still very happy with Volumio 1.5!

Had about no time to continue exploring Volumio further but I can confirm that:
- Streaming with airfoil to Volumio (shairport) works well
- I have pops and clicks if I remove the USB hub between the cubox and the DAC.

Cheers
flahutbux
Random avatar
flahutbux
Sunday DIYer
Sunday DIYer
 
Posts: 37
Joined: Tue Dec 31 2013 10:58


VOLUMIO 1.5 for Cubox-i, UDOO and others feedback thread

Postby michelangelo » Wed Dec 03 2014 21:06

@chevelle and metalrob

You should use the same fix used on 1.4 . So, assuming the hard drive is mounted on /mnt/

To see it we create a symlink

Code: Select all
cd /var/lib/mpd/music
ln -s /mnt/


Let me know how it goes

@flahutbux
Yes this is a current bug. Thanks for reporting. The fix should be this (cannot check now)

Add this to /etc/mpd.conf

Code: Select all
playlist_directory    "/var/lib/mpd/playlists"


Then give appropriate permissions:

Code: Select all
sudo chown mpd /var/lib/mpd/playlists
sudo chmod 777 /var/lib/mpd/playlists


(we could also apply more restrictive permissions, but let's check with this)

And for your DAC, guess this is a power issue. Is your hub powered (I think yes)

Let me know
User avatar
michelangelo
Founder
 
Posts: 4471
Joined: Sun Dec 15 2013 23:18

Next

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 0 guests