Giter Club home page Giter Club logo

Comments (22)

Schrolli91 avatar Schrolli91 commented on August 12, 2024

Hardware, OS, other Tools running? More info is always better ...

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

I have changed to a Raspberry Pi 3b+ and run Rasbian 5.4.35-v7+. I use linein from a usb soundcard. Just the bw3 server and client running on this Pi.

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

which SDR Dongle and which USB Soundcard?

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

No dongle at all and a Chinese noname usb soundcard. I have got it to decode ones or twice but then something happens.

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

Do you have this poblem only with line in or also with an sdr?
Maybe there's a alsa/performance problem at this point on a Raspi.
@janspeller can you also take a look into the logs, please?

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

I have not tried BW3 with sdr. I use BW2 on another Pi with sdr and it works great. I will try to reinstall and see it that helps. In log it looks like the arecord crash also with overrun and i dont know what it is.

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

Can you try this maybe? https://www.raspberrypi.org/forums/viewtopic.php?t=52390

And thats also interesting https://www.raspberrypi.org/forums/viewtopic.php?t=43738

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

now i am trying --buffer-size=192000 (10s) if i am correct. To much but it was a suggestion on net. Not so much alarm here so it will take a while to get an error.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

No crash so far :) 3 alarms decoded. Buffersize seams to do the trick. Set 100000 now.
I read that someone use ffmpeg, maybe better then arecord?

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

Today it crashed again. I increase buffer to 150000 now and start again.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

I give up. Nothing seem to help.

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

Looks like a general problem to me. I think on a machine with more power this will not happen.
But i have no idea whats the exact problem here and what we can do to fix that - maybe someone other has an idea for that.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

Testing on a PI4 4GB now. Let you know if it works better.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

Workoing longer on the PI4, a few days, then same thing happens. And the watchdog is just looping. I think the watchdog has to be rewritten to kill the whole client, wait for 2 seconds and then start all over. The PID thing now dont work for me at all. And to the watchdog you should be able to connect the plugins too, so when it trigger the watchdog it is possible to get a notification in Pushover for example.

from bw3-core.

janspeller avatar janspeller commented on August 12, 2024

I finally had some time to look into this.
If you didn't already, you might try using arecord with --buffer-time=1000000 instead of --buffer-size.

According to the also manual, buffer-time is in microseconds, so 1000000 would be exactly 1 second.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

The process manager need some work too because it just loop.

What do you mean, exactly?

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

I finally had some time to look into this.
If you didn't already, you might try using arecord with --buffer-time=1000000 instead of --buffer-size.

According to the also manual, buffer-time is in microseconds, so 1000000 would be exactly 1 second.

Still crash and filled up my sdcard. I had made some changes to the "watchdog" so maybe next time i can read the logs.

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

Still no luck. Crash and fill up sdcard. I will stay with BW2.

from bw3-core.

Schrolli91 avatar Schrolli91 commented on August 12, 2024

@sm7tix maybe this is fixed with #64 from @janspeller ?

from bw3-core.

sm7tix avatar sm7tix commented on August 12, 2024

from bw3-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.