Dne čtvrtek, 22. srpna 2013 13:37:37 UTC+2 Alexandre Lissy napsal(a):
> Le 22/08/2013 13:32, Michal Orlík a écrit :
> 
> > Dne čtvrtek, 22. srpna 2013 13:07:38 UTC+2 Alexandre Lissy napsal(a):
> 
> >> Le 22/08/2013 12:58, [email protected] a écrit :
> 
> >>
> 
> >>> mihairu@lois:~/GIT/B2G$ adb logcat | grep msm7x27a.gralloc
> 
> >>
> 
> >>> E/msm7x27a.gralloc(  103): We support 3 buffers
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): using (fd=14)
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): id           = msmfb30_90000
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): xres         = 480 px
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): yres         = 800 px
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): xres_virtual = 480 px
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): yres_virtual = 2400 px
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): bpp          = 32
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): r            = 24:8
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): g            = 16:8
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): b            =  8:8
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): width        = 76 mm (160.421051 dpi)
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): height       = 127 mm (160.000000 dpi)
> 
> >>
> 
> >>> I/msm7x27a.gralloc(  103): refresh rate = 60.00 Hz
> 
> >>
> 
> >>
> 
> >>
> 
> >> according to http://www.gsmarena.com/huawei_ascend_g300-4594.php,
> 
> >>
> 
> >> Dimensions         122.5 x 63 x 10.5 mm (4.82 x 2.48 x 0.41 in)
> 
> >>
> 
> >>
> 
> >>
> 
> >> So how could we have a screen that is 76mm on a 63mm device ?
> 
> >>
> 
> >>
> 
> >>
> 
> >> Check line 223 of
> 
> >>
> 
> >> https://android.googlesource.com/platform/hardware/libhardware/+/froyo/modules/gralloc/framebuffer.cpp
> 
> >>
> 
> >>
> 
> >>
> 
> >> I think you are falling into this case. Can you check:
> 
> >>
> 
> >> adb shell ls -al /system/lib/hw/hwcomposer*.so
> 
> >>
> 
> >>
> 
> >>
> 
> >> And also provide the full adb logcat log. I'd suspect hwcomposer is not
> 
> >>
> 
> >> working in your case (disabled or because it is HWC1.0).
> 
> >>
> 
> >>
> 
> >>
> 
> >> If that's the case, then you could just hack the nsWindow.cpp code I
> 
> >>
> 
> >> linked earlier, and force the return value of 1.5. If you can try it
> 
> >>
> 
> >> asap, that would help confirming the issue.
> 
> > 
> 
> > 
> 
> > $ adb shell ls -al /system/lib/hw/hwcomposer*.so 
> 
> > -rw-r--r-- root     root        14148 2013-08-22 09:33 
> > hwcomposer.msm7x27a.so
> 
> > 
> 
> > logcat log: 
> > https://docs.google.com/file/d/0B-IujfCUmgOwYkg3MFp0M1VlR1U/edit?usp=sharing
> 
> 
> 
> It does not looks like this is the full logcat from the boot.
> 
> 
> 
> > 
> 
> > I will try compile with hardcoded 1.5 value
> 
> > _______________________________________________
> 
> > dev-b2g mailing list
> 
> > [email protected]
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> >

https://docs.google.com/file/d/0B-IujfCUmgOwcVphaVoyS2dSNjQ/edit?usp=sharing
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to