Cyrix126 / gupaxx

Fork of Gupax integrating the XMRvsBeast Raffle
https://xmrvsbeast.com
GNU General Public License v3.0
31 stars 5 forks source link

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

Closed Cyrix126 closed 7 months ago

Cyrix126 commented 7 months ago

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

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

AND/OR

Related:

Original issue from upstream https://github.com/hinto-janai/gupax/issues/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 https://github.com/grovesNL/glow/issues/25

Cyrix126 commented 7 months ago

stay open until release.

Cyrix126 commented 7 months ago

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