Closed
Bug 1061209
Opened 10 years ago
Closed 10 years ago
Nightly only shows a plain white/grey window on OS X in a VM
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | --- | unaffected |
firefox34 | + | fixed |
firefox35 | --- | fixed |
People
(Reporter: Gijs, Assigned: nical)
References
Details
(Keywords: regression)
Attachments
(2 files)
1.98 KB,
patch
|
mattwoodrow
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.44 KB,
patch
|
Details | Diff | Splinter Review |
Starting today's nightly from the commandline shows:
Gijss-Mac:~ gijs$ /Applications/FirefoxNightly.app/Contents/MacOS/firefox
ERROR: Changing compositor from 2 to 1.
Trying to find a regression window at the moment.
Reporter | ||
Comment 1•10 years ago
|
||
m-c: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d697d649c765&tochange=eed9fe35a00d
Still looking at inbound.
Reporter | ||
Comment 2•10 years ago
|
||
(this is on beta 1, btw... I'll update to beta 2 after I figure out this regression window; maybe that'll fix it? It'd somewhat surprise me because the m-c regression window seems to not include any yosemite-specific stuff, apart from my frontend patch for the urlbar/searchbar styling, and that shouldn't be able to cause this...)
Reporter | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=d697d649c765&tochange=de5cefa8e52e
which is very strange because this is still huge (although bug 1028288 jumps out at me). Poking mozregression some more to see if I can't narrow this down without resorting to building...
Reporter | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0cba3e5a377d&tochange=ab4ef3fa85bd
And looking at that patch, this makes some amount of sense, as the code removed was also run on mac, and not just Linux as the patch description said... Nical, can you have a look?
Reporter | ||
Comment 5•10 years ago
|
||
See bug 974007 comment 14, I think? Might be broken on other OS Xs in VMs as well, but I don't have any so can't test. Looks like nobody ever figured out why the basic compositor is broken on OS X.
Summary: After a recent update OS X nightlies produce a white/grey window with no content on 10.10 VM → [10.10] Nightly only shows a plain white/grey window on OS X Yosemite VM
Comment 6•10 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #0)
> Starting today's nightly from the commandline shows:
>
> Gijss-Mac:~ gijs$ /Applications/FirefoxNightly.app/Contents/MacOS/firefox
> ERROR: Changing compositor from 2 to 1.
2 is LAYERS_OPENGL and 1 is LAYERS_BASIC.
I wonder what triggers the change to BasicCompositor.
Gijs, did you get OpenGL compositing in your VM prior to this change, or did it fall back to BasicLayers?
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #6)
> (In reply to :Gijs Kruitbosch from comment #0)
> > Starting today's nightly from the commandline shows:
> >
> > Gijss-Mac:~ gijs$ /Applications/FirefoxNightly.app/Contents/MacOS/firefox
> > ERROR: Changing compositor from 2 to 1.
>
> 2 is LAYERS_OPENGL and 1 is LAYERS_BASIC.
>
> I wonder what triggers the change to BasicCompositor.
>
> Gijs, did you get OpenGL compositing in your VM prior to this change, or did
> it fall back to BasicLayers?
I don't know - how would I check?
Reporter | ||
Comment 8•10 years ago
|
||
Here's the about:support output from the VM:
Device ID 0x 405
GPU Accelerated Windows 0/1 Basic
Vendor ID 0x15ad
windowLayerManagerRemote false
AzureCanvasBackend quartz
AzureContentBackend quartz
AzureFallbackCanvasBackend none
AzureSkiaAccelerated 0
so yes, this was using basic before...
Comment 9•10 years ago
|
||
I filed bug 1060948 yesterday, but even though the symptoms looks quite similar I guess it must be a different issue?
Assignee | ||
Comment 10•10 years ago
|
||
I'll submit a fix tomorrow.
Assignee | ||
Comment 11•10 years ago
|
||
Assignee: nobody → nical.bugzilla
Attachment #8482627 -
Flags: review?(matt.woodrow)
Flags: needinfo?(nical.bugzilla)
Reporter | ||
Comment 12•10 years ago
|
||
(In reply to Stefan [:stefanh] from comment #9)
> I filed bug 1060948 yesterday, but even though the symptoms looks quite
> similar I guess it must be a different issue?
It looks different to me, yes - but you identified a regressing cset, which might be the same? I can't tell, see the needinfo in that bug. :-)
Comment 13•10 years ago
|
||
Nical, can you describe what went wrong and why Linux and OS X need different behavior?
Assignee | ||
Comment 14•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #13)
> Nical, can you describe what went wrong and why Linux and OS X need
> different behavior?
I don't know what's wrong with basic OMTC on mac. I'll have to look into it and ask around. In the mean time reverting the change that caused people to use basic OMTC on mac lets me focus on the higher priority items for now.
needinfo'ing myself as a remainder for later.
Flags: needinfo?(nical.bugzilla)
Comment 15•10 years ago
|
||
Basic OMTC on Mac is working on my machine. However, it works by creating an OpenGL context and doing very basic operations on it (see GLPresenter in nsChildView.mm). If OpenGL context creation fails on some machines we'll need to think of a different solution. (It probably means that we need to snapshot the composition result, ship it back to the main thread, and only update the window on the main thread.)
Are we planning to use OMTC always for all drawing?
Updated•10 years ago
|
Attachment #8482627 -
Flags: review?(matt.woodrow) → review+
Comment 16•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #15)
> Are we planning to use OMTC always for all drawing?
Yeah, that was the plan.
Comment 17•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #15)
> Basic OMTC on Mac is working on my machine. However, it works by creating an
> OpenGL context and doing very basic operations on it (see GLPresenter in
> nsChildView.mm). If OpenGL context creation fails on some machines we'll
> need to think of a different solution. (It probably means that we need to
> snapshot the composition result, ship it back to the main thread, and only
> update the window on the main thread.)
Not to derail this, but is that always the case? TenFourFox blocks acceleration at the OS level, though we probably do create a GL context (I say probably -- GLContextProviderCGL::CreateForWindow likely succeeds on 10.4, I have to check). Nevertheless, OMTC does work for us.
Assignee | ||
Comment 19•10 years ago
|
||
Assignee | ||
Comment 20•10 years ago
|
||
Flags: needinfo?(nical.bugzilla)
Comment 21•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/177fdd6bfb19
https://hg.mozilla.org/mozilla-central/rev/51d39a24b168
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Comment 22•10 years ago
|
||
This is still unfixed on Aurora.
[Tracking Requested - why for this release]: bad regression for users that don't get OpenGL (e.g. VMs)
No longer blocks: theme-yosemite
status-firefox32:
--- → unaffected
status-firefox33:
--- → unaffected
status-firefox34:
--- → affected
status-firefox35:
--- → fixed
tracking-firefox34:
--- → ?
Summary: [10.10] Nightly only shows a plain white/grey window on OS X Yosemite VM → Nightly only shows a plain white/grey window on OS X in a VM
Comment 24•10 years ago
|
||
Comment 2 said that this was an issue on 33 beta1, which is the current beta cycle. Is 33 affected?
nical - Can you pleas submit an Aurora approval request so that we can fix this in 34?
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(gijskruitbosch+bugs)
Updated•10 years ago
|
Comment 25•10 years ago
|
||
The word "beta" in comment 2 was referring to the Mac OS 10.10 Beta, not the Firefox Beta.
Assignee | ||
Comment 26•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #25)
> The word "beta" in comment 2 was referring to the Mac OS 10.10 Beta, not the
> Firefox Beta.
Yes, the regression and the fix where on the same train.
Flags: needinfo?(nical.bugzilla)
Comment 27•10 years ago
|
||
My mistake. Thank you for clarifying.
nical - I'm still interested in uplifting the fix to Aurora. Reminder to please submit an approval request.
tracking-firefox33:
? → ---
Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(nical.bugzilla)
Assignee | ||
Comment 28•10 years ago
|
||
Comment on attachment 8482627 [details] [diff] [review]
Restore the previous behavior (disabling basic OMTC) except on Linux
Approval Request Comment
[Feature/regressing bug #]:
[User impact if declined]: Crashes on Mac
[Describe test coverage new/current, TBPL]:
[Risks and why]: not risky, restores code that has been used for a long while, has been baking on m-c for a while.
[String/UUID change made/needed]:
Attachment #8482627 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(nical.bugzilla)
Comment 29•10 years ago
|
||
Comment on attachment 8482627 [details] [diff] [review]
Restore the previous behavior (disabling basic OMTC) except on Linux
Aurora+
Attachment #8482627 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 30•10 years ago
|
||
This contains the above patch folded with the WError fix and applies on aurora
Comment 31•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•