All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Devarsh Thakkar <devarsht@ti.com>
Cc: r-ravikumar@ti.com, meta-arago@lists.yoctoproject.org,
	Ryan Eatmon <reatmon@ti.com>,
	j-choudhary@ti.com, a-bhatia1@ti.com, b-brnich@ti.com, "Nori,
	Sekhar" <nsekhar@ti.com>,
	g-gupta@ti.com, Andrew Davis <afd@ti.com>,
	Nishanth Menon <nm@ti.com>, "Bajjuri, Praneeth" <praneeth@ti.com>,
	Sai Sree Kartheek Adivi <s-adivi@ti.com>,
	"Raghavendra, Vignesh" <vigneshr@ti.com>,
	"Luthra, Jai" <j-luthra@ti.com>,
	rs@ti.com
Subject: Re: [meta-arago][master/kirkstone][PATCH] conf: arago: Add flag to enable kmssink plugin
Date: Tue, 23 May 2023 13:39:09 -0400	[thread overview]
Message-ID: <20230523173909.GC9226@denix.org> (raw)
In-Reply-To: <25262432-cbf2-f032-75ab-3c125cccc9bc@ti.com>

On Tue, May 23, 2023 at 12:12:01PM +0530, Devarsh Thakkar wrote:
> Hi Denys,
> 
> Thanks for the reply.
> On 23/05/23 04:56, Denys Dmytriyenko wrote:
> > https://patchwork.yoctoproject.org/project/arago/patch/20230522175821.510236-1-b-brnich@ti.com/
> > 
> > If you plan to make major changes to gstreamer or other upstream components, 
> > I'd recommend submitting them upstream to freedesktop. That's the best long 
> > term approach!
> >
> > As meta-ti is a BSP layer, it must avoid heavily modifying generic upstream 
> > components. If there are HW-specific changes necessary, those must be done in 
> > a Yocto Project compliant way - see everything related to Mesa PVR changes 
> > done lately.
> > 
> 
> Upstream looks like a long pole and I suggested this since I see some vendors
> having this in BSP layer [1]
> 
> Although some vendors do that in distro layer too  and using gstreamer fork
> repos [2] as you suggested.
> 
> I am not aware of mesa PVR changes if you/someone could share some reference
> link for the same it would help.
> 
> [1]
> https://git.yoctoproject.org/meta-raspberrypi/tree/recipes-multimedia/gstreamer?h=kirkstone
> 
> [2] https://github.com/Xilinx/meta-petalinux/tree/rel-v2023.1/recipes-multimedia

Well, [1] is a community-driven layer for a vendor platform, but said vendor 
is not at all involved or has any control over it.

Unlike meta-ti, neither [1] nor [2] are certified "Yocto Project Compatible" 
layers, AFAIK.

There are 2 levels of branding and compliance - "Yocto Project Participant" 
and "Yocto Project Compatible" with the latter one requiring more formal 
review and validation process. There are guidelines to follow, and BSP layers 
have the most strict set of rules in order to gain the "Compatible" status - 
meta-ti is among the few of such layers from the very beginning...


> > On Mon, May 22, 2023 at 11:39:31AM +0530, Devarsh Thakkar wrote:
> >> Hi Denys,
> >>
> >> We have a query on location of gstreamer bbappends actually as below :
> >>
> >> As I understand meta-ti is TI's BSP layer and meta-arago is arago distro
> >> layer, if someone want to use TI's BSP with some other distro in place of
> >> arago like poky, then I assume they should be able to take meta-ti and poky
> >> yocto layers. In that case to give them same base, shouldn't the gstreamer
> >> bbappends be present in meta-ti layer itself ?
> >>
> >> Could you please share your opinion on this.
> >>
> >> Regards
> >> Devarsh
> >>
> >> On 18/05/23 23:31, Denys Dmytriyenko wrote:
> >>> On Thu, May 18, 2023 at 06:56:36PM +0530, Rahul T R via lists.yoctoproject.org wrote:
> >>>> Enable building kmssink plugin in gstreamer1.0-plugins-bad
> >>>>
> >>>> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> >>>> ---
> >>>>  meta-arago-distro/conf/distro/arago.conf | 3 +++
> >>>>  1 file changed, 3 insertions(+)
> >>>>
> >>>> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
> >>>> index 379b1d44..e32259a9 100644
> >>>> --- a/meta-arago-distro/conf/distro/arago.conf
> >>>> +++ b/meta-arago-distro/conf/distro/arago.conf
> >>>> @@ -113,6 +113,9 @@ PACKAGECONFIG:append:pn-openssl = " cryptodev-linux"
> >>>>  # Enable GST_TRACER logging in gstreamer
> >>>>  PACKAGECONFIG:append:pn-gstreamer1.0 = " tracer-hooks"
> >>>>  
> >>>> +# Enable kmssink in gstreamer
> >>>> +PACKAGECONFIG:append:pn-gstreamer1.0-plugins-bad = " kms"
> >>>
> >>> FWIW, corresponding bbappend also sets this option, but it needs updating to 
> >>> the current gstreamer version:
> >>>
> >>> https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%25.bbappend#n3
> >>>
> >>>
> >>>>  # Disable pulseaudio routing in alsa by default
> >>>>  PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio"
> >>>>  RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"
> >>>> -- 
> >>>> 2.17.1


  reply	other threads:[~2023-05-23 17:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-18 13:26 [meta-arago][master/kirkstone][PATCH] conf: arago: Add flag to enable kmssink plugin Rahul T R
2023-05-18 18:01 ` Denys Dmytriyenko
2023-05-18 19:42   ` Ryan Eatmon
2023-05-18 20:16     ` Brnich, Brandon
2023-05-22  6:09   ` Devarsh Thakkar
2023-05-22 23:26     ` Denys Dmytriyenko
2023-05-23  6:42       ` Devarsh Thakkar
2023-05-23 17:39         ` Denys Dmytriyenko [this message]
2023-05-31 18:58   ` Rahul T R
2023-06-02 12:38     ` Denys Dmytriyenko
2023-05-18 20:14 ` Brnich, Brandon

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=20230523173909.GC9226@denix.org \
    --to=denis@denix.org \
    --cc=a-bhatia1@ti.com \
    --cc=afd@ti.com \
    --cc=b-brnich@ti.com \
    --cc=devarsht@ti.com \
    --cc=g-gupta@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=j-luthra@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=nm@ti.com \
    --cc=nsekhar@ti.com \
    --cc=praneeth@ti.com \
    --cc=r-ravikumar@ti.com \
    --cc=reatmon@ti.com \
    --cc=rs@ti.com \
    --cc=s-adivi@ti.com \
    --cc=vigneshr@ti.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 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.