JohnCoates / Aerial

Apple TV Aerial Screensaver for Mac
MIT License
20.78k stars 1.05k forks source link

Fans spinning at full speed during Aerial playback #1023

Closed hsiktas closed 4 years ago

hsiktas commented 4 years ago

General troubleshooting tips

Before logging an issue please check that:

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.

Required information

In order to help us sort your issue, we ask that you provide the following information:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).

Description of issue / Feature request

A few minutes after Aerial enables, I can hear the fan of my 2012 MacBook Air spin up very audibly at full speed. I guess that this is related to GPU acceleration, and I remember that in an older version of Aerial, fan noise was not an issue (even with an external monitor connected).

Here is what intel Power Gadget shows after I forced TurboBoost to be disabled while Aerial runs: image Please note how the GPU is running at full speed.

And here the CPU usage in iStat Menus: image

I stopped using Aerial ~1 or 2 years ago, but I can't remember an issue like this. Is there maybe a way to enforce software decoding? The selected video format is 1080p H264, and I already downloaded all videos into the cache.

glouel commented 4 years ago

Hi @hsiktas

Hardware acceleration from Intel GPUs doesn't always work for some reason, especially with some of the newer videos. This is something I noticed too on my 2011 MBA.

I would recommend that you try to open a video that spinned up your fan with QuickTime player (you can right click a video in Aerial), and see if you get the same issue.

Long story short, I think that the new videos may use a higher H.264 profile that's not handled correctly by Intel's IGP, even in 1080p.

kai-myklebust commented 4 years ago

Hi, I have the same problem, but it has only occurred after i upgraded to Big Sur and Aerial v.2.0.0beta9. (I did both at the same time so cannot rule out which one is the issue) The fans are spinning up and the CPU temperature rises very soon after the screen saver starts and I can see right after it stops that the legacyScreenSaver-x86_64 (ScreenSaverEngine) process was very active. The temperature does not rise when running the same video in QuickTimePlayer, but don't know if this is because it uses the NVIDIA GPU in QuickTimePlayer and maybe the Intel GPU on screensavers?

The video format is 1080p H264 and all videos are downloaded in cache.

glouel commented 4 years ago

@kai-myklebust a few things:

In general and prior to Big Sur, what you got in Aerial was 100% what you got in Quicktime (modulo your number of screens, if you play multiple videos obviously, that's another story). So it's a bit weird that you are seeing a different result between QuickTime and Aerial. I've noticed many bugs with video decoding in Big Sur so this may just be the Big Sur betas, although I can't confirm that one.

And just to clarify, if you see the CPU spinning, it's because the hardware decoding failed and it reverted back to CPU decoding (which can be a bit intensive).

So you can quickly check back 1.9.2 to double check but I'd put that more on the current state of Big Sur, it's still very early and has many rough parts. Let me know how it goes.

Edit : What about fan speed when you are in the new 2.0.0 UI ? If you select a video it starts playing if it's cached, you can run Activity Monitor alongside to get a sense of what's happening.

kai-myklebust commented 4 years ago

Sorry for the late answer, I had problems going back to 1.9.2. But after some time it just worked again. I love the AerialUpdater.

So you can quickly check back 1.9.2 to double check but I'd put that more on the current state of Big Sur, it's still very early and has many rough parts. Let me know how it goes.

It also happens it in 1.9.2 and the new v2 betas.

Edit : What about fan speed when you are in the new 2.0.0 UI ? If you select a video it starts playing if it's cached, you can run Activity Monitor alongside to get a sense of what's happening.

It sometimes happens in the new UI and also directly on the front page of the screensaver tab in system preferences (on the page where you click the "screen saver options..."), but never consistently. It almost always uses between 15-30% CPU but only sometimes that is enough to spin the fans, so maybe something else is also happening so the fans spin up. Sometimes the same video spins the fans up and sometimes it doesn't. I haven't found some consistency in when what happens.

Due to the problem with even installing the screensaver at times and other weird problems. I will attribute this to Big Sur beta problems and come back if it happens later on.

glouel commented 4 years ago

@kai-myklebust fan spinning is up to the system, based on internal temperature, so there are tons of factors with what you were doing previously, what the rest of your OS is doing, etc.

The fact that the CPU load is about 10-30% indicates to me it's more a general Big Sur beta issue than anything else. Video playback still seems shaky in beta 4, it throws a tons of errors in console for things internal to their code so my guess is they rewrote parts of it and may not be fully done.