Installing SGX drivers - omaplfb & pvrsrvkm not loaded

It seems to be this way, QTQuick requires openGL.

Regards,
JS

With Matteo's help we got something working now..

It required a module build change, so i've tagged a new release and
pushed it to the build farm:

http://rcn-ee.homeip.net:81/farm/deb/

It (4.4.24-ti-r56) should start building the next few hours.. Since
the sgx module finally loads into the kernel correctly, i'll also
package up the sgx lib's..

The current sgx lib install directions are:

#one line:
git clone -b ti-img-sgx/1.14.3699939
git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git --depth=1

cd omap5-sgx-ddk-um-linux/

sudo su
export DISCIMAGE=/
export TARGET_PRODUCT=ti335x
make install
exit

#fix: libgbm.so.2 (one line:)
sudo ln -s /usr/lib/arm-linux-gnueabihf/libgbm.so.1
/usr/lib/arm-linux-gnueabihf/libgbm.so.2

sudo modprobe pvrsrvkm
sudo /usr/bin/pvrsrvctl --start --no-module

Regards,

Thanks Robert, I will perform the test.

Hi, guys.
I also spent many time to force work bbb + QtQuick + sgx.
So my results:
Under 4.4.x kernels I can’t launch it.
But I started sgx on next combination: 3.18.5-bone1 kernel + ubuntu14 (I think Debian is suitable too) and instructions from here: http://elinux.org/BeagleBoardDebian#SGX_Drivers
I replaced 4.xxx kernel to 3.18 and it works.
About headers: default installer DO NOT install headers on target device. You should to put it manually. I did next:

  1. On host machine install Graphics_SDK_setup…bin from bb-kernel/dl folder.
  2. Copy to /usr/include on target device folder SDK_INSTALLED_FOLDER/include/OGLES2
    Then you can build Qt5.7 with QML for BBB.
    But, guys, it was a real pain…(( Rapberry PI 3 much more suitable for GUI that BBB.
    I warn you)
    Hope this post help to somebody.

Sergey, can you upload an image with the sgx running?

It would be fantastic and a great help.

Thanks

Hi, Fran.
I’m not at home. I will upload image in 3 days.
Also I want to check this kernel for hdmi 1920x1080@24 resolution ability. I started this resolution with 3.8.x kernel many times ago and can’t repeat this under 4.x kernel. I hope to have “ideal” GUI kernel for BBB: with SGX (done) and with 1920x1080 resolution.
Good bye.

Fantastic Sergey, you are a formidable person and a great help to the beaglebone black community.

The truth is that it has always been a disaster the controllers of the bbb. And they have not given good support of the IT itself.

It costs to upload an image with the graphic drivers on the official website of the beaglebone.

I think by default they would have to be activated.

There are many people who could use beaglebone black for retro emulation or for other graphic tasks.

Definitely a great job Sergey. Thank you.

Hello. As I promised I’m posting link to my image: https://www.onlims.com/ewsh/bbb/bbb-qt-egl.img.tgz
Some details:

  1. Based on Ubuntu 14 and Bone Linux kernel 3.18 from Robert Nelson (Robert, thanks for your great job).
  2. User\pass are ubuntu\ubuntu.
  3. Default output is 4D Cape 7". You can configure it into /boo/uboot/uEnv.txt. Edit fdtfile=am335x-bone-4dcape-70t.dtb line. For example, you can set it to fdtfile=am335x-bone-4dcape-43t.dtb for supporting 4,3" touchscreen. HDMI is also support cape_enable… line in this file.
  4. In home (/home/ubuntu) directory placed two files, which are examples from Qt5.7: “stocqt” and “filesystembrowser”. You can start it without any additional parameters, like a: ./stocqt
  5. vsftpd installed.
    I will be glad to have some feedback.
    Hope this image will useful.

Also I’ planning to post article about building Qt5.x for bbb crosscompiling, but it will be a lot later (I hope at this weekend).

Also I fogot to mention that this image is for SD card, if you want to flash it into eMMC, you should to uncomment emmc-flasher line in /boot/uboot/uEnv.txt

Thousands of thanks sergey, formidable.

A great job. As soon as I have time I test the image.

Thank you

Hi Sergey, the image isn’t available now, can you post a new link please
regards

Dario, hello.
Sorry, we did a small cleaning on server.
Right link is https://www.onlims.com/ewsh/Image/bbb/bbb-qt-egl.img.tgz
Good luck.

Thanks Sergey …
The procedure for moving to the uSD is:
Unzip with 7zip and burn in the uSD with win32diskimager?
regards

Sorry, I use Linux typically (dd utility).
But as I know win32diskimager is right tool for creating sd card.

Could you please post how to set up cross compile environment with quick and qml support.It will be very beneficial for all newbies who wants to work on your image.

Regards
Gurpartap Singh