All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: Nicolas Dufresne <nicolas@ndufresne.ca>
Cc: "jernej.skrabec" <jernej.skrabec@gmail.com>,
	linux-media <linux-media@vger.kernel.org>,
	kernel <kernel@collabora.com>, Chris Healy <cphealy@gmail.com>
Subject: Re: hantro: g2: Does the postprocessor needs 32byte aligned width ?
Date: Mon, 31 Jan 2022 08:33:04 -0600	[thread overview]
Message-ID: <CAHCN7xKHPPDPeN2q3uD8b_Wzs_6KrO+_Qh2zHh4id8YZJJjPcw@mail.gmail.com> (raw)
In-Reply-To: <3fd135621147ae938c357931579ec1110c935afa.camel@ndufresne.ca>

On Mon, Jan 31, 2022 at 8:29 AM Nicolas Dufresne <nicolas@ndufresne.ca> wrote:
>
> Le vendredi 28 janvier 2022 à 12:43 -0600, Adam Ford a écrit :
> > On Fri, Jan 28, 2022 at 12:35 PM Nicolas Dufresne <nicolas@ndufresne.ca> wrote:
> > >
> > > Hi Adam,
> > >
> > > Jernej and I had to deal with user report which show a stride issue with the G2
> > > on Allwinner H6.
> > >
> > > https://forum.libreelec.tv/thread/17565-nightly-images-for-a64-h3-h5-h6-and-r40-boards/?postID=166086#post166086
> > >
> > > We quickly found that the stride alignment set to 16 needs to be 32. Though we
> > > noticed that this is only needed when using the G2 postprocessor (NV12), while
> > > it worked fine with tiles (NV12_4L4).
> >
> > Out of curiosity, would it hurt to make the G2 alignment to be 32 even
> > if it's not required?
>
> Aligning tile to 32 can be complex, I don't think the code is ready to handle
> padded tiled buffers. About the post-prob, I'd like to first understand why is
> this.
>
> >
> > >
> > > We were wondering if you, or anyone here on the list could test this on IMX8MQ
> > > and IMX8MM. We'd like know if this is specific to the older G2 on H6. To trigger
> > > this, you need a video with a resolution like 1552x1080 as used in the report.
> > > We can help you get one if needed.
> >
> > If you have a video you want me to try and instructions on how you
> > want me to test it, I can give it a shot. The imx8mm doesn't have a
> > video display driver yet, but I think the imx8mq does.  I am not as
> > familiar with that board as I am with the 8mm.  The testing I have
> > done to date has only been done with fluster.
>
> If you have fluster/gstreamer ready, and some display, I suppose you can try and
> kmssink (worked for me with the vendor display driver). To get the same video,
> you can probably download temporarily that youtube video with youtube-dl,
> careful not to share the file, this is copyrighted content, but it ease testing
> and debugging, so I suspect it falls in fair use (INAL).
>
> youtube-dl -f 248 https://www.youtube.com/watch?v=TUVcZfQe-Kw
> gst-launch-1.0 filesrc location="Dua Lipa - Levitating Featuring DaBaby (Official Music Video)-TUVcZfQe-Kw.webm" ! parsebin ! v4l2slvp9dec ! videoconvert ! kmssink

Sounds good.  I have a few tasks to do before I can get back to this,
but I'll try to do it later today or tonight.

adam
>
> regards,
> Nicolas
>
> >
> > adam
> >
> > >
> > > regards,
> > > Nicolas
>

  reply	other threads:[~2022-01-31 14:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 18:35 hantro: g2: Does the postprocessor needs 32byte aligned width ? Nicolas Dufresne
2022-01-28 18:43 ` Adam Ford
2022-01-31 14:29   ` Nicolas Dufresne
2022-01-31 14:33     ` Adam Ford [this message]
2022-02-02 11:01       ` Adam Ford
2022-02-02 13:39         ` Nicolas Dufresne
2022-02-03 20:32           ` Adam Ford
2022-02-03 22:10             ` 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=CAHCN7xKHPPDPeN2q3uD8b_Wzs_6KrO+_Qh2zHh4id8YZJJjPcw@mail.gmail.com \
    --to=aford173@gmail.com \
    --cc=cphealy@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=kernel@collabora.com \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.