Discussion:
[meta-freescale] [Sumo] Freescale iMX6 vivante support with EGLFS Qt5
Joe Rutledge
2018-08-15 12:02:43 UTC
Permalink
Hi,

I have a question about Vivante support within the linux-imx kernel from
meta-freescale and how to correctly use it within my image. I have
recently started moving my existing working image from Krogoth to Sumo.
I'm having great trouble getting it to build now though, I seem to have
constant circular dependencies between PREFERRED_PROVIDER_virtual/egl
and its many friends.

What packages do I need in my image recipe to get back the Vivante
support for an EGLFS Qt platform, based on the linux-imx kernel? Do I
need to tweak a specific set of PREFERRED_PROVIDER_virtual/*gl*
variables to get that package list to work correctly?

Many, many thanks in advance to anyone that can help, this is driving me
nuts!

Joe

--
Otavio Salvador
2018-08-31 01:12:58 UTC
Permalink
Post by Joe Rutledge
I have a question about Vivante support within the linux-imx kernel from
meta-freescale and how to correctly use it within my image. I have
recently started moving my existing working image from Krogoth to Sumo.
I'm having great trouble getting it to build now though, I seem to have
constant circular dependencies between PREFERRED_PROVIDER_virtual/egl
and its many friends.
What packages do I need in my image recipe to get back the Vivante
support for an EGLFS Qt platform, based on the linux-imx kernel? Do I
need to tweak a specific set of PREFERRED_PROVIDER_virtual/*gl*
variables to get that package list to work correctly?
Many, many thanks in advance to anyone that can help, this is driving me
nuts!
I did not use any customer in Sumo using Qt *with* closed source BSP.
We have people running Qt under mainline BSP with success. Do you need
the closed source BSP?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Joe Rutledge
2018-08-31 07:51:56 UTC
Permalink
TBH, I hadn't realised it was the close source kernel, it was just
whatever I was using before. I had assumed that linux-fslc-imx was the
closed source and linux-imx was the open source! I have an iMX6 and the
following are recipes are within meta-freescale, which should I be using?


linux-fslc

linux-fslc-4.9

linux-fslc-imx

linux-fslc-imx-rt

linux-imx-4.9.88


Best regards,

Joe
Post by Otavio Salvador
Post by Joe Rutledge
I have a question about Vivante support within the linux-imx kernel from
meta-freescale and how to correctly use it within my image. I have
recently started moving my existing working image from Krogoth to Sumo.
I'm having great trouble getting it to build now though, I seem to have
constant circular dependencies between PREFERRED_PROVIDER_virtual/egl
and its many friends.
What packages do I need in my image recipe to get back the Vivante
support for an EGLFS Qt platform, based on the linux-imx kernel? Do I
need to tweak a specific set of PREFERRED_PROVIDER_virtual/*gl*
variables to get that package list to work correctly?
Many, many thanks in advance to anyone that can help, this is driving me
nuts!
I did not use any customer in Sumo using Qt *with* closed source BSP.
We have people running Qt under mainline BSP with success. Do you need
the closed source BSP?
--
Otavio Salvador
2018-08-31 14:07:59 UTC
Permalink
Hello Joe,
Post by Joe Rutledge
TBH, I hadn't realised it was the close source kernel, it was just
whatever I was using before. I had assumed that linux-fslc-imx was the
closed source and linux-imx was the open source! I have an iMX6 and the
following are recipes are within meta-freescale, which should I be using?
linux-fslc
linux-fslc-4.9
linux-fslc-imx
linux-fslc-imx-rt
linux-imx-4.9.88
linux-imx - provided by NXP
linux-fslc-imx - it is a linux-imx plus stable kernel releases merges
and community fixes

Those two use the Vivante proprietary driver which uses the closed
source user-space.

linux-fslc is based on mainline. On master we have 4.17 support :-)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Joe Rutledge
2018-08-31 15:22:21 UTC
Permalink
Hi Otavio,

Sorry, I'm still not clear! In order to get h/w graphics acceleration on
the iMX6 I have to use the Vivante driver (correct?), which means I have
to use either linux-imx or linux-fslc-imx. You have had success with
other customers with Qt based on the linux-fslc-imx kernel? This is what
I should use in order to get Qt with h/w GPU acceleration (the vivante
driver)?

Thanks,

Joe
Post by Otavio Salvador
Hello Joe,
Post by Joe Rutledge
TBH, I hadn't realised it was the close source kernel, it was just
whatever I was using before. I had assumed that linux-fslc-imx was the
closed source and linux-imx was the open source! I have an iMX6 and the
following are recipes are within meta-freescale, which should I be using?
linux-fslc
linux-fslc-4.9
linux-fslc-imx
linux-fslc-imx-rt
linux-imx-4.9.88
linux-imx - provided by NXP
linux-fslc-imx - it is a linux-imx plus stable kernel releases merges
and community fixes
Those two use the Vivante proprietary driver which uses the closed
source user-space.
linux-fslc is based on mainline. On master we have 4.17 support :-)
--
Fabio Estevam
2018-08-31 17:27:42 UTC
Permalink
Hi Joe.
Post by Joe Rutledge
Hi Otavio,
Sorry, I'm still not clear! In order to get h/w graphics acceleration on the
iMX6 I have to use the Vivante driver (correct?), which means I have to use
either linux-imx or linux-fslc-imx. You have had success with other
customers with Qt based on the linux-fslc-imx kernel? This is what I should
use in order to get Qt with h/w GPU acceleration (the vivante driver)?
linux-fslc uses a mainline kernel (4.17) and the graphics userspace
packages are standard ones: mesa, libdrm.

Mainline kernel has support for mx6 GPUs through the etnaviv driver.

Please give this is a try as it is a better solution for long time support.
--
Joe Rutledge
2018-09-03 08:23:43 UTC
Permalink
Thanks for the breakdown and the help both of you. I'll give etnaviv a go.

Joe
Post by Fabio Estevam
Hi Joe.
Post by Joe Rutledge
Hi Otavio,
Sorry, I'm still not clear! In order to get h/w graphics acceleration on the
iMX6 I have to use the Vivante driver (correct?), which means I have to use
either linux-imx or linux-fslc-imx. You have had success with other
customers with Qt based on the linux-fslc-imx kernel? This is what I should
use in order to get Qt with h/w GPU acceleration (the vivante driver)?
linux-fslc uses a mainline kernel (4.17) and the graphics userspace
packages are standard ones: mesa, libdrm.
Mainline kernel has support for mx6 GPUs through the etnaviv driver.
Please give this is a try as it is a better solution for long time support.
--

Loading...