ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Using IMX412 camera with 4K resolution.

    VOXL 2
    2
    2
    263
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Anubhav
      last edited by

      Hello team,
      I want to use IMX412 camera for snapshots with 4k resolution but unable to do.
      the below command is with voxl-camera-server_1.6.1_arm64.deb

      voxl2:~$ voxl-camera-server 
      =================================================================
      configuration for 1 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx412
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
      
          en_preview:          0
          pre_width:           2048
          pre_height:          1536
          pre_format:          nv21
      
          en_small_video:      1
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      1
          large_video_width:   4096
          large_video_height:  2160
      
          en_snapshot:         1
          snap_width:          4160
          snap_height:         3120
      
          ae_mode:             isp
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      =================================================================
      Starting Camera: hires
      ERROR:   Camera 0 failed to find supported record config: 4096x2160
      ERROR:   Failed to start camera: hires, exiting
      

      and in this same camera server version when I have downgraded the resolution, camera started working but when I trigger voxl-portal to see the Hires image output camera is failing. below is the output.

      voxl2:~$ voxl-camera-server 
      =================================================================
      configuration for 1 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx412
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
      
          en_preview:          0
          pre_width:           2048
          pre_height:          1536
          pre_format:          nv21
      
          en_small_video:      1
          small_video_width:   2048
          small_video_height:  1536
      
          en_large_video:      1
          large_video_width:   2048
          large_video_height:  1536
      
          en_snapshot:         1
          snap_width:          2048
          snap_height:         1536
      
          ae_mode:             isp
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      =================================================================
      Starting Camera: hires
      WARNING: Port Def 0:
      	Count Min: 8
      	Count Actual: 16
      	Size: 0x480000
      	Buffers Contiguous: Yes
      	Buffer Alignment: 0
      WARNING: Port Def 1:
      	Count Min: 4
      	Count Actual: 16
      	Size: 0x2d0000
      	Buffers Contiguous: No
      	Buffer Alignment: 0
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      WARNING: Port Def 0:
      	Count Min: 8
      	Count Actual: 16
      	Size: 0x480000
      	Buffers Contiguous: Yes
      	Buffer Alignment: 0
      WARNING: Port Def 1:
      	Count Min: 4
      	Count Actual: 16
      	Size: 0x2d0000
      	Buffers Contiguous: No
      	Buffer Alignment: 0
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      gbm_create_device(156): Info: backend name is: msm_drm
      
      ------ voxl-camera-server: Camera server is now running
      
      Segmentation fault:
      Fault thread: cam0-request(tid: 6949)
      Fault address: (nil)
      Unknown reason.
      Segmentation fault
      

      Thanks.

      Arjun Jain 0A 1 Reply Last reply Reply Quote 0
      • Arjun Jain 0A
        Arjun Jain 0 @Anubhav
        last edited by

        @Chad-Sweet - I have the same issue. How to enable the 4K resolution for IMX412 that we bought for $349 USD from you?

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB | Contributors