Open Bug 1557987 Opened 5 years ago Updated 2 years ago

Selecting entire screen in getDisplayMedia() makes mouse flicker constantly

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

69 Branch
Desktop
Windows
defect

Tracking

()

Tracking Status
firefox-esr68 --- affected
firefox77 --- affected
firefox78 --- affected
firefox79 --- affected

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.

Product: Firefox → Core
Component: Untriaged → WebRTC

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?

Flags: needinfo?(atest60153)

(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).

Flags: needinfo?(atest60153)

Thanks. Dan, does this ring any of your bells?

Flags: needinfo?(dminor)

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.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(dminor)
Priority: -- → P3
Component: WebRTC → WebRTC: Audio/Video
Severity: normal → S4
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

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.

You need to log in before you can comment on or make changes to this bug.