Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upEGL Context creations hangs after VideoCore crash #254
Comments
|
The problem isn't that eglCreateContext doesn't return - it sounds like the gpu has crashed. It might be worth setting
Ideally run Really you need to provide a test app that I can run that provokes the gpu crash. That way I can get the gpu debugger connected and see what the problem is. Just stating the obvious, but if you are having any stability issues, then disable overclocking before running any tests. |
|
I have seen similar issues like this , after the program is freeze , and I kill it , it can not run it again , only reboot can solve this problem. I have little program with source can repeat this problem. But no one have any comment. |
|
@bluefishisme did you ever figure out how to fix your issue? The reason I ask is because I'm experiencing the exact same symptoms you are in that even vgencmd is freezing after openvg calls occur: ioctl(3, 0xc01cc402 Appears to hang there and all subsequent openvg calls fail. Also, |
|
@ykram Do you have an application I can run on raspbian that provokes the vcos_abort? |
|
I can upload the source being used that triggers the issue although it On Mon, May 23, 2016 at 9:20 AM, popcornmix notifications@github.com
|
|
Just zip/tar up the files I need to run and give me a link (e.g. to dropbox/google drive). |
|
I'll try to get this archived and sent to you today. I have to recompile On Mon, May 23, 2016 at 9:44 AM, popcornmix notifications@github.com
|
|
So I've been trying to reproduce this using an application that reads On Mon, May 23, 2016 at 12:16 PM, Mark M mark@noffle.net wrote:
|
|
It's the gpu that is calling vcos_abort, so arm stacktrace/coredump won't help. |
|
Ah, bummer. I'll work on creating a POC that reproduces the issue and will On Wed, May 25, 2016 at 9:56 AM, popcornmix notifications@github.com
|
|
I'm still trying to get a way to reproduce this reliably but in the mean As I said, still working on getting something that you can run that'll On Wed, May 25, 2016 at 11:40 AM, Mark M mark@noffle.net wrote:
|
|
@ykram any progress on the POC? |
|
@ykram any progress on the POC? (This is second ping...) |
|
We saw a very similar (possibly the same) issue in our firmware. We could reproduce it using After a lot of digging around we realized that we had @popcornmix Any thoughts about this? |
|
@julianscheel I've just tried:
with and without |
|
@popcornmix: Can you try again with this script?
Starting The second invocation of edit: It can also take many more iterations than just 10, but so far, the bug always triggers here eventually. |
|
Any status on resolving this bug? I'm currently being affected by it, even in 2018 with Raspbian Stretch. |
|
I doubt anyone is looking at it, unfortunately it's very low priority, and we have oodles of higher priority stuff to fix/develop. |
|
@camthesaxman If you have a simple test case you can share that triggers the lockup, then we can investigate the issue. |
|
This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested. |
I have seen similar issues like this - but they're quite old and maybe not related to the same bug. I've compiled SDL2 according to https://solarianprogrammer.com/2015/01/22/raspberry-pi-raspbian-getting-started-sdl-2/.
At some point the display freezes up and have to be released by SIGKILL signal to the app.
After this- all applications which tries to create an EGL context won't start at all. The only way to recover that I have found is to reboot the system.
This has happened under both an RPi2 with newest Raspbian distro
Linux rpi2 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l GNU/Linuxand also version 1 B with the RetroPie distroLinux retropie 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux.I tested a very simple program found here: http://pastebin.com/Vnje5sEe which is using the PI GL API directly (not SDL2), and from what I can see the function call
eglCreateContextnever returns.I do not have any exact steps to re-create this error yet - but the fact that some calls never return should nevertheless never happen in my opinion.