Posts: 448
Threads: 10
Joined: Apr 2018
Reputation:
29
Hi kuyadreiph
You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.
Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.
Adrian.
Posts: 44
Threads: 0
Joined: Apr 2024
Reputation:
0
05-09-2025, 03:18 AM
(This post was last modified: 05-09-2025, 05:30 AM by kuyadreiph.
Edit Reason: Delete not necessary details
)
(05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiph
You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.
Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.
Adrian. Thank you adrian! Finally made it work.
Posts: 44
Threads: 0
Joined: Apr 2024
Reputation:
0
05-09-2025, 06:32 AM
(This post was last modified: 05-09-2025, 03:16 PM by kuyadreiph.)
(05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiph
You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.
Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.
Adrian.
Hi adrian! i manage to work wit oled. unfortunately, now i am having a hard time to play song after restart the system.
this is what it says after clicking play button.
Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argumentFailed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument
Posts: 624
Threads: 5
Joined: Mar 2020
Reputation:
34
Hi kuyadreiph,
I have just created a test to replicate your issue and everything has gone ok as expected
I think that the best way to solve it is to reinstall from scratch moOde (I have used 9.3.3).
Test it with
Quote:Metadata and Loopback enabled
.
Than install mpd_oled following the adrian github instruction (Install instructions for Moode 8 using source).
At that point after reboot and the command:
Code: sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
or
Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
it must run.
Just in case, after that, you can use
Code: sudo service mpd_oled status
and copy here the result to see if something is wrong.
Best regards,
Francesco
Posts: 448
Threads: 10
Joined: Apr 2018
Reputation:
29
05-09-2025, 07:31 PM
(This post was last modified: 05-09-2025, 07:31 PM by adrii.)
Hi kuyadreiph
Possibly this issue: https://moodeaudio.org/forum/showthread.php?tid=5584
Or, if you have other audio processing enabled, e.g. an equaliser, then it could have some kind of interaction involving the loopback device used by mpd_oled.
Adrian.
Posts: 44
Threads: 0
Joined: Apr 2024
Reputation:
0
(05-09-2025, 05:42 PM)fdealexa Wrote: Hi kuyadreiph,
I have just created a test to replicate your issue and everything has gone ok as expected
I think that the best way to solve it is to reinstall from scratch moOde (I have used 9.3.3).
Test it with
Quote:Metadata and Loopback enabled
.
Than install mpd_oled following the adrian github instruction (Install instructions for Moode 8 using source).
At that point after reboot and the command:
Code: sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
or
Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
it must run.
Just in case, after that, you can use
Code: sudo service mpd_oled status
and copy here the result to see if something is wrong.
Best regards,
Francesco
hi francesco! glad it's working now. however, what should i do to rotate the display or where should i insert this "R" on this line sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 to rotate it in 180deg.
Regards,
drei
Posts: 44
Threads: 0
Joined: Apr 2024
Reputation:
0
(05-09-2025, 07:31 PM)adrii Wrote: Hi kuyadreiph
Possibly this issue: https://moodeaudio.org/forum/showthread.php?tid=5584
Or, if you have other audio processing enabled, e.g. an equaliser, then it could have some kind of interaction involving the loopback device used by mpd_oled.
Adrian.
Hi Adrian! Thank you very much for helping me to work with this. Finally i made it worked. Mind me to ask how should i rotate the display and where should i insert this "R" on these lines. sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
Posts: 448
Threads: 10
Joined: Apr 2018
Reputation:
29
Hi drei
The order of options doesn't matter. You could add it at the end
Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 -R
Adrian.
Posts: 44
Threads: 0
Joined: Apr 2024
Reputation:
0
(05-10-2025, 01:04 PM)adrii Wrote: Hi drei
The order of options doesn't matter. You could add it at the end
Code: sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 -R
Adrian. Thank you adrian!
Posts: 624
Threads: 5
Joined: Mar 2020
Reputation:
34
Hi drei,
I am happy that you have solved the issue.
Best regards,
Francesco
|