Closed Bug 1258842 Opened 8 years ago Closed 8 months ago

Firefox does not repaint properly when window is moved between monitors with hardware acceleration

Categories

(Core :: Graphics, defect, P3)

45 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: codacodercodacoder, Unassigned, NeedInfo)

Details

(Whiteboard: gfx-noted)

Attachments

(2 files)

Attached image ff-paint.jpg
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160303134406

Steps to reproduce:

Dragged firefox between monitors


Actual results:

The UI contains numerous painting errors/drag-artifacts.  See attachment ff-paint.jpg


Expected results:

The current tab should be repainted when window is dropped.

Note: It's not the webpage, any webpage I go to will do this. Compared same pages with Chrome/IE (no fault found).
Component: Untriaged → Graphics
Product: Firefox → Core
Could you post the information from you graphics section in about:support?
Flags: needinfo?(codacodercodacoder)
Whiteboard: gfx-noted
Adapter Description	AMD FirePro W4100 (FireGL V) Graphics Adapter
Adapter Drivers	aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter RAM	2048
Asynchronous Pan/Zoom	none
Device ID	0x682c
Direct2D Enabled	true
DirectWrite Enabled	true (6.2.9200.17568)
Driver Date	1-26-2015
Driver Version	14.502.1005.0
GPU #2 Active	false
GPU Accelerated Windows	2/2 Direct3D 11 (OMTC)
Subsys ID	2b1e1028
Supports Hardware H264 Decoding	No; Hardware video decoding disabled or blacklisted
Vendor ID	0x1002
WebGL Renderer	Google Inc. -- ANGLE (AMD FirePro W4100 (FireGL V) Graphics Adapter Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote	true
AzureCanvasBackend	direct2d 1.1
AzureContentBackend	direct2d 1.1
AzureFallbackCanvasBackend	cairo
AzureSkiaAccelerated	0
Flags: needinfo?(codacodercodacoder)
Do we have anything like this in our 'hardware lab'?
Flags: needinfo?(jmuizelaar)
I get this as well, difference is my setup has 2 GPUs driving the separate monitors. Happy to profile as needed. 

On dragging between the monitors, the native UI repaints but the window content does not. Moving the window from the nVidia to the Intel-driven monitor is fine, but moving it back to the nVidia-driven (or starting Firefox on the Intel and moving it to the nVidia) results in a blank window, per attached.


Graphics
Features
Compositing	Direct3D 11
Asynchronous Pan/Zoom	none
WebGL Renderer	Google Inc. -- ANGLE (NVIDIA GeForce GTX 970 Direct3D11 vs_5_0 ps_5_0)
WebGL2 Renderer	Google Inc. -- ANGLE (NVIDIA GeForce GTX 970 Direct3D11 vs_5_0 ps_5_0)
Hardware H264 Decoding	Yes; Using D3D11 API
Audio Backend	wasapi
Direct2D	true
DirectWrite	true (10.0.14393.351)
GPU #1
Active	Yes
Description	NVIDIA GeForce GTX 970
Vendor ID	0x10de
Device ID	0x13c2
Driver Version	21.21.13.7849
Driver Date	1-20-2017
Drivers	C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvd3dumx,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2umx,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2umx,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2umx C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvd3dum,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2um,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2um,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_02838dee03d82b94\nvwgf2um
Subsys ID	29743842
RAM	4096
GPU #2
Active	No
Description	Intel(R) HD Graphics 620
Vendor ID	0x8086
Device ID	0x5916
Driver Version	21.20.16.4541
Driver Date	10-20-2016
Drivers	igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
Subsys ID	0000000c
RAM	Unknown
Diagnostics
AzureCanvasAccelerated	0
AzureCanvasBackend	direct2d 1.1
AzureContentBackend	direct2d 1.1
AzureFallbackCanvasBackend	cairo
Decision Log
D3D9_COMPOSITING	
disabled by default: Disabled by default
Attached image fx-drag.jpg
Per above, results of moving window from Intel to nVidia driven monitor.
Forgot to mention that disabling hardware acceleration does make the problem go away.
Severity: normal → S3

Codacoder,

Are you still seeing this issue?

Flags: needinfo?(codacodercodacoder)
Summary: Firefox does not repaint properly when window is moved between monitors → Firefox does not repaint properly when window is moved between monitors with hardware acceleration

Redirect a needinfo that is pending on an inactive user to the triage owner.
:bhood, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(codacodercodacoder) → needinfo?(bhood)

on an inactive user

unresponsive might more accurate. And who can blame me? You don't even respond to yourselves: https://bugzilla.mozilla.org/show_bug.cgi?id=1258842#c3

(surmised) "Oh, it probably got discussed off-list."

Unwise. Unhelpful.

Are you still seeing this issue?

Are you in training to become a standup comic? You think I'm using the same hardware/OS eight years later?

No, I'm not still seeing this issue. But while we're digging up fossils, THIS FROM TEN YEARS AGO is still happening: https://bugzilla.mozilla.org/show_bug.cgi?id=967096 .

(surmised) "That's off-topic in this bug."

This bug is off-topic in this bug.

"That'll get fixed when we finally kill/remove/cremate the remaining XUL crap."

Yeah. Sure. Reproducible with every box I've owned in 10 years. It's not a moving target, for pete's sake.

I'm 66 years old. Statistically, it's a fair bet I'll be dead before you fix that one.

</rant>

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Flags: needinfo?(bhood)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: