Page 1 of 1
Raspbian core video support
Posted: Mon Sep 30, 2013 3:38 am
by jwzumwalt
I ran across a post and found that GENTOO uses a package manager that will install cor video support - GLES2, EGL, openmax and openVG by using the command...
emerge --ask raspberrypi-userland
Does Raspbian have a simular package for apt-get?
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 6:32 am
by jamesh
Those are already installed as standard on Raspbian I believe.
sudo apt-get upgrade
sudo apt-get install
Should get latest version I think.
sudo rpi-update
Will update firmware as well.
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 7:17 am
by jwzumwalt
I'v done this but when I check the include and lib directories the openvg which is most important is not present. Nether is gless, gl, or opengl, glut, etc.
The most important thing to me is to get openvg I looked for a package name for using apt-get but did not find one. Any ideas?
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 8:04 am
by jamesh
They should be somewhere around - you will need to include the Raspi specific ones (to get the right acceleration), they live in or around /opt/vc/...
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 8:08 am
by AndyD
The files you are looking for are in /opt/vc/
in /opt/vc/include
Code: Select all
bcm_host.h
EGL/
GLES/
GLES2/
IL/
interface/
KHR/
vcinclude/
VG/
WF/
in /opt/vc/lib
Code: Select all
libbcm_host.so
libdebug_sym.so
libEGL.so
libEGL_static.a
libGLESv1_CM.so
libGLESv2.so
libGLESv2_static.a
libkhrn_client.a
libkhrn_static.a
libmmal_core.so
libmmal.so
libmmal_util.so
libmmal_vc_client.so
libopenmaxil.so
libOpenVG.so
libvcfiled_check.a
libvchiq_arm.so
libvchostif.a
libvcos.so
libvmcs_rpc_client.a
libWFC.so
Look in /opt/vc/src/hello_pi/ for a number of examples that show the code needed initialize as well as the compile and link.
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 4:05 pm
by jwzumwalt
Thanks for the help. It appears that the apt-get or the distro did not do its job.
opt/vc/lib libraries are present
/opt/vc/include does not exist
/opt/vc/src does not exist
So... What are the apt-get library names I need for a reload gl, gles, openvg etc.?
Is there a way to use apt-get to do wildcard search listings etc?
UPDATE: After giving this some thought I think I know what happened. I recently ran this command
deborphan --guess-all | xargs apt-get -y remove --purge # remove orphan packages
I think it must of clobbered some directories.
Re: Raspbian core video support
Posted: Mon Sep 30, 2013 10:40 pm
by AndyD
I am not sure what is going on, but yes you have probably removed things from /opt/vc/ as this is all present in the Raspbian distro.
Re: Raspbian core video support
Posted: Tue Oct 01, 2013 2:15 am
by jwzumwalt
Thanks for the help Andy. I was going to copy the files from another SD card but now I have decided to start with a fresh SD card. I have really learned a lot during the past week and a fresh start is the best choice. Thanks to your help and others I will have a very nice stable restart with many improvements. I have kept notes so my development system if will be better than before.
Thanks to everyone!
Re: Raspbian core video support
Posted: Tue Oct 01, 2013 1:07 pm
by AndrewS
jwzumwalt wrote:Is there a way to use apt-get to do wildcard search listings etc?
apt-cache search raspberrypi
Could also try:
apt-cache search raspberry
apt-cache search raspi
apt-cache search rpi
as a 'just in case'
