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

Windows sandbox : Your video card driver does not support any of the supported OpenGL versions. #70802

Open
L2750558108 opened this issue Jan 1, 2023 · 9 comments

Comments

@L2750558108
Copy link
Contributor

Godot version

3.5.1mono

System information

windows10

Issue description

I got this interface when opened an exported project using the Windows sandbox
image
Both GLES2 and GLES3 doesnt work

image

Steps to reproduce

Export any project
Run it in Windows Sandbox

Minimal reproduction project

An empty project

@Zireael07
Copy link
Contributor

IIRC Windows Sandbox is a VM with NO OpenGL capability. Not a Godot problem.

@L2750558108
Copy link
Contributor Author

Does this mean that platforms without OpenGL functionality are abandoned? Why do programs built with Unity work?

@atirut-w
Copy link
Contributor

atirut-w commented Jan 1, 2023

Why do programs built with Unity work?

Unity games can fall back to APIs other than OpenGL which are set in their project settings. I think there might be some older or more basic APIs that work under Windows Sandbox, but that will require investigations and someone else other than me.

@L2750558108
Copy link
Contributor Author

So will such a feature be implemented in Godot in the future? I think it makes Godot better

@atirut-w
Copy link
Contributor

atirut-w commented Jan 1, 2023

It depends, on a lot of stuff.

@Calinou
Copy link
Member

Calinou commented Jan 1, 2023

You need to install a software OpenGL implementation, then make sure your remote desktop is able to use it somehow. This will be much slower than using hardware acceleration, and is not suitable for playing modern games.

Does this mean that platforms without OpenGL functionality are abandoned? Why do programs built with Unity work?

Windows has a built-in WARP driver (software Direct3D implementation), but no such thing for OpenGL or Vulkan. This is why you need to install Mesa's software renderers as I linked above.

@Zireael07
Copy link
Contributor

@Calinou Can you edit the issue title to mention Windows sandbox? Otherwise people w/o Vulkan/OpenGL capability will end up here from Google search and wonder why the issue isn't helpful to them

@lawnjelly lawnjelly changed the title Your video card driver does not support any of the supported OpenGL versions. Windows sandbox : Your video card driver does not support any of the supported OpenGL versions. Jan 1, 2023
@lawnjelly lawnjelly added this to the 3.x milestone Jan 1, 2023
@akien-mga
Copy link
Member

Reading microsoft/winget-pkgs#12906 (comment), it does seem like Windows Sandbox can use OpenGL. This might be a configuration issue on your end.

You need to make sure to enable GPU passthrough, and otherwise look into MS documentation and forums to find out how to make sure that GPU capabilities are fully exposed.

@RoadToDream
Copy link

For anyone who is still facing this issue, you need to specify
<vGPU>EnableVendorExtensions</vGPU>
explicitly in your configuration file. Host machine needs Windows version newer than 21H2

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

No branches or pull requests

7 participants