8000 Is there a reason for -nographics to be present in Windows builds? · Issue #703 · game-ci/unity-builder · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Is there a reason for -nographics to be present in Windows builds? #703

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

Open
DoctorGester opened this issue Apr 23, 2025 · 2 comments
Open

Comments

@DoctorGester
Copy link
DoctorGester commented Apr 23, 2025

We are currently trying to build our game with il2cpp/windows and encountering issues due to one of our packages using GPU during asset import. Mono build works fine, because we use ubuntu for that one and ubuntu has Mesa LLVMpipe. However, windows also has a comparable alternative: WARP https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp

My understanding that WARP should be available pretty much on every windows version. There is also an undocumented flag in Unity -force-driver-type-warp which forces this driver to be used, I tested it on my machine and it seems to work great.

Shouldn't there be at least an option to remove -nographics on windows builds? (like enableGPU on mac ones)

Edit:

While we haven't found a way to make WARP work in the windows server image, it's very easy to make LLVMpipe work. One simply needs to copy the opengl32.dll from http://mesa-llvmpipe-x64-xx.x.x.zip downloaded from the latest release at https://github.com/mmozeiko/build-mesa near the Unity.exe and run it with -force-opengl.

@webbertakken
Copy link
Member

If there is a reliable way to enable GPU on Windows, then the feature can be extended to include it indeed.

@DoctorGester
Copy link
Author

@webbertakken we found including llvmpipe and -force-opengl pretty reliable. Plus it improves feature parity with linux mono builds.

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
0