rtpmidid icon indicating copy to clipboard operation
rtpmidid copied to clipboard

Bug/Crash in an other software

Open GoulagmanYt opened this issue 1 year ago • 9 comments

Hi im using this software https://github.com/onlaj/Piano-LED-Visualizer but i have some issues like lagging,crashing,deconnecting and its very hard to connect rpi to my pc ... Can you check the source code to see where the issue come from :) pls. I talked to the dev but he is telling to ask you bc he used ur module...

GoulagmanYt avatar Oct 03 '24 15:10 GoulagmanYt

That's gonna be difficult to debug..

I see its a RPI program, and the distribution is via a SD card image. I would suggest to try to install the latest version into the SD card and it should work.. but the latest release for the rpi is from last year.

I will try to make a release soon once we fix some bugs, and I will ask again in this issue to install it.. hopefully it will just work.

Regards, David.

davidmoreno avatar Oct 03 '24 20:10 davidmoreno

Ty very much ! Take your time man... 👍

GoulagmanYt avatar Oct 05 '24 06:10 GoulagmanYt

Hello. I'm the author of the project mentioned by @GoulagmanYt First of all, thank you for creating rtpmidid. It's a fantastic tool which saved me a lot of work. It worked great (for most users) on version 20.07 and 21.11 across Raspberry Pi OS Lite 9-11. Unfortunately, I'm not able to run it on the latest version of RPI OS (12 - Bookworm).

When I try to install 21.11, I get an error addgroup: addgroup with two arguments is an unspecified operation.

Version 23.10 installs without any errors, (I just had to manually install libfmt7_7.1.3), but when I try to start it, I get this:

plv@pianoledvisualizer:~ $ systemctl status rtpmidid.service
× rtpmidid.service - rtpmidid
     Loaded: loaded (/etc/systemd/system/rtpmidid.service; enabled; preset: enabled)
     Active: failed (Result: signal) since Sun 2024-11-17 15:50:14 GMT; 226ms ago
   Duration: 85ms
    Process: 829 ExecStart=/usr/bin/rtpmidid (code=killed, signal=ILL)
   Main PID: 829 (code=killed, signal=ILL)
        CPU: 50ms

Nov 17 15:50:14 pianoledvisualizer systemd[1]: rtpmidid.service: Scheduled restart job, restart counter is at 5.
Nov 17 15:50:14 pianoledvisualizer systemd[1]: Stopped rtpmidid.service - rtpmidid.
Nov 17 15:50:14 pianoledvisualizer systemd[1]: rtpmidid.service: Start request repeated too quickly.
Nov 17 15:50:14 pianoledvisualizer systemd[1]: rtpmidid.service: Failed with result 'signal'.
Nov 17 15:50:14 pianoledvisualizer systemd[1]: Failed to start rtpmidid.service - rtpmidid.

Version 23.12 has no .deb files for armhf so I didn't test it.

Should I just wait for new release, or is there something I can do to debug and fix it? I would like to release new image for my project and without rtpmidid it will be incomplete.

onlaj avatar Nov 17 '24 16:11 onlaj

Hi,

I'm almost finishing up a new release. What's your timeline?

The last version changed a lot of things, so I think it will just work..

But I would like to test a bit more, although so far all looks good for a 24.11 or 24.12 release.

Let me try on latest raspberry pi os, and I will let you know ASAP.

davidmoreno avatar Nov 17 '24 20:11 davidmoreno

Thank you for the quick response. There's no rush - I'm still working on other features I want to include in the next release, so I can wait for your new version. Looking forward to testing it when it's ready.

onlaj avatar Nov 17 '24 23:11 onlaj

Hi,

I just released 24.12. It would be great if you can test if it works!

If you find anything let me know and I will try to fix and release with the fixes.

Thanks!

davidmoreno avatar Dec 15 '24 11:12 davidmoreno

@davidmoreno Any chance for armhf version? If I'm not mistaken the arm64 is for 64 bits CPU's, while Raspberry Pi Zero is 32bits.

edit. for now I'm trying to build it from source, but it takes hours on a RPi Zero :D

onlaj avatar Dec 15 '24 13:12 onlaj

You got it!

I took me some time.. first I tried armbian on my rpi4b, then tried to compile on my orange pi zero.... But finally got an armhf installation on my rpi4b and compiled it.

It's in the same release page.

davidmoreno avatar Dec 15 '24 19:12 davidmoreno

@davidmoreno You're awesome, thank you! I will start testing now.

onlaj avatar Dec 15 '24 21:12 onlaj