Closed Bug 1160799 Opened 10 years ago Closed 10 years ago

[Aries] youtube fullscreen has a green background

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
b2g-master --- affected

People

(Reporter: daleharvey, Assigned: sotaro)

References

Details

(Keywords: dogfood, Whiteboard: [bzlite], [spark])

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0 I played a youtube vudeo at full screen, when rotating the bg was green, screenshot wouldnt show the green
Which device did you test on? (My guess would be aries) It's hard to determine if this is a video issue in hardware or software without logs and gaia/gecko information.
Flags: needinfo?(dale)
Yup, aries on latest gecko / gaia
Flags: needinfo?(dale)
qawanted for confirmation of bug.
Keywords: qawanted
Attached file logcat of issue
Able to reproduce this bug on Aries. You have to rotate the screen several times for it to repro. Also seems to be related to Hardware Composer. If I turn off this feature the bug is no longer reproducible. Video demonstrating the issue: https://www.youtube.com/watch?v=KNz_1G_8CnA Also attaching a logcat. Device: Aries (RC4 > OTA'ed) BuildID: 20150702032322 Gaia: b901c8b7be2119f4df42781aac1401ed12765460 Gecko: f5e3bacfb60e Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd Version: 42.0a1 (2.5 Master) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0 ---- The bug is NOT reproducible on Flame central with HWC enabled. Device: Flame 2.5 BuildID: 20150702010204 Gaia: b901c8b7be2119f4df42781aac1401ed12765460 Gecko: f5e3bacfb60e Gonk: a4f6f31d1fe213ac935ca8ede7d05e47324101a4 Version: 42.0a1 (2.5) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0
NI reporter to confirm whether bug is still reproducible if Hardware Composer in developer settings is disabled.
Component: Gaia::Feedback → Graphics
Flags: needinfo?(dale)
Keywords: qawanted
Product: Firefox OS → Core
Version: unspecified → Trunk
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Summary: youtube fullscreen has a green background → [Aries] youtube fullscreen has a green background
Whiteboard: [bzlite] → [bzlite], [spark]
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
I cant reproduce this with hardware composer enabled or ddisabled on current builds
Flags: needinfo?(dale)
Flags: needinfo?(sotaro.ikeda.g)
daleharvey, what is "ddisabled"?
Flags: needinfo?(dale)
It was just a typo, I meant 'disabled'
Flags: needinfo?(dale)
I succeeded to reproduce the problem on latest master with hwc enabled. I created the rom by myself from source.
Assignee: nobody → sotaro.ikeda.g
Flags: needinfo?(sotaro.ikeda.g)
When the problem happens, the color layers seems not rendered correctly by hwc. But hwc hal seems to pass correct hwc layers info to kernel.
In my case, when the problem happen, before rotation start, display is always rotated 180 degree.
color layer rendering setting is done by mdss_mdp_pipe_solidfill_setup(). It seems to set correct color to registers. But rendering result is incorrect in the STR. From it, it seems that another registers setting seems missing, because mdss_mdp_pipe_solidfill_setup() is called from mdss_mdp_pipe_queue_data() and color layer rendering register setting route is short cut than other rendering route. https://github.com/mozilla-b2g/codeaurora_kernel_msm/blob/shinano/drivers/video/msm/mdss/mdss_mdp_pipe.c#L1109
(In reply to Sotaro Ikeda [:sotaro] from comment #11) > In my case, when the problem happen, before rotation start, display is > always rotated 180 degree. From it, the bug might be related to src rotation setting register.
The patch seems to fix the problem on my aries device.
Comment on attachment 8630141 [details] [diff] [review] patch - Set MDSS_MDP_REG_SSPP_SRC_OP_MODE for color layer rendering Diego, sushil, do you know if the bug's problem is fixed on latest codeaurora? aries is xperia Z3C(msm8974) and it does not have official caf support. But the bug seems general platform problem.
Attachment #8630141 - Flags: feedback?(sushilchauhan)
Attachment #8630141 - Flags: feedback?(dwilson)
(In reply to Sotaro Ikeda [:sotaro] from comment #15) > Comment on attachment 8630141 [details] [diff] [review] > patch - Set MDSS_MDP_REG_SSPP_SRC_OP_MODE for color layer rendering > > Diego, sushil, do you know if the bug's problem is fixed on latest > codeaurora? aries is xperia Z3C(msm8974) and it does not have official caf > support. But the bug seems general platform problem. My guess is this issue is specific to msm8974, the color layer implementation is particularly target sensitive.
> > Diego, sushil, do you know if the bug's problem is fixed on latest > > codeaurora? aries is xperia Z3C(msm8974) and it does not have official caf > > support. But the bug seems general platform problem. > > My guess is this issue is specific to msm8974, the color layer > implementation is particularly target sensitive. Thanks!
Comment on attachment 8630141 [details] [diff] [review] patch - Set MDSS_MDP_REG_SSPP_SRC_OP_MODE for color layer rendering Review of attachment 8630141 [details] [diff] [review]: ----------------------------------------------------------------- I'm not very familiar with this kernel driver so removing f?
Attachment #8630141 - Flags: feedback?(dwilson)
See Also: → 1176301
Bug 1176301 also seems to be caused by similar reason. color layer's rendering path seems to lack updating scaling related necessary registers.
Attachment #8633753 - Flags: review?(mwu)
From the following, mdss_mdp_pipe_solidfill_setup() set MDSS_MDP_REG_SSPP_SRC_OP_MODE. The problem seems to be fixed on sony-aosp-l. https://github.com/mozilla-b2g/codeaurora_kernel_msm/blob/sony-aosp-l/drivers/video/msm/mdss/mdss_mdp_pipe.c#L1677
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1173213
Attachment #8630141 - Flags: feedback?(sushilchauhan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: