Open junocomp opened 2 years ago
Not sure what exactly "Phosh (wayland)" is, sounds like it is a Wayland-protocol-based window-manager?
Your gstreamer pipeline uses ximagesink
, which is used in the context of X and X11 based window-manager.
Can you first try e.g. autovideosink
or use waylandsink
? Then you won't see the Could not initialise X output
error message anylonger.
(so, instead of setting the ENV variable DISPLAY
you likely would need to export XDG_RUNTIME_DIR
)
waylandsink
got rid of the error but I am still facing another one.
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.002329428
Setting pipeline to NULL ...
Freeing pipeline ...
Is the following still your pipeline?
sudo -E gst-launch-1.0 icamerasrc device-name=ov13858-uf af-mode=2 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! waylandsink
Are you sure your camera can provide raw NV12-format?
Which version if icamerasrc and IPU are you using, which Linux, which kernel do you use - can you provide more details about your environment and how the camera is integrated? Which camera do you actually use, how is it integrated and connected?
Can you run sample-pipelines listed under for instance "https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api", like creating test-patters?
Was it required to update/modify the underlying IPU-camera-HAL config like "libcamhal_profile.xml" (see e.g. "https://github.com/intel/ipu6-camera-hal/blob/main/config/linux/ipu6/libcamhal_profile.xml"), or adding your own camera-sensor specific profile like under "https://github.com/intel/ipu6-camera-hal/tree/main/config/linux/ipu6/sensors"?
I am using Manjaro.
Kernel: 5.19.8-1-MANJARO
I have firmware, icamerasrc and hal from jsl_penguin_peak
CPU Intel Celeron N5100
I haven't added any additional sensors. I did notice on Windows my rear camera is called GC5035, but I am not sure if this is related to IPU6
Hmm, don't know "Manjaro" or don't understand your HW, how the camera is connected (MIPI-CSI?), camera-spec.
Is there a way to test the camera without icamerasrc
first to confirm the spec, format/color-space, supported resolutions, framerate?
(UVC? v4lv2?)
I think I know why I may be having this issue. I compiled the master from ipu6-drivers. When compiling the jsl_pengin_peak I get an error.
https://github.com/intel/ipu6-drivers/issues/37
If someone can help me with that issue first, icamerasrc may work after all.
Running on Jaspelake on Manjaro with Phosh (wayland)