PhotoboothProject / photobooth

OpenSource Photobooth Webinterface
https://photoboothproject.github.io
MIT License
295 stars 62 forks source link

[BUG Pi OS 32bit]: v4l2loopback-dkms fails to install on Pi OS #202

Open andi34 opened 1 year ago

andi34 commented 1 year ago

Describe the bug

Installation fails because v4l2loopback module can't be compiled.

Steps to reproduce the behavior

Start installation via Installer.

Expected behavior

no trouble

Photobooth Version

Independent

Browser and browser version

No response

Operating System

PiOS

Did it work before?

Yes

Latest working version

Unrelated to Photobooth

Additional context

64bit PiOS should be used.

Workaround on Pi OS 32bit:

sudo nano /boot/config.txt 

Add

arm_64bit=0

And reboot once before starting the installation. Need to be fixed via official Pi Sources. See https://github.com/raspberrypi/linux/issues/5410

semikolijon commented 1 year ago

"arm64=0" don't work for me - instead "arm_64bit=0" works fine.

mart-e commented 1 year ago

Additional context 64bit PiOS should be used.

Note that I had other issues with 64bits, for instance the pyhon picamera module does not seem to be compatible with 64 bits (cf https://github.com/raspberrypi/firmware/issues/1558)

The workaround did work for me.

andi34 commented 1 year ago

Thanks for the information, we need to wait for the Pi foundation to get things fixed.

weimer92 commented 1 year ago

"arm64=0" don't work for me - instead "arm_64bit=0" works fine.

The workaround did work for me.

mart-e commented 1 year ago

Hi again,

Note that I had other issues with 64bit

Following a discussion on photobooth-app (mgrl/photobooth-app#76), I gave it another try using amd64... and did not get any issue. I installed both PhotoboothProject and photobooth-app and so far, everything seems to work fine.

So yes, maybe going 64bits instead of 32 is a good recommendation ?