Bug 8341 - Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.
Summary: Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b...
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2015.05
Hardware: Other Linux
: P5 major
Target Milestone: ---
Assignee: Yann E. MORIN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-13 02:59 UTC by Dave
Modified: 2016-08-31 22:15 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Buildroot config (57.60 KB, application/octet-stream)
2015-09-16 14:28 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2015-09-13 02:59:13 UTC
I am consistently getting a 0x300b error whenever attempting to execute a custom Qt 5.5.0 application on my Raspberry PI 2 Model B unit, no matter what I do, I have rebuilt this more then 5x and even did a full rebuild of the code of both my application and buildroot using "make clean all".
Comment 1 Thomas Petazzoni 2015-09-13 08:28:15 UTC
Could you please indicate:
 * The Buildroot version you're using
 * The Buildroot configuration (.config) you're using
 * An example application that exhibits the problem (can be an example application built in with Qt)
Comment 2 Benoît Thébaudeau 2015-09-13 12:02:34 UTC
Also, please indicate the RPi FW config.txt that you're using (can be the default one provided by Buildroot).

The one in Buildroot has small values for the GPU memory sizes, which are not enough for some video applications. Maybe these sizes should be increased in Buildroot.
Comment 3 Dave 2015-09-16 14:28:30 UTC
Created attachment 6156 [details]
Buildroot config
Comment 4 Dave 2015-09-16 14:31:07 UTC
(In reply to comment #2)
> Also, please indicate the RPi FW config.txt that you're using (can be the
> default one provided by Buildroot).
> 
> The one in Buildroot has small values for the GPU memory sizes, which are not
> enough for some video applications. Maybe these sizes should be increased in
> Buildroot.

Ok, in a nutshell...

Version: 2015.11-git-00108-g708818a

Nature of custom application: A simple Qt 5 WebKit based browser intended to view limited numbers of sites, however intended to take full advantage of EGLFS HW Acceleration.

As stated previously, whenever the said application was executed, it would refuse to run and output a 0x300b error code.
Comment 5 Benoît Thébaudeau 2015-09-16 17:36:35 UTC
Just in case, test again after selecting BR2_PACKAGE_RPI_FIRMWARE_X and setting the following in package/rpi-firmware/config.txt (or using a post-build script, or directly on your SD card):

  gpu_mem_256=128
  gpu_mem_512=256
  gpu_mem_1024=512

Make sure that rpi-firmware has been rebuilt after these configuration changes before testing.
Comment 6 Thomas Petazzoni 2015-10-15 13:35:53 UTC
Yann, can you have a look ? Thanks!
Comment 7 Thomas Petazzoni 2016-08-31 20:45:24 UTC
Yann, could you please have a look? This issue is open since almost a year now :-/
Comment 8 Yann E. MORIN 2016-08-31 22:15:58 UTC
I have absolutely no clue on how to investigate this, even less
so how to eventually fix it.

Besides, the issue is reported with running QtWebkit, which is not
a simple application.

As Thomas said on IRC "we cannot investigate and fix every random
issue on every random platform".

So, I'm marking this as "won't fix" for now.

Sorry we could not have been of much help... :-/