I loaded htop and tuned the BBC, the speakers have been singing for 1h and no sign of overload... everything (exception htop) <1%...
Announcement
Collapse
No announcement yet.
piCorePlayer, bt stutters when players synchronized
Collapse
X
-
Madamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7 -
It's not clear which system is running LMS. Is LMS running on the PCP system that you showedCode:CPU2: 24.3% usr 75.6% sys 0.0% nic 0.0% idle 0.0% io 0.0% irq 0.0% sirq
Comment
-
Sorry, maybe I had not understood the question.
No, LMS is running on another host, this a player dedicated to the two BT speakers.
I wasn't able to run reliably all the functions I needed in a single player: AP, DAC, two BT speakers, one USB relais to switch on the main HIFI system: so I split in two.
Both Raspi connected on eth0.Madamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
Sorry, maybe I had not understood the question.
No, LMS is running on another host, this a player dedicated to the two BT speakers.
I wasn't able to run reliably all the functions I needed in a single player: AP, DAC, two BT speakers, one USB relais to switch on the main HIFI system: so I split in two.
Both Raspi connected on eth0.
I think it would still be interesting to know which process is loading a CPU core - if it is BT related process then BT signal quality may be the issue.
With htop the CPU which a process is using can be shown using Setup / Columns and adding "PROCESSOR". The loading of each CPU can be shown using Setup / Meters and adding one of the "CPUs" options . To avoid showing child processes and just totals - turn off "tree view" in Setup / Display options.Comment
-
the problem is (or should I say luckily?) that at the moment the two speakers have been on two hrs, and there is no show of significant CPU load...Madamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
ooops! no! I was looking at the wrong Raspi...
Too many of these darn elves running around!
So, CPU n.3 is running at 100%:
- Command python3
- /usr/local/bin/pcp-btspeaker-daemon.py debugMadamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
Since you have enabled bt daemon logging, can you attach a zipped copy of the file /var/log/pcp_bt.logComment
-
here it is...Attached FilesMadamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
The daemon is mostly dbus callbacks, so the only way for it to generate CPU usage is for bluetooth to generate events...... and the events are logged. There is nothing abnormal in your log.
Please take a screenshot with htop running showing what each process is using.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayerComment
-
Voila...Attached FilesMadamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
I missed this on he first scan of the log, but your not using the latest version. Can you update the Bluetooth extensions.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayerComment
-
thanks Paul, but...
[ INFO ] Updating pCP Bluetooth Extensions...
Invalid mirror selection for pcp-update
[ ERROR ] Try again laterMadamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
Sounds like you have a many times upgraded system that somehow broke, or too much tweaking in the wrong spots
Check your mirror selection bottom right of most of the pagespiCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayerComment
-
Thanks, Paul,
I rebuilt the SD from scratch, with v8.2.
Now the situation looks better.Attached FilesMadamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas, Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 22.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi 2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with Debian Buster on Arm7Comment
-
Good news, keep an eye on it, let me know if things change.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayerComment
Comment