New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 790920 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Screenshare results in black screen with only mouse showing up.

Reported by an...@techgentsia.com, Dec 1 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1. install ubuntu 17.10
2. install chrome
3. goto appear.in and start sharing your screen

you will only get a black screen with mouse moving

What is the expected behavior?
you should get a the complete screen and not only the mouse

What went wrong?
capturing screen resulted in a black screen with mouse pointer in it.

Did this work before? N/A 

Chrome version: 62.0.3202.94  Channel: stable
OS Version: ubuntu 17.10
Flash Version:
 
Components: Blink>GetUserMedia>Desktop
Cc: sc00335...@techmahindra.com
Labels: Triaged-ET TE-NeedsTriageFromHYD Needs-Triage-M62
Unable to reproduce this issue on reported version 62.0.3202.94 using Ubuntu 14.04. Attaching screenshot for reference.

1. Navigated to https://appear.in/ and started screenshare and observed succesful screenshare without any blank screen.

This might be specific to Ubuntu 17.10. As ET team doesn't have 17.10 could some one from Inhouse team take a look into this.

Thanks!
Issue 790920.png
224 KB View Download
this is how this looks in ubuntu 17.10 ,
as you can see only the mouse pointer is showing up.
screenshare.bmp
2.9 MB Download

Comment 4 by hdodda@chromium.org, Dec 12 2017

Cc: hdodda@chromium.org
Labels: -Type-Bug-Regression -TE-NeedsTriageFromHYD M-65 Type-Bug
Status: Untriaged (was: Unconfirmed)
Tested the issue on ubuntu 17.10 using chrome latest stable M63 #63.0.3239.84 and M65 #65.0.3292.0  and issue is reproduced.

This issue is specific to ubuntu 17.10 and is reproduced from M57.

Earlier versions of chrome has different behavior for appear.in.

This is a Non-Regression issue and is marking it as untraiged for further updates on this.

Thanks!
Cc: braveyao@chromium.org
Cc: -braveyao@chromium.org
Owner: braveyao@chromium.org
Status: Assigned (was: Untriaged)
Yes, this is exactly same problem I just encountered on another Debian distribution, kernel 4.9. Seems that there's something new in the later kernels.

Curious if it's reproducible on ubuntu 16.04(kernel 4.4) and ubuntu 16.10(kernel 4.8)?
Status: WontFix (was: Assigned)
The root cause is a regression in XShmGetImage() in recent kernel releases, which has been fixed already.
See https://bugs.freedesktop.org/show_bug.cgi?id=101730 for more details.
The fix is here, https://cgit.freedesktop.org/xorg/xserver/commit/?id=885636b7d42b3c7b.

No idea when this fix will be rolled into each affected Linux distribution.

There are some ugly workaround available :)
- align the target window to top-left of desktop, then the capture will work.
- we can compensate the offset in XShmGetImage() with the real window location instead of "0,0" (which should be the offset within the target window). Surprisingly this method works on both older and newer/affected linux versions. But it violates the definitions of XShmGetImage() arguments. I think it's better not to do it.

Sign in to add a comment