bamarni / pi64

A 64-bit OS for the Raspberry Pi 3
712 stars 126 forks source link

missing bcm2835-v4l2 kernel module #11

Open mash-graz opened 7 years ago

mash-graz commented 7 years ago

i really like your pi64 images! the performance boost using ffmpeg/x264 in an arm64 environment is remarkable.

it would be very helpfull, if you could add the bcm2835-v4l2 kernel module (enable VIDEO_BCM2835) for raspberry camera support in your pi64 image releases as well.

see: https://blogs.s-osg.org/use-v4l2-cameras-raspberry-pi-3-upstream-kernel/

YuehChuan commented 7 years ago

@mash-graz Thanks, are there more details descriptions about the performance improvement? and how you benchmark. Like doing edge detection with openCV function the processing time from 10ms to 5ms. Great to hear your good news :smile:

mash-graz commented 7 years ago

in my case it's not so challenging. ;) i just try to use a RP3 for video stream encoding and live streaming to an nginx-rtmp server over a very weak transmission line. the RP3 h264 hardware encoder is nice, if you have enough bandwidth available, but it doesn't work very well, if you you need maximal image quality over limited network connections and content based variable bandwidth optimizations. using the common raspian 32bit images, it's nearly impossible to handle this kind of compression by x264, but on arm64 you get about the doubled frame rates and it's becoming somehow acceptable at low resolutions.

YuehChuan commented 7 years ago

Cool, so it mean 64bit register could handle more data at a time, that you got double framerate. Thanks for sharing, I would like to try, if there are some result will show here.

bamarni commented 7 years ago

I'll look into it for the next release.

bamarni commented 7 years ago

Just for the record, this commit suggests that it wouldn't work on arm64 (https://github.com/raspberrypi/linux/commit/97b35807cc4d3d0cf1d2c61f5ed0727551416ad0).

Nonetheless I'll try a build with that module just to see.

Truemedia commented 5 years ago

Any updates on this, very keen to use the camera on 64 bit. 32 bit os has too many limitations for my uses.