Closed Bug 1417633 Opened 7 years ago Closed 5 years ago

WebRender slow when power plan is set to power saver

Categories

(Core :: Graphics: WebRender, defect, P2)

defect

Tracking

()

RESOLVED INACTIVE
Tracking Status
firefox57 --- unaffected

People

(Reporter: niels.breuker, Unassigned, NeedInfo)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171103003834 Steps to reproduce: Put Windows into the power saver power plan. Open Firefox Nightly with WebRender enabled. Actual results: Firefox Nightly felt really sluggish on any website. Even simple websites liker Hacker News didn't feel quite smooth. Expected results: I expected Firefox to stay smooth like Servo in the same conditions.
Version: 58 Branch → Trunk
Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Whiteboard: [wr-mvp] [triage]
No longer blocks: stage-wr-next
Whiteboard: [wr-mvp] [triage]
Whiteboard: [wr-mvp] [triage]
Whiteboard: [wr-mvp] [triage] → [wr-mvp] [triage] [gfx-noted]
Whiteboard: [wr-mvp] [triage] [gfx-noted] → [gfx-noted]
Can you still reproduce this?
Flags: needinfo?(niels.breuker)
Yes, I still see a major difference in smoothness when switching to power saver. This is on both my integrated GPU (HD Graphics 530) and discrete GPU (GTX 960M), though it's much more noticeable on the integrated GPU. For me it's really easy to reproduce when trying power saving with auto scroll. According to the WebRender profiler I do still get 60 fps, though it's not completely stable, sometimes it dips to 50.
Flags: needinfo?(niels.breuker)
Can you give some more information about the cpu in you system?
Flags: needinfo?(niels.breuker)
Priority: P5 → P2
My laptop has the Intel i7-6700HQ clocked at the default 2.6GHz which can turbo to 3.4GHz when I start scrolling. In power saver it clocks down to 0.8GHz on idle, but when I start auto-scrolling it clocks back to 2.6GHz.
Flags: needinfo?(niels.breuker)
Blocks: stage-wr-trains
No longer blocks: stage-wr-next
A lot of things have changed in WebRender over the last while. Do you still see this problem?
Flags: needinfo?(niels.breuker)
Attached image Difference in frame time (deleted) —
It does make 60 fps according to the debugger, but feels a bit more sluggish as if the frame times aren't consistent. I looked into the debugger for the GPU times (though I'm not sure if it's the same as frame time) and weirdly enough it seemed like power saver was more consistent. Left of the red line is the balanced power plan, right is power saver.
Flags: needinfo?(niels.breuker)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #5) > A lot of things have changed in WebRender over the last while. Do you still > see this problem? I still see this. On this site for example: https://www.forum-3dcenter.org/vbulletin/showthread.php?t=501178&page=287 It always stays at 48 fps with the power cable disconnected from my laptop (Intel HD 520) and is at a solid 60 fps, when I connect the cable. Even setting the mode to high performance on battery doesn't work.
Blocks: stage-wr-next
No longer blocks: stage-wr-trains
Blocks: wr-intel-mvp
No longer blocks: wr-intel

Not targeting battery for Intel MVP.

Blocks: wr-intel
No longer blocks: wr-intel-mvp

Even more things have changed. Do you still see any problems on Nightly? If so please file a new bug.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(niels.breuker)
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: