On Mon, May 18, 2020 at 12:19:19PM -0700, Luca wrote: > Hi Andrew, > > thanks a lot for the clarifications and updated info. > It seems I was relaying on outaded and/or incomplete info. > > > > > libgbm is a virtual as it has multiple optional providers, one of which > > is ti-sgx-ddk-um, our standalone libgbm has been deprecated, use the one > > provided by ti-sgx-ddk-um: > > > > > PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um" > > > > Perfect, thanks. I was just starting to understand that the standalone > libgbm has been deprecated reading > http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Graphics/Migration_From_Prior_Releases.html#from-processor-sdk-6-1-to-6-2-for-am3-4-5-6 > > > > > EGL provides window system (x11, wayland, gbm, surfaceless) integration > > for both GL and GLES (and OpenVG), but our EGL implementation only > > supports GLES, as that is all our GPUs support (at least on AM335x). > > Full desktop GL would have to be done using SW rendering, which is > > probably not what you want. > > I understood that full GL would have been done using SW rendering, but I > thought it was the only way to get Weston working. > > > > > So my question back is then, why are you trying to pull in 'mesa' and/or > > 'mesa-gl'? Weston works fine with the stack we provide in ti-sgx-ddk-um. > > > > Your question is very legitimate. > I was pulling mesa-gl just to fulfil Weston dependencies, but thank to your > info I now understand that I was doing it the wrong way. > Then the question is: > How should I set the providers to get Weston working fine with ti-sgx-ddk-um?
Weston does not require mesa or mesa-gl. Your distro should set all PREFERRED_PROVIDERs and DISTRO_FEATURES properly. E.g. Arago Project distro in meta-arago, used by TI Processor SDKs does: PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um" PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um" PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um" PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um" PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km" DISTRO_FEATURES_remove = "x11" DISTRO_FEATURES_append = " wayland opengl" -- Denys
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12943): https://lists.yoctoproject.org/g/meta-ti/message/12943 Mute This Topic: https://lists.yoctoproject.org/mt/74137718/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
