Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
To: Tim Surber <me@timsurber.de>,
	Shreeya Patel <shreeya.patel@collabora.com>,
	heiko@sntech.de, mchehab@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com,
	sboyd@kernel.org, p.zabel@pengutronix.de,
	jose.abreu@synopsys.com, nelson.costa@synopsys.com,
	shawn.wen@rock-chips.com, nicolas.dufresne@collabora.com,
	hverkuil@xs4all.nl, hverkuil-cisco@xs4all.nl
Cc: kernel@collabora.com, linux-kernel@vger.kernel.org,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org
Subject: Re: [PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller
Date: Tue, 6 Aug 2024 14:58:08 +0300	[thread overview]
Message-ID: <929d2f50-6b0e-4d1e-a6d3-482d615bd06a@collabora.com> (raw)
In-Reply-To: <6f5c4ebb-84ab-4b65-9817-ac5f6158911f@timsurber.de>

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


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  parent reply	other threads:[~2024-08-06 11:58 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19 12:40 [PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller Shreeya Patel
2024-07-19 12:40 ` [PATCH v4 1/4] MAINTAINERS: Add entry for Synopsys DesignWare HDMI RX Driver Shreeya Patel
2024-07-19 12:47   ` Christopher Obbard
2024-07-19 12:40 ` [PATCH v4 2/4] dt-bindings: media: Document bindings for HDMI RX Controller Shreeya Patel
2024-07-19 22:10   ` Rob Herring (Arm)
2024-07-25  9:46     ` Shreeya Patel
2024-07-20 10:44   ` Johan Jonker
2024-07-22 13:53     ` Shreeya Patel
2024-07-23 11:16       ` Johan Jonker
2024-07-23 17:28         ` Sebastian Reichel
2024-07-24 13:20           ` Johan Jonker
2024-07-25  6:35             ` Krzysztof Kozlowski
2024-07-25  6:38               ` Krzysztof Kozlowski
2024-07-25  7:58             ` AngeloGioacchino Del Regno
2024-07-25 14:10             ` Sebastian Reichel
2024-08-25  7:03   ` Krzysztof Kozlowski
2024-08-26  8:19   ` Michael Riesch
2024-07-19 12:40 ` [PATCH v4 3/4] arm64: dts: rockchip: Add device tree support " Shreeya Patel
2024-07-19 12:40 ` [PATCH v4 4/4] media: platform: synopsys: Add support for hdmi input driver Shreeya Patel
2024-07-20 11:33   ` Johan Jonker
2024-07-22 14:19     ` Shreeya Patel
2024-07-20 23:43   ` George Stark
2024-07-21  8:51   ` Hans Verkuil
2024-07-25  9:56     ` Shreeya Patel
2024-07-21 15:06   ` Markus Elfring
2024-07-23  8:48   ` Hans Verkuil
2024-09-23 22:24     ` Dmitry Osipenko
2024-09-23 22:36     ` Dmitry Osipenko
2024-07-22 19:39 ` hoff.benjamin.k
2024-07-22 20:26   ` Shreeya Patel
2024-08-03 23:57 ` [PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller Tim Surber
2024-08-05 17:02   ` Nicolas Dufresne
2024-08-06 11:58   ` Dmitry Osipenko [this message]
2024-08-06 20:37     ` Tim Surber
2024-08-06 21:17       ` Nicolas Dufresne
2024-08-14 10:22   ` Shreeya Patel
2024-08-24 23:03     ` Tim Surber
2024-08-28 22:13     ` Tim Surber
2024-08-29 10:03       ` Shreeya Patel
2024-09-06 20:02         ` Nicolas Dufresne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=929d2f50-6b0e-4d1e-a6d3-482d615bd06a@collabora.com \
    --to=dmitry.osipenko@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=hverkuil@xs4all.nl \
    --cc=jose.abreu@synopsys.com \
    --cc=kernel@collabora.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mchehab@kernel.org \
    --cc=me@timsurber.de \
    --cc=mturquette@baylibre.com \
    --cc=nelson.costa@synopsys.com \
    --cc=nicolas.dufresne@collabora.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=shawn.wen@rock-chips.com \
    --cc=shreeya.patel@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox