Thread (40 messages) 40 messages, 15 authors, 2024-09-23

Re: [PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller

flat view

From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Date: 2024-08-06 11:59:04
Also in: linux-media, linux-rockchip, lkml

On 8/4/24 02:57, Tim Surber wrote:
Hi Shreeya,

I tested your patch and noticed problems when using 3840x2160 resolution
at  60fps.

For my testing I connected an HDMI source and set it to 4k60fps. I
verified that this source and the cables work on a screen at this
resolution.

Using
'v4l2-ctl --verbose -d /dev/video1
--set-fmt-video=width=3840,height=2160,pixelformat='NV12'
--stream-mmap=4 --stream-skip=3 --stream-count=100 --stream-poll'
I get the video format output, but not the periodic output which shows
the fps.

Using
'GST_DEBUG=4 gst-launch-1.0 -v v4l2src device=/dev/video1 !
fpsdisplaysink text-overlay=false video-sink="fakevideosink"'
I get the following error message:

(gst-launch-1.0:3231): GStreamer-CRITICAL **: 01:34:39.137:
gst_memory_resize: assertion 'size + mem->offset + offset <=
mem->maxsize' failed
0:00:03.489382529  3231 0xffffa0000b90 WARN  v4l2bufferpool
gstv4l2bufferpool.c:2209:gst_v4l2_buffer_pool_process:<v4l2src0:pool0:src> Dropping truncated buffer, this is likely a driver bug.
0:00:03.489421906  3231 0xffffa0000b90 WARN  bufferpool
gstbufferpool.c:1252:default_reset_buffer:<v4l2src0:pool0:src> Buffer
0xffff98008e80 without the memory tag has maxsize (8294400) that is
smaller than the configured buffer pool size (12441600). The buffer will
be not be reused. This is most likely a bug in this GstBufferPool subclass


Everything works with 4k30fps or 1080p 60fps. The hardware should
support 4k60fps.
Please do `echo 3 > /sys/module/synopsys_hdmirx/parameters/debug` and
show the kernel log of capturing 4k@60 with v4l2-ctl.

-- 
Best regards,
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help