Skip to contentSkip to conversation

New: Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

Buildroot bugzilla at busybox.net 1 participant 9 messages Sep 13, 2015 – Aug 31, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8341

Summary: Getting EGL Error: Could not create the egl surface:
error = 0x300b on RPI-2b board.
Product: buildroot
Version: 2015.05
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: davy2002a at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

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".

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

https://bugs.busybox.net/show_bug.cgi?id=8341

--- Comment #1 from Thomas Petazzoni <[email protected]> 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)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

--- Comment #2 from Beno?t Th?baudeau <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

--- Comment #3 from Dave <[email protected]> 2015-09-16 14:28:30 UTC --- Created attachment 6156
--> https://bugs.busybox.net/attachment.cgi?id=6156
Buildroot config

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

--- Comment #4 from Dave <[email protected]> 2015-09-16 14:31:07 UTC --- (In reply to comment #2)

Quoted 6 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

--- Comment #5 from Beno?t Th?baudeau <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |

--- Comment #6 from Thomas Petazzoni <[email protected]> 2015-10-15 13:35:53 UTC --- Yann, can you have a look ? Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 8341] Getting EGL Error: Could not create the egl surface: error = 0x300b on RPI-2b board.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8341

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Yann E. MORIN <[email protected]> --- 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... :-/

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.