Closed
Bug 568327
Opened 14 years ago
Closed 5 years ago
Firefox prevents switching back to integrated gpu after running flash
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: jrmuizel, Unassigned)
References
Details
(Whiteboard: rdar://8224873)
Safari doesn't have this problem and I expect that this problem will have a negative impact on battery life.
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Comment 1•14 years ago
|
||
We need to know why this happens - specifically, why Safari doesn't trigger the discrete GPU while we do. (Apps that use Core Animation reportedly trigger the discrete GPU, but Safari uses Core Animation...)
Comment 2•14 years ago
|
||
Running Chromium with Core Animation for flash also triggers the discrete GPU.
Josh, can you bring this up with Apple directly?
Comment 3•14 years ago
|
||
Josh said we should open an Apple bug: http://bugreporter.apple.com/
We will need to mention in the bug report that the cause is likely the implementation of CARenderer.
We need clear STR before filling a bug. Perhaps we could try to reproduce the issue with the CARenderer sample and use that as STR. Does the gfx switch not happen until the application is closed or until the system is rebooted?
Comment 4•14 years ago
|
||
Has that bug been opened with Apple?
Comment 5•14 years ago
|
||
Not yet, I had requested feedback by e-mail about this issue but I'll just file the bug with the information I have now.
Comment 6•14 years ago
|
||
Does this happen with OOP Flash, or only IPP Flash? Blocking for now.
Assignee: nobody → b56girard
blocking2.0: ? → betaN+
Comment 7•14 years ago
|
||
This will happen for both OOP and IP since this is related to our implementation of CoreAnimation, using the CARenderer class.
Comment 8•14 years ago
|
||
This has been reported as Apple Bug 8224873, I couldn't find a public URL.
(In reply to comment #8)
> This has been reported as Apple Bug 8224873, I couldn't find a public URL.
We just whiteboard the rdar:// URI and rely on the reporter of the rdar:// to keep us updated ;)
Whiteboard: rdar://8224873
Comment 10•14 years ago
|
||
We got another response asking for the sample to be modified to properly release the context and pixel format. We do that in firefox but we don't do that in the testcase that reproduces the problem.
Can we find a new owner, I don't have enough time to properly handle this :(?
Assignee: b56girard → nobody
Comment 11•14 years ago
|
||
We're going to be using the GPU actively all the time on OS X 10.6, so this isn't actually an issue in real world use.
blocking2.0: betaN+ → -
Comment 13•14 years ago
|
||
This bug is still present in the release version of FF4. This results in a 75% reduction (yes, I really mean it's cutting me down from 8 hours to 2 hours) in on-battery runtime. This really is a deal breaker for mobile users.
Comment 14•14 years ago
|
||
(In reply to comment #0)
> Safari doesn't have this problem and I expect that this problem will have a
> negative impact on battery life.
-even firefox 3 does not have this problem
Comment 15•14 years ago
|
||
(In reply to comment #4)
> Has that bug been opened with Apple?
-Yes, apple knows this bug
-it is trying to solve it
-all apple products are fine
-the culprits are flash and its components
Comment 16•14 years ago
|
||
(In reply to comment #11)
> We're going to be using the GPU actively all the time on OS X 10.6, so this
> isn't actually an issue in real world use.
-dude,what about the battery life and the heat it generates??
Comment 17•14 years ago
|
||
Yes guys, a friend "Robert Longson(longsonr@gmail.com)" has found the solution
Uncheck “Use hardware acceleration when available” in the Advanced section of
the Preferences/Options dialog box in firefox 4.
and voila the gpu switches back to intel on restarting ff
Comment 18•14 years ago
|
||
(In reply to comment #17)
> Yes guys, a friend "Robert Longson(longsonr@gmail.com)" has found the solution
> Uncheck “Use hardware acceleration when available” in the Advanced section of
> the Preferences/Options dialog box in firefox 4.
> and voila the gpu switches back to intel on restarting ff
This doesn't work. It'll keep the GPU from lighting off as soon as you launch FF. However, the moment you view page content with any additional features beyond HTML, it lights up the GPU and then doesn't release it when you close the window.
So it's not a fix.
Comment 19•14 years ago
|
||
(In reply to comment #18)
> (In reply to comment #17)
> > Yes guys, a friend "Robert Longson(longsonr@gmail.com)" has found the solution
> > Uncheck “Use hardware acceleration when available” in the Advanced section of
> > the Preferences/Options dialog box in firefox 4.
> > and voila the gpu switches back to intel on restarting ff
>
> This doesn't work. It'll keep the GPU from lighting off as soon as you launch
> FF. However, the moment you view page content with any additional features
> beyond HTML, it lights up the GPU and then doesn't release it when you close
> the window.
>
> So it's not a fix.
williams, this is the fix
for instance if had observed ff3 this was the case
this thread was started to bring it to that level again
and about gpu switchin on loading flash or maps or ads
it is apples issue
they have been banging their heads over how to stop open gcl and others from unnecessarily starting
hope they find a fix soon
Reporter | ||
Updated•14 years ago
|
Assignee: nobody → joe
Comment 20•14 years ago
|
||
(In reply to comment #19)
> williams, this is the fix
> for instance if had observed ff3 this was the case
> this thread was started to bring it to that level again
> and about gpu switchin on loading flash or maps or ads
> it is apples issue
> they have been banging their heads over how to stop open gcl and others from
> unnecessarily starting
> hope they find a fix soon
It doesn't work the way you think it does, though.
In FF3, the NVidia GPU NEVER lit up unless you had flash content go to full screen. The moment you took the flash content to something less than full screen, the NVidia GPU went dark.
In FF4, with hardware acceleration selected, the NVidia GPU is lit up the moment you start firefox and never turns off until you quit FF4.
In FF4, with hardware acceleration de-selected, the NVidia GPU is initially off when FF4 starts. However, anything beyond basic HTML content causes the NVidia GPU to light up. Once the NVidia GPU lights up, it NEVER turns back off until you quit FF4.
So there's really two parts of this problem:
1) FF4 inappropriately turns on the NVidia GPU at times when other browsers (FF3, Safari, Chrome, Opera) don't.
2) FF4 is incapable of releasing the NVidia GPU to allow it to turn off once it's been turned on.
It's the combination of those two problems that leads to de-selecting "Use Hardware Acceleration" not actually helping a mobile user. Once you start FF4 and actually do some browsing, your battery is trashed, regardless of what pref you have set.
Comment 21•13 years ago
|
||
Has there been any progress on this bug?
Please understand that this is a dealbreaker for laptop/mobile users. You can't upgrade past Firefox 3.6 if you have a MacBook with integrated and discrete graphics. The reduction by 75% (~8hrs to ~2hrs) in battery life, the fact that the laptop is too hot to touch, etc, are all dealbreakers. No other browser causes this to happen. This is unique to firefox. Safari, Chrome, and Opera all properly release the graphics card. This is going to force mobile users to pick a browser other than Firefox.
Comment 22•13 years ago
|
||
I see this is marked fixed. What is the timeline for releasing this fix?
Comment 23•13 years ago
|
||
This is not marked as fixed.
Comment 24•13 years ago
|
||
Weird, I just got a whole spate of emails from bugzilla claiming a bunch of different things I'm subscribed to are now marked fixed.
Comment 25•13 years ago
|
||
You got emails that looked like:
Bug 568327 depends on bug 687864, which changed state.
Bug 687864 Summary: Add offline renderer awareness for Mac OGL
https://bugzilla.mozilla.org/show_bug.cgi?id=687864
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Note that it says that bug 687846 was marked fixed, not this bug.
Reporter | ||
Comment 26•13 years ago
|
||
This should be fixed on 10.7 right now. We're still working on making it work on 10.6. Can anyone on 10.7 confirm that it now works properly?
Comment 27•13 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #26)
> Can anyone on 10.7 confirm that it now works properly?
I still get GPU switches when seeing WebGL/Flash content.
For reproducing, watch a HD video on Youtube with the Flash player or use the Tilt extension on any page: https://blog.mozilla.com/tilt/
Comment 28•13 years ago
|
||
(In reply to Reuben Morais [:reuben] from comment #27)
Correction, this is partially fixed. Opening Firefox doesn't trigger the GPU switch, but after some content (WebGL) triggers it, you have to close Firefox to switch back to the integrated GPU.
Comment 29•13 years ago
|
||
(In reply to Reuben Morais [:reuben] from comment #28)
> (In reply to Reuben Morais [:reuben] from comment #27)
> Correction, this is partially fixed. Opening Firefox doesn't trigger the GPU
> switch, but after some content (WebGL) triggers it, you have to close
> Firefox to switch back to the integrated GPU.
I just tried to reproduce this on 10.7 with today's nightly. Can you give exact STR to reproduce this and preferably file a new bug blocking this one?
Comment 30•13 years ago
|
||
(In reply to Reuben Morais [:reuben] from comment #28)
> (In reply to Reuben Morais [:reuben] from comment #27)
> Correction, this is partially fixed. Opening Firefox doesn't trigger the GPU
> switch, but after some content (WebGL) triggers it, you have to close
> Firefox to switch back to the integrated GPU.
That's how the behavior has been since FireFox 4.0 if you have the graphics acceleration preference set to off.
Updated•11 years ago
|
Assignee: joe → nobody
Comment 31•5 years ago
|
||
bug 1562812 addresses this for WebGL.
bug 1455897: Flash support will be completely removed in about half a year: https://developer.mozilla.org/en-US/docs/Plugins/Roadmap#Schedule
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•