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

Graphics, sound and multimedia • Re: TC358743 on rpi5

$
0
0
hi

my configuratio is a RPi5 8Gb with Bookwarm and a c790 module

v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=/home/pi/Downloads/1080P50EDID.txt --fix-edid-checksums
v4l2-ctl -d /dev/v4l-subdev2 --set-dv-bt-timings query

media-ctl -d /dev/media0 -r

media-ctl -d /dev/media0 -l ''\''csi2'\'':4 -> '\''rp1-cfe-csi2_ch0'\'':0 [1]'
media-ctl -d /dev/media0 -V ''\''csi2'\'':0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'
media-ctl -d /dev/media0 -V ''\''csi2'\'':4 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'

v4l2-ctl -v width=1920,height=1080,pixelformat=RGB3

gst-launch-1.0 -vvvv v4l2src ! video/x-raw,framerate=50/1,format=RGB ! capssetter caps="video/x-raw,framerate=50/1,format=BGR" ! kmssink sync=false

LOG

Code:

pi@raspberrypi:~ $ gst-launch-1.0 -vvvv v4l2src ! video/x-raw,framerate=50/1,format=RGB ! capssetter caps="video/x-raw,framerate=50/1,format=BGR" ! kmssink sync=falseSetting pipeline to PAUSED ...Pipeline is live and does not need PREROLL .../GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080Pipeline is PREROLLED ...Setting pipeline to PLAYING ...New clock: GstSystemClock/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, framerate=(fraction)50/1, format=(string)RGB, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGB/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, framerate=(fraction)50/1, format=(string)RGB, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGB/GstPipeline:pipeline0/GstCapsSetter:capssetter0.GstPad:src: caps = video/x-raw, framerate=(fraction)50/1, format=(string)BGR, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGB/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, framerate=(fraction)50/1, format=(string)BGR, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGB/GstPipeline:pipeline0/GstCapsSetter:capssetter0.GstPad:sink: caps = video/x-raw, framerate=(fraction)50/1, format=(string)RGB, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGB/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, framerate=(fraction)50/1, format=(string)RGB, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, colorimetry=(string)sRGBERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.Additional debug info:../subprojects/gst-plugins-good/sys/v4l2/gstv4l2src.c(958): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:Buffer pool activation failedExecution ended after 0:00:00.017564118Setting pipeline to NULL ...ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.Additional debug info:../subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:streaming stopped, reason not-negotiated (-4)Freeing pipeline ...
config.txt

Code:

hdmi_group:1=1hdmi_mode:1=31# Uncomment this to enable infrared communication.dtoverlay=gpio-ir,gpio_pin=17# Disable Ethernet LEDsdtparam=eth_led0=14dtparam=eth_led1=14# Disable the PWR LEDdtparam=pwr_led_trigger=default-ondtparam=pwr_led_activelow=off# Disable the Activity LEDdtparam=act_led_trigger=default-ondtparam=act_led_activelow=off# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Enable audio (loads snd_bcm2835)#dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=rpivid-v4l2dtoverlay=vc4-kms-v3d,cma-512max_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Run in 64-bit modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[all]dtoverlay=tc358743,4lane=1dtoverlay=tc358743-audio
I also tried with libcamera

sudo apt install libcamera-v4l2
and then putting libcamerify before gst-launch-1.0 but nothing change

Statistics: Posted by Bundan — Fri Feb 09, 2024 2:22 am



Viewing all articles
Browse latest Browse all 8035

Trending Articles