Bug 5098 - gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-sfp.bin and gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-hfp.bin are missing OpenGL headers
Summary: gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-sfp.bin and gpu-viv-bin-mx6q-3.5.7-1.0.0...
Status: RESOLVED WONTFIX
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-arm (show other bugs)
Version: unspecified
Hardware: Other arm
: Medium normal
Target Milestone: Future
Assignee: Daiane
QA Contact:
URL:
Whiteboard:
: 5119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-02 14:58 UTC by Diego
Modified: 2018-01-26 11:42 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2013-09-02 14:58:26 UTC
According to this post the Vivante GPU should be OpenGL 2.1 capable:
https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004484.html

Unfortunately, while libGL.so is present in gpu binary drivers, build headers are not present neither in gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-sfp.bin nor in gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-hfp.bin.

Please provide /usr/include/GL folder with respective headers.
Comment 1 Otavio Salvador 2013-09-03 15:52:55 UTC
(In reply to comment #0)
> According to this post the Vivante GPU should be OpenGL 2.1 capable:
> https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004484.
> html
> 
> Unfortunately, while libGL.so is present in gpu binary drivers, build
> headers are not present neither in
> gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-sfp.bin nor in
> gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-hfp.bin.
> 
> Please provide /usr/include/GL folder with respective headers.

We've been using mesa GL headers; does it work for you?
Comment 2 Diego 2013-09-03 16:45:06 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > According to this post the Vivante GPU should be OpenGL 2.1 capable:
> > https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004484.
> > html
> > 
> > Unfortunately, while libGL.so is present in gpu binary drivers, build
> > headers are not present neither in
> > gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-sfp.bin nor in
> > gpu-viv-bin-mx6q-3.5.7-1.0.0-alpha.2-hfp.bin.
> > 
> > Please provide /usr/include/GL folder with respective headers.
> 
> We've been using mesa GL headers; does it work for you?

I've tried copying manually GL headers from a Mesa version, but I think they were from a 8.0.x version.
I've successfully built Panda3D framework with it but had "Segmentation fault" problems I didn't had on OpenGL ES.

I'll try with Yocto's 
libgl-mesa-dev-9.1.6-r0.nitrogen6x.rpm and see if anything changes.
Comment 3 Diego 2013-09-04 13:19:50 UTC
(In reply to comment #2)
> I'll try with Yocto's 
> libgl-mesa-dev-9.1.6-r0.nitrogen6x.rpm and see if anything changes.

One application segfaulting when built against Mesa OpenGL headers is Panda3D (see bug #5119)
Comment 4 Otavio Salvador 2013-09-19 15:46:05 UTC
*** Bug 5119 has been marked as a duplicate of this bug. ***
Comment 5 Otavio Salvador 2018-01-26 11:42:35 UTC
This is not going to be changed as this comes this way from the vendor.