omap3/powervr-drivers: Cleanups & fixes
PATCH 1/1 omap3/powervr-drivers: Cleanups & fixes
From ee328e5f8b905ec8a2c3de1664679ff1c442e7fa Mon Sep 17 00:00:00 2001
From: Andreas Mueller <[email protected]>
Date: Tue, 20 Jul 2010 16:15:37 +0200
Subject: [PATCH] omap3/powervr-drivers: Cleanups & fixes
1. Merge omap3-sgx-modules -> libgles-omap3:
Reduce memory & built time consumption.
Note: By 'inherit module' all libgles packages get machine specific.
2. Work around the missing (??) function omap_rev_lt_3_0() Reading the comment leads to the following
interpretation: return true for SGXVersion less than 3.x.
3. Make kernel modules buildable for kernel 2.6.33
(fix-1.4.14.2616-for-kernel-gt-2.6.32.patch)
4. Install script 'cpu-sgx-rev' returning the SGX version
supported by CPU (2.x / 3.x / 5.x)Tested on gumstix / kernel 2.6.33-r80 (git/www.sakoman.com) under xfce / all demos.
--- recipes/powervr-drivers/files/99-bufferclass.rules | 7 ++ recipes/powervr-drivers/files/cputype | 5 ++ recipes/powervr-drivers/files/rc.pvr | 70 ++++++++++++++++++++ recipes/powervr-drivers/files/sample.desktop | 8 ++ recipes/powervr-drivers/libgles-omap3.inc | 44 ++++++++++-- .../0001-Compile-fixes-for-recent-kernels.patch | 28 ++++++++ ...mpile-fixes-for-recent-kernels_3.01.00.06.patch | 37 ++++++++++ recipes/powervr-drivers/libgles-omap3/cpu-sgx-rev | 12 ++++ .../fix-1.4.14.2616-for-kernel-gt-2.6.32.patch | 46 +++++++++++++ .../powervr-drivers/libgles-omap3_3.01.00.02.bb | 10 ++- .../powervr-drivers/libgles-omap3_3.01.00.06.bb | 6 ++- .../0001-Compile-fixes-for-recent-kernels.patch | 28 -------- .../omap3-sgx-modules_1.4.14.2514.bb | 36 ---------- .../omap3-sgx-modules_1.4.14.2616.bb | 38 ----------- 14 files changed, 262 insertions(+), 113 deletions(-) create mode 100644 recipes/powervr-drivers/files/99-bufferclass.rules create mode 100755 recipes/powervr-drivers/files/cputype create mode 100755 recipes/powervr-drivers/files/rc.pvr create mode 100644 recipes/powervr-drivers/files/sample.desktop create mode 100644 recipes/powervr-drivers/libgles-omap3/0001-Compile-fixes-for-recent-kernels.patch create mode 100644 recipes/powervr-drivers/libgles-omap3/Compile-fixes-for-recent-kernels_3.01.00.06.patch create mode 100755 recipes/powervr-drivers/libgles-omap3/cpu-sgx-rev create mode 100644 recipes/powervr-drivers/libgles-omap3/fix-1.4.14.2616-for-kernel-gt-2.6.32.patch delete mode 100644 recipes/powervr-drivers/omap3-sgx-modules/0001-Compile-fixes-for-recent-kernels.patch delete mode 100644 recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb delete mode 100644 recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb
recipes/powervr-drivers/files/99-bufferclass.rules new file +7 -0
@@ -0,0 +1,7 @@ +# Give everyone access to bufferclass nodes and make a compatibility symlink for the first one +SUBSYSTEM=="bccat", MODE="0666" +KERNEL=="bccat0", SYMLINK+="bc_cat", MODE="0666" + +# Give everyone access to v4l nodes +SUBSYSTEM=="video4linux", MODE="0666" +
recipes/powervr-drivers/files/cputype new file +5 -0
@@ -0,0 +1,5 @@ +#!/bin/sh +devmem2 0x4800244c | \ +grep 'Value at address' | \ +sed -e 's/.*): //' | \ +sed -e 's/0x5C00/OMAP3503/' -e 's/0x1C00/OMAP3515/' -e 's/0x4C00/OMAP3525/' -e 's/0xC00/OMAP3530/'
recipes/powervr-drivers/files/rc.pvr new file +70 -0
70 lines not on this page · raw message
recipes/powervr-drivers/files/sample.desktop new file +8 -0
@@ -0,0 +1,8 @@ +[Desktop Entry] +Name=NAME Demo +Comment=OGLES Demo +Exec=EXEC +Icon=star +Type=Application +Categories=Demos; +
recipes/powervr-drivers/libgles-omap3.inc +36 -8
107 lines not on this page · raw message
recipes/powervr-drivers/libgles-omap3/0001-Compile-fixes-for-recent-kernels.patch new file +28 -0
@@ -0,0 +1,28 @@ +From ef693358e658a7cbab4d2696108d9d4240ab8096 Mon Sep 17 00:00:00 2001 +From: Mike Rapoport <[email protected]> +Date: Wed, 2 Dec 2009 10:13:15 +0200 +Subject: [PATCH] Compile fixes for recent kernels + +--- + .../3rdparty/dc_omap3430_linux/omaplfb_linux.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c b/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c +index 935f78b..4d41829 100755 +--- a/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c ++++ b/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c +@@ -57,7 +57,11 @@ extern int omap_dispc_request_irq(unsigned long, void (*)(void *), void *); + extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *); + extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr); + #else ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) ++#include <plat/display.h> ++#else + #include <mach/display.h> ++#endif + #include <linux/console.h> + #include <linux/fb.h> + #endif +-- +1.6.4.4 +
recipes/powervr-drivers/libgles-omap3/Compile-fixes-for-recent-kernels_3.01.00.06.patch new file +37 -0
@@ -0,0 +1,37 @@ +--- a/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c.old 2010-03-05 10:47:58.000000000 +0100 ++++ b/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2010-07-20 12:50:50.000000000 +0200 +@@ -45,10 +45,14 @@ + #include <asm/io.h> + + #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26)) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) + #include <plat/display.h> + #else ++#include <mach/display.h> ++#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) */ ++#else + #include <asm/arch-omap/display.h> +-#endif ++#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26)) */ + #else + #if !defined (CONFIG_OMAP2_DSS) + #define DISPC_IRQ_VSYNC 0x0002 +@@ -56,12 +60,16 @@ + extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *); + extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr); + #else ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) + #include <plat/display.h> ++#else ++#include <mach/display.h> ++#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) */ + #include <linux/console.h> + #include <linux/fb.h> + static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL; +-#endif +-#endif ++#endif /* !defined (CONFIG_OMAP2_DSS) */ ++#endif /* defined (SUPPORT_TI_DSS_FW) */ + + +
recipes/powervr-drivers/libgles-omap3/cpu-sgx-rev new file +12 -0
@@ -0,0 +1,12 @@ +#!/bin/sh + +# grabbed from http://processors.wiki.ti.com/index.php/GSG:_AM35x_and_OMAP35x_Rebuilding_the_Software#How_to_check_for_SGX_core_revision + +devmem2 0x48004B48 w 0x2 > /dev/null +devmem2 0x48004B10 w 0x1 > /dev/null +devmem2 0x48004B00 w 0x2 > /dev/null +devmem2 0x50000014 | \ +grep 'Value at address' | \ +sed -e 's/.*): //' | \ +sed -e 's/0x10205/5.x/' -e 's/0x10201/3.x/' -e 's/0x10003/2.x/' +
recipes/powervr-drivers/libgles-omap3/fix-1.4.14.2616-for-kernel-gt-2.6.32.patch new file +46 -0
46 lines not on this page · raw message
recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb +8 -2
@@ -1,8 +1,10 @@ -BINLOCATION = "${S}/gfx_rel_es3.x" +PREFERRED_SGX_VERSION = "3.x" require libgles-omap3.inc -PR = "r7" +SRC_URI += "file://0001-Compile-fixes-for-recent-kernels.patch \ + " +PR = "r8" # download required binary distribution from: # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
@@ -11,3 +13,7 @@ PR = "r7" SGXPV = "3_01_00_02" IMGPV = "1.4.14.2514" BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin" + +SRC_URI[md5sum] = "7e07019aa76dcdebaa8958df0f89bbe6" +SRC_URI[sha256sum] = "151d7ce8cbf192a3f0c7e232a5b958cde224309be9ec74ca40031be7d27fa265" +
recipes/powervr-drivers/libgles-omap3_3.01.00.06.bb +5 -1
@@ -1,4 +1,4 @@ -BINLOCATION = "${S}/gfx_rel_es3.x" +PREFERRED_SGX_VERSION = "3.x" ES2LOCATION = "${S}/gfx_rel_es2.x" ES3LOCATION = "${S}/gfx_rel_es3.x"
@@ -6,6 +6,10 @@ ES5LOCATION = "${S}/gfx_rel_es5.x" require libgles-omap3.inc +SRC_URI += "file://fix-1.4.14.2616-for-kernel-gt-2.6.32.patch \ + file://Compile-fixes-for-recent-kernels_3.01.00.06.patch \ + " + # download required binary distribution from: # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html # see libgles-omap3.inc for detailed installation instructions
(quoted diff) +0 -0
b/recipes/powervr-drivers/omap3-sgx-modules/0001-Compile-fixes-for-recent-kernels.patch deleted file mode 100644
index 53b1f27..0000000
recipes/powervr-drivers/omap3-sgx-modules/0001-Compile-fixes-for-recent-kernels.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From ef693358e658a7cbab4d2696108d9d4240ab8096 Mon Sep 17 00:00:00 2001 -From: Mike Rapoport <[email protected]> -Date: Wed, 2 Dec 2009 10:13:15 +0200 -Subject: [PATCH] Compile fixes for recent kernels - ---- - .../3rdparty/dc_omap3430_linux/omaplfb_linux.c | 4 ++++ - 1 files changed, 4 insertions(+), 0 deletions(-) - -diff --git a/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c b/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c -index 935f78b..4d41829 100755 ---- a/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c -+++ b/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c -@@ -57,7 +57,11 @@ extern int omap_dispc_request_irq(unsigned long, void (*)(void *), void *); - extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *); - extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr); - #else -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) -+#include <plat/display.h> -+#else - #include <mach/display.h> -+#endif - #include <linux/console.h> - #include <linux/fb.h> - #endif --- -1.6.4.4 -
recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb deleted +0 -36
@@ -1,36 +0,0 @@ -DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" -LICENSE = "GPLv2" - -PR_append = "a" - -# download required binary distribution from: -# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html -# see libgles-omap3.inc for detailed installation instructions - -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" -require ../ti/ti-eula-unpack.inc - -SGXPV = "3_01_00_02" -IMGPV = "1.4.14.2514" -BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin" - -SRC_URI = "http://install.source.dir.local/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ - file://0001-Compile-fixes-for-recent-kernels.patch \ -" -S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}/GFX_Linux_KM" - -inherit module - -PVRBUILD = "release" - -PACKAGE_STRIP = "no" - -MAKE_TARGETS = " BUILD=${PVRBUILD}" - -do_install() { - mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr - cp ${S}/pvrsrvkm.ko \ - ${S}/services4/3rdparty/dc_omap3430_linux/omaplfb.ko \ - ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ - ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr -}
recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb deleted +0 -38
@@ -1,38 +0,0 @@ -DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" -LICENSE = "GPLv2" - -PR_append = "b" - -# download required binary distribution from: -# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html -# see libgles-omap3.inc for detailed installation instructions - -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" -require ../ti/ti-eula-unpack.inc - -SGXPV = "3_01_00_06" -IMGPV = "1.4.14.2616" -BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin" - -SRC_URI = "http://install.source.dir.local/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ -" -S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}/GFX_Linux_KM" - -inherit module - -PVRBUILD = "release" - -PACKAGE_STRIP = "no" - -MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=omap3630" - -do_install() { - mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr - cp ${S}/pvrsrvkm.ko \ - ${S}/services4/3rdparty/dc_omap3430_linux/omaplfb.ko \ - ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ - ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr -} - -SRC_URI[md5sum] = "7aa37ca72f34011d353e72cc67f8aac1" -SRC_URI[sha256sum] = "02276bc728699c36b0d2411c60f23030aa066ca6b8ed5adb7a40204563a227fb"
Signature · 1 line
1.5.3.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Andreas Mueller
From
ee328e5f8b905ec8a2c3de1664679ff1c442e7faMon Sep 17 00:00:00 2001
From: Andreas Mueller <[email protected]>
Date: Tue, 20 Jul 2010 16:15:37 +0200
Subject: [PATCH] omap3/powervr-drivers: Cleanups & fixes1. Merge omap3-sgx-modules -> libgles-omap3:
Reduce memory & built time consumption.
Note: By 'inherit module' all libgles packages get machine specific.
NAK on that, the split is done this way on purpose. Making the libs machine specific is NOT acceptable.
Quoted 1 line
2. Work around the missing (??) function
omap_rev_lt_3_0()
It's not missing, it's present in all omap3 kernels in .dev that are supported. This incarnation of the test wasn't accepted upstream, but it's easy enough to patch in.
Quoted 3 lines
Reading the comment leads to the following
interpretation: return true for SGXVersion less than 3.x.
It's not SGX rev, since that would be something like 121 or 125, but ES revision of the omap3.
Quoted 4 lines
3. Make kernel modules buildable for kernel 2.6.33
(fix-1.4.14.2616-for-kernel-gt-2.6.32.patch) 4. Install script 'cpu-sgx-rev' returning the SGX version supported by CPU (2.x / 3.x / 5.x)
And NAK on that as well, the existing script handles that already. I know that since I have all those ES revisions on my desk :)
So basically only 3) and maybe 2) would be acceptable.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMRdcIMkyGM64RGpERAndHAKCW5HVAukQqRT1aH51J9UqHXFvbwgCfSiOm s3L0AyWIfpmPjZcWuM5opTk=
=7yr9
-----END PGP SIGNATURE-----
Quoted 7 lines · Koen Kooi
Quoted 4 lines
1. Merge omap3-sgx-modules -> libgles-omap3:
Reduce memory & built time consumption.
Note: By 'inherit module' all libgles packages get machine specific.NAK on that, the split is done this way on purpose. Making the libs machine specific is NOT acceptable.
We got a similar discussion on clutter-box2d (but in the other way round). On my question for a rule when to make packages machine specific or not I got no response - I don't expect it now.
Quoted 5 lines
Quoted 1 line
2. Work around the missing (??) function
omap_rev_lt_3_0()It's not missing, it's present in all omap3 kernels in .dev that are supported. This incarnation of the test wasn't accepted upstream, but it's easy enough to patch in.
All the guys sitting on the gumstix tree like me are missing it. The latest driver is simply diabled with a commit msg. like 'does not build for kernel > 2.6.32'
Quoted 7 lines
Quoted 4 lines
3. Make kernel modules buildable for kernel 2.6.33
(fix-1.4.14.2616-for-kernel-gt-2.6.32.patch) 4. Install script 'cpu-sgx-rev' returning the SGX version supported by CPU (2.x / 3.x / 5.x)And NAK on that as well, the existing script handles that already. I know that since I have all those ES revisions on my desk :)
Do you mean the init script - or am I missing something?
Quoted 1 line
So basically only 3) and maybe 2) would be acceptable.
NAK My main intention was to reduce massive time and memory consumption - end of the story for me
regards
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Andreas Mueller
Quoted 3 lines
It's not missing, it's present in all omap3 kernels in .dev that are supported. This incarnation of the test wasn't accepted upstream, but it's easy enough to patch in.
All the guys sitting on the gumstix tree like me are missing it. The latest driver is simply diabled with a commit msg. like 'does not build for kernel > 2.6.32'
And there's your problem, you're using some unsupported crazy vendor branch. If you build from .dev, you'll get a perfectly working 2.6.32 kernel with support for cpufreq, cpuidle, latest sgx drivers, dsp support, etc. I use it on all my overos daily.
I see zero gain in uglifying the current recipe to support crazy vendor branches that will never get merged. Time is better spent on getting those vender changes upstream first.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMRe8HMkyGM64RGpERAgyQAJoD6BrNE/GXQTBnRqOnTuNgIPwOwQCfcwgW 3HgBIj7R8MngEviSwoK5IV4=
=Afz0
-----END PGP SIGNATURE-----
2010/7/20 Koen Kooi <[email protected]>
Quoted 12 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 4 lines · Andreas Mueller
Quoted 3 lines
It's not missing, it's present in all omap3 kernels in .dev that are supported. This incarnation of the test wasn't accepted upstream, but it's easy enough to patch in.
All the guys sitting on the gumstix tree like me are missing it. The
latest driver is simply diabled with a commit msg. like 'does not build for kernel > 2.6.32'
Quoted 9 lines
And there's your problem, you're using some unsupported crazy vendor branch. If you build from .dev, you'll get a perfectly working 2.6.32 kernel with support for cpufreq, cpuidle, latest sgx drivers, dsp support, etc. I use it on all my overos daily.
I see zero gain in uglifying the current recipe to support crazy vendor branches that will never get merged. Time is better spent on getting those vender changes upstream first.
Ehm. What about the other omap kernel recipes.
There are 38 (!) of them in 15 different flavours that have omap in the name:
linux-amsdelta-2.6 (recipe is called linux-amsdelta-2.6_2.6.16-omap2.bb) linux-h6300-omap1
linux-omap
linux-omap-2.6
linux-omap-archos
linux-omap-multi-psp
linux-omap-pm
linux-omap-psp
linux-omap-zoomsync
linux-omap1
linux-omap2
linux-omapandroid
linux-omapzoom
linux-palm-omap1
linux-tornado-omap2
(and yeah, I know some are omap1 and some are omap2, but still I feel this is an unwarranted diversity that could benefit from unification).
Apart from that there is linux-davinci with 5 recipes and linux-igep2 with a recipe.
Seems to me this has grown out of control.
Frans
-----BEGIN PGP SIGNATURE-----
Quoted 13 lines
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMRe8HMkyGM64RGpERAgyQAJoD6BrNE/GXQTBnRqOnTuNgIPwOwQCfcwgW 3HgBIj7R8MngEviSwoK5IV4=
=Afz0
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 3 lines · Koen Kooi
Quoted 1 line
2. Work around the missing (??) function
omap_rev_lt_3_0()Time is better spent on getting those vender changes upstream first.
I agree.
Quoted 2 lines · Frans Meulenbroeks
Ehm. What about the other omap kernel recipes.
There are 38 (!) of them in 15 different flavours that have omap in the
Is git-clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 the 'official' omap3 kernel source? Still I haven't found omap_rev_lt_3_0() yet..
Quoted 2 lines
NAK on that, the split is done this way on purpose. Making the libs machine specific is NOT acceptable.
I need to understand how to decide if a package is machine or architectue specific. So PLEASE anybody out there give me some hints/links:
1. What pitfalls are to expect making a package machine specific which is architecture specific?
2. How do you decide if a package is machine/architecture specific? For example clutter: clutter itself is machine specific because it configures against machine specific gl/gles causing different builds - OK. What about the dependent: clutter-box2d is machine dependent / clutter-gst, clutter-gtk is not. What caused the different handling?
3. This question is also related (correct me if I am wrong - maybe I haven't got the basic point): The reason for different handling machine/architecture is to reuse as much as possible in case you have more than one machine of same architecture. For clutter: configure decides according to the include files it finds in tmp/sysroot/<arch>/.. to build against gl or gles. What happens in case we have two machines of same architecture: one with gl only / the other gl/gles (e.g different OMAPs). What happens if we first build the gles-machine and then the gl-only: Does the second get gles too or what mechanisms am I missing?
regards
Andreas