Closed
Bug 847207
Opened 12 years ago
Closed 12 years ago
failure to lock gralloc buffer for shadow layer doesn't fall back to using shmem
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 849515
blocking-b2g | tef+ |
People
(Reporter: gal, Assigned: mwu)
Details
(Whiteboard: [b2g-gfx])
Attachments
(1 file)
774 bytes,
patch
|
kanru
:
review+
|
Details | Diff | Splinter Review |
My phone doesn't start up occasionally. I suspected that the disk is full, but thats not the case. Turns out we are actually failing to lock a gralloc buffer and we don't fall back onto shmem and we don't render anything. I am not sure why this only failed occasionally and why this went away from reinstalling gecko a few times. My best guess is that the disk layout changed and gecko became minimally slower to load, or some other cause that resolved the race condition with the boot animation differently. It would be good if our silicon friends could debug why lock fails here exactly. This is on the ZTE Open.
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Attachment #720459 -
Flags: review?(kchen)
Reporter | ||
Comment 2•12 years ago
|
||
Kanru, can you please land if you agree with the approach?
Reporter | ||
Comment 3•12 years ago
|
||
I am blocking for the vendor on this one, because I am very sure they want this fixed. I will confirm though.
Silicon vendor engineering friends, please try to reproduce and figure out why the lock() fails here.
blocking-b2g: --- → tef+
Comment 4•12 years ago
|
||
My ZTE Open starts up pretty consistently. I rebooted it 20 times in a row successfully. How often does it happen to you?
Can anyone else reproduce it? Any chance the Mozilla builds replace any of the graphics libraries?
Comment 5•12 years ago
|
||
Comment on attachment 720459 [details] [diff] [review]
patch
Review of attachment 720459 [details] [diff] [review]:
-----------------------------------------------------------------
That means we might be locking the buffer for writing simultaneously. We should change the assert to a warning and fix the real issue in a follow-up.
Attachment #720459 -
Flags: review?(kchen) → review+
Reporter | ||
Comment 6•12 years ago
|
||
Diego, when the device gets moody, it doesn't start up at all. Are you seeing the error messages I reported?
Reporter | ||
Comment 7•12 years ago
|
||
I am not seeing the same issues with the GP device. This seems to be specific to that vendor's kernel.
Updated•12 years ago
|
Whiteboard: [b2g-gfx]
Reporter | ||
Comment 8•12 years ago
|
||
I flashed a trunk build onto my GP device and its definitely not showing any of the symptoms, including the failure this patch was trying to fix. This is definitely a vendor issue. My best guess is something is wrong with the kernel genlock device. Diego can you please check logcat?
Comment 9•12 years ago
|
||
I don't see any gralloc or genlock errors in logcat.
FYI my ZTE Open kernel was last updated on February 21st
Comment 10•12 years ago
|
||
Diego, if this is a kernel issue, should it go to you?
Flags: needinfo?(dwilson)
Comment 11•12 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #10)
> Diego, if this is a kernel issue, should it go to you?
For kernel issues you should go to the OEM
Flags: needinfo?(dwilson)
Updated•12 years ago
|
Assignee: nobody → mvines
Updated•12 years ago
|
Assignee: mvines → nobody
Assignee | ||
Comment 12•12 years ago
|
||
I see a similar issue on the keon with a trunk build, but not on the open. I think it might be a regression in gecko.
Comment 13•12 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #12)
> I see a similar issue on the keon with a trunk build, but not on the open. I
> think it might be a regression in gecko.
Since you're able to repro, sending over to you to help determine whether the issue is on our side.
Assignee: nobody → mwu
Comment 14•12 years ago
|
||
similar with bug 849515?
Assignee | ||
Comment 15•12 years ago
|
||
Andreas, I checked in a fix on bug 849515, which I suspect is the same issue as this. I'm duping this bug to that one, but if it still happens, please reopen.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•