NCAR / VAPOR

VAPOR is the Visualization and Analysis Platform for Ocean, Atmosphere, and Solar Researchers
https://www.vapor.ucar.edu/
BSD 3-Clause "New" or "Revised" License
178 stars 49 forks source link

Volume renderer crash on M1 #3498

Open sgpearse opened 9 months ago

sgpearse commented 9 months ago

To reproduce, run vapor through a console: 1) Open the session file that is in the .zip in /glade/campaign/cisl/vast/vapor/Bugs/3498 1a) Redirect the image renderer to the geotiff in the .zip file if necessary 1b) Redirect the volume renderer to the .tf3 file in the .zip if necessary 3) Move the scene ~15-20 times and spurious errors will arise, and Vapor will eventually crash:

cisl-ridgeland:Data pearse$ /Applications/vapor.app/Contents/MacOS/vapor ~/Data/eastTroublesome/sc23.vs3
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 5 GLD_TEXTURE_INDEX_3D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
2023-11-27 13:52:37.681 vapor[64392:1877694] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang)}
2023-11-27 13:52:45.271 vapor[64392:1877631] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang)}
2023-11-27 13:52:45.271 vapor[64392:1877694] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=4 "Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)" UserInfo={NSLocalizedDescription=Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)}
Abort trap: 6
NihanthCW commented 15 hours ago

Could be addressed through ANARI. TBD.