Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webrender scrolls at <1 frame per second using integrated graphics on mid-2010 macbook #227

Closed
gregkatz opened this issue Mar 9, 2016 · 7 comments

Comments

@gregkatz
Copy link

@gregkatz gregkatz commented Mar 9, 2016

Using servo in webrender mode with integrated graphics on a mid-2010 macbook does not work well. Using discrete graphic card works much better.

Steps to reproduce:

  1. Build servo using brew install --HEAD servo/servo/servo
  2. Lock graphics to integrated mode using gfxCardStatus (available at https://gfx.io/)
  3. Launch servo using webrender with servo -w http://www.reddit.com
  4. Attempt to scroll the page
@paulrouget
Copy link
Collaborator

@paulrouget paulrouget commented Mar 10, 2016

Can you please run with -w -Z wr-stats and post a screenshot here?
Do you get the same result with firefox.com?

@gregkatz
Copy link
Author

@gregkatz gregkatz commented Mar 11, 2016

Here's a few screenshots showing the difference between discrete and integrated graphics. The first shot is on discrete. All the others are on integrated. The last shot shows what happens when I try to scroll the page...even slower.

firefox - discrete
firefox_com - integrated
reddit - integrated 2
reddit - integrated

@pcwalton
Copy link
Collaborator

@pcwalton pcwalton commented Mar 14, 2016

Hmm, it would be nice to have the GPU profiling stats in there…

Still, "CPU (compositor)" being so high leads me to believe it isn't the power of the GPU that's the problem (a good sign). We're hitting some kind of driver stall or something.

@gregkatz
Copy link
Author

@gregkatz gregkatz commented Mar 15, 2016

Is there some way I can include the GPU profiling stats in the screen shot?

@pcwalton
Copy link
Collaborator

@pcwalton pcwalton commented Mar 15, 2016

It should be there if you have the most up-to-date WebRender (using a cargo override).

@gregkatz
Copy link
Author

@gregkatz gregkatz commented Mar 15, 2016

For what it's worth, here's integrated and discrete screen shots with the GPU info included.

firefox-integrated
firefox-discrete

@glennw
Copy link
Member

@glennw glennw commented Feb 7, 2017

I believe this is resolved now, please re-open if you can still reproduce.

@glennw glennw closed this Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.