Selecting entire screen in getDisplayMedia() makes mouse flicker constantly
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Tracking
()
People
(Reporter: atest60153, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36
Steps to reproduce:
Run "navigator.mediaDevices.getDisplayMedia()" in DevTools on a secure domain (e.g.: https://www.google.com) and select "Entire screen".
Actual results:
It did share the whole screen, however the mouse flickered constantly, and the whole computer became bogged down until the screen sharing stopped.
![]() |
||
Updated•5 years ago
|
![]() |
||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Did the mouse cursor flicker in the rendering of the stream from getDisplayMedia()
, or was it the "original" mouse cursor?
What resolution did the screen you captured have, and what CPU and GPU (or mac model and year) do you have? If you have hybrid GPUs, is it better on one of them than the other?
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Andreas Pehrson [:pehrsons] from comment #1)
Did the mouse cursor flicker in the rendering of the stream from
getDisplayMedia()
, or was it the "original" mouse cursor?What resolution did the screen you captured have, and what CPU and GPU (or mac model and year) do you have? If you have hybrid GPUs, is it better on one of them than the other?
The original mouse cursor flickered. I have an Intel Celeron N3050 with a 1366x768 screen and honestly not sure what my GPU is (I'm on a Lenovo ideapad 100s laptop if it helps).
Comment 4•5 years ago
|
||
The flickering mouse cursor reproduces on one of my Windows laptops (a Thinkpad W540) but not the other (a Lenovo Yoga C630). I don't see any performance problems with either of my systems, that might be something specific to the reporter's laptop.
It looks like this problem has been present for a while (Bug 1412203 sounds like the same thing.) I'm going to set this as a P3, definitely an annoyance we should fix, but perhaps not the highest priority.
Thank you for reporting this.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•2 years ago
|
||
I can confirm the mouse flickering still occurs with Firefox 99.0.1 on Windows 10.
As others have reported, the original cursor flickers anywhere it is moved on the screen (even outside the Firefox window). The cursor in the shared stream does not flicker.
I'm using an i7-8750H laptop with three monitors (laptop's monitor plus two external). Flicker occurs when sharing any of the screens. GPU is GeForce GTX 1060 with Max-Q. However, TaskManager ("GPU engine" column) does not show any Firefox thread using the GPU. Chrome is also running and does appear to be using GPU, according to TaskManager.
Description
•