271 Commits

Author SHA1 Message Date
Matt Madison
21623405ce l4t-graphics-demos: make buildable with gcc 15
via adding -std=gnu17 to the compiler flags.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-05-01 09:12:28 -07:00
Kurt Kiefer
ba4e5cfbb9 tegra-udrm-gbm: update for compatibility with egl-gbm 1.1.1+
This version emits a different internal name so it passes a check
added to egl-gbm at version 1.1.1. This does not alter functionality
in any way.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2025-04-30 06:52:14 -07:00
Ilies CHERGUI
820100bd70 meta: update recipes R36.4.0/JetPack 6.1 -> 36.4.3/JetPack 6.2
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2025-04-19 04:26:13 -07:00
Matt Madison
11b8eeb2e7 libglvnd-tegra: upgrade v1.5.0 -> v1.7.0
Signed-off-by: Matt Madison <matt@madison.systems>
2025-04-18 07:07:40 -07:00
Matt Madison
6036255215 egl-gbm: upgrade 1.1.0 -> 1.1.2.1
This version provides the ICD JSON file, so we can remove the
additions we had for providing it.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-04-18 06:45:31 -07:00
Kurt Kiefer
2842745dec libdrm: move dependency on nvidia-drm out of weston-init
The nvidia-drm kernel module and associated load config are needed
by libdrm but were only getting picked up by weston-init.

There are valid configurations (headless, egl-only) that need
libdrm but do not pull in weston, so the runtime recommendation
is moved to the libdrm bbappend.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2025-01-09 05:55:45 -08:00
Matt Madison
55708dbcda l4t-graphics-demos: refresh weston-dmabuf-formats build patch
for the upgrade of weston to version 14.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-11-29 04:14:11 -08:00
Matt Madison
78a1abfd5a l4t-graphics-demos: refresh build patches for L4T R36.4.0
* Updates for wayland-related changes
* Drop NV12 blocklinear support in weston-dmabuf-formats due to missing
  source file

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
aa7546af8b meta: update recipes R36.3.0/JetPack 6 -> R36.4.0/JetPack 6.1
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
ba9e09c980 egl-gbm: correct capitalization of Pending in Upstream-Status in patch
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-30 08:40:33 -07:00
Matt Madison
725a447d82 egl-gbm: correct capitalization of Status in Upstream-Status tag in patch
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-30 07:40:38 -07:00
Kurt Kiefer
bbc0362ea3 egl-gbm: fix for kms display-only rendering
The tegra-drm + nvidia-drm setup on r36 is tenuous with respect
to egl-gbm (and particularly calls to eglGetPlatformDisplayEXT with
EGL_PLATFORM_GBM_KHR). It was only working somewhat by chance due
to the order that devices are probed and then made available to
readdir().

