BeagleBone Black (4.4.20 kernel) + RobertCNelsons SGX driver not working?

395 views
Skip to first unread message

Aitor Ardanza

unread,
Sep 9, 2016, 9:18:52 PM9/9/16
to BeagleBoard

Hi,

I´m having troubles trying to put working the 3d acceleration with the SGX driver. I the steps I followed are:

Base system: I'm using the BBB-eMMC-flasher-debian-8.4-lxqt-2gb-armhf-2016-04-10-2gb.img.xz firmware with the kernel updated to 4.4.20-bone-rt-r13

With this system glxgears command shows an average of 23 fps. I suppose that the graphics acceleration is not activated.
So I start following the steps of the wiki in http://elinux.org/BeagleBoardUbuntu#SGX_Drivers.


It seems that there is no error in the process and I reboot the system... but when I call "lsmod | grep omaplfb", nothing comes on the screen and glxgears shows like before...

I'm missing a step?

Taking advantage of this thread, another question ... My ultimate goal is to run an application with OpenGL ES 2.0. What windowing system you suggest me to manage the graphics context?

Thaks a lot!!!
AItor 

Aitor Ardanza

unread,
Sep 10, 2016, 6:48:47 PM9/10/16
to BeagleBoard

ome progress:

Following these steps I get that the lsmod command answer me with something.

But I'm no sure if the 3d hardware acceleration is on.

If I lanuch weston the image that I can see is no good...

How can I know if the driver is well installed?

James S

unread,
Sep 11, 2016, 6:51:12 AM9/11/16
to BeagleBoard
After your first message, what steps did you make to get omaplfb loading?
Jas

Aitor Ardanza

unread,
Sep 11, 2016, 8:27:25 AM9/11/16
to beagl...@googlegroups.com
Ups! I forgot to put the link:

sudo apt-get install ti-sgx-es8-modules-`uname -r`
sudo depmod -a `uname -r`
sudo update-initramfs -uk `uname -r`
And starting manualy sgx:

cd /etc/init.d
./sgx-startup.sh start

After that lsmod show this:

root@beaglebone:/etc/init.d# lsmod | grep omaplfb
omaplfb                12048  0 
tilcdc                 28057  1 omaplfb
pvrsrvkm              147997  1 omaplfb


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/eIXy0TWkb6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7cc0510d-da1f-4000-977d-89bf612ece1b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Aitor Ardanza

unread,
Sep 12, 2016, 9:08:21 AM9/12/16
to beagl...@googlegroups.com
I'm testing some code using freeglut libEGL and libGLESv2, and I can execute the demos without problems... but the frame rate is terrible...


Some tips to see if the sgx driver is well installed?

Reply all
Reply to author
Forward
0 new messages