# gpui: Prefer integrated GPUs on Intel Mac \(\#13685\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c1e18059f891d34ade1db2de10e3a41fa64ce9c4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c1e18059f891d34ade1db2de10e3a41fa64ce9c4

Requested commit: c1e18059f891d34ade1db2de10e3a41fa64ce9c4

Commit: c1e18059f891d34ade1db2de10e3a41fa64ce9c4

Tree: 3a24f40d306956af42571a5d4e7121cdfca00e26

Author: Emily

Committer: GitHub

## Message

```
gpui: Prefer integrated GPUs on Intel Mac (#13685)

On Intel, Metal will pick a discrete GPU by default when available,
resulting in higher power consumption and heat output. Prefer
non‐removable low‐power devices to correct this.

On Apple Silicon, there is only ever one GPU, so there is no functional
change.

I didn’t do intensive benchmarking of this or anything, but Zed still
seems responsive and it stops my MacBook Pro acting as a combination
space heater–jet engine.

Thanks to @denlukia for showing that this is easy to fix; I’ve marked
you as a co‐author, I hope that’s okay.

Closes: #5124



Release Notes:

- Improved power consumption on Intel Macs by preferring integrated GPUs
over the discrete GPUs.
([#5124](https://github.com/zed-industries/zed/issues/5124)).

Co-authored-by: Denis Lukianenko <denlyk1@gmail.com>
```

## Parents

- [351a3c0815a5aab8c4e1e624eae2caa73368afc0](https://git.cafe/gitcafe/zed/commit/351a3c0815a5aab8c4e1e624eae2caa73368afc0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c1e18059f891d34ade1db2de10e3a41fa64ce9c4?format=markdown)
