Camera Configuration Issue - NvBufSurfaceFromFd Error on Jetson Orin Nano with Sony IMX296LQR-C

Hello guys, I am having problems configuring the camera and am getting the following error while trying to test it. Can you help me understand what might have happened?

Device: reComputer J3011 - Edge AI Computer with NVIDIA® Jetson™ Orin™ Nano 8GB (Support Super Mode)

Camera specifications:

Form factor: 38 × 38 × 19.8mm (29.5mm adapter and dust cap)
Weight: 34g (41g with adapter and dust cap)
Sensor: Sony IMX296LQR-C
Resolution: 1.58 megapixels (colour)
Sensor size: 6.3mm sensor diagonal
Pixel size: 3.45μm × 3.45μm
Output: RAW10
Back focus length of lens: Adjustable (12.5–22.4mm)
Lens standards: CS-Mount, C-Mount (C-CS adapter included)
IR cut filter: Integrated 1
Ribbon cable length: 150mm


Camera configured:

$ sudo v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0

vi-output, imx477 9-001a (platform:tegra-capture-vi:0):
/dev/video0

$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

Size: Discrete 3840x2160
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)


Error:

$ sudo gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! nvvidconv flip-method=2 ! xvimagesink
[sudo] password for main1:
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 1
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 59.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:702 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT
Additional debug info:
Argus Error Status
Execution ended after 0:00:07.958569822
Setting pipeline to NULL …
GST_ARGUS: Cleaning up
Freeing pipeline …

hello aurbac,

this is not supported by default,
had you apply camera driver and device tree update to enable this camera sensor?

as you can see… it’s reported to register IMX477 instead of IMX296.
please also gathering kernel init logs, ($ dmesg > klogs.txt) for checking device registration process.