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

won't start on Windows if cpu does not support >= OpenGL 3.3 #5

Closed
Cyrix126 opened this issue Apr 19, 2024 · 2 comments
Closed

won't start on Windows if cpu does not support >= OpenGL 3.3 #5

Cyrix126 opened this issue Apr 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Cyrix126
Copy link
Owner

Cyrix126 commented Apr 19, 2024

Bug

On Windows 10 with old cpu that do not support OpenGL 3.3 (spec was released in 2010), Gupaxx will not be started.

Steps to reproduce

  1. Launch Gupaxx on windows with cpu not supporting OpenGL 3.3

Cause

It is because the wgpu dependencies requires OpenGL 3.3 as minimum version on Windows since version v0.18.0.
Before this version, it was working because wgpu used angle for Windows.

It is a dependencies called by the eframe dependence.
Since eframe has been upgraded, (version 1.3.4 of Gupax), it is using the new wgpu version.

Solutions

In theory, Gupaxx could accept cpu using at minimum OpenGL 3.1 (immediate mode is not supported before this version

  • Getting the two versions of eframe for Windows, 0.23(which support OpenGL 3.1) and latest, using the right one at runtime if the first failed. It would solve the issue without the user to do anything at the cost of a small increase in size of the windows binary, added technical debt to the code and time developer.

EDIT: could it be possible to keep only the latest version of wgpu using angle feature ?

AND/OR

  • Write in README the current minimum supported version of OpenGL for each OS with link to verify easily. The user would need to upgrade his hardware or switch to Linux (wgpu on linux does support OpenGL =< 3.3).

Related:

Original issue from upstream
hinto-janai#78
Compatibility of Intel CPU with OpenGL:
https://www.intel.fr/content/www/fr/fr/support/articles/000005524/graphics.html
Minimum version of OpenGL possible
https://www.khronos.org/opengl/wiki_opengl/index.php/Legacy_OpenGL#Compatibility
Minimum version of OpenGL required by wgpu
https://github.com/gfx-rs/wgpu/tree/v0.18.0?tab=readme-ov-file#supported-platforms
Older version of wgpu using angle for Windows
https://github.com/gfx-rs/wgpu/tree/v0.17.2#supported-platforms
Glow doesn't precise minimum required version of OpenGL
grovesNL/glow#25

@Cyrix126 Cyrix126 added the bug Something isn't working label Apr 19, 2024
@Cyrix126
Copy link
Owner Author

stay open until release.

@Cyrix126 Cyrix126 reopened this Apr 21, 2024
@Cyrix126
Copy link
Owner Author

fixed in release 1.1.0
cpu on Windows which support OpenGL 3.1 will start correctly.

@Cyrix126 Cyrix126 changed the title won't start on Windows if cpu does not support =< OpenGL 3.3 won't start on Windows if cpu does not support >= OpenGL 3.3 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant