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

Issue 760119 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

WebRTC - Black display on certain windows shared

Reported by anthony....@clownphobia.com, Aug 29 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce the problem:
Have slack standalone application running in the background and main window open
Have a terminal and xterm window open as well

Have Appear.in screen sharing 1.0.1 "Allow in Incognito"
have appear.in 0.4.0 "Allow in Incognito"

Make sure extensions are 
Test in incognito mode

1. https://appear.in
2. Jump into a room, call it test-webrtc
3. press the button that says "Allow cam/mic access"
4. press the "Allow" button on the notification window that says "appear.in wants to use your camera and microphone"
5. click on "Share screen"
6. pop up will appear
7. click on "Application Window" tab

All windows related to slack, terminal, or xterm will appear as black.

If you share the black windows they are black

8. double click on a terminal window

What is the expected behavior?
I should be able to see the contents of the Terminal window, seeing output, etc.

What went wrong?
The window content is empty, but I can see the mouse moving over the shared window

Display of "Share your screen"
http://imgur.com/vw1SqrB

Full window output while sharing:
http://imgur.com/cYKUpAC

Did this work before? Yes unknown

Chrome version: 60.0.3112.113  Channel: stable
OS Version: 16.04
Flash Version: Shockwave Flash 26.0 r0
 
chrome-gpu.txt
76.1 KB View Download
Cc: sc00335...@techmahindra.com
Components: Internals>GPU Blink>WebRTC
Labels: Needs-Triage-M60 Needs-Feedback Triaged-ET
Tested the issue on 60.0.3112.113 with steps mentioned in Comment#0 on Ubuntu 14.04,Mesa Driver and is not reproducible. i.e; No Black windows are seen on share screen
Attaching screenshot for reference.

Probably GPU specific issue, Hence adding proper component for further triaging. 

@reporter:Also Could you try the steps mentioned by disabling all the extensions or by creating fresh profile.
Issue_760119.png
307 KB View Download
Clicked on my profile, clicked on manage profiles, add profile, named it "New Profile"

Opened new screen with "New Profile"

went to appear.in/<whatever name>

clicked on Share Screen
browser asked to install extension
clicked "Add extension"
...

https://imgur.com/rc401Rb

I am going to assume it's my video driver, and something odd.  I set up Workspaces yesterday, and noticed that if my shared window was on a different workspace, one I'm not actively looking at, I can see the contents of the shared window

https://imgur.com/bHdEMJj

But I can't seem to record the switching of the workspaces.

Now I'm on a newer version of Chrome, and still seeing this.  I'll tinker with my video driver packages, as they are not the default ones, and maybe hopefully it's the fault of my video drivers.
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 9 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Blink>WebRTC Blink>GetUserMedia>Desktop
I have tried older GPUs from the PPA graphics-drivers:  ppa:graphics-drivers/ppa

Cycled between 384, 381, and 371.  I've gone back to 384, and am in the process of backing up all my data to an NFS share, and reinstall the OS and see if I can reproduce with latest + graphics drivers for my M2000 quadro card

lspci
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1430 (rev a1)


lshw output:

ahernandez@office-pc:~$ sudo lshw -c video
  *-display               
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:35 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff


Screen shot of my nvidia-settings of the video card
https://imgur.com/fCfIfir


I feel like there's an overlay over all my windows except the browser, because I can easily share other browser windows, and I can share windows from other workspaces, but if I switch to that workspace the windows are black, but I can still see the mouse over the windows, and my co-workers can see the mouse moving through the appear shared view port on appear.in

I'm getting these notifications now.
Labels: Needs-Feedback
OK, this is probably just an effect of how the OS works. When you switch the workspace all other windows gets "minimized" are not drawn by the OS. For Chrome we however capture window content directly from the chrome rendering, that's why it still works. Waiting for feedback on the original issue.
I'm setting myself to reformat and reinstall my OS this weekend.  This is my primary workstation, and don't have a comparable system to work from, so I'm a little behind.  I've already backed up my system, and all data files to my NAS.  At least reinstalling is quite simple.
Project Member

Comment 8 by sheriffbot@chromium.org, Sep 15 2017

Cc: niklase@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "niklase@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I reinstalled my OS, with 16.04.3 Desktop version from what was available today on Ubuntu's website.

Nouveau drivers don't work on my Quadro card, and had to force nouveau.modeset=0 during install to proceed, which was expected behavior on quadro cards I've used in the past.

Once installed OS, I installed the PPA graphics-drivers:  ppa:graphics-drivers/ppa, installing nvidia-375.   Installed Chrome 61 which was available from Chrome's download page, and tested it.  Still saw black screens, but then something strange happened, I moved the terminal beyond the boundary of my display on the left, and the whole window appeared.

Regular black screens, but I saw the corner of one terminal:
https://imgur.com/vItIwjA

https://imgur.com/UgRs58I


Then I moved it all the way over to the left:


https://imgur.com/hjVNUaO

https://imgur.com/86ozswq


https://imgur.com/8JO9jeI



WHen I was testing with modeset=0, I did test out chrome and it did display all the windows and terminals, as expected.  It may be specific to the video drivers.
So playing around with all these windows.  The view port of shared displays is on the top left of my display. If I push any window to the top left, it will display in the shared window.  Shared screens, and it matches the resolution of the window being shared.  The reason there's a little black bar, it's because I have a title bar AND I have a task bar on the top of the window.   This is definitely an OS/window manager/GPU issue, as it's all tied together.
Status: WontFix (was: Unconfirmed)
Thanks for the detailed feedback, sounds like it's hard to do anything about this on our end.
I was exploring the chrome://gpu, and found this:


[19317:19317:0929/175903.823888:ERROR:gpu_video_decode_accelerator.cc(381)] : HW video decode not available for profile h264 main
[19317:19317:0929/175915.313578:ERROR:gpu_video_decode_accelerator.cc(381)] : HW video decode not available for profile h264 baseline
[19317:19317:0929/175918.972430:ERROR:gpu_video_decode_accelerator.cc(381)] : HW video decode not available for profile h264 main
[19317:19317:0929/175931.010270:ERROR:gpu_video_decode_accelerator.cc(381)] : HW video decode not available for profile h264 main
[19317:19317:0929/175945.006702:ERROR:gpu_video_decode_accelerator.cc(381)] : HW video decode not available for profile h264 main
[19317:19374:0929/180709.970261:WARNING:x11_util.cc(1353)] : X error received: serial 2591945, error_code 8 (BadMatch), request_code 154, minor_code 26 (Unknown)
[19317:19374:0929/182255.013490:WARNING:x11_util.cc(1353)] : X error received: serial 2753531, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown)
[19317:19374:0929/182255.013522:WARNING:x11_util.cc(1353)] : X error received: serial 2753533, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown)
[19317:19374:0929/182255.013538:WARNING:x11_util.cc(1353)] : X error received: serial 2753535, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown)
[19317:19374:0929/182713.222461:WARNING:x11_util.cc(1353)] : X error received: serial 2791602, error_code 8 (BadMatch), request_code 154, minor_code 26 (Unknown)
[19317:19374:0929/182750.751909:WARNING:x11_util.cc(1353)] : X error received: serial 2796126, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown)
[19317:19374:0929/182753.904746:WARNING:x11_util.cc(1353)] : X error received: serial 2796546, error_code 8 (BadMatch), request_code 154, minor_code 26 (Unknown)

BadMatch appear when I select a screen to share, the BadWindow appears when I stop sharing.


I'm grasping at straws at this point.

Sign in to add a comment