-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot stream rpi cam with up-to-date Raspberry Pi OS lite 32-bit #1644
Comments
Hello, this is caused by the fact that Raspberry Pi maintainers decided to forcefully upgrade kernel from 32-bit to 64-bit even on 32-bit images: The result is an inconsistent system with 32-bit libraries and a 64-bit kernel. While i strongly disagree with this choice, compatibility between the server and this "hybrid" OS must be restored. The server currently checks the architecture of the OS. This behavior will be changed in order to check the architecture of libcamera instead. |
added in MediaMTX v0.22.1 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.22.0
Which operating system are you using?
Describe the issue
There is an issue with the new Raspberry Pi kernel to read the exact version (32 or 64-bit). I cannot use MediaMTX to stream a raspberry cam with the 32-bit version with an up-to-date raspberry pi os lite 32-bit. I also tested it with the 64-bit version, and it works fine.
These packages are updated with
apt upgrade
. After that, it no longer works:pi@streamer32:~ $ sudo apt list --upgradable Listing... Done curl/stable 7.74.0-1.3+deb11u7 armhf [upgradable from: 7.74.0-1.3+deb11u5] libcamera-apps-lite/stable 0~git20230301+54a781d-1 armhf [upgradable from: 0~git20230125+9f08463-1] libcamera0/stable 0~git20230302+923f5d70-1 armhf [upgradable from: 0~git20230124+9b860a66-1] libcurl3-gnutls/stable 7.74.0-1.3+deb11u7 armhf [upgradable from: 7.74.0-1.3+deb11u5] libcurl4/stable 7.74.0-1.3+deb11u7 armhf [upgradable from: 7.74.0-1.3+deb11u5] libtiff5/stable 4.2.0-1+deb11u4 armhf [upgradable from: 4.2.0-1+deb11u3] libwbclient0/stable 2:4.13.13+dfsg-1~deb11u5 armhf [upgradable from: 2:4.13.13+dfsg-1~deb11u4] linux-libc-dev/stable 1:1.20230317-1 armhf [upgradable from: 1:1.20230106-1] python3-libcamera/stable 0~git20230302+923f5d70-1 armhf [upgradable from: 0~git20230124+9b860a66-1] python3-picamera2/stable 0.3.9-1 all [upgradable from: 0.3.8-1] python3-v4l2/stable 0.3.2-1 all [upgradable from: 0.3.1-1] raspberrypi-bootloader/stable 1:1.20230317-1 armhf [upgradable from: 1:1.20230106-1] raspberrypi-kernel/stable 1:1.20230317-1 armhf [upgradable from: 1:1.20230106-1] vcdbg/stable 1:1.20230317-1 armhf [upgradable from: 1:1.20230106-1]
Describe how to replicate the issue
tar -xzvf mediamtx_v0.22.0_linux_armv7.tar.gz
)paths
section of yourmediamtx.yml
Now it should work fine!
6. stop server with CTRL+C
7. Update rpi (sudo apt update && sudo apt upgrade)
8. Reboot
9. Start server again and it will fail
Did you attach the server logs?
yes
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: