Flickering and compositing glitches

ASSIGNED
Assigned to

Status

()

P3
normal
ASSIGNED
3 years ago
a year ago

People

(Reporter: kael, Assigned: bas.schouten)

Tracking

(Blocks: 1 bug)

42 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

Attachments

(11 attachments)

(Reporter)

Description

3 years ago
Created attachment 8663443 [details]
Screenshot

Since at least Sep 8, I've been getting compositing glitches. They seem to get worse the longer a browser session is going; they may specifically be set off by display geometry changing (they're really bad once I wake my PC's monitors from sleep). When I restart Firefox to install an update, they're gone for at least a few hours.

At a given point when an area of a page repaints, some of the layers seem to be missing - fills, etc. I also see flickering when a large image is progressively loading - the background behind it flickers, the image flickers, etc. Causing an area to repaint makes the glitches go away, but if it isn't repainted they stay indefinitely. This happens on basically every page I visit, but it's worse on pages with complex layouts.

This session has been going for a couple days and my monitors were off overnight; now the glitches are so bad that when I resize the text field in Bugzilla the background constantly glitches between white and silver.

Application Basics
------------------

Name: Firefox
Version: 42.0a2
Build ID: 20150919004025
Update Channel: aurora
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0
Multiprocess Windows: 0/2 (default: false)
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: Rikaichan
Version: 2.09.1-signed
Enabled: true
ID: {0AA9101C-D3C1-4129-A9B7-D778C6A17F82}

Name: Rikaichan Japanese-English Dictionary File
Version: 2.01.150818
Enabled: true
ID: rikaichan-jpen@polarcloud.com

Name: uBlock Origin
Version: 1.1.1
Enabled: true
ID: uBlock0@raymondhill.net

Name: User Style Manager
Version: 1.1.1.1-signed
Enabled: true
ID: UserStyleManager@girishsharma

Graphics
--------

Adapter Description: NVIDIA GeForce GTX 980 Ti
Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um
Adapter RAM: 4095
Asynchronous Pan/Zoom: none
Device ID: 0x17c8
Direct2D Enabled: true
DirectWrite Enabled: true (10.0.10240.16430)
Driver Date: 8-25-2015
Driver Version: 10.18.13.5582
GPU #2 Active: false
GPU Accelerated Windows: 2/2 Direct3D 11 (OMTC)
Subsys ID: 19963842
Supports Hardware H264 Decoding: true
Vendor ID: 0x10de
WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 980 Ti Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 4
browser.download.importedFromSqlite: true
browser.download.manager.alertOnEXEOpen: false
browser.fixup.domainwhitelist.firehomie: true
browser.fixup.domainwhitelist.rv325: true
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20150919004025
browser.startup.homepage_override.buildID: 20150919004025
browser.startup.homepage_override.mstone: 42.0a2
browser.tabs.remote.autostart.2: false
browser.tabs.warnOnClose: false
browser.tabs.warnOnOpen: false
dom.apps.reset-permissions: true
dom.mozApps.used: true
extensions.lastAppVersion: 42.0a2
font.internaluseonly.changed: true
font.name.monospace.x-western: Consolas
font.name.sans-serif.x-western: Calibri
font.name.serif.x-western: Cambria
font.size.fixed.x-western: 15
font.size.variable.x-western: 18
gfx.direct3d.last_used_feature_level_idx: 0
gfx.driver-init.appVersion: 42.0a2
gfx.driver-init.deviceID: 0x17c8
gfx.driver-init.driverVersion: 10.18.13.5582
gfx.driver-init.feature-d2d: true
gfx.driver-init.feature-d3d11: true
gfx.driver-init.status: 2
gfx.font_rendering.cleartype_params.cleartype_level: 40
gfx.font_rendering.cleartype_params.force_gdi_classic_for_families:
gfx.font_rendering.directwrite.enabled: true
media.gmp-gmpopenh264.lastUpdate: 1430793755
media.gmp-gmpopenh264.version: 1.4
media.gmp-manager.buildID: 20150919004025
media.gmp-manager.lastCheck: 1442709001
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.prefetch-next: false
places.database.lastMaintenance: 1442387356
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.flash: 1
plugin.state.npctrl: 2
plugin.state.npgoogleupdate: 0
plugin.state.npnv3dv: 0
plugin.state.npnv3dvstreaming: 0
privacy.cpd.cookies: false
privacy.cpd.downloads: false
privacy.cpd.formdata: false
privacy.cpd.history: false
privacy.cpd.sessions: false
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
privacy.trackingprotection.enabled: true
privacy.trackingprotection.pbmode.enabled: false
security.disable_button.openCertManager: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1440750833

Important Locked Preferences
----------------------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.10.9
Version in use: 4.10.9

NSS
Expected minimum version: 3.19.3 Basic ECC
Version in use: 3.19.3 Basic ECC

NSSSMIME
Expected minimum version: 3.19.3 Basic ECC
Version in use: 3.19.3 Basic ECC

NSSSSL
Expected minimum version: 3.19.3 Basic ECC
Version in use: 3.19.3 Basic ECC

NSSUTIL
Expected minimum version: 3.19.3
Version in use: 3.19.3

Experimental Features
---------------------
(Reporter)

Comment 1

3 years ago
Created attachment 8663444 [details]
Screenshot 2
(Reporter)

Comment 2

3 years ago
Created attachment 8663445 [details]
Screenshot 3
(Reporter)

Comment 3

3 years ago
Forcing a driver reset ('nvidiainspector -restartDisplayDriver' in this case, though there are other ways) fixes the compositor, at least temporarily.

Unfortunately it breaks other things in the UI, like permanently discarding the contents of some chrome bitmaps. I think I already filed a bug about the way FF handles driver resets.
(Assignee)

Comment 4

3 years ago
Hrm, this is pretty bizarre. Can you run a debug build and see if you get anything out of the ordinary on the debug console when this happens.
Assignee: nobody → bas
Status: NEW → ASSIGNED
Whiteboard: [gfx-noted]
(Reporter)

Comment 5

3 years ago
Is there a particular spot on the FTP I should get the build from?
(In reply to K. Gadd (:kael) from comment #5)
> Is there a particular spot on the FTP I should get the build from?

https://archive.mozilla.org/pub/firefox/nightly/
(Reporter)

Comment 7

3 years ago
This still happens, including on a new machine I built with a different geforce card (980Ti). Latest windows 10 x64, latest geforce drivers, developer edition x64.

Also, somehow these compositor glitches can be retained (!!!!) in pdf.js's cached version of pages of a document. Saw it happen in a slide deck PDF; one of the pages rendered with a compositor glitch and the glitch remained in that single page of the PDF until it was dropped from pdf.js's cache.
(Reporter)

Comment 8

3 years ago
Created attachment 8703227 [details]
Incorrect cached slide (pdf.js)
(Reporter)

Comment 9

3 years ago
Created attachment 8703228 [details]
Correct cached slide (pdf.js)
(Reporter)

Comment 10

3 years ago
Created attachment 8716758 [details]
Compositor problems got worse

The compositor issues seem to have become worse, because now not only are individual chunks of layers rendering wrong but they're rendering in the wrong places sometimes.
(Reporter)

Comment 11

3 years ago
Created attachment 8716760 [details]
Recording of compositor glitches

The glitches seem to especially impact pages with many layers, like the lightboxes twitter started using recently. In this short video clip you can see things go haywire pretty badly when I open a lightbox.

Comment 12

3 years ago
I also suffer from the same problem, most often on Twitter and Hangouts. I'm on Windows 10 x64, Stable channel 64-bit, geforce GTX 970.

Comment 13

3 years ago
Created attachment 8717032 [details]
hangouts1.png

Comment 14

3 years ago
Created attachment 8717033 [details]
hangouts2.png

Comment 15

3 years ago
Created attachment 8717034 [details]
twitter1.png

Comment 16

3 years ago
Created attachment 8717035 [details]
twitter2.png

Comment 17

3 years ago
Application Basics
------------------

Name: Firefox
Version: 44.0
Build ID: 20160123151951
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
Multiprocess Windows: 0/1 (default: false)
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: Amazon Smile Redirect
Version: 0.1.1.1-signed
Enabled: true
ID: jid1-VgrLFatWWJY3DA@jetpack

Name: DownThemAll!
Version: 2.0.18.1-signed.1-let-fixed
Enabled: true
ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8}

Name: Greasemonkey
Version: 3.6
Enabled: true
ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

Name: IPvFox
Version: 0.8.6.1.1-signed
Enabled: true
ID: ipvfox@dagger2-addons.mozilla.org

Name: Rights To Close
Version: 1.0.4.1-signed
Enabled: true
ID: shan.developer@gmail.com

Name: Rikaichan Japanese Names Dictionary File
Version: 2.01.160101
Enabled: true
ID: rikaichan-jpnames@polarcloud.com

Name: Rikaichan Japanese-English Dictionary File
Version: 2.01.160101
Enabled: true
ID: rikaichan-jpen@polarcloud.com

Name: Tab Counter
Version: 1.9.9.2
Enabled: true
ID: tabcounter@morac

Name: Tree Style Tab
Version: 0.16.2015122501
Enabled: true
ID: treestyletab@piro.sakura.ne.jp

Name: uBlock Origin
Version: 1.5.5
Enabled: true
ID: uBlock0@raymondhill.net

Graphics
--------

Adapter Description: NVIDIA GeForce GTX 970
Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um
Adapter RAM: 4095
Asynchronous Pan/Zoom: none
Device ID: 0x13c2
Direct2D Enabled: true
DirectWrite Enabled: true (10.0.10586.0)
Driver Date: 12-16-2015
Driver Version: 10.18.13.6143
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Subsys ID: 00000000
Supports Hardware H264 Decoding: Yes
Vendor ID: 0x10de
WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 970 Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
(#0) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0
(#7) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0
(#8) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0
(#9) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0
(#10) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0
(#11) Error: [D2D1.1] 4CreateBitmap failure Size(28,30647) Code: 0x80070057 format 0

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 4
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 7
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20160123151951
browser.startup.homepage_override.buildID: 20160123151951
browser.startup.homepage_override.mstone: 44.0
browser.tabs.insertRelatedAfterCurrent: false
browser.tabs.insertRelatedAfterCurrent.backup: true
browser.urlbar.userMadeSearchSuggestionsChoice: true
dom.apps.reset-permissions: true
dom.mozApps.used: true
extensions.lastAppVersion: 44.0
font.internaluseonly.changed: false
gfx.crash-guard.d3d11layers.appVersion: 44.0
gfx.crash-guard.d3d11layers.deviceID: 0x13c2
gfx.crash-guard.d3d11layers.driverVersion: 10.18.13.6143
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle: true
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle: true
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11: false
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp: false
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d9video: 2
gfx.crash-guard.status.glcontext: 2
gfx.direct3d.last_used_feature_level_idx: 0
media.gmp-eme-adobe.abi: x86_64-msvc-x64
media.gmp-eme-adobe.lastUpdate: 1453878132
media.gmp-eme-adobe.version: 16
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1453878132
media.gmp-gmpopenh264.version: 1.5.3
media.gmp-manager.buildID: 20160123151951
media.gmp-manager.lastCheck: 1454782079
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.prefetch-next: false
places.database.lastMaintenance: 1454519193
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
print.print_bgcolor: false
print.print_bgimages: false
print.print_duplex: -437918235
print.print_evenpages: true
print.print_in_color: true
print.print_margin_bottom: 0.5
print.print_margin_left: 0.5
print.print_margin_right: 0.5
print.print_margin_top: 0.5
print.print_oddpages: true
print.print_orientation: 0
print.print_page_delay: 50
print.print_paper_data: 0
print.print_paper_height: 11.00
print.print_paper_name:
print.print_paper_size_type: 1
print.print_paper_size_unit: 0
print.print_paper_width: 8.50
print.print_resolution: -437918235
print.print_reversed: false
print.print_scaling: 1.00
print.print_shrink_to_fit: true
print.print_to_file: false
print.print_unwriteable_margin_bottom: 0
print.print_unwriteable_margin_left: 0
print.print_unwriteable_margin_right: 0
print.print_unwriteable_margin_top: 0
print.printer_Microsoft_Print_to_PDF.print_bgcolor: false
print.printer_Microsoft_Print_to_PDF.print_bgimages: false
print.printer_Microsoft_Print_to_PDF.print_duplex: -437918235
print.printer_Microsoft_Print_to_PDF.print_edge_bottom: 0
print.printer_Microsoft_Print_to_PDF.print_edge_left: 0
print.printer_Microsoft_Print_to_PDF.print_edge_right: 0
print.printer_Microsoft_Print_to_PDF.print_edge_top: 0
print.printer_Microsoft_Print_to_PDF.print_evenpages: true
print.printer_Microsoft_Print_to_PDF.print_footercenter:
print.printer_Microsoft_Print_to_PDF.print_footerleft: &PT
print.printer_Microsoft_Print_to_PDF.print_footerright: &D
print.printer_Microsoft_Print_to_PDF.print_headercenter:
print.printer_Microsoft_Print_to_PDF.print_headerleft: &T
print.printer_Microsoft_Print_to_PDF.print_headerright: &U
print.printer_Microsoft_Print_to_PDF.print_in_color: true
print.printer_Microsoft_Print_to_PDF.print_margin_bottom: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_left: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_right: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_top: 0.5
print.printer_Microsoft_Print_to_PDF.print_oddpages: true
print.printer_Microsoft_Print_to_PDF.print_orientation: 0
print.printer_Microsoft_Print_to_PDF.print_page_delay: 50
print.printer_Microsoft_Print_to_PDF.print_paper_data: 0
print.printer_Microsoft_Print_to_PDF.print_paper_height: 11.00
print.printer_Microsoft_Print_to_PDF.print_paper_name:
print.printer_Microsoft_Print_to_PDF.print_paper_size_type: 1
print.printer_Microsoft_Print_to_PDF.print_paper_size_unit: 0
print.printer_Microsoft_Print_to_PDF.print_paper_width: 8.50
print.printer_Microsoft_Print_to_PDF.print_resolution: -437918235
print.printer_Microsoft_Print_to_PDF.print_reversed: false
print.printer_Microsoft_Print_to_PDF.print_scaling: 1.00
print.printer_Microsoft_Print_to_PDF.print_shrink_to_fit: true
print.printer_Microsoft_Print_to_PDF.print_to_file: false
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_bottom: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_left: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_right: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_top: 0
privacy.sanitize.migrateClearSavedPwdsOnExit: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1453886794
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

Important Locked Preferences
----------------------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.11
Version in use: 4.11

NSS
Expected minimum version: 3.21 Basic ECC
Version in use: 3.21 Basic ECC

NSSSMIME
Expected minimum version: 3.21 Basic ECC
Version in use: 3.21 Basic ECC

NSSSSL
Expected minimum version: 3.21 Basic ECC
Version in use: 3.21 Basic ECC

NSSUTIL
Expected minimum version: 3.21
Version in use: 3.21

Experimental Features
---------------------
Comment hidden (spam)
blocking-b2g: 2.2r? → ---
tracking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.