View previous topic :: View next topic |
Author |
Message |
Mouski n00b
Joined: 25 Jun 2016 Posts: 21
|
Posted: Thu Jul 28, 2016 1:34 pm Post subject: Raspberry pi VideoCore userland / mesa ? |
|
|
Hi,
I'm installing a full Gentoo on my Raspberry Pi 3. I've installed Mesa 12.0.1 drivers which seem include drivers for VideoCore 4 (with VIDEO_CARDS set with "vc4"), but if i read the Gentoo Wiki i can see this :
Quote: | The ARM side libraries for interfacing to Raspberry Pi GPU are included in a package raspberrypi-userland. Which includes the Video Core tools, GLES2, EGL, openmax and openVG libs that support the Raspberry Pi GPU. |
Which is the best choice ? Or it's recommended to install both without any conflicting problem ?
Thanks in advance. |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 573
|
Posted: Thu Jul 28, 2016 8:20 pm Post subject: |
|
|
That is a good question. I set up my Raspberry Pi 3 with raspberrypi-userland before Mesa included the VideoCore 4 libraries, with many custom ebuilds to account for the differences. If mesa now includes VC4, perhaps the process is much easier.
I am honestly a bit hesitant to change anything after taking so much time to make things work as it is. Maybe I will use my Raspberry Pi 2, which I am not using at the moment, for testing this. Hopefully someone else will know the answer to your question, though. |
|
Back to top |
|
|
Mouski n00b
Joined: 25 Jun 2016 Posts: 21
|
Posted: Fri Jul 29, 2016 1:29 pm Post subject: |
|
|
For information :
Code: | $ equery files mesa
* Searching for mesa ...
* Contents of media-libs/mesa-12.0.1:
/etc
/etc/drirc
/usr
/usr/include
/usr/include/EGL
/usr/include/EGL/egl.h
/usr/include/EGL/eglext.h
/usr/include/EGL/eglextchromium.h
/usr/include/EGL/eglmesaext.h
/usr/include/EGL/eglplatform.h
/usr/include/GL
/usr/include/GL/gl.h
/usr/include/GL/gl_mangle.h
/usr/include/GL/glcorearb.h
/usr/include/GL/glext.h
/usr/include/GL/glx.h
/usr/include/GL/glx_mangle.h
/usr/include/GL/glxext.h
/usr/include/GL/internal
/usr/include/GL/internal/dri_interface.h
/usr/include/GL/mesa_glinterop.h
/usr/include/GL/osmesa.h
/usr/include/GL/wglext.h
/usr/include/GLES
/usr/include/GLES/egl.h
/usr/include/GLES/gl.h
/usr/include/GLES/glext.h
/usr/include/GLES/glplatform.h
/usr/include/GLES2
/usr/include/GLES2/gl2.h
/usr/include/GLES2/gl2ext.h
/usr/include/GLES2/gl2platform.h
/usr/include/GLES3
/usr/include/GLES3/gl3.h
/usr/include/GLES3/gl31.h
/usr/include/GLES3/gl3ext.h
/usr/include/GLES3/gl3platform.h
/usr/include/KHR
/usr/include/KHR/khrplatform.h
/usr/include/gbm.h
/usr/lib
/usr/lib/dri
/usr/lib/dri/.keep_media-libs_mesa-0
/usr/lib/dri/kms_swrast_dri.so -> ../mesa/kms_swrast_dri.so
/usr/lib/dri/swrastg_dri.so -> ../mesa/swrastg_dri.so
/usr/lib/dri/vc4_dri.so -> ../mesa/vc4_dri.so
/usr/lib/libEGL.so -> libEGL.so.1.0.0
/usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
/usr/lib/libEGL.so.1.0.0
/usr/lib/libGL.so -> libGL.so.1.2.0
/usr/lib/libGL.so.1 -> libGL.so.1.2.0
/usr/lib/libGL.so.1.2.0
/usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1.1.0
/usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1.0
/usr/lib/libGLESv1_CM.so.1.1.0
/usr/lib/libGLESv2.so -> libGLESv2.so.2.0.0
/usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
/usr/lib/libGLESv2.so.2.0.0
/usr/lib/libgbm.so -> libgbm.so.1.0.0
/usr/lib/libgbm.so.1 -> libgbm.so.1.0.0
/usr/lib/libgbm.so.1.0.0
/usr/lib/libglapi.so -> libglapi.so.0.0.0
/usr/lib/libglapi.so.0 -> libglapi.so.0.0.0
/usr/lib/libglapi.so.0.0.0
/usr/lib/libwayland-egl.so -> libwayland-egl.so.1.0.0
/usr/lib/libwayland-egl.so.1 -> libwayland-egl.so.1.0.0
/usr/lib/libwayland-egl.so.1.0.0
/usr/lib/mesa
/usr/lib/mesa/kms_swrast_dri.so
/usr/lib/mesa/swrast_dri.so
/usr/lib/mesa/swrastg_dri.so
/usr/lib/mesa/vc4_dri.so
/usr/lib/pkgconfig
/usr/lib/pkgconfig/dri.pc
/usr/lib/pkgconfig/egl.pc
/usr/lib/pkgconfig/gbm.pc
/usr/lib/pkgconfig/gl.pc
/usr/lib/pkgconfig/glesv1_cm.pc
/usr/lib/pkgconfig/glesv2.pc
/usr/lib/pkgconfig/wayland-egl.pc
/usr/share
/usr/share/mesa
/usr/share/mesa/eselect-mesa.conf |
If i look raspberrypi-userland files, they are installed in /opt/ : http://www.portagefilelist.de/site/query/listPackageFiles/?category=media-libs&package=raspberrypi-userland&version=0_pre20160305-r1&do#result |
|
Back to top |
|
|
|