Skip to contentSkip to conversation

packagegroup-arago-gst: Disable vpe and ducati plugins

PATCH In review Ryan Eatmon 2 participants 7 messages May 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-gst: Disable vpe and ducati plugins

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

In the meantime, disable using these plugins that cause build errors.

---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
 "
 
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

Quoted 24 lines

In the meantime, disable using these plugins that cause build errors.

---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
 "
 
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
#2 lore raw
Quoted 11 lines · Denys Dmytriyenko
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

It's not that I missed it, but evn running ltsprep the recipes were being included and they fail to build. So something else must be going on to make them be included. Let me look into it.

I still need to understand why we did not see these build failures in kirkstone-wip. Because these errors are related to the version of gstreamer and the bbappends not being applied. And the only time these tests were turned off was under ltsprep... Odd.

Quoted 25 lines
Quoted 25 lines

In the meantime, disable using these plugins that cause build errors.

---
  .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
  "
 
  GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 
  RDEPENDS:${PN} = "\
      ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#3 lore raw
Quoted 15 lines · Ryan Eatmon
Quoted 11 lines · Denys Dmytriyenko
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

Quoted 8 lines

It's not that I missed it, but evn running ltsprep the recipes were being included and they fail to build. So something else must be going on to make them be included. Let me look into it.

I still need to understand why we did not see these build failures in kirkstone-wip. Because these errors are related to the version of gstreamer and the bbappends not being applied. And the only time these tests were turned off was under ltsprep... Odd.

I think you got it in reverse: "mmip" is being completely disabled for default "core" builds, but not for "ltsprep" ones, hence you see the breakage there.

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

In the meantime, disable using these plugins that cause build errors.

---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
 "
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
#4 lore raw
Quoted 20 lines · Denys Dmytriyenko
Quoted 19 lines · Ryan Eatmon
Quoted 11 lines · Denys Dmytriyenko
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

It's not that I missed it, but evn running ltsprep the recipes were being included and they fail to build. So something else must be going on to make them be included. Let me look into it.

Quoted 7 lines
Quoted 4 lines

I still need to understand why we did not see these build failures in kirkstone-wip. Because these errors are related to the version of gstreamer and the bbappends not being applied. And the only time these tests were turned off was under ltsprep... Odd.

I think you got it in reverse: "mmip" is being completely disabled for default "core" builds, but not for "ltsprep" ones, hence you see the breakage there.

Ahhhh... gotcha... Yes. That is what is missing. I'll remove this patch and add that to the ltsprep brand file.

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

In the meantime, disable using these plugins that cause build errors.

---
  .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
  "
  GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
  RDEPENDS:${PN} = "\
      ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#5 lore raw
Quoted 28 lines · Ryan Eatmon
Quoted 25 lines · Denys Dmytriyenko
Quoted 23 lines · Ryan Eatmon
Quoted 11 lines · Denys Dmytriyenko
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

It's not that I missed it, but evn running ltsprep the recipes were being included and they fail to build. So something else must be going on to make them be included. Let me look into it.

I still need to understand why we did not see these build failures in kirkstone-wip. Because these errors are related to the version of gstreamer and the bbappends not being applied. And the only time these tests were turned off was under ltsprep... Odd.

Quoted 5 lines
Quoted 2 lines

I think you got it in reverse: "mmip" is being completely disabled for default "core" builds, but not for "ltsprep" ones, hence you see the breakage there.

Ahhhh... gotcha... Yes. That is what is missing. I'll remove this patch and add that to the ltsprep brand file.

What about this one:
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

In the meantime, disable using these plugins that cause build errors.

---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
 "
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
 RDEPENDS:${PN} = "\
     ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
#6 lore raw
Quoted 29 lines · Denys Dmytriyenko
Quoted 28 lines · Ryan Eatmon
Quoted 25 lines · Denys Dmytriyenko
Quoted 23 lines · Ryan Eatmon
Quoted 11 lines · Denys Dmytriyenko
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org

The code for the plugins uses dma allocation code that we add in with a patch. Theoretically we no longer need that code and can use some upstreamed dma buffer allocation code. The work to rewrite these plugins to support the newer gstreamer versions needs to be scheduled.

I'm guessing you are missing this in "ltsprep" and other brandings:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/include/branding-core.inc#n15

But it is a more broader approach, so maybe surgically disabling individual components and re-enabling "mmip" machine feature in "core" is better...

It's not that I missed it, but evn running ltsprep the recipes were being included and they fail to build. So something else must be going on to make them be included. Let me look into it.

I still need to understand why we did not see these build failures in kirkstone-wip. Because these errors are related to the version of gstreamer and the bbappends not being applied. And the only time these tests were turned off was under ltsprep... Odd.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I think you got it in reverse: "mmip" is being completely disabled for default "core" builds, but not for "ltsprep" ones, hence you see the breakage there.

Ahhhh... gotcha... Yes. That is what is missing. I'll remove this patch and add that to the ltsprep brand file.

What about this one:
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/

Yes. It falls into the same bucket. Turning off mmip in ltsprep will mean that patch can be removed as well.

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

In the meantime, disable using these plugins that cause build errors.

---
  .../recipes-core/packagegroups/packagegroup-arago-gst.bb      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -2
index e8a639bd..2184ab58 100644
@@ -27,8 +27,8 @@ GSTREAMER_DEPS:append:dra7xx = " \
  "
  GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
-GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
+#GSTREAMER_ACCEL_MM:omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}"
+#GSTREAMER_ACCEL_MM:append:dra7xx = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}"
  RDEPENDS:${PN} = "\
      ${GSTREAMER_DEPS} \
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS