rordenlab / MRIcroGL

v1.2 GLSL volume rendering. Able to view NIfTI, DICOM, MGH, MHD, NRRD, AFNI format images.
https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage
Other
204 stars 32 forks source link

Borg_Error for large t (4th dimension) nii.gz files in Windows #44

Closed dicemt closed 2 years ago

dicemt commented 2 years ago

I have encountered a display/load error (_BorgError) for large 4D nii.gz files in Windows. Although I still cannot figure out the exact situations that lead to this error, I have seen the latest MRIcroGL (1.2.20220720) sometimes fails to load large t (4th dimension) nii.gz files and shows _BorgError.

Some (marginal) info:

mricrogl_windows_1_2_20220720

To reproduce: Dataset 1: Haxby 2001 subj2

# haxby2001/subj2/bold.nii.gz
from nilearn import datasets
nilearn.datasets.fetch_haxby()

Dataset 2: ABIDE https://s3.amazonaws.com/fcp-indi/data/Projects/ABIDE_Initiative/Outputs/cpac/func_minimal/OHSU_0050147_func_minimal.nii.gz

My Environment 1: MRIcroGL 1.2.20220720 x86-64 FPC Author: Chris Rorden License BSD 2-Clause Windows: 10.0 Intel; OpenGL= 4.6.0 - Build 30.0.101.1122; Shader=4.60 - Build 30.0.101.1122 2.1 Max 3D texture: 2048 Current texture: 64x64x64 1mb

My Environment 2: MRIcroGL 1.2.20220720 x86-64 FPC Author: Chris Rorden License BSD 2-Clause Windows: 10.0 NVIDIA Corporation; OpenGL= 4.6.0 NVIDIA 512.15; Shader=4.60 - NVIDIA 2.1 Max 3D texture: 16384 Current texture: 64x64x64 1mb

neurolabusc commented 2 years ago

Can you re-download and test the latest release it will now report version 1.2.20220720c. If this works for you, I can refresh downloads on NITRC.

dicemt commented 2 years ago

Thank you so much for the fix! Borg_Error is gone, and now I can load/display large nii.gz files!