-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
Terrain crash on Linux #764
Comments
That happens when the GPU does not support sparse buffers. The engine treats it as an optional feature, but the terrain system assumes it does exist. |
Intel Xe Mesa driver seems to not support sparse buffers |
This should be fixed once Mesa 24 is out. |
This doesn't fix turanszkij#764, but should make it clearer what is going on when the terrain system is used without sparse buffer support.
@turanszkij Can we keep this open? Seems like github doesn't understand what "doesn't solve" means. |
Yeah, I didn't mean to close it, just happened automatically. |
With the recent drivers, terrain now works for me on Intel Xe. Granted, it's almost measured in SPF and not FPS, but it doesn't crash anymore. |
Thanks, I'll close it then. |
Adding the terrain from the editor enters a crash. Cause is Division by zero.
Crash is happening here:
https://github.com/turanszkij/WickedEngine/blob/master/WickedEngine/wiTerrain.cpp#L1210-L1211
The debugger shows the sparse_properties to be zero:
The text was updated successfully, but these errors were encountered: