-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
premature exit of example programs in Fedora 27? #139
Comments
Hi Ben, Many of the examples do "timeout" in the |
Yeah that was lazy of me . Still, it would be nice to have a log message in there saying why it is exiting, more like:
I couldn't figure out how to do it with a static const member var because there is no example.cpp. |
Hi, I'll have a look at this, but I'll probably integrate it with the GL debug logging framework if possible. Also the default timeout is intentionally so short. In the rewrite of OGLplus the timeout can be postponed by the user moving the mouse, I'll have a look at that and maybe do the same here. |
I got many of oglplus example programs to build on my Fedora 27 system, but when I run them, they seem to spontaneously exit without my pressing any keys or mouse button. There is nothing in the code that suggests they should do this because of a timer, etc. Has anyone seen them? I do see some messages like:
but nothing that looks like an error. Nothing is logged to dmesg or journalctl -fa. No core dump. For example, _build/example/oglplus/001_triangle exits within 4 seconds. What's going on?
Here was how I built:
and here is the log. these RPMs are installed (whatever version is current in F27 now, versions available upon request).
When it does work, the graphics are really neat and put very low load on my CPU showing that shaders are doing their job.
The text was updated successfully, but these errors were encountered: