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
internal/graphicsdriver/directx: crash at the end of the frame #2447
Labels
Milestone
Comments
Apparently both cards don't support DirectX 12 https://www.notebookcheck.net/Intel-HD-Graphics-4000.69168.0.html |
hajimehoshi
added a commit
that referenced
this issue
Nov 16, 2022
The DirectX initialization passed but crashed later on some old machines supporting the feature level 11 but not 12. This change fixes the issue by changing the required feature level from 11 to 12 so that the initialization fails and OpenGL is used as the fallback. Closes #2447
10 tasks
hajimehoshi
added a commit
that referenced
this issue
Nov 20, 2022
A fix for #2447 was a breaking-change as the DirectX driver was no longer available for some old graphics card. To support such old cards, provide a new environment variable EBITENGINE_DIRECTX_FEATURE_LEVEL to specify a feature level. The possible values are 11_0, 11_1, 12_0, 12_1, and 12_2. The default value is 12_0. Closes #2466
hajimehoshi
added a commit
that referenced
this issue
Nov 20, 2022
A fix for #2447 was a breaking-change as the DirectX driver was no longer available for some old graphics card. To support such old cards, provide a new environment variable EBITENGINE_DIRECTX_FEATURE_LEVEL to specify a feature level. The possible values are 11_0, 11_1, 12_0, 12_1, and 12_2. The default value is 12_0. Closes #2466
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ebitengine Version
v2.5.0-alpha.5
Operating System
Go Version (
go version
)Go 1.19.3
What steps will reproduce the problem?
Just launching a game (@wasedaigo's application here)
What is the expected result?
No crash
What happens instead?
Anything else you feel useful to add?
The user's machine:
The text was updated successfully, but these errors were encountered: