All of lore.kernel.org
 help / color / mirror / Atom feed
* Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
@ 2016-05-19 23:41 Keith Kyzivat
  2016-05-20 20:50 ` Denys Dmytriyenko
  2016-05-24 14:48 ` Keith Kyzivat
  0 siblings, 2 replies; 7+ messages in thread
From: Keith Kyzivat @ 2016-05-19 23:41 UTC (permalink / raw)
  To: meta-ti

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Hi folks,

I've been trying to get a beagleboard krogoth build working with working
OpenGLES2 DRI drivers in place, and have been failing.

I did find out that drivers changed name from libgles-omap3 to
ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my
PREFERRED_PROVIDER_virtual/libgles2 fails hard --
 -- Nothing RPROVIDES 'ti-sgx-ddk-um'

Digging through commits, I found commit c70102c671 -
renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.

The problem seems to be that these are renamed, but the package names have
not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
includes:

PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2
omap5-sgx-ddk-um-linux"

Shouldn't this be the following?
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"

And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg
packages?

Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still
figuring it all out.

~Keith Kyzivat

[-- Attachment #2: Type: text/html, Size: 1348 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
  2016-05-19 23:41 Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete? Keith Kyzivat
@ 2016-05-20 20:50 ` Denys Dmytriyenko
  2016-05-24 14:48 ` Keith Kyzivat
  1 sibling, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2016-05-20 20:50 UTC (permalink / raw)
  To: Keith Kyzivat; +Cc: meta-ti

On Thu, May 19, 2016 at 11:41:10PM +0000, Keith Kyzivat wrote:
> Hi folks,
> 
> I've been trying to get a beagleboard krogoth build working with working
> OpenGLES2 DRI drivers in place, and have been failing.
> 
> I did find out that drivers changed name from libgles-omap3 to
> ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my
> PREFERRED_PROVIDER_virtual/libgles2 fails hard --
>  -- Nothing RPROVIDES 'ti-sgx-ddk-um'
> 
> Digging through commits, I found commit c70102c671 -
> renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
> 
> The problem seems to be that these are renamed, but the package names have
> not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> includes:

Keith,

The rename is complete and correct and works as expected. 


> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2
> omap5-sgx-ddk-um-linux"
> 
> Shouldn't this be the following?
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"

No, the way it is now is correct - it doesn't need to include ti-sgx-ddk-um in 
PROVIDES list, as that's already the name of the package. The reason it 
includes the old omap5-sgx-ddk-um-linux name is to ensure upgradeability path 
from the old name of the package.


> And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg
> packages?

Same as above. Moreover, adding own name into RREPLACES and RCONFLICTS would 
be problematic, as it would mean it replaces and conflicts with itself.


> Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still
> figuring it all out.


Now, as to your problem. Which exact platform are you trying it on? I see you 
mention beagleboard, so if it is really an old OMAP3-based BeagleBoard and not 
the new AM335x-based BeagleBone, then it simply is not supported. Currently 
supported platforms by the new SGX components are am335x/ti33x, am437x/am43x 
and j6/dra7xx/am57x:

http://git.ti.com/gitweb/?p=graphics/omap5-sgx-ddk-um-linux.git;a=tree;f=targetfs;h=76a04f848bfa75a7e157e5d1b14e518380f8ec70;hb=refs/heads/ti-img-sgx/1.14.3699939

For old OMAP3 platforms, you'd still need libgles-omap3, which, unfortunately, 
hasn't been updated to recent 4.x kernel and therefore was dropped in krogoth.

-- 
Denys


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
  2016-05-19 23:41 Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete? Keith Kyzivat
  2016-05-20 20:50 ` Denys Dmytriyenko
@ 2016-05-24 14:48 ` Keith Kyzivat
       [not found]   ` <371273705.3403881.1464113612415.JavaMail.yahoo@mail.yahoo.com>
  1 sibling, 1 reply; 7+ messages in thread
From: Keith Kyzivat @ 2016-05-24 14:48 UTC (permalink / raw)
  To: meta-ti

[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]

Hi Denys,

I'm working with the Beaglebone Black Rev C board -- so AM335x-based.
What incantation/recipe/package should I be specifying to get the userspace
DRI drivers for use with libGLESv2 built into my image? That's been my
biggest stumbling block.  Even moving back to Fido I was unable to build an
image that includes the userspace graphics support libraries.

Ultimately I want to pull in Qt 5.6 and be able to run QML-based apps with
the 'eglfs' QPA platform plugin with hardware OpenGLES2 acceleration
running over HDMI.

Are there any good resources ((e)books, wikis, presentations, etc)  you or
anyone else can recommend to fully grasp Yocto/OpenEmbedded?  I've come
across a number of presentations, wikis and blog posts that have explained
some things, but no comprehensive walkthrough that performs a build and
explains all the reasons for the changes.

~Keith

On Thu, May 19, 2016 at 7:41 PM Keith Kyzivat <kamaji@gmail.com> wrote:

> Hi folks,
>
> I've been trying to get a beagleboard krogoth build working with working
> OpenGLES2 DRI drivers in place, and have been failing.
>
> I did find out that drivers changed name from libgles-omap3 to
> ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my
> PREFERRED_PROVIDER_virtual/libgles2 fails hard --
>  -- Nothing RPROVIDES 'ti-sgx-ddk-um'
>
> Digging through commits, I found commit c70102c671 -
> renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
>
> The problem seems to be that these are renamed, but the package names have
> not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> includes:
>
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2
> omap5-sgx-ddk-um-linux"
>
> Shouldn't this be the following?
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"
>
> And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg
> packages?
>
> Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still
> figuring it all out.
>
> ~Keith Kyzivat
>

[-- Attachment #2: Type: text/html, Size: 2710 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
       [not found]   ` <371273705.3403881.1464113612415.JavaMail.yahoo@mail.yahoo.com>
@ 2016-05-24 18:21     ` Benjamin Bimmermann
  2016-05-25 15:20       ` Keith Kyzivat
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Bimmermann @ 2016-05-24 18:21 UTC (permalink / raw)
  To: Keith Kyzivat, meta-ti

[-- Attachment #1: Type: text/plain, Size: 3509 bytes --]

Hello,
I build with Krogoth a QT5.6 Image.I have Include in my Image:
IMAGE_INSTALL += " \
    ti-sgx-ddk-um \
    omapdrm-pvr \
"

and the config :
PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgles1_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgles2_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgl_keystone = "mesa"
PREFERRED_PROVIDER_virtual/mesa_keystone = "mesa"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_VERSION_linux-ti-staging = "4.4%" 
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_libgbm = "libgbm"
PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"


This Image works Ok. Not great. If you build things like :
https://github.com/scottellis/tspress
It works very well. If you try to build big things like:
https://github.com/rzr/qt5-cinematic-experience
The driver Starts but and the Programm try to start.
You see a mouse Courser and thats it. The Programm doesn't run ok.

If you have a solution for that or if we find together for that a solution it would be very nice.

Have a nice day.

 

    Keith Kyzivat <kamaji@gmail.com> schrieb am 16:48 Dienstag, 24.Mai 2016:
 

 

Hi Denys,
I'm working with the Beaglebone Black Rev C board -- so AM335x-based.What incantation/recipe/package should I be specifying to get the userspace DRI drivers for use with libGLESv2 built into my image? That's been my biggest stumbling block.  Even moving back to Fido I was unable to build an image that includes the userspace graphics support libraries.
Ultimately I want to pull in Qt 5.6 and be able to run QML-based apps with the 'eglfs' QPA platform plugin with hardware OpenGLES2 acceleration running over HDMI.
Are there any good resources ((e)books, wikis, presentations, etc)  you or anyone else can recommend to fully grasp Yocto/OpenEmbedded?  I've come across a number of presentations, wikis and blog posts that have explained some things, but no comprehensive walkthrough that performs a build and explains all the reasons for the changes.
~Keith
On Thu, May 19, 2016 at 7:41 PM Keith Kyzivat <kamaji@gmail.com> wrote:

Hi folks,
I've been trying to get a beagleboard krogoth build working with working OpenGLES2 DRI drivers in place, and have been failing.
I did find out that drivers changed name from libgles-omap3 to ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my PREFERRED_PROVIDER_virtual/libgles2 fails hard -- -- Nothing RPROVIDES 'ti-sgx-ddk-um'
Digging through commits, I found commit c70102c671 - renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
The problem seems to be that these are renamed, but the package names have not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb includes:
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"

Shouldn't this be the following?PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"
And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg packages?
Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still figuring it all out.
~Keith Kyzivat

-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti




[-- Attachment #2: Type: text/html, Size: 13004 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
  2016-05-24 18:21     ` Benjamin Bimmermann
@ 2016-05-25 15:20       ` Keith Kyzivat
  2016-05-25 21:24         ` Benjamin Bimmermann
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Kyzivat @ 2016-05-25 15:20 UTC (permalink / raw)
  To: Benjamin Bimmermann, meta-ti

[-- Attachment #1: Type: text/plain, Size: 4733 bytes --]

Hi Benjamin,

Thank you for your config details -- that's gotten me further -- with a
working driver, and Qt5_CinematicExperience actually running, bringing up
the initial display, cursor showing, and the opening "Curtains" display,
but sounds like a similar experience to what you're describing -- driver
starting, program starting, but dreadful performance to the point where it
doesn't really get beyond the first frame, and emits many FIFO underflow
messages.  DMA may be not enabled or is somehow failing?

In any case, I'm further, and will continue to research the issue and hack
away.  I'll report any progress.
Should I keep it off-list, or is it on-topic enough for this mailing list?

Anyone have any pointers to what the issue might be?

Qt5_CinematicExperience output log:
https://gist.github.com/keithel/e4eaf0a44aaa5d060f0578345d05b9b3#file-qt5_cinematicexperience-output

You can also find my config in that gist.

~Keith

On Tue, May 24, 2016 at 2:21 PM Benjamin Bimmermann <b.bimmermann@yahoo.de>
wrote:

> Hello,
>
> I build with Krogoth a QT5.6 Image.
> I have Include in my Image:
>
> IMAGE_INSTALL += " \    ti-sgx-ddk-um \    omapdrm-pvr \"
>
> and the config :
> PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
> PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"PREFERRED_PROVIDER_virtual/libgles1_keystone = "mesa"PREFERRED_PROVIDER_virtual/libgles2_keystone = "mesa"
> PREFERRED_PROVIDER_virtual/libgl_keystone = "mesa"PREFERRED_PROVIDER_virtual/mesa_keystone = "mesa"
> PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"PREFERRED_VERSION_linux-ti-staging = "4.4%"
> 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_libgbm = "libgbm"PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
>
>
> This Image works Ok. Not great. If you build things like :
> https://github.com/scottellis/tspress
> It works very well. If you try to build big things like:
> https://github.com/rzr/qt5-cinematic-experience
> The driver Starts but and the Programm try to start.
> You see a mouse Courser and thats it. The Programm doesn't run ok.
>
> If you have a solution for that or if we find together for that a solution it would be very nice.
>
> Have a nice day.
>
>
>
>
> Keith Kyzivat <kamaji@gmail.com> schrieb am 16:48 Dienstag, 24.Mai 2016:
>
>
>
>
> Hi Denys,
>
> I'm working with the Beaglebone Black Rev C board -- so AM335x-based.
> What incantation/recipe/package should I be specifying to get the
> userspace DRI drivers for use with libGLESv2 built into my image? That's
> been my biggest stumbling block.  Even moving back to Fido I was unable to
> build an image that includes the userspace graphics support libraries.
>
> Ultimately I want to pull in Qt 5.6 and be able to run QML-based apps with
> the 'eglfs' QPA platform plugin with hardware OpenGLES2 acceleration
> running over HDMI.
>
> Are there any good resources ((e)books, wikis, presentations, etc)  you or
> anyone else can recommend to fully grasp Yocto/OpenEmbedded?  I've come
> across a number of presentations, wikis and blog posts that have explained
> some things, but no comprehensive walkthrough that performs a build and
> explains all the reasons for the changes.
>
> ~Keith
>
> On Thu, May 19, 2016 at 7:41 PM Keith Kyzivat <kamaji@gmail.com> wrote:
>
> Hi folks,
>
> I've been trying to get a beagleboard krogoth build working with working
> OpenGLES2 DRI drivers in place, and have been failing.
>
> I did find out that drivers changed name from libgles-omap3 to
> ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my
> PREFERRED_PROVIDER_virtual/libgles2 fails hard --
>  -- Nothing RPROVIDES 'ti-sgx-ddk-um'
>
> Digging through commits, I found commit c70102c671 -
> renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
>
> The problem seems to be that these are renamed, but the package names have
> not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> includes:
>
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2
> omap5-sgx-ddk-um-linux"
>
> Shouldn't this be the following?
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"
>
> And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg
> packages?
>
> Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still
> figuring it all out.
>
> ~Keith Kyzivat
>
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
>
>

[-- Attachment #2: Type: text/html, Size: 10609 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
  2016-05-25 15:20       ` Keith Kyzivat
@ 2016-05-25 21:24         ` Benjamin Bimmermann
  2016-06-06 22:38           ` Keith Kyzivat
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Bimmermann @ 2016-05-25 21:24 UTC (permalink / raw)
  To: Keith Kyzivat, Yocto Texas

[-- Attachment #1: Type: text/plain, Size: 6625 bytes --]

Hello,
first it is good to share informations so maybe the meta-ti devs can fix this.
Now to you:
I think you are at a ponit where I was about 2 mounth ago. So I will help you if you share later a fix for the Qt5_CinematicExperience.
First: 
I think you try to use: 
http://www.embarcados.com.br/beaglebone-black-qt5-yocto-parte-1/I think this is to old. You should more fokus and use:http://www.jumpnowtek.com/https://github.com/jumpnow/meta-bbb

The Problem with the jumpnow layer is that they don't use the meta-ti layer. So they can not build very good and fast qt5 aps.
Second:
What you don't need I think : /home/vagrant/yocto/poky/meta-embarcados \ RDEPENDS_packagegroup-qt5-machine-related = "\ - ${@base_contains('MACHINE', 'beaglebone', 'libgles-omap3 omap3-sgx-modules', '', d)} \ + ${@base_contains('MACHINE', 'beaglebone', 'omap5-sgx-ddk-um-linux', '', d)} \ "
----------------------------------------------------------------------------

Third:

You must enable SGX in your system and overlay !!!

Four :

I have better experience with:beaglebone.conf:    require conf/machine/include/ti33x.inc
    require conf/machine/include/THE_arago-prefs.inc    UBOOT_MACHINE = "am335x_boneblack_config"
    MACHINE_FEATURES += " serial usbhost sgx "    PREFERRED_PROVIDER* (like the last e-mail)
Image:IMAGE_INSTALL += " \   
    ti-sgx-ddk-um \
    omapdrm-pvr \
   packagegroup-qt5-toolchain-target \
   qtmultimedia \
   qtmultimedia-dev \
   qtmultimedia-mkspecs \ "  local.conf:PACKAGECONFIG_GL_pn-qtbase = "gles2"
PACKAGECONFIG_GL_append += " accessibility examples gles2 libs tools"
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

DISTRO_FEATURES_append = " opengl usbhost sgx"
DISTRO_FEATURES_remove = " x11  "

RM_OLD_IMAGE = "1"

EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug ssh-server-openssh"
I hope I could help and maybe we find a solution for the problem and add this to meta-ti.
Have a nice day.

 

    Keith Kyzivat <kamaji@gmail.com> schrieb am 17:20 Mittwoch, 25.Mai 2016:
 

 

Hi Benjamin,
Thank you for your config details -- that's gotten me further -- with a working driver, and Qt5_CinematicExperience actually running, bringing up the initial display, cursor showing, and the opening "Curtains" display, but sounds like a similar experience to what you're describing -- driver starting, program starting, but dreadful performance to the point where it doesn't really get beyond the first frame, and emits many FIFO underflow messages.  DMA may be not enabled or is somehow failing?
In any case, I'm further, and will continue to research the issue and hack away.  I'll report any progress.Should I keep it off-list, or is it on-topic enough for this mailing list?
Anyone have any pointers to what the issue might be?
Qt5_CinematicExperience output log: https://gist.github.com/keithel/e4eaf0a44aaa5d060f0578345d05b9b3#file-qt5_cinematicexperience-output
You can also find my config in that gist.
~Keith
On Tue, May 24, 2016 at 2:21 PM Benjamin Bimmermann <b.bimmermann@yahoo.de> wrote:

Hello,
I build with Krogoth a QT5.6 Image.I have Include in my Image:
IMAGE_INSTALL += " \
    ti-sgx-ddk-um \
    omapdrm-pvr \
"

and the config :
PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgles1_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgles2_keystone = "mesa"
PREFERRED_PROVIDER_virtual/libgl_keystone = "mesa"
PREFERRED_PROVIDER_virtual/mesa_keystone = "mesa"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_VERSION_linux-ti-staging = "4.4%" 
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_libgbm = "libgbm"
PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"


This Image works Ok. Not great. If you build things like :
https://github.com/scottellis/tspress
It works very well. If you try to build big things like:
https://github.com/rzr/qt5-cinematic-experience
The driver Starts but and the Programm try to start.
You see a mouse Courser and thats it. The Programm doesn't run ok.

If you have a solution for that or if we find together for that a solution it would be very nice.

Have a nice day.

 

    Keith Kyzivat <kamaji@gmail.com> schrieb am 16:48 Dienstag, 24.Mai 2016:
 

 

Hi Denys,
I'm working with the Beaglebone Black Rev C board -- so AM335x-based.What incantation/recipe/package should I be specifying to get the userspace DRI drivers for use with libGLESv2 built into my image? That's been my biggest stumbling block.  Even moving back to Fido I was unable to build an image that includes the userspace graphics support libraries.
Ultimately I want to pull in Qt 5.6 and be able to run QML-based apps with the 'eglfs' QPA platform plugin with hardware OpenGLES2 acceleration running over HDMI.
Are there any good resources ((e)books, wikis, presentations, etc)  you or anyone else can recommend to fully grasp Yocto/OpenEmbedded?  I've come across a number of presentations, wikis and blog posts that have explained some things, but no comprehensive walkthrough that performs a build and explains all the reasons for the changes.
~Keith
On Thu, May 19, 2016 at 7:41 PM Keith Kyzivat <kamaji@gmail.com> wrote:

Hi folks,
I've been trying to get a beagleboard krogoth build working with working OpenGLES2 DRI drivers in place, and have been failing.
I did find out that drivers changed name from libgles-omap3 to ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my PREFERRED_PROVIDER_virtual/libgles2 fails hard -- -- Nothing RPROVIDES 'ti-sgx-ddk-um'
Digging through commits, I found commit c70102c671 - renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
The problem seems to be that these are renamed, but the package names have not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb includes:
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"

Shouldn't this be the following?PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"
And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg packages?
Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still figuring it all out.
~Keith Kyzivat

-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti







[-- Attachment #2: Type: text/html, Size: 20780 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
  2016-05-25 21:24         ` Benjamin Bimmermann
@ 2016-06-06 22:38           ` Keith Kyzivat
  0 siblings, 0 replies; 7+ messages in thread
From: Keith Kyzivat @ 2016-06-06 22:38 UTC (permalink / raw)
  To: Benjamin Bimmermann, Yocto Texas

[-- Attachment #1: Type: text/plain, Size: 9185 bytes --]

Hi Benjamin,

SGX: -- isn't this already enabled from
meta-ti/conf/machine/include/ti33x.inc, included by
meta-ti/conf/machine/beaglebone.conf ?:  MACHINE_FEATURES = "kernel26 apm
usbgadget usbhost vfat ext2 screen alsa ethernet sgx"

You must be referring to going the approach of using the jumpnowtek
meta-bbb layer that doesn't use meta-ti.  I've been sticking with
meta-embarcados for the time being - pulling what I can from their master
branch, and adapting it to work with the krogoth branch...  I might jump
entirely free of it though and just depend on meta-ti and meta-qt.. for the
moment it works ok for me.

I see the cleanup you referenced -- haven't tried yet to remove it, but
makes sense - it's referring to the old outdated/incorrect omap driver.

As for improving performance- just today I pulled latest changes from
meta-ti and Qt5_CinematicExperience is working well for me now, when before
it wasn't operating at all.  I think the commit that fixes the issue is
: 2a57c4c ti-sgx-ddk-um: update srcrev and bump PR
This commit pulls a newer rev of the kernel graphics module.

Fonts are also fixed now -- previously I found that, while fontconfig was
built, and fonts were placed on the system, none were loaded when my Qt app
ran, and thus text fields, buttons, etc were devoid of text.  I'm not
entirely sure what fixed the font issue -- as I have made a few changes to
my local.conf that are fontconfig related, but none seemed to correct the
issue until I did a full rebuild (wiping the tmp dir but keeping same
sstate dir) - which I did when I pulled the latest meta-ti changes.

Something I can't figure out - that I had working at one point, but no
longer have working is setting the default platform plugin to 'eglfs'
instead of 'xcb' (which isn't even built!).
My guess is I'm using a var that isn't used in krogoth, that was used in
fido:
EXTRA_OECONF_append = " -qpa eglfs" in one of  my qtbase_%.bbappend files.

Anyway! Try a rebuild with latest meta-ti, and I think you'll find better
graphics performance in QML-based applications.

~Keith

On Wed, May 25, 2016 at 5:24 PM Benjamin Bimmermann <b.bimmermann@yahoo.de>
wrote:

> Hello,
>
> first it is good to share informations so maybe the meta-ti devs can fix
> this.
>
> Now to you:
> I think you are at a ponit where I was about 2 mounth ago. So I will help
> you if you share later a fix for the Qt5_CinematicExperience.
>
> First:
> I think you try to use:
> http://www.embarcados.com.br/beaglebone-black-qt5-yocto-parte-1/
> I think this is to old. You should more fokus and use:
> http://www.jumpnowtek.com/
> https://github.com/jumpnow/meta-bbb
>
> The Problem with the jumpnow layer is that they don't use the meta-ti
> layer. So they can not build very good and fast qt5 aps.
>
> Second:
>
> What you don't need I think :
> /home/vagrant/yocto/poky/meta-embarcados \
> RDEPENDS_packagegroup-qt5-machine-related = "\ -
> ${@base_contains('MACHINE', 'beaglebone', 'libgles-omap3
> omap3-sgx-modules', '', d)} \ + ${@base_contains('MACHINE', 'beaglebone',
> 'omap5-sgx-ddk-um-linux', '', d)} \ "
>
>
> ----------------------------------------------------------------------------
>
> Third:
>
> You must enable SGX in your system and overlay !!!
>
> Four :
>
> I have better experience with:
> beaglebone.conf:
>     require conf/machine/include/ti33x.inc
>     require conf/machine/include/THE_arago-prefs.inc
>     UBOOT_MACHINE = "am335x_boneblack_config"
>     MACHINE_FEATURES += " serial usbhost sgx "
>     PREFERRED_PROVIDER* (like the last e-mail)
>
> Image:
>
> IMAGE_INSTALL += " \
>     ti-sgx-ddk-um \    omapdrm-pvr \
>    packagegroup-qt5-toolchain-target \   qtmultimedia \   qtmultimedia-dev \   qtmultimedia-mkspecs \ "
>
>   local.conf:
>
> PACKAGECONFIG_GL_pn-qtbase = "gles2"PACKAGECONFIG_GL_append += " accessibility examples gles2 libs tools"PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"DISTRO_FEATURES_append = " opengl usbhost sgx"DISTRO_FEATURES_remove = " x11  "
> RM_OLD_IMAGE = "1"
> EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug ssh-server-openssh"
>
>
> I hope I could help and maybe we find a solution for the problem and add
> this to meta-ti.
>
> Have a nice day.
>
>
>
> Keith Kyzivat <kamaji@gmail.com> schrieb am 17:20 Mittwoch, 25.Mai 2016:
>
>
>
>
> Hi Benjamin,
>
> Thank you for your config details -- that's gotten me further -- with a
> working driver, and Qt5_CinematicExperience actually running, bringing up
> the initial display, cursor showing, and the opening "Curtains" display,
> but sounds like a similar experience to what you're describing -- driver
> starting, program starting, but dreadful performance to the point where it
> doesn't really get beyond the first frame, and emits many FIFO underflow
> messages.  DMA may be not enabled or is somehow failing?
>
> In any case, I'm further, and will continue to research the issue and hack
> away.  I'll report any progress.
> Should I keep it off-list, or is it on-topic enough for this mailing list?
>
> Anyone have any pointers to what the issue might be?
>
> Qt5_CinematicExperience output log:
> https://gist.github.com/keithel/e4eaf0a44aaa5d060f0578345d05b9b3#file-qt5_cinematicexperience-output
>
> You can also find my config in that gist.
>
> ~Keith
>
> On Tue, May 24, 2016 at 2:21 PM Benjamin Bimmermann <b.bimmermann@yahoo.de>
> wrote:
>
> Hello,
>
> I build with Krogoth a QT5.6 Image.
> I have Include in my Image:
>
> IMAGE_INSTALL += " \    ti-sgx-ddk-um \    omapdrm-pvr \"
>
> and the config :
> PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
> PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"PREFERRED_PROVIDER_virtual/libgles1_keystone = "mesa"PREFERRED_PROVIDER_virtual/libgles2_keystone = "mesa"
> PREFERRED_PROVIDER_virtual/libgl_keystone = "mesa"PREFERRED_PROVIDER_virtual/mesa_keystone = "mesa"
> PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"PREFERRED_VERSION_linux-ti-staging = "4.4%"
> 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_libgbm = "libgbm"PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
>
>
> This Image works Ok. Not great. If you build things like :
> https://github.com/scottellis/tspress
> It works very well. If you try to build big things like:
> https://github.com/rzr/qt5-cinematic-experience
> The driver Starts but and the Programm try to start.
> You see a mouse Courser and thats it. The Programm doesn't run ok.
>
> If you have a solution for that or if we find together for that a solution it would be very nice.
>
> Have a nice day.
>
>
>
>
> Keith Kyzivat <kamaji@gmail.com> schrieb am 16:48 Dienstag, 24.Mai 2016:
>
>
>
>
> Hi Denys,
>
> I'm working with the Beaglebone Black Rev C board -- so AM335x-based.
> What incantation/recipe/package should I be specifying to get the
> userspace DRI drivers for use with libGLESv2 built into my image? That's
> been my biggest stumbling block.  Even moving back to Fido I was unable to
> build an image that includes the userspace graphics support libraries.
>
> Ultimately I want to pull in Qt 5.6 and be able to run QML-based apps with
> the 'eglfs' QPA platform plugin with hardware OpenGLES2 acceleration
> running over HDMI.
>
> Are there any good resources ((e)books, wikis, presentations, etc)  you or
> anyone else can recommend to fully grasp Yocto/OpenEmbedded?  I've come
> across a number of presentations, wikis and blog posts that have explained
> some things, but no comprehensive walkthrough that performs a build and
> explains all the reasons for the changes.
>
> ~Keith
>
> On Thu, May 19, 2016 at 7:41 PM Keith Kyzivat <kamaji@gmail.com> wrote:
>
> Hi folks,
>
> I've been trying to get a beagleboard krogoth build working with working
> OpenGLES2 DRI drivers in place, and have been failing.
>
> I did find out that drivers changed name from libgles-omap3 to
> ti-sgx-ddk-um - but specifying ti-sgx-ddk-um as my
> PREFERRED_PROVIDER_virtual/libgles2 fails hard --
>  -- Nothing RPROVIDES 'ti-sgx-ddk-um'
>
> Digging through commits, I found commit c70102c671 -
> renaming omap5-sgx-ddk-um-linux to ti-sgx-ddk-um.
>
> The problem seems to be that these are renamed, but the package names have
> not changed -- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> includes:
>
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2
> omap5-sgx-ddk-um-linux"
>
> Shouldn't this be the following?
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 ti-sgx-ddk-um"
>
> And also RPROVIDES, RREPLACES, RCONFLICTS and associated -dev, -dbg
> packages?
>
> Apologies if I'm asking this wrong - I'm pretty new to Yocto/OE and still
> figuring it all out.
>
> ~Keith Kyzivat
>
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 20177 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-06 22:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 23:41 Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete? Keith Kyzivat
2016-05-20 20:50 ` Denys Dmytriyenko
2016-05-24 14:48 ` Keith Kyzivat
     [not found]   ` <371273705.3403881.1464113612415.JavaMail.yahoo@mail.yahoo.com>
2016-05-24 18:21     ` Benjamin Bimmermann
2016-05-25 15:20       ` Keith Kyzivat
2016-05-25 21:24         ` Benjamin Bimmermann
2016-06-06 22:38           ` Keith Kyzivat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.