Go Back   MacRumors Forums > Apple Hardware > Notebooks > MacBook Pro

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 25, 2012, 04:10 PM   #1
Daniel L
macrumors 6502
 
Join Date: Sep 2009
Retina Macbook Pro Scrolling Lag Fix

I thought this deserved it's own thread.


Quote:
Originally Posted by pgiguere1 View Post
Lag/scrolling issues simply mean bad optimization of Safari (and other browsers) that handle most load on a single CPU thread.

This is a shame when we have computers with 4 cores and 8 threads, but there was previously no pressure to optimize browser CPU usage since performance at non-Retina resolutions have always been pretty good.

Apple saw the need to improve Safari's performance for Retina displays, and that's why they though about using CoreAnimation for GPU-accelerated scrolling in Safari 6. They may have though that it would have been enough to avoid lag, but it was not.

A single CPU thread still gets most of the load and that's where the bottleneck seems to be. Apple is currently working on a new version of Safari with much better optimization. You can already get an early taste of it by downloading WebKit's nightly build. It's an in-progress, open-source version of Safari's next version.

WebKit fixed the lag perfectly for me, and it's just a matter of time before it gets a stable release which will probably be Safari 6.1. It's unclear whether Apple has improved CPU threading or GPU acceleration with it (or both), but it works.
Whatever they did has completely fixed the scrolling lag for me on image heavy websites.
Daniel L is offline   5 Reply With Quote
Old Nov 25, 2012, 05:02 PM   #2
NutsNGum
macrumors 68030
 
NutsNGum's Avatar
 
Join Date: Jul 2010
Location: Glasgow, Scotland
I really like Safari, but I love Chrome. I hope that it eventually moves to implement this solution also.
NutsNGum is offline   0 Reply With Quote
Old Nov 25, 2012, 05:21 PM   #3
pgiguere1
macrumors 68000
 
pgiguere1's Avatar
 
Join Date: May 2009
Location: Montreal, Canada
Credit goes to bill-p, he's the one who made me discover this.
pgiguere1 is offline   0 Reply With Quote
Old Nov 25, 2012, 05:23 PM   #4
Michason
macrumors newbie
 
Join Date: Oct 2012
The only time I have noticed scrolling lag is on The Verge. I tried the webkit and scrolling lag was now non existent. Though, it's not a big issue for me as it is for others so I'll keep on using safari.
Michason is offline   0 Reply With Quote
Old Nov 25, 2012, 06:49 PM   #5
conkerbot
macrumors member
 
Join Date: Nov 2010
Safari was pretty flawless outside of Facebook for me, but this makes even FB run at 30FPS+ thanks

Now lets hope they can remove the odd jutters that occur with 10.9!
conkerbot is offline   0 Reply With Quote
Old Nov 25, 2012, 07:25 PM   #6
SchuettS
macrumors 6502
 
Join Date: Dec 2008
Cool

Quote:
Originally Posted by Daniel L View Post
I thought this deserved it's own thread.




Whatever they did has completely fixed the scrolling lag for me on image heavy websites.
..but so many people said it was a hardware issue
SchuettS is offline   1 Reply With Quote
Old Nov 25, 2012, 07:26 PM   #7
zainiak
macrumors regular
 
Join Date: Aug 2012
just saw this in another thread. its AMAZING. It makes this machine much more useable. Sites like the verge, and engadget lagged a ton, and now its smooth as butter
__________________
/// Mid 2012 rMBP 2.3/256/16
/// Nexus 5
/// Nexus 4
zainiak is offline   0 Reply With Quote
Old Nov 25, 2012, 07:32 PM   #8
jaqueh
macrumors member
 
Join Date: Apr 2012
Quote:
Originally Posted by Daniel L View Post
I thought this deserved it's own thread.




Whatever they did has completely fixed the scrolling lag for me on image heavy websites.
disable smooth scrolling, watch scroll lag disappear
jaqueh is offline   0 Reply With Quote
Old Nov 26, 2012, 12:06 AM   #9
AirThis
macrumors 6502
 
