bernid wrote: 
> Hi, 
> I have problem with squeezelite high cpu usage (96%) after finishing
> planing (eg playlist). 
> I use SoA (squeezelite) with Raspberry Pi B+:
> > 
Code:
--------------------
  >   > NAME="-n RPI"
  > AUDIO_DEV="-o hw:CARD=ALSA"
  > ALSA_PARAMS="-a 120:4::"
  > MAX_RATE="-r 192000:"
  > UPSAMPLE="-u vI:::28:::"
  > DOP="-D 80"
--------------------
> > 
> Normal usage of squeezelite with resampling to max 192kHz (with Very
> High Resampling Quality) is about 40-45%CPU usage. After finishing
> playing (where squeezelie should be idle) squeezelite processes take
> 95-99% of CPU usage. 
> Strange thing... .


You might be better off posting this on the squeezelite thread, to
compare notes with folk who have a DSD capable DAC, the same version of
libsoxr, and those with version Rpi2.  

I don't normally upsample. and my DAC is only 24/96 capable on SPDIF.  I
have a Rpi B+/HifDigi+ combo.  If I set the params below and upsample
16/44 flac audio files, the only large spikes in CPU loads I see is when
squeezelite first restarts, or for a few seconds at the beginning of a
new audio track. Otherwise the squeezelite load is around 20% as shown
in htop.


Code:
--------------------
    
  root@soa-rpi ~]# cat /etc/squeezelite.conf
  # created by soa-web Sun Apr  5 15:26:55 2015
  NAME="-n SOAdigi+"
  AUDIO_DEV="-o hw:CARD=sndrpihifiberry"
  ALSA_PARAMS="-a 80:4::0"
  MAX_RATE="-r 96000:"
  LOG_FILE="-f /var/log/squeezelite.log"
  OPTIONS="-b 8000:30000"
  UPSAMPLE="-u vI:::28:::"
  
--------------------


I have this version of libsoxr 


Code:
--------------------
    
  [root@soa-rpi ~]# pacman -Q libsoxr
  libsoxr 0.1.1-2
  
--------------------


IIRC trying to downgrade a package in Arch Linux can be problematic.

Perhaps it's time for you to invest in an Rpi2?  Sox processing is
always going to put a strain on a single core RPi.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to