All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Bimmermann <b.bimmermann@yahoo.de>
To: Keith Kyzivat <kamaji@gmail.com>, Yocto Texas <meta-ti@yoctoproject.org>
Subject: Re: Rename of omap5-sgx-ddk-um-linux to ti-sgx-ddk-um not complete?
Date: Wed, 25 May 2016 21:24:11 +0000 (UTC)	[thread overview]
Message-ID: <2022998705.1230242.1464211451910.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <CAH5ySacKTnMNFR+i3kfsSV0yuO5449o00q1dM0-QSjvn7TRYkA@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2016-05-25 21:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-06-06 22:38           ` Keith Kyzivat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2022998705.1230242.1464211451910.JavaMail.yahoo@mail.yahoo.com \
    --to=b.bimmermann@yahoo.de \
    --cc=kamaji@gmail.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.