Date
1 - 4 of 4
[PATCH] virglrenderer: upgrade 0.9.1 -> 0.10.3
Markus Volk
Signed-off-by: Markus Volk <f_l_k@...>
--- .../virglrenderer/virglrenderer_0.10.3.bb | 33 +++++++++++++++++++ .../virglrenderer/virglrenderer_0.9.1.bb | 25 -------------- 2 files changed, 33 insertions(+), 25 deletions(-) create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer_0.1= 0.3.bb delete mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer_0.9= .1.bb diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.10.3.bb = b/meta/recipes-graphics/virglrenderer/virglrenderer_0.10.3.bb new file mode 100644 index 0000000000..567c62b570 --- /dev/null +++ b/meta/recipes-graphics/virglrenderer/virglrenderer_0.10.3.bb @@ -0,0 +1,33 @@ +SUMMARY =3D "VirGL virtual OpenGL renderer" +DESCRIPTION =3D "Virgil is a research project to investigate the possibi= lity of \ +creating a virtual 3D GPU for use inside qemu virtual machines, that all= ows \ +the guest operating system to use the capabilities of the host GPU to \ +accelerate 3D rendering." +HOMEPAGE =3D "https://virgil3d.github.io/" + +LICENSE =3D "MIT" +LIC_FILES_CHKSUM =3D "file://COPYING;md5=3Dc81c08eeefd9418fca8f88309a76d= b10" + +DEPENDS =3D "libdrm libepoxy virtual/egl virtual/libgbm" +SRCREV =3D "0922041ec6730122e0fec11404e6859e2efc4bc0" +SRC_URI =3D "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch= =3Dmaster \ + file://0001-meson.build-use-python3-directly-for-python.patch= \ + " + +S =3D "${WORKDIR}/git" + +inherit meson pkgconfig features_check + +PACKAGECONFIG ?=3D "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'v= enus-experimental', '', d)}" + +PACKAGECONFIG[venus-experimental] =3D "-Dvenus-experimental=3Dtrue,-Dven= us-experimental=3Dfalse,vulkan-loader vulkan-headers" +PACKAGECONFIG[va] =3D "-Dvideo=3Dtrue,-Dvideo=3Dfalse,libva" +PACKAGECONFIG[render-server] =3D "-Drender-server=3Dtrue,-Drender-server= =3Dfalse" +PACKAGECONFIG[drm-msm-experimental] =3D "-Ddrm-msm-experimental=3Dtrue,-= Ddrm-msm-experimental=3Dfalse" +PACKAGECONFIG[minigbm_allocation] =3D "-Dminigbm_allocation=3Dtrue,-Dmin= igbm_allocation=3Dfalse" +PACKAGECONFIG[venus-validate] =3D "-Dvenus-validate=3Dtrue,-Dvenus-valid= ate=3Dfalse" +PACKAGECONFIG[tests] =3D "-Dtests=3Dtrue,-Dtests=3Dfalse,libcheck" + +BBCLASSEXTEND =3D "native nativesdk" + +REQUIRED_DISTRO_FEATURES =3D "opengl" diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb b= /meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb deleted file mode 100644 index ad3688e300..0000000000 --- a/meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY =3D "VirGL virtual OpenGL renderer" -DESCRIPTION =3D "Virgil is a research project to investigate the possibi= lity of \ -creating a virtual 3D GPU for use inside qemu virtual machines, that all= ows \ -the guest operating system to use the capabilities of the host GPU to \ -accelerate 3D rendering." -HOMEPAGE =3D "https://virgil3d.github.io/" - -LICENSE =3D "MIT" -LIC_FILES_CHKSUM =3D "file://COPYING;md5=3Dc81c08eeefd9418fca8f88309a76d= b10" - -DEPENDS =3D "libdrm virtual/egl virtual/libgbm libepoxy" -SRCREV =3D "363915595e05fb252e70d6514be2f0c0b5ca312b" -SRC_URI =3D "git://anongit.freedesktop.org/git/virglrenderer;branch=3Dbr= anch-0.9.1 \ - file://0001-meson.build-use-python3-directly-for-python.patch= \ - file://cve-2022-0135.patch \ - file://cve-2022-0175.patch \ - " - -S =3D "${WORKDIR}/git" - -inherit meson pkgconfig features_check - -BBCLASSEXTEND =3D "native nativesdk" - -REQUIRED_DISTRO_FEATURES =3D "opengl" --=20 2.34.1
|
|
Richard Purdie
On Wed, 2022-09-21 at 09:51 +0200, Markus Volk wrote:
Signed-off-by: Markus Volk <f_l_k@...>The patches weren't refreshed leading to fuzz warnings: https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/5884/steps/11/logs/warnings https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5931/steps/11/logs/warnings and many many more like it in that build. How was this tested? :/ Cheers, Richard
|
|
Markus Volk
I started with a clean master branch and encountered the patch fuzz warning on the first build. But to verify that the driver was working, I wanted to run my wayland image with 'runqemu'. That required a whole bunch of extra files to be changed, and I ended up forgetting to fix the patch. Sorry But I can confirm that I was able to run the image with the runqemu script. The driver should work. Am Mi, 21. Sep 2022 um 14:38:02 +0100 schrieb Richard Purdie <richard.purdie@...>:
|
|
Alexander Kanavin
I once again have to stress that 'devtool upgrade' rebases the patches
toggle quoted messageShow quoted text
automatically. Please do use it, it works for the vast majority of oe-core items. Alex
On Wed, 21 Sept 2022 at 19:14, Markus Volk <f_l_k@...> wrote:
|
|