Comments (8)
Hi
Thanks for reporting the issue. Just to check, you have built a 64 bit mpd_oled binary from source on the sytem you are running the binary on. Were there any warnings printed when compiling? If you aren't sure, could you rebuild mpd_oled and review the output for any warnings or errors.
Adrian.
from mpd_oled.
Yes, I have built it on the same system I'm running the binary on. There were no warnings when compiling. I have to add that when I run binary in terminal from command line it works as it suppose to.
from mpd_oled.
The issue seems strange.
Just to confirm
- not playing music and running mpd_oled from the command line works fine, starting and stopping the music works fine
- playing music and running mpd_oled from the command line works fine, stopping and starting the music works fine
- not playing music and starting the mpd_oled service causes a crash
- playing music and starting the mpd_oled service does not cause a crash, stopping the music causes a crash
The backtrace contains the line
#7 0x000000559187c648 n/a (/home/.local/bin/mpd_oled.new + 0x14c648)
Do you know anything about "/home/.local/bin/mpd_oled.new"?
Could you post the contents of: /etc/systemd/system/mpd_oled.service
Adrian.
from mpd_oled.
- not playing music and running mpd_oled from the command line works fine, starting and stopping the music works fine
yes
- playing music and running mpd_oled from the command line works fine, stopping and starting the music works fine
yes (as above)
- not playing music and starting the mpd_oled service causes a crash
- playing music and starting the mpd_oled service does not cause a crash, stopping the music causes a crash
yes - stopping or pausing(mpc client)
The backtrace contains the line
#7 0x000000559187c648 n/a (/home/.local/bin/mpd_oled.new + 0x14c648)
Do you know anything about "/home/.local/bin/mpd_oled.new"?
Yes, my mistake. Should be as above, /usr/local/bin. That is from my other test attempt.
Could you post the contents of: /etc/systemd/system/mpd_oled.service
Now is:
[Unit]
Description=MPD OLED Display
[Service]
ExecStart=/usr/local/bin/mpd_oled -k -a 3c -o 3 -b 10 -g 1 -f 25 -c fifo,/tmp/mpd.fifo
[Install]
WantedBy=multi-user.target
from mpd_oled.
Hi
The service file isn't as expected, as it should start mpd_oled from a launch script that waits for mpd to start. I am not sure if it will help, but it would make sense to have the service file setup like a new install for testing. If you are not running the repository version of mpd_oled then please install that version instead. In all cases (even if you reinstall), reset the service file with
sudo mpd_oled_service_uninstall
sudo mpd_oled_service_install
sudo mpd_oled_service_edit -k -a 3c -o 3 -b 10 -g 1 -f 25 -c fifo,/tmp/mpd.fifo
List the contents of /etc/systemd/system/mpd_oled.service
and check it is now running mpd_oled_launch
instead of mpd_oled
Adrian.
from mpd_oled.
I don't think it will help as well. Yes, I admit that my service file is custom but for testing purposes I followed your path but mpd_oled_service_edit gives me:
rAudio:~/mpd_oled/scripts # ./mpd_oled_service_edit -k -a 3c -o 3 -b 10 -g 1 -f 25 -c fifo,/tmp/mpd.fifo
setting service file to run: mpd_oled '-k -a 3c -o 3 -b 10 -g 1 -f 25 -c fifo,/tmp/mpd.fifo'
sed: -e expression #1, char 79: unknown option to `s'
using manual setup:
[Unit]
Description=MPD OLED Display
[Service]
ExecStart=/usr/local/bin/mpd_oled_launch /usr/local/bin/mpd_oled -k -a 3c -o 3 -b 10 -g 1 -f 25 -c fifo,/tmp/mp
d.fifo -p mpd
[Install]
WantedBy=multi-user.target
doesn't change anything.
from mpd_oled.
Hi
I tracked down the sed
error, and will fix it, thanks.
It is difficult to suggest more things to try, but maybe it is related to the system user that is used to run the mpd_oled program when the service starts it.
I'll see if I can install here and take a look. Where can I download the rAudio image are you using? Are there any other instructions to set up the system as you have done?
Adrian.
from mpd_oled.
Full image you can find here and update via rAudio GUI to the latest. There is no additional system setup I have that may be applicable for that mpd_oled issue.
For my display, in /boot/config.txt I have following settings:
dtparam=i2c_arm=on
dtparam=i2c_arm_baudrate=800000
and in /etc/modules-load.d/mpd_oled.conf
i2c-dev
How to set wi-fi you can find in readme.
from mpd_oled.
Related Issues (20)
- Volumio 2.878, 2.882 - installation from source fail HOT 8
- MoOde - ALSA loopback - SoX HOT 24
- hello how it use with mic without player HOT 35
- Volume - % HOT 2
- Mod main.cpp HOT 3
- Really solved? still have issue HOT 3
- Feature Request: Turn off display or screensaver after idle period HOT 3
- MPD OLED for Raspberry Pi VOLUMIO 3.0? HOT 37
- Display freezes on playback start (moOde 8.1.2) HOT 11
- Mpd_oled on a 128x64 RGB matrix HOT 3
- cp: cannot stat '/var/local/www/currentsong.txt': No such file or directory HOT 28
- Some potentially useful tips for defining the mpd_oled service for Volumio HOT 4
- 128x32 Monochrome OLED HOT 2
- Improve framerate by changing image data transmission HOT 2
- Unable to use hifiberry digi pro DAC with mpdoled HOT 13
- Option for showing Spectrum analyser only, when mpd is playing HOT 2
- Russian song titles are not displayed HOT 4
- MPD_oled over MoOde audio rel 8.3.2 HOT 17
- Not an issuse but some things for Raps p4 64bit raspbain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpd_oled.