surface error
Reported by
409694...@qq.com,
Sep 18
|
|||||||
Issue descriptionExample URL: Steps to reproduce the problem: 1. The phone is set to rotate automatically 2. Open your browser and enter the video URL 3. Video playback -> full screen 4. Quickly exit full screen 5. Repeat operations 3 and 4. PS: The speed of exiting the full screen must be fast. What is the expected behavior? When you return to the portrait screen, the page is normal. What went wrong? After returning to the vertical screen, the page is abnormal. The page position moves down and the position of the original video is covered by black. The page I saw in dev_tools is in landscape mode. Did this work before? N/A Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? N/A Chrome version: 68.0.3440.70 Channel: n/a OS Version: 7.0 Flash Version: Contents of chrome://gpu:
,
Sep 19
,
Sep 19
This video has been tested and the same problem will still occur.
,
Sep 19
by "covered by black", do you mean that part of the video is covered by black, or all of it? if part, which part (top, bottom, etc.)? when you start devtools, with the video playing, does it return to normal? > The page I saw in dev_tools is in landscape mode. I have no idea about how that happens.
,
Sep 19
As per comment#4 adding Needs=FB label. @409694076@gg: Please provide screencast as well, this would help in further triaging. Thanks!
,
Sep 20
The black part is below the status bar and has the same width as the width of the screen. The video is displayed below the black part and can be played normally, but operations such as pauses cannot be performed.
,
Sep 20
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 20
This is the screencast about this questions
,
Sep 20
Tested the issue on android and unable to reproduce this issue Steps to reproduce: -------------------------- 1. Launched chrome and navigated to http://storage.googleapis.com/dalecurtis/buck720.mp4 2. Entered fullscreen and exit fullscreen and not seeing black areas as shown in screenshot. Chrome version: 69.0.3497.100 OS: Android 7.0 Android device: Samsung s7 @409694076: Could you please let us know the device details on which this issue is seen. Any further info on reproducing would help in further triaging. Thanks!
,
Sep 21
thanks for providing the screen shots in c#8. can you interact with the upper omnibox? the lower omnibox? probably at most one is real. i'm starting to suspect that this isn't a media issue directly, but rather something going on in the browser during the transition. if the browser is getting the wrong idea about where the CompositorView is, then all sorts of things might go wrong with video.
,
Sep 26
First, the Auto-rotate of the phone is to be turned on. Android device:HUAWEI mate9 && Android 5.0 Android device:OPPO R15 && Android 7.0 There are such problems on both models.
,
Sep 26
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 26
The Example for the question device:Galaxy s8 Android version:8.0.0
,
Sep 26
When I use kUsingTextureOwner, the above problem will not appear. Why?
void AndroidVideoSurfaceChooserImpl::Choose() {
...
new_overlay_state = kUsingTextureOwner;
// Make sure that we're in |new_overlay_state_|.
if (new_overlay_state == kUsingTextureOwner)
SwitchToTextureOwner();
else
SwitchToOverlay(needs_power_efficient);
}
,
Sep 26
Chrome handles composition of the SurfaceTexture, where as the SurfaceView is a whole different layer. It's possible we're not updating it's position correctly (hopefully) or worse the OS layer is messing up the position :| Using ST instead of SV will cause >10% power regression, so we use SV for fullscreen.
,
Sep 26
what's particularly strange about this is that the entire page is offset, not just the video. that points to something going wrong with (a) the position of the chrome compositor's surface on the display, or (b) chrome's calculation of how much padding to leave at the top when drawing. in other words, either the surface is moved, or chrome is drawing everything on the surface lower than it should. when we enter / exit overlay mode, we do reconstruct the compositor output surface to turn on / off transparency support. i have an s8 at my desk. i'll try to repro.
,
Sep 26
ah -- the one screen shot shows two omniboxes. that looks like the surface is probably positioned correctly, but chrome is drawing on it too low.
,
Sep 27
i've not been able to repro this so far in canary on my s8+. will keep trying.
,
Oct 3
@4095: i have an s8+ with 8.0.0, and auto-rotate, and i can't get this to happen. what URL are you using? i'm using https://storage.googleapis.com/watk/v then select an mp4 video. thanks! |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by dalecur...@chromium.org
, Sep 18