GeckoView seen not support high refresh rate like 90hz
Categories
(GeckoView :: General, defect)
Tracking
(Not tracked)
People
(Reporter: rosuh, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Steps to reproduce:
Follow the quick start guide of GeckoView (https://firefox-source-docs.mozilla.org/mobile/android/geckoview/consumer/geckoview-quick-start.html) and load a normal URL.
Actual results:
This geckoView has seen render under 60hz while my device support 90hz refresh rate.
All info:
- Device: Oneplus 8, support 90hz refresh rate
- GeckoView: 80.0.20200831163820
Expected results:
The GeckoView should be rendered under 90hz. Such as Chrome, WebView and Firefox(79.0.5)
Related issues: https://github.com/mozilla-mobile/android-components/issues/6493
This seems to be working fine for me on a Pixel 4 XL at 90hz. In Nightly and Beta you can flip gfx.webrender.debug.profiler which will show (among other things) the framerate. If you then scroll a long page (I used planet.mozilla.org), you should see the FPS hang around 90. If we're not using WebRender on your device you will need to flip layers.acceleration.draw-fps instead.
How are you observing the framerate?
The maximum is only 60hz.
https://i.loli.net/2020/09/04/XMQi6BF2KlgHbjN.jpg
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) (he/him) from comment #2)
This seems to be working fine for me on a Pixel 4 XL at 90hz. In Nightly and Beta you can flip
gfx.webrender.debug.profilerwhich will show (among other things) the framerate. If you then scroll a long page (I usedplanet.mozilla.org), you should see the FPS hang around 90. If we're not using WebRender on your device you will need to fliplayers.acceleration.draw-fpsinstead.How are you observing the framerate?
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Based on the findings of https://github.com/mozilla-mobile/fenix/issues/7560 it sounds like apps need to opt in, and https://github.com/mozilla-mobile/android-components/issues/6493 is on file with suggestions on how to fix. At any rate, this is not an APZ bug.
Yep, It looks like Oneplus limited high refresh rate on some special View components. Maybe GLSurface View?
But I have confirmed that this is not an APZ bug. Because I just replace my app's package name with org.mozilla.firefox and the refresh rate raise to 90hz immediately.
Thanks for your response, close this issues pls. :)
Updated•5 years ago
|
Description
•