# GPU and CPU rendering on MacBookPro M2 ProMax

**URL:** <https://discourse.slicer.org/t/gpu-and-cpu-rendering-on-macbookpro-m2-promax/29152>\
**Category:** Support\
**Tags:** bug\
**Created:** [April 26, 2023, 8:58pm UTC](https://discourse.slicer.org/t/gpu-and-cpu-rendering-on-macbookpro-m2-promax/29152 "2023-04-26T20:58:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 27, 2023, 2:43pm UTC](https://discourse.slicer.org/t/gpu-and-cpu-rendering-on-macbookpro-m2-promax/29152/3 "2023-04-27T14:43:32Z")

</div>

Thanks for sharing the data. I could use GPU rendering on a mac pro, but on a mac book air m2 I got this error:

```auto
[VTK] Invalid texture dimensions [447, 318, 2308]

[FD] UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_3D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable

```

so it must be a hardware or driver limit, probably to 2048 max dimension

I used CropVolume with a 1.5x multiplier on the spacing and then GPU rendering worked on the m2 machine:

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/9/b98c5caf030a045e663f25fe532aa24ddfe3cce7.jpeg)

---

_[View the full topic](https://discourse.slicer.org/t/gpu-and-cpu-rendering-on-macbookpro-m2-promax/29152)._
