Skip to content
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

Troubleshooting Magnum GLFW crash on Ubuntu for screen sharing #2116

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

eundersander
Copy link
Contributor

@eundersander eundersander commented May 20, 2023

python minimal_magnum_app.py and ./build/utils/viewer/viewer ( src/utils/viewer/minimal_magnum_app.cpp) are roughly identical. Both create a window and then flash red-and-black by clearing the framebuffer in a particular way. Both work on my Macbook and my Fedora laptop.

python minimal_magnum_app.py crashes on our Ubuntu cloud machine that we're trying to use for Screen Sharing (via vino). Meanwhile, ./build/utils/viewer/viewer works as expected.

In addition to the code changes here, the Ubuntu machine has a change to magnum GlfwApplication.cpp, around line 489, to force glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API);.

minimal_glfw.cpp in this branch can be ignored.

@eundersander eundersander added the do not merge Not ready to merge. This label should block merging. label May 20, 2023
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. do not merge Not ready to merge. This label should block merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants