Coder Social home page Coder Social logo

Comments (20)

mbalamat avatar mbalamat commented on May 26, 2024 1

@robot-army @webtop you can try the master branch now and re-open this (or other) if any issues occur.

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@robot-army which balenaOS version are you using? Also did the throttling work for you?

from balena-cam.

robot-army avatar robot-army commented on May 26, 2024

Was using BalenaOS version balenaOS 2.32.0+rev1 . Throttling in that way didn't work, I made a new issue for that. It was one of the GPU memory settings.

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@robot-army do yo mind updating to the latest version

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@robot-army you can do this by clicking on your device > Actions (it's on the left side of the dashboard) > BalenaOS Update > click update BalenaOS

from balena-cam.

robot-army avatar robot-army commented on May 26, 2024

Hmmmm.... I get this when trying to update?

Screenshot 2019-12-20 at 20 40 07

from balena-cam.

robot-army avatar robot-army commented on May 26, 2024

On my Pi Zero, it's the latest version, it seems!

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@robot-army some versions of the OS got retracted recently because of an issue. The latest recommended is 2.32 for the RPi zero. I am currently testing to see if balenaCam works on this version. In general the last time I added a commit everything was working for the 2.4x versions of the OS.

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

hey @robot-army I pinpointed the issue, you can check my response on balena forums https://forums.balena.io/t/balena-cam-raspberry-p-v4l-cant-open-camera/52485/19

from balena-cam.

robot-army avatar robot-army commented on May 26, 2024

Ahh OK cool, looks like the right solution for now is to wait a couple weeks for v2.4x for the Pi Zero. Should we keep this issue open until then?

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@robot-army yes let's keep it open and confirm the results when the v2.4x for the pi zero rolls out.

from balena-cam.

webtop avatar webtop commented on May 26, 2024

I'm running v2.38 and was having the same issue. I uncommented that line you mention in the post, nothing else, and it's working as far as it loads, but I just get a blank view. I see the application framework, but the camera feed is just blank.

Are these issues related or should I start a new thread?

FYI: I'm just running this locally, so trying to access the app though the device IP.

printenv output
LC_ALL=C.UTF-8
BALENA_SUPERVISOR_VERSION=9.15.7
BALENA_DEVICE_TYPE=fincm3
HOSTNAME=0b76c61
BALENA=1
RESIN_SUPERVISOR_VERSION=9.15.7
RESIN_DEVICE_TYPE=fincm3
RESIN=1
BALENA_SERVICE_NAME=balena-cam
RESIN_APP_LOCK_PATH=/tmp/balena/updates.lock
BALENA_APP_NAME=Observer
BALENA_APP_ID=1567959
BALENA_DEVICE_UUID=0b76c6181fdcb542178bca69a76f59b3
USER=root
BALENA_SERVICE_HANDOVER_COMPLETE_PATH=/tmp/balena/handover-complete
PWD=/usr/src/app
HOME=/root
RESIN_SERVICE_KILL_ME_PATH=/tmp/balena/handover-complete
DEBIAN_FRONTEND=noninteractive
RESIN_DEVICE_UUID=0b76c6181fdcb542178bca69a76f59b3
RESIN_DEVICE_NAME_AT_INIT=still-feather
RESIN_HOST_OS_VERSION=balenaOS 2.38.0+rev1
TERM=xterm
BALENA_HOST_OS_VERSION=balenaOS 2.38.0+rev1
RESIN_APP_ID=1567959
RESIN_APP_NAME=Observer
SHLVL=1
BALENA_DEVICE_NAME_AT_INIT=still-feather
RESIN_SERVICE_NAME=balena-cam
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
UDEV=off
BALENA_APP_LOCK_PATH=/tmp/balena/updates.lock

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@webtop yes as you are running 2.38 there is an issue with the camera libs that will be fixed in balenaOS version 2.4x when it comes out for the piZero.

from balena-cam.

webtop avatar webtop commented on May 26, 2024

Thx Marios.

from balena-cam.

webtop avatar webtop commented on May 26, 2024

Hey Marios,

I just pulled down the latest master and rebuilt. No issues in the build process, but once the app started, I get this issue:

[Logs] [3/18/2020, 6:42:34 PM] Started service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:39 PM] [balena-cam] Video device is not ready
[Logs] [3/18/2020, 6:42:43 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:45 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:47 PM] [balena-cam] Trying to load bcm2835-v4l2 driver...
[Logs] [3/18/2020, 6:42:51 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:52 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:55 PM] [balena-cam] Video device is not ready
[Logs] [3/18/2020, 6:42:58 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:43:00 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'

I'm doing this all locally with the CLI, but just realized I'm still running 2.38...how do I update to 2.4 from local CLI? I can't find any info, and "balena device os-update" expect a UUID not a host IP.

Thx :)

from balena-cam.

webtop avatar webtop commented on May 26, 2024

FYI: I ssh'd into the device, and tried:

balena-engine engine update --version v2.46.1+rev3.dev

but got

unable to access local containerd: failed to dial "/run/containerd/containerd.sock": context deadline exceeded

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@webtop why not just use the balena Dashboard to update? On the device page, you go to Actions (bottom left side)?

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

And if you want to use the cli you can do what you say and acquire the uuid from balena scan.
In general it's always recommended to use the dashboard to do a hostOS update.

from balena-cam.

webtop avatar webtop commented on May 26, 2024

Hey! It's all good now. I have inadvertently tried to flash an incorrect device image, which then bricked the device. I ended up just reflashing the device with the latest update.

My devices are local dev devices, not connected to the dashboard. Are you saying, just perform an attach, then an update, then a detach? If so....good idea :)

from balena-cam.

mbalamat avatar mbalamat commented on May 26, 2024

@webtop is your device provisioned on balenaCloud? If yes, then even though you have a dev flavour of the balenaOS and you are using local mode you can just, as you say, disable local mode for a while, perform the update and re-enable it. In general with a device running a dev version of balenaOS, provisioned on balenaCloud, you can do the same things as with a device running a production version of the OS. Plus with dev balenaOS images you can do extra stuff like local mode and local push, so you can have fast development cycles/iterations.

from balena-cam.

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.