Bad raphics performance on retina display (early 2015 13inch Macbook Pro)

3 ビュー (過去 30 日間)
Andreas
Andreas 2016 年 4 月 15 日
コメント済み: Mike Garrity 2016 年 4 月 20 日
Hello everybody,
I realized some strange graphics performance issues on my work computer, which is a early 2015 Macbook Pro. I use a Thunderbolt display as an external screen.
Animated graphics seem to draw much slower on the native retina display than on the external screen, when plugged in. After some tests with bench() (mean value of 10 runs), I can tell how much worse it is on the retina.
Time in seconds for graphics tests with Thunderbolt display:
2D: 0.7363 3D: 0.7025
Time in seconds for graphics tests with Retina alone:
2D: 1.6315 3D: 1.6474
This behaviour is present on all the 5 Macbooks I tested. All of them have MATLAB 2015b installed. One of my colleagues still has 2015a on his computer, which has exactly the same hardware like mine and there the performance on the retina display is much better. What happened? Is this a known issue?
Best regards

回答 (1 件)

Mike Garrity
Mike Garrity 2016 年 4 月 15 日
I haven't benchmarked that particular machine, but whenever I do benchmark a graphics system, I start with the diagram I discussed in this post on the MATLAB Graphics blog .
As you can see, once the system is in the region I labeled the "pixel limit", the performance is pretty much linearly proportional to the number of pixels per primitive. On a Retina display, there are more pixels per primitive. So it's not surprising that you might see a slowdown on the order of what you're seeing.
  2 件のコメント
Mike Garrity
Mike Garrity 2016 年 4 月 20 日
What changed in 2015b is that MATLAB Graphics actually started supporting Retina displays. Before that, it was generating the image at low resolution, and then MacOS was scaling that low-res image up to the resolution of the monitor.
That means that the R2015b version is actually rendering 4 times as many pixels as the R2015a version.

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by