This change adds a patch to egl-gbm to provide a fallback in the
case where eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_KHR) might have
otherwise failed for no good reason, thus eliminating the need for
workarounds to enforce ordering of the modules loading.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-08-30 06:16:28 -07:00
Khem Raj
63ef5b0faf mesa,mesa-gl: Rename bbappend to match oe-core
OE-core has dropped the version number from these recipe names

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-23 06:31:29 -07:00
Khem Raj
4d6e2ffb75 recipes: Add missing Patch-Status
Its now mandatory field to have in patch header with latest oe-core [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=b7fb91c797ab37a029b8dd1eb7277a7468bc97ed

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-13 04:24:22 -07:00
Khem Raj
d8f3d990d0 egl-wayland: Fix build with clang
Clang19 reports more errors, fixed thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-13 04:24:22 -07:00
Matt Madison
ae07bbea11 l4t-graphics-demos: update wayland support to use xdg-shell
Weston removed support for the wl_shell protocol in version 11.0. Clients
are expected to use the xdg-shell extension instead, so convert
the nvgldemo wayland adapter to do that.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
b1da318c6c meta: update L4T_DEB_DEFAULT_VERSION and all L4T sha256 checksums
NVIDIA "refreshed" all the L4T BSP packages for R36.3.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
6a0b861b5a l4t-graphics-demos: refresh patches for weston 13
Note that libweston-desktop APIs were moved into libweston.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
069ee3b8ad egl-wayland: update to latest
and rename the recipe as '_git', setting PV in the recipe, to simplify
future updates.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
a59ace7897 weston-init: add bbappend
weston-init is already a machine-specific package, so it's a good place to
mention our tegra-specific runtime dependencies (well, recommendations)
for running Weston.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
db466146df weston: drop weston 10.0.2 recipe and bbappend
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
617aa8c815 meta: update recipes R35.5.0/JetPack 5 -> R36.3.0/JetPack 6
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
9d4c380c46 xwayland: update bbappend for version 24.1
The new version drops eglstream support, so that's removed from
the tegra-specific configuration.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:54:23 -07:00
Matt Madison
614c2510a9 meta: update all recipes for the UNPACKDIR transition
* No more 'S = "${WORKDIR}"', which is not permitted
* All ${WORKDIR} references for local files updated to ${UNPACKDIR}
* Custom do_unpack for the recipes that are in the public_sources
  archive in the BSP adjusted for the new unpacking approach
* Some SRC_URIs updated with 'destsuffix=' parameters where needed

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:53:54 -07:00
lms-ts
921feafd9f Fix override syntax error in libglvnd-tegra
Signed-off-by: lms-ts <146951218+lms-ts@users.noreply.github.com>
2024-03-21 04:57:24 -05:00
Matt Madison
92cfcc5b6a recipes-graphics: update R35.4.1 -> R35.5.0
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-03-17 07:40:13 -07:00
Matt Madison
11b401397f cairo: drop bbappend
cairo has dropped its experimental GL backends, so we can
drop the bbappend we had for configuring it correctly for the
tegra platforms.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-02-04 07:04:36 -08:00
Khem Raj
3fd54413c3 weston: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-17 08:01:45 -08:00
Khem Raj
fdda1d98a3 l4t-graphics-demos: Add missing dep on virtual/libgbm
This helps in linking it correctly when using wayland+x11 distro
features.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-17 08:01:45 -08:00
Matt Madison
d8c3f891b1 vulkan: drop bbappends for vulkan-loader and vulkan-tools
While NVIDIA's Vulkan support really does require OpenGL
and X11 support, modifying the builds of these packages for
the tegra platforms to turn off wayland support causes
other build failures (e.g., gtk4).

Adding bbappends for every other recipe that might try calling
on Vulkan's Wayland APIs isn't practical, so folks will just
have to discover the incompatibility at runtime.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-12-11 04:56:50 -08:00
Matt Madison
ceba447b2b xwayland: rename bbappend for 23.2.x
The recipe modifications appear to be compatible with the
new version.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-10-06 13:39:41 -07:00
Matt Madison
8a9ba2aa69 l4t-graphics-demos: update R35.3.1 -> R35.4.1
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2023-09-02 05:04:12 -07:00
Matt Madison
d90c9aea71 meta: update BSP recipes from L4T R35.3.1 -> R35.4.1
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2023-09-02 05:04:12 -07:00
Jose Quaresma
3d5bf300cf xwayland: 22.1 -> 23.1
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-04-14 05:06:24 -07:00
Matt Madison
07a46ecca4 meta: update recipe names and checksums for L4T R35.3.1/JP5.1.1
Signed-off-by: Matt Madison <matt@madison.systems>
2023-04-09 04:23:07 -07:00
Kurt Kiefer
1902ff8381 tegra-udrm-gbm: update to version 1.1.0
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2023-02-08 03:14:00 -08:00
Matt Madison
e27f610fa4 xserver-xorg: update PACKAGECONFIG
We don't have to disable dri2 or glamor support any
longer.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
4cc19319d2 mesa: switch to using glvnd PACKAGECONFIG setting
Support for enabling glvnd support in mesa landed in
OE-Core master a while back, so we can take advantage
of that here.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Kurt Kiefer
eedc637209 weston: drop now unneeded dmabuf sync patch
This patch was required to fix explicity buffer synchronization,
such as that used by weston-simple-dmabuf-egl. The standard sync
methods now work properly, so we don't need this patch anymore.

Note that in order to run weston-simple-dmabuf-egl, the default drm
render node can't be used. The following will work (where card0 is
the drm display device corresponding with the integrated graphics):

