conf: arago: Add flag to enable kmssink plugin
PATCH 1/1 conf: arago: Add flag to enable kmssink plugin
Enable building kmssink plugin in gstreamer1.0-plugins-bad
--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)
meta-arago-distro/conf/distro/arago.conf +3 -0
@@ -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" + # Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"
Signature · 1 line
2.17.1
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0
meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0@@ -113,6 +113,9 @@ PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" # Enable GST_TRACER logging in gstreamer PACKAGECONFIG:append:pn-gstreamer1.0 = " tracer-hooks"
Quoted 7 lines
meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 2 lines
meta-arago-distro/conf/distro/arago.conf +2
-0+# 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:
Agreed. This patch does not add much since the settings it already in place in the targetted recipe in arago.
The real issue is that the recipe that adds the kms setting is not being used because of the outdated version. We really need to get the gstreamer stuff updated in order for this to work.
Quoted 5 lines
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 42 lines
-----Original Message-----
From: Eatmon, Ryan <[email protected]>
Sent: Thursday, May 18, 2023 2:42 PM
To: Denys Dmytriyenko <[email protected]>; Ravikumar, Rahul <r- [email protected]>
Cc: [email protected]; Choudhary, Jayesh <j- [email protected]>; Bhatia, Aradhya <[email protected]>; Brnich, Brandon <[email protected]>; Thakkar, Devarsh <[email protected]>
Subject: Re: [meta-arago][master/kirkstone][PATCH] conf: arago: Add flag to enable kmssink pluginQuoted 1 line · Denys Dmytriyenko
On Thu, May 18, 2023 at 06:56:36PM +0530, Rahul T R via
Quoted 7 lines · lists.yoctoproject.org
Quoted 7 lines
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)Quoted 6 lines
meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = "
Quoted 6 lines
meta-arago-distro/conf/distro/arago.conf +0
-0@@ -113,6 +113,9 @@ PACKAGECONFIG:append:pn-openssl = "cryptodev-linux"
Quoted 11 lines
meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0# 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
Quoted 6 lines
Agreed. This patch does not add much since the settings it already in place in the targetted recipe in arago.
The real issue is that the recipe that adds the kms setting is not being used because of the outdated version. We really need to get the gstreamer stuff updated in order for this to work.
Apologies - just saw this response after I sent my response to this patch. I am working on cleaning up gstreamer for kirkstone. Should have patch in by end of this week or early next week.
Quoted 12 lines
Quoted 7 lines
Quoted 7 lines
meta-arago-distro/conf/distro/arago.conf +0
-1# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf" --2.17.1
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
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
Quoted 30 lines · Denys Dmytriyenko
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/
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.
Quoted 46 lines · Devarsh Thakkar
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
DevarshQuoted 30 lines · Denys Dmytriyenko
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Hi Denys,
Thanks for the reply.
Quoted 11 lines · Denys Dmytriyenko
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/
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
Regards
Devarsh
Quoted 48 lines · Devarsh Thakkar
Quoted 46 lines
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
DevarshQuoted 30 lines · Denys Dmytriyenko
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Quoted 22 lines · Devarsh Thakkar
Hi Denys,
Thanks for the reply.
Quoted 11 lines · Denys Dmytriyenko
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/
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.
Quoted 7 lines
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...
Quoted 47 lines
Quoted 47 lines · Devarsh Thakkar
Quoted 46 lines
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
DevarshQuoted 30 lines · Denys Dmytriyenko
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Hi Denys,
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0@@ -113,6 +113,9 @@ PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" # Enable GST_TRACER logging in gstreamer PACKAGECONFIG:append:pn-gstreamer1.0 = " tracer-hooks"
Quoted 6 lines
meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 117
Quoted 2 lines
meta-arago-distro/conf/distro/arago.conf +2
-0+# 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:
Since the gst-plugins-bad bbappend is to be removed as per the discussion in below thread
https://lists.yoctoproject.org/g/meta-arago/message/14441
Can this patch be merged
Quoted 5 lines
Quoted 5 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"Signature · 1 line
2.17.1
Regards
Rahul T R
Quoted 23 lines · Rahul T R
Hi Denys,
Quoted 20 lines · Denys Dmytriyenko
Quoted 12 lines · Rahul T R via lists.yoctoproject.org
Enable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago-distro/conf/distro/arago.conf +0
-0meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG:append:pn-openssl = " cryptodev-linux" · line 116
Quoted 4 lines
meta-arago-distro/conf/distro/arago.conf +2
-0@@ -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:
Quoted 5 lines
Since the gst-plugins-bad bbappend is to be removed as per the discussion in below thread
https://lists.yoctoproject.org/g/meta-arago/message/14441
Not sure what the conclusion of that discussion was, as changes haven't been merged - GST DRM allocator is still required, so gst-plugins-bad bbappend may have to stay.
Quoted 6 lines
Can this patch be merged
Quoted 4 lines
Quoted 4 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable pulseaudio routing in alsa by default PACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio" RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"
Hi Rahul,
Quoted 18 lines
-----Original Message-----
From: Ravikumar, Rahul <[email protected]>
Sent: Thursday, May 18, 2023 8:27 AM
To: [email protected]; Eatmon, Ryan <[email protected]>
Cc: Choudhary, Jayesh <[email protected]>; Bhatia, Aradhya <a- [email protected]>; Brnich, Brandon <[email protected]>; Thakkar, Devarsh <[email protected]>; Ravikumar, Rahul <[email protected]>
Subject: [meta-arago][master/kirkstone][PATCH] conf: arago: Add flag to enable kmssink pluginEnable building kmssink plugin in gstreamer1.0-plugins-bad
Signed-off-by Rahul T R <[email protected]>--- meta-arago-distro/conf/distro/arago.conf | 3 +++ 1 file changed, 3 insertions(+)meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +0
-0
Quoted 1 line
distro/conf/distro/arago.conf
I do not think this is the proper place to enable this plugin. We have a bbapend file that is located in meta-arago-extras/recipes-multimedia/gstreamer/ where we are updating the package config to build kmssink.
I have a patch that is responsible for updating these bbapend files as the multimedia and graphics team is cleaning up gstreamer for kirkstone.
Quoted 10 lines
PACKAGECONFIG:append:pn-gstreamer1.0 = " tracer-hooks"
meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +3
-0+# Enable kmssink in gstreamer +PACKAGECONFIG:append:pn-gstreamer1.0-plugins-bad = " kms" + # Disable pulseaudio routing in alsa by defaultPACKAGECONFIG:remove:pn-alsa-plugins = "pulseaudio"
RDEPENDS:pulseaudio-server:remove = "alsa-plugins-pulseaudio-conf"
--
2.17.1