Closed Bug 1162715 Opened 11 years ago Closed 11 years ago

Fence sync errors in FxOS v2.2 Lollipop after boot animation ends

Categories

(Core Graveyard :: Widget: Gonk, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1163681

People

(Reporter: diego, Assigned: sotaro)

Details

Kernel log error below: <6>[ 28.537249] fence timeout on [d53fa200] after 3000ms <6>[ 28.537263] [d53fa200] kgsl-3d0-pid-266-ctx-1-ts-11: active <6>[ 28.537268] waiters: <6>[ 28.537273] syncpoints: <6>[ 28.537278] kgsl-3d0_b2g(266)-Compositor(2498)-1_pt active: 11 / 0 queued:18 retired:4 <6>[ 28.537296] ----- <3>[ 28.537311] kgsl kgsl-3d0: context[1]: queue=18, submit=4, start=4, retire=4 <3>[ 28.537321] kgsl kgsl-3d0: context[1] (ts=0) Active sync points: <3>[ 28.537330] kgsl kgsl-3d0: fence: [d6ba4000] FramebufferSurface:0 <3>[ 28.537340] kgsl kgsl-3d0: context[1]: submit times: <6>[ 28.537344] ----- <4>[ 28.537350] __mdss_fb_wait_for_fence_sub: mdp-fence: sync_fence_wait timed out! Waiting 7 more seconds <6>[ 28.807339] fence timeout on [d53fa200] after 3000ms <6>[ 28.807358] [d53fa200] kgsl-3d0-pid-266-ctx-1-ts-11: active <6>[ 28.807366] waiters: <6>[ 28.807373] syncpoints: <6>[ 28.807382] kgsl-3d0_b2g(266)-Compositor(2498)-1_pt active: 11 / 0 queued:18 retired:4 <6>[ 28.807407] ----- <3>[ 28.807429] kgsl kgsl-3d0: context[1]: queue=18, submit=4, start=4, retire=4 <3>[ 28.807444] kgsl kgsl-3d0: context[1] (ts=0) Active sync points: <3>[ 28.807458] kgsl kgsl-3d0: fence: [d6ba4000] FramebufferSurface:0 <3>[ 28.807473] kgsl kgsl-3d0: context[1]: submit times: <6>[ 28.807480] -----
Sotaro, It happens only at the end of Boot animation. The fence timeout is on KGSL fence. So it should be on an acquire fence. At the end of Boot animation, something seems to be going wrong in acquire fence handling logic in Gecko or there could be an issue when HwcComposer2D takes over GonkDisplayJB (after boot up).
Flags: needinfo?(sotaro.ikeda.g)
It is not clear that it is related to fence. In the past, similar problem happened and it was caused by other modules invalid fd close. The related comment is the following. https://bugzilla.mozilla.org/show_bug.cgi?id=1038461#c47
Flags: needinfo?(sotaro.ikeda.g)
diego, how often does the problem happen?
Flags: needinfo?(dwilson)
(In reply to Sotaro Ikeda [:sotaro] from comment #3) > diego, how often does the problem happen? It seems to happen pretty on every boot up. It doesn't crash the system but it is a bad sign.
Flags: needinfo?(dwilson)
Yhea, it is a bad thing. Okey, I take a look. At first, I am going to check if I could reproduce the problem.
Assignee: nobody → sotaro.ikeda.g
Depends on: 1163681
blocking-b2g: --- → 2.2?
I still could not reproduce the problem, but I found a problem around boot animation's fence handling. It is bug 1163681.
Close this bug based on Bug 1163681 fix.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: 2.2? → ---
No longer depends on: 1163681
Resolution: FIXED → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.