Join Date: Mar 2012
I'm not a fan of the Webkit solution in its current state. It actually slows OSX down and that lag remains even after you quit the browser. It's noticeable to the naked eye. Just run a few benchmarks and you'll see what I mean. Unigine and cinebench both yield significantly lower FPS after running the webkit. You need to reboot or log out in order to get rid of the lag. I think I'll pass until it's ready for prime time. Promising but not quite yet there.
__________________
Mac Mini 2009 - Iphone 6 64GB - rMBP 2.6 - Time Capsule 2TB
AirThis is offline   1 Reply With Quote
Old Nov 26, 2012, 03:13 AM   #10
scenox
macrumors member
 
Join Date: Oct 2012
Quote:
Originally Posted by AirThis View Post
I'm not a fan of the Webkit solution in its current state. It actually slows OSX down and that lag remains even after you quit the browser. It's noticeable to the naked eye. Just run a few benchmarks and you'll see what I mean. Unigine and cinebench both yield significantly lower FPS after running the webkit. You need to reboot or log out in order to get rid of the lag. I think I'll pass until it's ready for prime time. Promising but not quite yet there.
That's due to memory leak bugs, report them!
http://www.webkit.org/quality/leakhunting.html
scenox is offline   1 Reply With Quote
Old Nov 26, 2012, 03:23 AM   #11
AirThis
macrumors 6502
 
Join Date: Mar 2012
Quote:
Originally Posted by scenox View Post
That's due to memory leak bugs, report them!
http://www.webkit.org/quality/leakhunting.html
Thanks, I certainly will.
__________________
Mac Mini 2009 - Iphone 6 64GB - rMBP 2.6 - Time Capsule 2TB
AirThis is offline   0 Reply With Quote
Old Nov 26, 2012, 06:14 AM   #12
Jare
macrumors 65816
 
Jare's Avatar
 
Join Date: Jun 2010
Location: Canada
I don't understand you people. What is this "scrolling lag" you're talking about?

I've had this RMBP since their launch and have NEVER experienced "scrolling lag".
__________________
"Feels like I'm wearing NOTHING AT ALL!" - Stupid Sexy Flanders
iOS, OS X & Android Developer
13" MacBook Air, Space Grey iPhone 5S, Moto X, Google Glass Explorers Kit
Jare is offline   2 Reply With Quote
Old Dec 4, 2012, 11:38 AM   #13
nanolife
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Quote:
Originally Posted by Jare View Post
I don't understand you people. What is this "scrolling lag" you're talking about?

I've had this RMBP since their launch and have NEVER experienced "scrolling lag".
Me neither. Apparently only a few users found this on their machines. The same with the many others issues stated here on the forum.
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   1 Reply With Quote
Old Dec 4, 2012, 12:20 PM   #14
scenox
macrumors member
 
Join Date: Oct 2012
I've checked in 2 macstores and every single rMBP had this issue at the same level. If you think it's not there, you either visit only websites with simple layout or you don't know what 'real smoothiness' means
scenox is offline   4 Reply With Quote
Old Dec 4, 2012, 12:47 PM   #15
locoboi187
macrumors 6502a
 
Join Date: Oct 2012
No damn memory leak!!!
locoboi187 is offline   0 Reply With Quote
Old Dec 4, 2012, 02:06 PM   #16
pgiguere1
macrumors 68000
 
pgiguere1's Avatar
 
Join Date: May 2009
Location: Montreal, Canada
This thread made AnandTech :

http://www.anandtech.com/show/6495/l...retina-display
pgiguere1 is offline   0 Reply With Quote
Old Dec 4, 2012, 02:33 PM   #17
stevelam
macrumors 65816
 
Join Date: Nov 2010
Quote:
Originally Posted by Jare View Post
I don't understand you people. What is this "scrolling lag" you're talking about?

I've had this RMBP since their launch and have NEVER experienced "scrolling lag".
it means you have absolutely no idea what lag is. good for you, but not for the rest of us.
stevelam is offline   2 Reply With Quote
Old Dec 4, 2012, 03:03 PM   #18
teeejay
macrumors member
 
Join Date: Jun 2012
Location: Prague, Czech Republic
I actually notice scroll lag, but just while visiting Facebook. Every other sites works fine without any sort of lag. And I am quite happpy with my rMBP.
__________________
iPhone 5S
MBP Retina 2,7GHz i7, 16GB RAM, 512 SSD
teeejay is offline   0 Reply With Quote
Old Dec 4, 2012, 03:09 PM   #19
nanolife
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Quote:
Originally Posted by scenox View Post
I've checked in 2 macstores and every single rMBP had this issue at the same level. If you think it's not there, you either visit only websites with simple layout or you don't know what 'real smoothiness' means
I also have checked in a few rMBP, not just mine and it doesn't appear in any of them. Or maybe we are all wrong here and you have the right call. Because you also checked my machine and the ones I tested here right?

Just wondering.
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   1 Reply With Quote
Old Dec 4, 2012, 03:18 PM   #20
goMac
macrumors 603
 
Join Date: Apr 2004
Quote:
Originally Posted by scenox View Post
That's due to memory leak bugs, report them!
http://www.webkit.org/quality/leakhunting.html
Hm? Memory leaks don't persist after an application quits. The kernel cleans up all the memory, leaked or not.
goMac is offline   0 Reply With Quote
Old Dec 4, 2012, 03:28 PM   #21
nontroppo
macrumors 6502
 
Join Date: Mar 2009
Hm, can't find any webkit bugs that sound likely candidates:

http://trac.webkit.org/search?q=scro...1&changeset=on

I also searched for HiDPI and Retina to little avail. There have been facebook performance fixes but nothing retina specific. Anyway, the cool thing is all these fixes from either Chromium or Webkit via lots of teams all end up in the same source tree, very cool when you look at the build waterfall!

http://build.webkit.org/waterfall
nontroppo is offline   0 Reply With Quote
Old Dec 4, 2012, 03:51 PM   #22
Mac Rules
macrumors 6502
 
Join Date: Jul 2006
Location: London
Having used Quartz Debug on both of these it does seem that CPU usage is around 30% higher which looks to (hopefully) suggest that multicore processing is being used.

I notice still some lag with scrolling twitter quickly and the top section of The Verge does also seem to slow right down; Facebook however is silky smooth. Finally.
__________________
Retina MBP 2.6GHz Quad i7, 16Gb RAM, 512Gb SSD
iPhone 6 128Gb
iPad 4th Gen 32Gb
Mac Rules is offline   0 Reply With Quote
Old Dec 4, 2012, 03:57 PM   #23
Michaelgtrusa
macrumors 601
 
Michaelgtrusa's Avatar
 
Join Date: Oct 2008
Location: Everywhere And Nowhere
I will have to test.
__________________
iMACAll life is an experiment. The more experiments you make the better.
TWITTER TUMBLR
Michaelgtrusa is offline   0 Reply With Quote
Old Dec 4, 2012, 05:20 PM   #24
bwapod
macrumors member
 
Join Date: Jun 2010
Quote:
Originally Posted by Jare View Post
I don't understand you people. What is this "scrolling lag" you're talking about?

I've had this RMBP since their launch and have NEVER experienced "scrolling lag".
Use Safari in full screen.

Visit the NY Times : www.nytimes.com

Click on any article.

Double-tap to zoom (don't use the text-zoom buttons).

Scroll up and down quickly (two finger scroll).

Watch Safari trod through molasses.

If that doesn't do it for you on your rMBP, then I simply don't know what to say...
bwapod is offline   1 Reply With Quote
Old Dec 4, 2012, 10:40 PM   #25
bill-p
macrumors 65816
 
Join Date: Jul 2011
Quote:
Originally Posted by pgiguere1 View Post
Credit goes to bill-p, he's the one who made me discover this.
And I almost thought it was common for people who try WebKit nightly often (to check for new HTML5 features implemented or fixes to current layout issues).

Now, if only Apple would implement the same fix across all OSX views so that other apps can take advantage of it as well.
bill-p is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Notebooks > MacBook Pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Temporary fix to Retina Macbook Pro Lag ppone MacBook Pro 4 Feb 17, 2013 06:55 AM
How to fix Google Chrome "scrolling lag" problem on MacBook Pro with Retina Display dbyway MacBook Pro 18 Jan 30, 2013 12:52 AM
OS X 10.8.2 lag fix on Retina MacBook Pro slytton OS X 10.8 Mountain Lion 47 Oct 20, 2012 11:14 AM
Macbook pro 13 Early 2011 - Scrolling lag pdacrazy OS X 10.8 Mountain Lion 4 Aug 24, 2012 02:19 PM
About the scrolling lag on the retina Macbook Pro... Panini MacBook Pro 10 Jul 1, 2012 09:40 AM

Forum Jump

All times are GMT -5. The time now is 10:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC