Skip to content

wayland, mesa upgrades + bonus vulkan

Jussi Kukkonen openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v16 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6wayland: Upgrade 1.12.0 -> 1.13.0meta/recipes-graphics/wayland/wayland_1.13.0.bb+2 -20 replies
2/6weston: Upgrade 1.11.1 -> 2.0.0, separate libwestonmeta/recipes-graphics/wayland/weston/0001-Add-configuration-option-for-no-input-device.patch meta/recipes-graphics/wayland/weston/0001-configure.ac-Fix-wayland-protocols-path.patch meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +3 more+48 -1740 replies
3/6mesa: Upgrade 13.0.4 -> 17.0.0meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb meta/recipes-graphics/mesa/mesa.inc meta/recipes-graphics/mesa/mesa_17.0.0.bb+4 -140 replies
4/6mesa: Enable vulkan driver for intelmeta/recipes-graphics/mesa/mesa.inc+7 -20 replies
5/6vulkan: Add recipe for Vulkan common loadermeta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch meta/recipes-graphics/vulkan/vulkan_1.0.39.1.bb+139 -03 replies
6/6vkcube: Add recipe for minimal vulkan demometa/recipes-graphics/vulkan/vkcube/0001-Install-the-vkcube-binary.patch meta/recipes-graphics/vulkan/vkcube_git.bb+56 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] wayland, mesa upgrades + bonus vulkan

Several small changes since V1:
* vulkan: Added a file to LIC_FILES_CHECKSUM
* vulkan: Added upstream-status to patch
* vkcube: Fixed version to 0.1
* weston: Fixed the packaging bug I introduced (weston-xwayland package should only be created if the feature is on. Note that dropping PACKAGE_BEFORE_PN is fine: contents stay the same)

Original V1 cover letter follows:

These patches are in one set because the vulkan bits need both new weston and mesa, but please treat them as 3 groups for merge decision:

** Wayland, Weston upgrade:
Fairly standard upgrades. Weston now has a library package.

** Mesa upgrade:
This is a resend of an earlier patch: it is labeled a development release (I expect 17.0.1 in about a week but no guarantees of course). Only change since previous send is the xvmcsoftpipe removal. We will be fine with mesa 13 as well (it's only 4 months old) but I'm resending this as 17 seems good to me _and_ it enables the next 3 patches...

** Vulkan (3 last patches):
I'm not sure how much interest for vulkan in oe-core there is but now that it's possible, here are my patches for that (obviously only the mesa one really needs to be in oe-core). Some notes:
- xf86-video-intel has dri3 disabled at runtime by default so vulkan won't run out of the box on X based images
- Building the radeon driver needs llvm 3.9: I did not try to enable
- vkcube build requires the intel driver at the moment. I believe this is fixable for someone familiar with vulkan

There's no vulkan distro feature yet so some assembly is required:

  # vulkan test settings for local.conf:
  PACKAGECONFIG_append_pn-mesa = "vulkan dri3"
  IMAGE_INSTALL_append = "vkcube vulkan-bin mesa-vulkan-drivers"
  XSERVER_remove = "xf86-video-intel" # only if using X
Now 'vkcube' and 'vulkaninfo' should provide entertainment.

Cheers,
Jussi

The following changes since commit 3c83b56309ab419f8cda72c0711479f60f61439a:

bitbake: fetch2/svn: change 'rsh' parameter to 'ssh' (2017-02-23 12:50:17 -0800)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jku/vulkan
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/vulkan

Jussi Kukkonen (6):
wayland: Upgrade 1.12.0 -> 1.13.0
weston: Upgrade 1.11.1 -> 2.0.0, separate libweston
mesa: Upgrade 13.0.4 -> 17.0.0
mesa: Enable vulkan driver for intel
vulkan: Add recipe for Vulkan common loader
vkcube: Add recipe for minimal vulkan demo

 .../mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb}  |   0
 meta/recipes-graphics/mesa/mesa.inc                |  20 ++--
 .../mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}        |   7 +-
 .../vkcube/0001-Install-the-vkcube-binary.patch    |  38 +++++++
 meta/recipes-graphics/vulkan/vkcube_git.bb         |  18 ++++
 .../vulkan/demos-Don-t-build-tri-or-cube.patch     | 106 +++++++++++++++++++
 meta/recipes-graphics/vulkan/vulkan_1.0.39.1.bb    |  33 ++++++
 .../{wayland_1.12.0.bb => wayland_1.13.0.bb}       |   4 +-
 ...-configuration-option-for-no-input-device.patch | 112 ---------------------
 ...1-configure.ac-Fix-wayland-protocols-path.patch |   2 +-
 .../wayland/weston/0001-make-error-portable.patch  |  12 +--
 .../0001-shared-include-stdint.h-for-int32_t.patch |  23 -----
 ...ch-Provide-a-default-version-that-doesn-t.patch |  52 ++++++----
 .../wayland/{weston_1.11.1.bb => weston_2.0.0.bb}  |  21 ++--
 14 files changed, 256 insertions(+), 192 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb} (74%)
 create mode 100644 meta/recipes-graphics/vulkan/vkcube/0001-Install-the-vkcube-binary.patch
 create mode 100644 meta/recipes-graphics/vulkan/vkcube_git.bb
 create mode 100644 meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch
 create mode 100644 meta/recipes-graphics/vulkan/vulkan_1.0.39.1.bb
 rename meta/recipes-graphics/wayland/{wayland_1.12.0.bb => wayland_1.13.0.bb} (92%)
 delete mode 100644 meta/recipes-graphics/wayland/weston/0001-Add-configuration-option-for-no-input-device.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch
 rename meta/recipes-graphics/wayland/{weston_1.11.1.bb => weston_2.0.0.bb} (88%)
Signature · 1 line
2.1.4