weston-simple-dmabuf-egl -d /dev/dri/card0

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2023-02-08 03:14:00 -08:00
Ilies CHERGUI
6f52b126a8 tegra-udrm-gbm: remove tegra-libraries-gbm
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2023-02-08 03:14:00 -08:00
Matt Madison
ef17d698bd recipes-graphics: update BSP recipes to R35.2.1
Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
e83c4ce7b5 recipes-bsp: update recipes to R35.2.1
Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
ec7bdfb72e l4t-graphics-demos: disable parallel make
Builds with the recently-introduced make 4.4 are broken, with a race
between building and using the internal libraries (particularly
libnvtexfont2.a).  The makefile rules don't look completely race-proof,
which is probably the root cause, although it's possible there's a bug
in make.  For now, we'll just disable parallel builds of this recipe.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-11-25 05:07:41 -08:00
Matt Madison
f52f402d0f weston: temporarily import recipe for weston 10.0.2
To keep things building until we can sort out the weston 11
changes.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-11-06 08:10:46 -08:00
Matt Madison
46c1b1a714 libglvnd: updates to accommodate recipe in meta-oe
A recipe for libglvnd has landed in meta-oe with a version
newer than our copy here. We need to handle builds with and
without meta-oe in the layer set, so update to work like we
do with libv4l2/v4l-utils:

* Rename our recipe to libglvnd-tegra, restricted to tegra
  machines only.  Add appropriate PROVIDES/RPROVIDES so users
  can still reference just 'libglvnd', update it to 1.5.0 to
  match the meta-oe recipe, and fix a typo.

* Add a bbappend for libglvnd under external/openembedded-layer.
  The bbappend applies the tegra-specific build settings we need
  and makes the packages built tegra-specific.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-10-31 05:53:06 -07:00
Matt Madison
17efc65227 recipes-graphics: update recipes for JetPack 5.0.2 (rev. 1)
* Update sha256 checksums
* Switch to using functions from the l4t_* bbclass for forming
  package names/versions

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-08 09:44:08 -07:00
Ilies CHERGUI
83cf5c9bf9 weston: add runtime dependency on nvidia-drm-loadconf
for tegra234 (Orin) systems only.

Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2022-09-05 13:54:07 -07:00
Kurt Kiefer
5eb059d87d mesa: libgbm: add rdepends on egl-gbm
egl-gbm is required to use gbm along with egl on tegra devices.
This was an rdep on weston, but other generic gbm clients (like
kmscube) that want to use egl will need it as well. It's not
strictly required to make gbm itself work, but not being able to
initialize egl without it would be a common and unexpected surprise.

If a tegra platform is pulling in mesa to get libgbm, include this.

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
2022-09-05 13:54:07 -07:00
Kurt Kiefer
143b58df72 egl-gbm: drop unneeded workarounds patch
With updated egl in L4T 35.1.0, we no longer have to workaround
missing support for EGL_NV_stream_consumer_eglimage and broken
eglQueryStreamConsumerEventNV.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2022-09-05 13:54:07 -07:00
Kurt Kiefer
a99117d08b Add provider for virtual/tegra-gbm-backend
Both the tegra-udrm-gbm and tegra-libraries-gbm-backend work to
provide buffers for libgbm (they are gbm backends).

This change adds a provider so that either implementation can be
chosen, preferring NVIDIA's official binary version.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2022-09-05 13:54:07 -07:00