Project Description
I have had a hobby project of running Raspberry Pi to record video when detecting motion, mostly catching rabbits and such on the yard.
I'm using the upstream's default offering Raspbian (or nowadays called also Raspberry Pi OS) together with motion software, but there have been a few problems which would be interesting to see if can be get to working better using openSUSE.
Motivations to seek alternatives include:
- Raspbian buster (based on Debian 10) is stable, but the ffmpeg included is too old to support the hardware accelerated h.264 encoding. Software encoding speed is okayish with my RPi Zero 2 and RPi 3 Model A+, but still limiting.
- Raspbian bullseye (based on Debian 11) would be fresh, but the migration from MMAL to libcamera causes problems at minimum due to v4l compatibility layer seeming unstable - and libcamera, regardless of some of its merits, causes incompatibilities and is unusable for the motion software.
- If libcamera is in general stable eg in openSUSE (I have not checked yet whether openSUSE has migrated), other motion detection software could be considered as well - in the past there have been even interesting hacks utilizing the hardware encoder and reading its motion vectors to get essentially 0% CPU motion detection!
- My RPi Zero 2 installation seems a bit unstable for unknown reasons (the other installation is has 1y+ uptime), making a good candidate to replace the software.
Goal for this Hackweek
The goal is to prepare an alternate boot environment using the same hardware but different software. Initially the idea would be to use openSUSE Leap 15.4, for which there is a repository offering ffmpeg 4.4 which is recent enough. At least first goal would be to setup the same motion software with the same config as currently, if possible, but if openSUSE already uses libcamera then a different approach will be needed.
Ultimately, the goal is to learn about Raspberry Pi, video interfaces and motion detection on openSUSE.
Resources
If you want to try to setup something similar, whether migrating or simply wanting to setup motion detection video recording, we could work together by exchanging experiences or ideas of what software to use.
https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications
https://github.com/Motion-Project/motion/
https://github.com/raspberrypi/rpi-imager
http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSELeap15.4/Essentials/aarch64/
Looking for hackers with the skills:
This project is part of:
Hack Week 21
Activity
Comments
-
over 2 years ago by tjyrinki_suse | Reply
Finished the main hack week tasks, although there are always more things to be done.
Blogged at https://timojyrinki.gitlab.io/hugo/post/2022-07-01-leap-on-rpi-zero2/ (also planet.o.o)
Similar Projects
New openSUSE-welcome by lkocman
Project Description
Let's revisit our existing openSUSE welcome app.
My goal was to show Leap 16 in a new coat. Welcome app adds to the first time use experience. We've recently added donation button to our existing welcome.
Some things that I recently wanted to address were EOL and possibly upgrade notification.
I've already done some experiments with mint welcome app, but not sure if it's better than the existing one.
There is also a PR to rework existing app https://github.com/openSUSE/openSUSE-welcome/pull/36 (this should be considered as an option too)
Goal for this Hackweek
New welcome app, possibly with EOL notification for Leap.
1) Welcome application(s) with (rebrand changes) maintained under github.com/openSUSE
2) Application is submitted to openSUSE:Factory && openSUSE:Leap:16.0
3) Updated needles in openQA (probably post hackweek)
Resources
Reddit discussion about the best welcome app out there.
Github repo for the current welcome app.
Enlightenment in Leap 16 by simotek
Description
Get the Enlightenment stack + X11 building and running on the Leap 16 codebase.
Goals
- Get enlightenment / terminology compiling for Leap 16
- Test that they are running correctly in a Virtual Machine.
Resources
New migration tool for Leap by lkocman
Update
I will call a meeting with other interested people at 11:00 CET https://meet.opensuse.org/migrationtool
Description
SLES 16 plans to have no yast tool in it. Leap 16 might keep some bits, however, we need a new tool for Leap to SLES migration, as this was previously handled by a yast2-migration-sle
Goals
A tool able to migrate Leap 16 to SLES 16, I would like to cover also other scenarios within openSUSE, as in many cases users would have to edit repository files manually.
- Leap -> Leap n+1 (minor and major version updates)
- Leap -> SLES docs
- Leap -> Tumbleweed
- Leap -> Slowroll
- Leap Micro -> Leap Micro n+1 (minor and major version updates)
- Leap Micro -> MicroOS
Hackweek 24 update
Marcela and I were working on the project from Brno coworking as well as finalizing pieces after the hackweek. We've tested several migration scenarios and it works. But it needs further polishing and testing.
Projected was renamed to opensuse-migration-tool and was submitted to devel project https://build.opensuse.org/requests/1227281
Repository
https://github.com/openSUSE/opensuse-migration-tool
Out of scope is any migration to an immutable system. I know Richard already has some tool for that.
Resources
Tracker for yast stack reduction code-o-o/leap/features#173 YaST stack reduction
Create openSUSE images for Arm/RISC-V boards by avicenzi
Project Description
Create openSUSE images (or test generic EFI images) for Arm and/or RISC-V boards that are not yet supported.
Goal for this Hackweek
Create bootable images of Tumbleweed for SBCs that currently have no images available or are untested.
Consider generic EFI images where possible, as some boards can hold a bootloader.
Document in the openSUSE Wiki how to flash and use the image for a given board.
Boards that I have around and there are no images:
- Rock 3B
- Nano PC T3 Plus
- Lichee RV D1
- StartFive VisionFive (has some image needs testing)
Hack Week 22
Hack Week 21
Resources
Update Haskell ecosystem in Tumbleweed to GHC-9.10.x by psimons
Description
We are currently at GHC-9.8.x, which a bit old. So I'd like to take a shot at the latest version of the compiler, GHC-9.10.x. This is gonna be interesting because the new version requires major updates to all kinds of libraries and base packages, which typically means patching lots of packages to make them build again.
Goals
Have working builds of GHC-9.10.x and the required Haskell packages in 'devel:languages:haskell` so that we can compile:
git-annex
pandoc
xmonad
cabal-install
Resources
- https://build.opensuse.org/project/show/devel:languages:haskell/
- https://github.com/opensuse-haskell/configuration/
- #discuss-haskell
- https://www.twitch.tv/peti343