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

Check Minimum System Requirements on glscopeclient startup #66

Closed
antikerneldev opened this issue Feb 24, 2020 · 3 comments
Closed

Check Minimum System Requirements on glscopeclient startup #66

antikerneldev opened this issue Feb 24, 2020 · 3 comments

Comments

@antikerneldev
Copy link
Collaborator

Verify the GPU can actually support the required feature set (Like OpenGL 4.3 for compute shaders) and throw a warning/error otherwise.

@antikerneldev
Copy link
Collaborator Author

Committed incomplete test to a new branch opengl_version_check (bea1a89).

Issues:

/* FIXME: This code does not currently function correctly.
 * Issues:
 *
 * - The version returned is not the highest OpenGL version the system supports.
 *   This is due to how GTK is creating the OpenGL context, and how OpenGL deals with backwards compatibility.
 *   We should probably have GTK create the OpenGL context, requesting version 4.3 as the minimum required version.
 *
 *   Reference Links:
 *   - https://stackoverflow.com/questions/47151394/how-to-tell-which-version-of-opengl-my-graphics-card-supports-on-linux/47166829#47166829
 *   - https://stackoverflow.com/questions/46510889/how-can-i-know-which-opengl-version-is-supported-by-my-system/46511741#46511741
 *   - https://cgit.freedesktop.org/mesa/demos/tree/src/xdemos/glxinfo.c
 *
 */

@azonenberg
Copy link
Collaborator

WaveformArea now requests 4.3 core profile during startup. Can you re-test your branch with this change and see if it properly detects what we got?

@azonenberg
Copy link
Collaborator

Closing as fixed in 926ada6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants