Well, there are more reports of the same bug: Aion rendering out film style frame flashing has anyone else experienced this?
I see that all the cases occur on relatively powerful macOS systems with a large amount of RAM available for the GPUs. The maximum on my MacBook Air M2 (24 GB), where the model works, is 16 GB. So, I thought of testing Aion again by limiting the memory available for the GPU in my M4PRO. I just need to run:
sudo sysctl iogpu.wired_limit_mb=16384
This reduces the VRAM of the M4PRO to match what I have available on the M2.
And the glitches disappear (!!!?). It also works with:
sudo sysctl iogpu.wired_limit_mb=24000
I didn’t test further increases, but I restored the default value to see if the bug reappears:
sudo sysctl iogpu.wired_limit_mb=0
(In my case, that equals 48 GB, which is 3/4 of 64 GB).
And, yes, the bug reappears.
It seems evident that this is a memory-related issue, surprisingly due to excess memory (!!?). Perhaps Aion assumes a maximum VRAM limit of 24 GB, corresponding to NVIDIA 4090s, and exceeding that on higher-end Macs causes problems. It might also be related to other reported “Out of memory” bugs during other rendering stages.
Modifying iogpu.wired_limit_mb cannot be considered a solution. I hope these findings help the developers finally address this months-old issue, which renders the best Topaz interpolator unusable on Mac devices with higher memory capacities.
LAST NOTE: But just now, I remembered the ‘Max Memory %’ parameter in the settings. I lowered it to 10% as suggested, but the patches appeared also with default iogpu.wired_limit_mb so it’s no solution at all