[How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi (/showthread.php?tid=155) |
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Tim Curtis - 09-23-2022 I'm still not able to get a repro after two 5 hour tests. One system is functioning as a Multiroom sender and the other has an Allo Boss HAT. I can try over the weekend with HDMI and Headphone. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Tim Curtis - 09-24-2022 I was able to repro with HDMI and Headphone interfaces. CPU utilization on one core slowly increases for the MPD rtio thread which is not normal. Typically this thread will only consume 0.3% - 0.5% of a CPU core as on my earlier 5 hour tests. I noticed that if nothing is reading the output of the Loopback device the thread reaches ~90% on one core in around 1.5 - 2 hours of playback. If on the other hand the Loopback output is being read for example by arecord, then even after 5 hours the rtio thread is only at ~50% utilization on the core. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 09-25-2022 (09-21-2022, 06:21 PM)adrii Wrote: A quick fix for the flashing spectrum and slow adaptation of bar heights is to install an older version of cava Cava has ben updated to fix the slow adaptation of bar heights, and mpd_oled has been updated to fix the flashing. I have made a new mpd_oled binary package with these updates. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 09-29-2022 Running Moode 8.2.0 on a Pi-3B with audio out via HDMI to a Sony AVR. Trying to install for an oled that I know works ...followed the latest instructions for the binary but as soon as I turn loopback on the audio stops and Moode fails to open the device from then on. I can complete the oled install and use sox to change the output to upsample to 96kHz which allows mood to play a file but still does not output audio while loopback is on. At this point whilst the oled displays correctly on idle when play begins it reports the track info and scrolls it but no spectrum appears. I am using the 32bit MoOde version so next is to try the 64bit but if you have any suggestions it would be appreciated. Edit Same behaviour with the 64bit version. As soon as I turn loopback on then this error appears each time I try to play a file or webradio..(Unsure if this is a MoOde bug or oled script related) Code: MPD error Code: sudo systemctl status mpd_oled | cat RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 09-29-2022 Hi Bob Is there still an issue if the loopback setting is on, but mpd_oled isn't running? You can disable the mpd_oled service at boot with Code: sudo systemctl disable mpd_oled After testing, you can enable the mpd_oled service at boot again, and also start it immediately, with Code: sudo systemctl enable mpd_oled Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 09-29-2022 (09-29-2022, 06:15 AM)adrii Wrote: Hi Bob Quote:is there still an issue if the loopback setting is on, but mpd_oled isn't running? Yes...even with mpd_oled uninstalled....so must be a MoOde bug then...sigh Thanks for your prompt reply !! RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 09-29-2022 You could check what device numbers are being assigned to which devices with and without loopback set to on (reboot after setting loopback to off before running the command) Code: aplay -l RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 09-29-2022 (09-29-2022, 07:38 AM)adrii Wrote: You could check what device numbers are being assigned to which devices with and without loopback set to on (reboot after setting loopback to off before running the command)loopback off (audio working) Code: aplay -l Code: aplay -l RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 09-29-2022 The loopback device being set to card 2 may be the cause of the error (with the alsa configuration meant for the loopback refering to the headphones instead?) RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 09-29-2022 Aha.....I had forgotten that the headphone output could be disabled....the things one lets slide lol. I will try with dtparam audio=off and see if that fixes it :-) looks like that has done the trick...will try again tomorrow when i have the system running again. Code: aplay -l |