Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

Camera board • Re: Getting 120FPS from HQ camera

$
0
0
Thanks therealdavidp for the quick response.

I've tried your suggestions and I can't seem to get even in the ballpark of what you're showing. I'm wondering what exactly is happening that my setup is behaving so different from yours.

Here are two runs from command line inside Ubuntu GUI:

Code:

cat@raspberrypi:~/code/netholabs/cat/camera $ python cam4.py[0:11:41.136860862] [4195]  INFO Camera camera_manager.cpp:327 libcamera v0.4.0+50-8b88d376[0:11:41.144491579] [4196]  INFO RPI pisp.cpp:720 libpisp version v1.0.7 28196ed6edcf 22-10-2024 (16:09:21)[0:11:41.153675881] [4196]  INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx477@1a to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0[0:11:41.156661789] [4195]  INFO Camera camera.cpp:1202 configuring streams: (0) 1280x720-XBGR8888 (1) 1332x990-BGGR_PISP_COMP1[0:11:41.156774032] [4196]  INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx477@1a - Selected sensor format: 1332x990-SBGGR10_1X10 - Selected CFE format: 1332x990-PC1B23.97091629091809 fps271 frames encodedcat@raspberrypi:~/code/netholabs/cat/camera $ python cam4.py[0:11:51.551303803] [4212]  INFO Camera camera_manager.cpp:327 libcamera v0.4.0+50-8b88d376[0:11:51.558933610] [4213]  INFO RPI pisp.cpp:720 libpisp version v1.0.7 28196ed6edcf 22-10-2024 (16:09:21)[0:11:51.568247322] [4213]  INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx477@1a to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0[0:11:51.571171383] [4212]  INFO Camera camera.cpp:1202 configuring streams: (0) 1280x720-XBGR8888 (1) 1332x990-BGGR_PISP_COMP1[0:11:51.571285774] [4213]  INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx477@1a - Selected sensor format: 1332x990-SBGGR10_1X10 - Selected CFE format: 1332x990-PC1B42.54205947623461 fps307 frames encoded
Here's some more specs about my setup:

Code:

cat@raspberrypi:~/code/netholabs/cat/camera $ cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"VERSION_CODENAME=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"cat@raspberrypi:~/code/netholabs/cat/camera $ uname -aLinux raspberrypi 6.6.74+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linuxcat@raspberrypi:~/code/netholabs/cat/camera $ uname -maarch64cat@raspberrypi:~/code/netholabs/cat/camera $ getconf LONG_BIT64cat@raspberrypi:~/code/netholabs/cat/camera $ rpicam-hello --list-camerasAvailable cameras-----------------0 : imx477 [4056x3040 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx477@1a)    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]                             cat@raspberrypi:~/code/netholabs/cat/camera $ vcgencmd measure_clock ispfrequency(0)=910010752cat@raspberrypi:~/code/netholabs/cat/camera $ vcgencmd measure_clock h264frequency(0)=0cat@raspberrypi:~/code/netholabs/cat/camera $ vcgencmd measure_temptemp=77.9'Ccat@raspberrypi:~/code/netholabs/cat/camera $ ps aux | grep v4l2cat         4644  0.0  0.0   6240  1536 pts/0    S+   15:17   0:00 grep --color=auto v4l2cat@raspberrypi:~/code/netholabs/cat/camera $ vcgencmd get_mem gpugpu=8Mcat@raspberrypi:~/code/netholabs/cat/camera $ vcgencmd codec_enabled H264H264=disabled
I've also tried writing to "/dev/null" and it makes not much difference. I've also rebooted from the command line and it's also about the same. The videos look quite terrible (with lots of continuous chunks missing).

Is there anything that I'm missing here? Do I have some incorrect settings?

Statistics: Posted by catubc — Mon Feb 24, 2025 2:13 pm



Viewing all articles
Browse latest Browse all 7512

Trending Articles