Apple MacBook Pro lasts 135 minutes longer on battery in full screen mode
notebookcheck.net
notebookcheck.net
What you are talking about is enforced v-sync to prevent tearing on the normal desktop environment.
Technically there is, it's called front-buffer rendering and there's specs for it (look up EGL_SINGLE_BUFFER or EGL_KHR_mutable_render_buffer). The only practical usage of it, and the only reason the spec exists at all, is for time-warping in VR where the warp is done race-the-beam style so to speak on a per eye basis (as in, while the left eye is being scanned out do the time warp for the right eye)
Granted this is unrelated to OS desktop composition, but hey, the more you know :)
In terms of OS desktop composition windowed vs. fullscreen this is actually something mobile solved, or at least Android did I don't know if iOS is the same or not. By shifting final composition to the hardware compositor and using extensions such as EGL_EXT_swap_buffers_with_damage only the area of the screen that was damaged gets updated & re-composited. Desktop has been pretty stubborn and slow to adopt similar systems, Intel only recently added a HWC fast path at all and only for video playback.
As far as I know, windows on iOS are similar to fullscreen windows on Mac, as in each app has its own surface where it renders, and SpringBoard has a window which serves as a host for BackBoard to draw.
Just a neat fact.
Doesn't that mean they have no framebuffer ?
My understanding of "racing the beam" is that it is only required when you have no framebuffer at all - you are literally cramming the bits, in real time, onto the display circuitry.
If you have even a single framebuffer, you write to that and it handles painting the actual pixels to the display circuitry.
for the gearvr, the scan out circuitry operates independently and reads out the bits from a buffer in memeory. There is still a buffer.
Could also have something that just gives the movie larger slices of computer time and clock down, if in full screen.
I assumed convenient sized windows for the viewer, not native res ones.
For video playback you have a first step on the GPU, which is decoding the video (e.g. from h.264 into uncompressed video). You can from there go several ways, e.g. read the video back into main memory, do post-processing on the CPU and somewhere blit it back on a surface. This is not really what one wants for good performance. Instead of that all necessary post-processing (including scaling and other things like color-space conversion) can also be directly done on the GPU after decompression. Again, after that step the output can be read back or it can be directly forwarded towards the video output. For the best performance you go all-the-way on the GPU. This works in fullscreen mode as well as in windowed mode (you can instruct the GPU to use only a part of the screen for the video).
I had some task in the last year where I had to use gstreamer for video rendering, and using various configurations I could see their impact quite good. E.g. CPU-based postprocessing (through the videoconvert pipeline plugin) was very slow compared to the GPU hardware-based one (vaapi) on the Intel Atom box.
I justed wanted to give an explanation why I don't think that the video scaling makes a huge difference.
Edit: as the sibling noted too, they could also de-prioritize other apps since presumably you're not really using them.
https://developer.apple.com/library/content/documentation/Pe...
I think this fell out of use when people moved to the "compose everything" rendering scheme.
https://developer.apple.com/library/content/documentation/Gr...
I am just guessing though. Interesting that the difference is over 2 hours though, I wouldn't have guessed it would be that much.
1. Screen brightness can be dimmed in full screen mode without a perceivable difference.
2. App nap. It's a macOS feature that dials down the power consumption of apps when their windows aren't visible.
Mac OS X reached an astounding level of technical goodness in Snow Leopard. Downhill since then. When my Macbook died I bought a refurbished, shitty Chromebook. Living off Azure Notebooks for any kind of computing...
(Now if only Apple would sell a Macbook or iMac with 512 SSD & 16 GB RAM for a reasonable price)
Edit: 3 releases actually. (Mavericks)
Memory compression is just awesome.
(I might be misremembering everything.)
Actually, I remember reading something that Windows doesn't do any blitting / buffer swapping if you just leave it idle and no updates happen on screen. However, there are many ways to throw this off and force drawing every frame if you are not careful.
The thing that stands out to me like a sore thumb though is the 'load' numbers. You only get 1 hour of battery life.
I know modern chips can be a hog but that terrible, especially compared to the 11 hours of light surfing on wifi.
This is the problem with optimizing power sipping all over the place. As soon as you push things none of that matters and your battery time PLUMMETS.
I don't know what they could do though outside of doubling the battery capacity.
Note the "Pro" in the title (and, yes, I bang on about this a lot when provoked).
Apple, please: I work on batteries a lot. Start putting in BIGGER batteries, along with better connectivity (yes, I would like standard USB 2 and 3 connectivity without requiring dongles for, like, most things I want to plug in; yes, I would like an HDMI port or two built in so I don't need to carry dongles; yes, I would like a wired ethernet port because it's still a lot better than WiFi and, again, doesn't need yet another dongle; yes, I do require line in audio built in to the damn box, not just line out, and don't be forcing me to use a dongle to plug in a pair of headphones or I will become militantly angry).
Also, whilst I'm at it, more cores, please: 8, minimum. More memory as well. 32GB minimum, ideally 64GB. And 2 - 4TB storage.
I know, it'll weigh more: I don't care, I'm not puny. Even still, you used to be able to build decently powerful machines with good battery life without building the kind of ridiculous lumps that Dell, et al., shovel out the door as "desktop replacements". Please, remember how to do this, and stop building toy computers for undernourished hipsters with chronic muscle atrophy.
Lolwut, companies would INSTANTLY go back to the older MBPs if they could. Do you know how much replacing lost/misplaced/stolen/broken adapters cost?!
The only thing where companies can save with the new USB-C MBP is on power bricks because once the cable inevitably fails you only have to get a new cable instead of a whole new brick.
The fact is that a new hire has specifically asked me to buy him an older Macbook Pro in preference to the new touch-bar variant primarily because of the lack of decent ports on the new model and the hassle this causes with dongles (especially when they go missing, which they invariably do).
Owning Apple has become a social signal. The problem is these things lose their power when a large number of people are sending the same signal.
Don't get me wrong: I'm not above buying expensive fashion items, but it doesn't change the fact that to me a laptop is primarily a tool. The reason I switched to Apple 6 years ago is because it was a better tool for what I wanted to work with (audio), but I got suckered in by the power, stability and battery life, and found I could run Windows as much as I needed it using Parallels... so most things have moved to OSX.
The thing is, 6 years is a long time and that situation is changing. Apple are no longer releasing laptops that have scaled in capability to meet the demands of my workload because of their increasing focus on, well, being a fashion item I suppose.
So, anyway, in the next year or two I'll probably be looking for a high-specced Linux laptop to replace my Macbook Pro, which doesn't sound like a heck of a lot of fun to me.
See, I think if that's where you're starting from, you've already lost the point. Their strategy appears to me to be "stop making gadgets for technoweenies and make them for the other hundreds of millions of people". If 99% of your potential customer base are never going to plug a HDMI cable into a machine, why bother with the machining and cost of having a HDMI port?
> Apple are no longer releasing laptops that have scaled in capability to meet the demands of my workload
Because there's orders of magnitude more money in servicing every one else's needs, unfortunately (or fortunately, I suppose, if you have shares in Apple.)
You're already giving up performance if you choose a laptop over a desktop computer as your "tool", and probably using some form of cluster if you're doing any heavy computation.
Sometimes reading pros talking about how they need to do pro computing on their pro computer, you wonder whether they would get even more satisfaction from a bag of external batteries and lots of serious-looking accessories.
If they're running complex models somewhere off the grid, a large solar array and some car batteries would look even cooler!
There are worlds where people need self-contained mobile compute.
I think a significant proportion of people who are even moderate computer users would prefer increased battery life and snappy performance at the expense of a slightly bulkier laptop.
The 2017 15" MBP has a 76W.h battery.
But in any case, we're talking a maximum of 30% improved battery life that you can get by going bigger. Better efficiency when consuming power is likely to make a larger difference.
A Thinkpad T430 with the 9-cell with a Slice battery pushes that to 188 Wh, and no one seems to question it. You can also bring spare batteries (not the same as an external battery) to plug into it.
The MacBook Pro is not pushing these limits. They have a glued-in, non-replaceable 49.2 Wh battery.
Your best bet at this point may be an external, but users would be better off if manufacturers offered machines with large, replaceable batteries.
And for the love of god I don't understand why a pro notebook does not have swappable batteries [1]. It would add a millimeter and a few dozen grams, but allow you to choose between slim and fat batteries, and replace them when they lose capacity. You can get rid of ports and tell people it is for their best, and they will buy it. Surely you can make it a bit thicker and use the same explanation.
And here is an idea for a business. You know how companies like Westfalia and Karman take VW buses and modify them? Take a new MacBook, saw open the case at the bottom, and add an aftermarket battery, and if you're at it more RAM. Impossible for an individual, but maybe not impossible if you have a factory with all the necessary equipment. It's going to be expensive, but just sell those modded MacBooks to people who buy business class tickets and who have enough money.
[1] OK, I know why - so people have to buy a new one when the batteries go bad.
$699 412Wh / 116,000mAh / 11 pounds
Enabling “Reduce transparency” and “Reduce motion” in accessibility preferences also causes a considerable battery gain on Macs.
https://www.apple.com/batteries/maximizing-performance/
http://www.macworld.co.uk/feature/mac/17-tips-increase-mac-b...
There's a lot of junk and mostly obvious stuff in the second article.
This is surprising because
1) The time - it's a full 2 hours and change - is not nothing.
2) It's not immediately obvious to many active computer users.
I know it's cool to pretend like nothing is surprising these days, but this is something that's legitimately surprising to many people.
Apparently only you and Apple know the secret to this because similar battery improvements weren't seen when trying this trick in Windows on the same machine. Microsoft should hire you.
So… it seems, in addition to Apple and me, Microsoft has also figured out the secret to having a battery life–conscious window manager.
So while it may be an obvious optimization to some people it doesn't seem to be implemented everywhere it could be. Or the DWM is more efficient than OS X's window composition stuff and there's no difference between windowed and fullscreen modes. Either option probably will annoy some fanboys one way or the other.
One thing that they may have done is to simply change the refresh rate of the display to match the played video's (akin to GSync/Freesync) in fullscreen mode. You can't do so in windowed mode since it will affect other applications, but when a fullscreen video is shown you can safely do so and it may save a bit of power.
> > Using the Windows Media Player in Bootcamp, power consumption was at a much higher 28.2 W, and we found absolutely no difference between regular and full screen playback.
Windows was less efficient overall, just with no difference in full-screen.
edit: http://www.pcworld.com/article/3023430/hardware/tested-vlc-v...
Case in point: I don't own a mobile Windows device so it doesn't matter to me. On my MBP (2880 x 1800) 4k wouldn't apply either. I'd run either XviD or DVD.
Some info on UWP power usage: https://www.reddit.com/r/Windows10/comments/4iol5z/do_uwp_ap...
Apple started implementing variable refresh in iPads, but not on their Macs as far as I know.
Does the same test run on W10 or any linux distro do the same? I highly doubt it.
On Windows 10, it doesn’t compare, as the most heavy effect DWM has to deal with is alpha blending (status bar transparency). Microsoft dropped all of Aero to save battery life. We’ll see how it fares once the new design elements (with blurred backgrounds) start appearing in future betas.
Yes.
>All the window composition with frame-buffer effects takes a toll.
Which would be relevant if they were moving windows around, instead of just watching a movie in full screen mode vs typical window mode. So not much (if any) composition and no frame-buffer effects in place. At worst, the tiny rect with the clock on the menubar was changing.
Maybe it is related to "unredirect fullscreen" optimizations many Linux desktops employ. The people saying they don't get similar improvements in Windows by going fullscreen on the same hardware should run the test again with all the Windows 10 graphical improvements disabled.
[1]http://losca.blogspot.com/2012/11/game-performance-improveme...
(I rarely watch video on battery in a window, but I might start browsing fullscreen on battery if there's a benefit)
That this is surprising is really interesting. I honestly thought this was a known thing.
I do a ton of road warrior stuff on my old MacBook, and I've been struggling with a battery that craps out in under 2 hours due to all the background junk in the Mac OS. This looks to be super useful to me, hopefully others will find the same.
How about they figure out the combination that leads to consistent kernel panic when plugging in/out external monitors.
A feature film is anything longer than 40 minutes. This idea that movies need to be 90 or 120+ minutes long is absurd.
The reason people are reacting negatively is not because of the truth value of your point: it’s because your point was pedantic and irrelevant.
Is that time the length of a feature film? Yes. Many of them. Does that mean all feature films have to be that long? No. Are most feature films the general public encounters ~90-120 mins? Yes.
So you’re not adding to the discussion. You’re being that “well, actually...” guy.
I’m not trying to rag on you to be mean, I’m trying to help you understand why it came across poorly.
> I’m not trying to rag on you to be mean
Then downvote and move on, don't reply "Dude" :)
I'd be curious to see your work if you have an IMDb link though. If you're going to reply with anything other than a link to your work, please don't.
The only thing that made it into IMDb was the animated short that got into Cannes. I’m well out of that area now.
It’s called “Ignorance is Bliss”, if you’re interested.