Closed Bug 1183391 Opened 9 years ago Closed 4 years ago

Firefox and Thunderbird not redrawing after hibernate (100% reproducible on my Lenovo X1 Carbon)

Categories

(Core :: Graphics, defect, P3)

x86_64
Windows 8.1
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: vladan, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(8 files)

Attached image Screenshot.png
Whenever I put my X1 Carbon laptop to hibernate, Firefox no longer repaints itself properly afterward. The tabstrip is partially black or messed up (see attachment). Nothing other than a Firefox restart fixes this. 100% reproducible on my Windows 8.1 laptop with Release 39 and Dev Edition 40. Chrome 43 and IE 11 on the same laptop are *not* affected!
Attached image Screenshot #2
Application Basics ------------------ Name: Firefox Version: 41.0a2 Build ID: 20150707004003 Update Channel: aurora User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 Multiprocess Windows: 0/10 (default: false) Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Extensions ---------- Name: ADB Helper Version: 0.8.0 Enabled: true ID: adbhelper@mozilla.org Name: Gecko Profiler Version: 1.16.3 Enabled: true ID: jid0-edalmuivkozlouyij0lpdx548bc@jetpack Name: Valence Version: 0.3.1 Enabled: true ID: fxdevtools-adapters@mozilla.org Graphics -------- Adapter Description: Intel(R) HD Graphics 5500 Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32 Adapter RAM: Unknown Asynchronous Pan/Zoom: none Device ID: 0x1616 Direct2D Enabled: true DirectWrite Enabled: true (6.3.9600.17795) Driver Date: 11-18-2014 Driver Version: 10.18.14.4029 GPU #2 Active: false GPU Accelerated Windows: 10/10 Direct3D 11 (OMTC) Subsys ID: 222717aa Supports Hardware H264 Decoding: false Vendor ID: 0x8086 WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 5500 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.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.download.manager.alertOnEXEOpen: true browser.places.smartBookmarksVersion: 7 browser.sessionstore.upgradeBackup.latestBuildID: 20150707004003 browser.startup.homepage_override.buildID: 20150707004003 browser.startup.homepage_override.mstone: 41.0a2 dom.apps.reset-permissions: true dom.mozApps.maxLocalId: 1007 dom.mozApps.used: true extensions.lastAppVersion: 41.0a2 font.internaluseonly.changed: true gfx.direct3d.last_used_feature_level_idx: 0 gfx.driver-init.appVersion: 41.0a2 gfx.driver-init.deviceID: 0x1616 gfx.driver-init.driverVersion: 10.18.14.4029 gfx.driver-init.feature-d2d: true gfx.driver-init.feature-d3d11: true gfx.driver-init.status: 2 media.gmp-eme-adobe.lastUpdate: 1434387707 media.gmp-eme-adobe.version: 11 media.gmp-gmpopenh264.lastUpdate: 1430773192 media.gmp-gmpopenh264.version: 1.4 media.gmp-manager.buildID: 20150707004003 media.gmp-manager.lastCheck: 1436800457 media.hardware-video-decoding.failed: false media.webrtc.debug.aec_log_dir: C:\Users\vladan\AppData\Local\Temp/ media.webrtc.debug.log_file: C:\Users\vladan\AppData\Local\Temp/WebRTC.log network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1436228659 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugin.state.flash: 1 print.printer_TOR5-DrClaw.print_bgcolor: false print.printer_TOR5-DrClaw.print_bgimages: false print.printer_TOR5-DrClaw.print_colorspace: print.printer_TOR5-DrClaw.print_command: print.printer_TOR5-DrClaw.print_downloadfonts: false print.printer_TOR5-DrClaw.print_duplex: 1515870810 print.printer_TOR5-DrClaw.print_edge_bottom: 0 print.printer_TOR5-DrClaw.print_edge_left: 0 print.printer_TOR5-DrClaw.print_edge_right: 0 print.printer_TOR5-DrClaw.print_edge_top: 0 print.printer_TOR5-DrClaw.print_evenpages: true print.printer_TOR5-DrClaw.print_footercenter: print.printer_TOR5-DrClaw.print_footerleft: &PT print.printer_TOR5-DrClaw.print_footerright: &D print.printer_TOR5-DrClaw.print_headercenter: print.printer_TOR5-DrClaw.print_headerleft: &T print.printer_TOR5-DrClaw.print_headerright: &U print.printer_TOR5-DrClaw.print_in_color: true print.printer_TOR5-DrClaw.print_margin_bottom: 0.5 print.printer_TOR5-DrClaw.print_margin_left: 0.5 print.printer_TOR5-DrClaw.print_margin_right: 0.5 print.printer_TOR5-DrClaw.print_margin_top: 0.5 print.printer_TOR5-DrClaw.print_oddpages: true print.printer_TOR5-DrClaw.print_orientation: 0 print.printer_TOR5-DrClaw.print_page_delay: 50 print.printer_TOR5-DrClaw.print_paper_data: 1 print.printer_TOR5-DrClaw.print_paper_height: 11.00 print.printer_TOR5-DrClaw.print_paper_name: print.printer_TOR5-DrClaw.print_paper_size_type: 0 print.printer_TOR5-DrClaw.print_paper_size_unit: 0 print.printer_TOR5-DrClaw.print_paper_width: 8.50 print.printer_TOR5-DrClaw.print_plex_name: print.printer_TOR5-DrClaw.print_resolution: 1515870810 print.printer_TOR5-DrClaw.print_resolution_name: print.printer_TOR5-DrClaw.print_reversed: false print.printer_TOR5-DrClaw.print_scaling: 1.00 print.printer_TOR5-DrClaw.print_shrink_to_fit: true print.printer_TOR5-DrClaw.print_to_file: false print.printer_TOR5-DrClaw.print_unwriteable_margin_bottom: 0 print.printer_TOR5-DrClaw.print_unwriteable_margin_left: 0 print.printer_TOR5-DrClaw.print_unwriteable_margin_right: 0 print.printer_TOR5-DrClaw.print_unwriteable_margin_top: 0 privacy.cpd.cache: false privacy.cpd.cookies: false privacy.cpd.formdata: false privacy.cpd.sessions: false privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1434387811 Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.8 Version in use: 4.10.8 NSS Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSSMIME Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSSSL Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSUTIL Expected minimum version: 3.19.2 Version in use: 3.19.2 Experimental Features ---------------------
So it looks like Windows turned off Glass on this machine/driver/system (Notepad, Chrome, IE don't have glass). Can we do the same?
Flags: needinfo?(bas)
actually, there is no Aero Glass on 8.1
Whiteboard: [gfx-noted]
CC-ing Greg who ran describes something similar here: https://bugzilla.mozilla.org/show_bug.cgi?id=1106798#c9. Greg, can you attach about:support graphics section when this problem occurs? Also, if you turn off hardware acceleration (in the advanced prefs), does the hibernate related problem go away?
Hi Milan. Thank you for moving me over to this bug case. I have some very strange things to report. I looked at the graphics section and copied the contents. Then I performed a hibernation cycle and the issue of the Minimize/Maximize/Close buttons disappearing (turning to black, plus not being operable either) happened. I looked at the graphics section of about:support and nothing had changed (I did a compare with Beyond Compare). I don't have that text anymore because I didn't save it because my system crashed. More on that in a minute. Here is the graphics section: Graphics Adapter Description NVIDIA GeForce GTX 970 Adapter Drivers nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM 4095 Asynchronous Pan/Zoom none ClearType Parameters Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 50 Device ID 0x13c2 Direct2D Enabled true DirectWrite Enabled true (6.3.9600.17795) Driver Date 5-27-2015 Driver Version 9.18.13.5306 GPU #2 Active false GPU Accelerated Windows 3/3 Direct3D 11 (OMTC) Subsys ID 39753842 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 I don't know if anything changed or not, and the issue has resolved itself. But let me explain a few weird things that happened! I turned off hardware acceleration in the advanced prefs. I performed a hibernation cycle. When I started the computer again, after about 2 or 3 seconds the computer just shut down. When I started it again, all of the apps that I had open were closed. Just like a fresh boot. I tried several hibernation cycles with Firefox open (3 windows with about 70 tabs) and the problem was gone. I re-enabled the hardware acceleration and performed several hibernation cycles and the problem is still gone. It had been 100% reducible before this. After the computer had crashed upon waking from hibernation that one time, the only way to wake the computer was via the power switch. In UEFI I had set the option to allow the keyboard to wake the computer from hibernation. I think this may be the only option I have set in UEFI, so it isn't like I have a strange complex setup. After several cycles of needing to use the power switch, I opened UEFI setup and re-enabled the option to allow the keyboard to wake the computer. I have performed several hibernation cycles and the problem has not presented itself again. What I can say is that the problem went away after I disabled hardware acceleration, and after re-enabling it the problem has not come back. But the weird crash I experienced (computer is about 3 months old and has been very reliable) has definitely clouded the analysis of what was causing the problem. It could be that the computer crashed because of the hardware acceleration setting in Firefox, or it could be completely unrelated and it crashed because of a computer malfunction with the UEFI getting reset. I will be loading down the computer with a number of applications tomorrow and then I will see if the problem surfaces again. But for now this might be a clue for you, however cloudy it may be.
Strange indeed. Vladan, how do you wake your computer from hibernate? Power switch?
Flags: needinfo?(vdjeric)
(In reply to Milan Sreckovic [:milan] from comment #7) > Strange indeed. Vladan, how do you wake your computer from hibernate? > Power switch? Yes, I pres the power button
Flags: needinfo?(vdjeric)
Attached image Firefox-Maximized.png
This is the minimize/maximize/close button area of Firefox when it is maximized. The desktop is the gold color. The buttons do not function. I can click as much as I want in this area and nothing happens.
Firefox minimize/maximize/close button area when the window is floating. All black and the desktop does not show through.
Upper left corner of Thunderbird when it is maximized. Gold desktop shows through. The tabs do operate OK.
Upper left corner of Thunderbird when the window is floating. The tabs are operational.
Thunderbird min/max/close when the window is floating.
Thunderbird min/max/close when the window is floating, but this time it shows the graphics. The graphics come and go. I had to capture this using control-PrintScreen. If I clicked on the window, it would turn black. The buttons are not operational.
It happened again. I just put the computer into hibernation and woke it up again. I'm not sure if you're looking for a change in the graphics section of about:support, but I just checked it and it hasn't changed from what I reported before. As usual, all of my applications are OK except for Firefox and Thunderbird. I captured some screenshots and have attached them. The buttons are not operational, even though the graphics will show from time to time. Here is a clue. I was composing two e-mails, and both of those windows are fine. Only the main Thunderbird window has a problem. Thunderbird is up to date. I closed it just now and re-opened it, and it is operating perfectly. The computer is 64-bit with 32 GB of RAM, so I doubt it is running out of memory. I hope these clues help. Greg
I just made it hibernate twice, and after the first hibernation Firefox was OK. But after the 2nd hibernation it was not. I have about 80 tabs open right now, though only a couple of them are active (the others have italicized writing on the tabs because they have not been read after restoring the session). Thunderbird is still OK.
Bas, let me know when you want to borrow my machine to reproduce this
perhaps greg's issue is related to bug 1178890
Summary: Firefox not redrawing after hibernate (100% reproducible on my Lenovo X1 Carbon) → Firefox and Thunderbird not redrawing after hibernate (100% reproducible on my Lenovo X1 Carbon)
Is someone still having this problem?
Flags: needinfo?(bas)
(Vladan, do you still see this when using newer version of Firefox or Thunderbird? In reply to Greg from comment #16) > I just made it hibernate twice, and after the first hibernation Firefox was > OK. But after the 2nd hibernation it was not. I have about 80 tabs open > right now, though only a couple of them are active (the others have > italicized writing on the tabs because they have not been read after > restoring the session). Thunderbird is still OK. Greg writes "I have not been experiencing that problem anymore, but I rarely put the computer to sleep, so I wouldn't necessarily know if the problem is gone or not."
Flags: needinfo?(vladan.bugzilla)
(In reply to Wayne Mery (:wsmwk) from comment #21) > (Vladan, do you still see this when using newer version of Firefox or > Thunderbird? I don't see this anymore, but I also don't have the original machine anymore
Flags: needinfo?(vladan.bugzilla)
As luck would have it, I now have an X1 carbon. So I will test this in the coming weeks.
Flags: needinfo?(vseerror)

My X1 is out of commission. I think we can just close this.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(vseerror)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: