UNSOLVED GX-MIPI-IMX662 can't save fps parameter
-
Hi,
On my new camera GX-MIPI-IMX662 I'm trying to set fps parameter (via gx_mipi_i2c.sh from 60 to 30) and save to flash by paramsave and it is working only for current session and after restart it restored back to 60 again.How to fix it?
-
@alex_ai I’ve just checked this function, and it works correctly. I suspect the issue lies in the way you’re operating it.
I recommend that you always change the FPS via the
v4l2-ctlcommand to ensure consistency across different sessions. If you usegx_mipi_i2c.shdirectly, the parameters can indeed be changed by writing to the camera registers, but the driver layer is not notified of these changes. As a result, the driver retains incorrect (outdated) values. -
Hi @veye_xumm , thank you for answer, let me clarify my steps.
- Boot raspberry pi 5
- check current fps (it is 60):
$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 60.0000 fps- set current fps
$ ./gx_mipi_i2c.sh -w fps 30 -b 4 Write FrameRate_Ex is 30.0000 fps- check if it is set:
$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 30.0000 fps- Video opened with with 30fps correctly
- save parameters to flash
$./gx_mipi_i2c.sh -w paramsave -b 4 all param saved to flash7 . Reboot raspberry pi
8. check current fps (it is 60 again):$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 60.0000 fps -
You need to upgrade your camera firmware. Please refer to the link below to download the firmware, and then follow the subsequent link for the upgrade procedure.
https://www.mediafire.com/folder/4tov5s500gaif/camera_firmware_upgrade_images
https://wiki.veye.cc/index.php/GX_camera_firmware_update_manual
-
Hi @veye_xumm, I'm already on the latest version of firmware:
$ ./gx_mipi_i2c.sh -r version -b 4 Read version is C 01.14 and L 01.11Anyway it is not critical issue for me.
I'm trying this new GX-MIPI-IMX662 as improved version of VEYE-MIPI-IMX462 for meteors detection and can't configure with same way.If turn off denoise_strength_3D the video image is very noisy and as in gx_mipi_i2c no feature to read sensor registers, can I ask to you confirm that:
In low light environment ISP enables HCG mode (register FDG_SEL0 0x3030 sets to 0x01) ?Maybe you have other recommendations like for IMX462 in this post :
VEYE-MIPI-IMX462 - manual gain not consistent -
@alex_ai said in GX-MIPI-IMX662 can't save fps parameter:
Anyway it is not critical issue for me.
I'm trying this new GX-MIPI-IMX662 as improved version of VEYE-MIPI-IMX462 for meteors detection and can't configure with same way.
If turn off denoise_strength_3D the video image is very noisy and as in gx_mipi_i2c no feature to read sensor registers, can I ask to you confirm that:
In low light environment ISP enables HCG mode (register FDG_SEL0 0x3030 sets to 0x01) ?
Maybe you have other recommendations like for IMX462 in this post :The issue where the FPS setting cannot be saved is likely because your module is our first version, and the firmware is not fully refined. You can try restoring the factory default settings and then test again.
https://wiki.veye.cc/index.php/Gx_mipi_i2c.sh_user_guide#factoryparamThe GX series and the VEYE series are completely different. If you would like to manually set the exposure time and gain, that is fully supported as well. Please refer to the section about expmode metime mgainin the following link.
https://wiki.veye.cc/index.php/Gx_mipi_i2c.sh_user_guide
I am currently on the Spring Festival holiday. Maybe replay late.
-
@veye_xumm happy holidays!
Yes, I tried manual and auto gain/expmode and it works as expected.For meteors detection I don't need use denoise3d (or use small value ), as it blurs fast moving objects, but without it the image very noisy, which is probably related to HCG and LCG modes of sensor (as it was for my IMX462M camera and you provided custom firmware with enabled HCG), and it is working perfectly on VEYE IMX462 cameras.
For now it has quality of usual IP camera with same sensor (with denoise3d for night sky), will wait, probably it will be improved in future.
Thank you!