mbox series

[v2,0/4] Enable venus vulkan encapsulation and add vkmark

Message ID 20241205173643.2334343-1-alex.bennee@linaro.org
Headers show
Series Enable venus vulkan encapsulation and add vkmark | expand

Message

Alex Bennée Dec. 5, 2024, 5:36 p.m. UTC
Hi,

This is a respin of a series I sent out in August. This time it
applies on top of the series Bernd has just sent out:

  Subject: [Buildroot] [PATCH 1/7] package/libdrm: add host variant
  Message-Id: <20241202174008.1134667-1-bernd@kuhls.net>
  Date: Mon,  2 Dec 2024 18:40:02 +0100
  From: Bernd Kuhls <bernd@kuhls.net>

and enables the VirtIO Venus encapsulation to Vulkan graphics and add
the vkmark benchmark program.

For v2
  - added SOFTPIPE fixes (these need merging into Bernd's series)
  - addressed remaining comments for dependencies
  - tweaked a few more dependancies
  - added a vkmark test

The test won't currently work if the system QEMU doesn't support
Venus. This will be in the 9.2.0 release (due any day now) but will
also require an upto date virglrenderer (available in Debian
Trixie/Testing). It doesn't have to be merged now and can wait until
the rest of the world catches up.

I plan to use buildroot generated images for QEMU's own functional
tests for Venus.

I've run through:

   utils/docker-run make check-package

and everything looks clean. Full details about the changes are bellow
the ---'s in the individual commits.

Alex Bennée (4):
  support/testing: update tests for SOFTPIPE (squash!)
  package/mesa3d: add option to enable VIRTIO vulkan driver
  package/vkmark: add vkmark benchmarking tool
  support/testing: add test for vkmark package (PENDING!)

 DEVELOPERS                                    |  3 +
 package/Config.in                             |  1 +
 package/mesa3d/Config.in                      | 16 ++--
 package/mesa3d/mesa3d.mk                      |  1 +
 package/vkmark/Config.in                      | 46 ++++++++++++
 package/vkmark/vkmark.hash                    |  2 +
 package/vkmark/vkmark.mk                      | 34 +++++++++
 support/testing/tests/package/test_flutter.py |  2 +-
 .../tests/package/test_glslsandbox_player.py  |  2 +-
 support/testing/tests/package/test_glxinfo.py |  2 +-
 support/testing/tests/package/test_kmscube.py |  2 +-
 .../tests/package/test_python_pyqt5.py        |  2 +-
 support/testing/tests/package/test_vkmark.py  | 75 +++++++++++++++++++
 support/testing/tests/package/test_weston.py  |  2 +-
 14 files changed, 179 insertions(+), 11 deletions(-)
 create mode 100644 package/vkmark/Config.in
 create mode 100644 package/vkmark/vkmark.hash
 create mode 100644 package/vkmark/vkmark.mk
 create mode 100644 support/testing/tests/package/test_vkmark.py

Comments

Thomas Petazzoni Feb. 5, 2025, 3:07 p.m. UTC | #1
Hello Alex,

On Thu,  5 Dec 2024 17:36:39 +0000
Alex Bennée <alex.bennee@linaro.org> wrote:

> This is a respin of a series I sent out in August. This time it
> applies on top of the series Bernd has just sent out:
> 
>   Subject: [Buildroot] [PATCH 1/7] package/libdrm: add host variant
>   Message-Id: <20241202174008.1134667-1-bernd@kuhls.net>
>   Date: Mon,  2 Dec 2024 18:40:02 +0100
>   From: Bernd Kuhls <bernd@kuhls.net>

Bernd has sent a new series at:

  https://patchwork.ozlabs.org/project/buildroot/list/?series=440892

so I'm confused how this series of you fits with it.

In which commit should "support/testing: update tests for SOFTPIPE" be
squashed?

Thomas
Alex Bennée Feb. 5, 2025, 4:17 p.m. UTC | #2
Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

> Hello Alex,
>
> On Thu,  5 Dec 2024 17:36:39 +0000
> Alex Bennée <alex.bennee@linaro.org> wrote:
>
>> This is a respin of a series I sent out in August. This time it
>> applies on top of the series Bernd has just sent out:
>> 
>>   Subject: [Buildroot] [PATCH 1/7] package/libdrm: add host variant
>>   Message-Id: <20241202174008.1134667-1-bernd@kuhls.net>
>>   Date: Mon,  2 Dec 2024 18:40:02 +0100
>>   From: Bernd Kuhls <bernd@kuhls.net>
>
> Bernd has sent a new series at:
>
>   https://patchwork.ozlabs.org/project/buildroot/list/?series=440892
>
> so I'm confused how this series of you fits with it.
>
> In which commit should "support/testing: update tests for SOFTPIPE" be
> squashed?

The patch that bumps mesa where BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
is deprecated for SOFTPIPE. This was reported as causing a number of the
buildroot test cases to have failed but I wasn't able to figure out why
they were.

If you have merged Bernd's series I can re-base and see what is left.

>
> Thomas