Closed Bug 911729 Opened 11 years ago Closed 2 years ago

Enabling "Use hardware acceleration..." leads to a seemingly random graphics card driver crash on Windows 7 64-bit w/ nVidia graphics card drivers

Categories

(Core :: Graphics, defect)

23 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: clowd, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130814063812 Steps to reproduce: With "Use hardware acceleration when available" enabled in Firefox 22 and 23, using Firefox on my non-primary monitor (I have 2 monitors) will cause my graphics card drivers to crash. I have been unable to consistently reproduce this, but I know that something must be triggering it, but I can't find out what. I do not know if using only one monitor, or running Firefox on my primary monitor, will have the same results. I am running Windows 7 x86_64 with an nVidia GTX460 768MB graphics card and the latest nVidia drivers. Actual results: Using Firefox 22/23 on a secondary monitor will occasionally result in a crash of the nVidia graphics card drivers. Sometimes Windows is able to recover from this crash, but it might also freeze the entire system, requiring a hard reset to use my system again. Expected results: No driver crash should have occurred.
Application Basics Name Firefox Version 23.0.1 User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 Build Configuration about:buildconfig Extensions Name Version Enabled ID LogMeIn, Inc. Remote Access Plugin 1.0.0.1024 true LogMeInClient@logmein.com CutePDF Editor Toolbar 3.15.4.23821 false toolbar@ask.com Skype Click to Call 6.9.0.12585 false {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} Important Modified Preferences Name Value accessibility.typeaheadfind.flashBar 0 browser.cache.disk.capacity 358400 browser.cache.disk.smart_size.first_run false browser.cache.disk.smart_size.use_old_max false browser.cache.disk.smart_size_cached_value 358400 browser.places.importBookmarksHTML false browser.places.smartBookmarksVersion 4 browser.privatebrowsing.dont_prompt_on_enter true browser.search.useDBForOrder true browser.sessionstore.interval 300000 browser.sessionstore.upgradeBackup.latestBuildID 20130814213513 browser.startup.homepage https://www.google.com/ browser.startup.homepage_override.buildID 20130814063812 browser.startup.homepage_override.mstone 23.0.1 browser.tabs.warnOnClose false dom.max_script_run_time 1800 dom.mozApps.used true dom.w3c_touch_events.expose false extensions.lastAppVersion 23.0.1 gfx.direct3d.checkDX10 true gfx.direct3d.last_used_feature_level_idx 0 gfx.direct3d.prefer_10_1 true keyword.URL http://www.google.com/search?q= network.cookie.prefsMigrated true places.database.lastMaintenance 1378119262 places.history.expiration.transient_current_max_pages 104858 places.history.expiration.transient_optimal_database_size 167772160 places.last_vacuum 1300930341 plugin.disable_full_page_plugin_for_types application/pdf plugin.importedState true privacy.cpd.offlineApps true privacy.cpd.siteSettings true privacy.donottrackheader.enabled true privacy.sanitize.migrateFx3Prefs true security.warn_viewing_mixed false storage.vacuum.last.index 1 storage.vacuum.last.places.sqlite 1376008247 Graphics Adapter Description NVIDIA GeForce GTX 460 Adapter Drivers nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM 768 Device ID 0x0e22 Direct2D Enabled true DirectWrite Enabled true (6.2.9200.16571) Driver Date 6-21-2013 Driver Version 9.18.13.2049 GPU #2 Active false GPU Accelerated Windows 1/1 Direct3D 10 Vendor ID 0x10de WebGL Renderer Google Inc. -- ANGLE (NVIDIA GeForce GTX 460) AzureCanvasBackend direct2d AzureContentBackend direct2d AzureFallbackCanvasBackend cairo JavaScript Incremental GC true Accessibility Activated false Prevent Accessibility 0 Library Versions Expected minimum version Version in use NSPR 4.10 4.10 NSS 3.15 Basic ECC 3.15 Basic ECC NSSSMIME 3.15 Basic ECC 3.15 Basic ECC NSSSSL 3.15 Basic ECC 3.15 Basic ECC NSSUTIL 3.15 3.15
Did you ask nVidia support? Because I can't know how Mozilla can fix issues inside GPU drivers.
I've made a post on nVidia's support forums about it, but I don't know if Firefox is doing something wrong to cause the crash and it was just timed around a driver update, or if the latest driver update from nVidia is causing the crash because something about it broke during the latest update. https://forums.geforce.com/default/board/35/ has a few posts regarding PC freezes with the latest nVidia drivers. I just posted my current workaround, hopefully it'll help others and help find the root cause of this.
I can confirm the same behavior on Windows 7 64-bit, Firefox 25 (release) and (latest) Nvidia 331.65 drivers. Before proceeding to describe my config, please do note that I did not have a single issue when using drivers up to 314.22 (Kyle P you might want to give those drivers a try...). Not even a single lockup With all drivers > 314.22 I had some sort of lockup (soft or hard) when using FF. That is why I always reverted back to 314.22. However, I am running now Battlefield 4, which requires the latest drivers. Hence for the bug report. Workaround for FF: disable hardware acceleration. Details (acceleration is now being disabled): { "application": { "name": "Firefox", "version": "25.0", "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0", "supportURL": "https://support.mozilla.org/1/firefox/25.0/WINNT/el/" }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "accessibility.typeaheadfind": true, "browser.cache.disk.capacity": 358400, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.smart_size.use_old_max": false, "browser.cache.disk.smart_size_cached_value": 358400, "browser.places.smartBookmarksVersion": 4, "browser.privatebrowsing.dont_prompt_on_enter": true, "browser.sessionstore.upgradeBackup.latestBuildID": "20131025151332", "browser.startup.homepage_override.mstone": "25.0", "browser.startup.homepage_override.buildID": "20131025151332", "browser.tabs.warnOnClose": false, "dom.w3c_touch_events.expose": false, "dom.mozApps.used": true, "extensions.lastAppVersion": "25.0", "gfx.direct3d.prefer_10_1": true, "gfx.direct2d.disabled": true, "gfx.direct3d.last_used_feature_level_idx": 0, "layers.acceleration.disabled": true, "network.cookie.prefsMigrated": true, "places.history.expiration.transient_optimal_database_size": 167772160, "places.history.expiration.transient_current_max_pages": 104858, "places.database.lastMaintenance": 1383332605, "plugin.importedState": true, "plugin.disable_full_page_plugin_for_types": "application/pdf", "plugin.state.npcig": 0, "print.printer_PDFCreator.print_edge_top": 0, "print.printer_Canon_MP280_series_Printer.print_unwriteable_margin_bottom": 0, "print.printer_PDFCreator.print_footerleft": "&PT", "print.printer_PDFCreator.print_in_color": true, "print.printer_PDFCreator.print_shrink_to_fit": true, "print.printer_Canon_MP280_series_Printer.print_footerright": "&D", "print.printer_PDFCreator.print_bgcolor": false, "print.printer_Canon_MP280_series_Printer.print_bgimages": false, "print.printer_PDFCreator.print_unwriteable_margin_top": 0, "print.printer_Canon_MP280_series_Printer.print_unwriteable_margin_top": 0, "print.printer_PDFCreator.print_edge_left": 0, "print.printer_PDFCreator.print_resolution_name": "", "print.printer_Canon_MP280_series_Printer.print_margin_right": "0.5", "print.printer_Canon_MP280_series_Printer.print_scaling": " 1,00", "print.printer_Canon_MP280_series_Printer.print_edge_left": 0, "print.printer_PDFCreator.print_paper_width": " 8,50", "print.printer_PDFCreator.print_paper_name": "", "print.printer_PDFCreator.print_reversed": false, "print.printer_PDFCreator.print_plex_name": "", "print.printer_Canon_MP280_series_Printer.print_paper_width": " 8,50", "print.printer_PDFCreator.print_unwriteable_margin_bottom": 0, "print.printer_PDFCreator.print_orientation": 0, "print.printer_Canon_MP280_series_Printer.print_paper_height": " 11,00", "print.printer_PDFCreator.print_scaling": " 1,00", "print.printer_Canon_MP280_series_Printer.print_unwriteable_margin_right": 0, "print.printer_PDFCreator.print_headerleft": "&T", "print.printer_PDFCreator.print_paper_data": 9, "print.printer_Canon_MP280_series_Printer.print_evenpages": true, "print.printer_Canon_MP280_series_Printer.print_paper_size_type": 0, "print.printer_PDFCreator.print_margin_right": "0.5", "print.printer_PDFCreator.print_downloadfonts": false, "print.printer_PDFCreator.print_paper_size_unit": 1, "print.printer_Canon_MP280_series_Printer.print_headerright": "&U", "print.printer_PDFCreator.print_edge_right": 0, "print.printer_Canon_MP280_series_Printer.print_unwriteable_margin_left": 0, "print.printer_Canon_MP280_series_Printer.print_edge_right": 0, "print.printer_Canon_MP280_series_Printer.print_footercenter": "", "print.printer_PDFCreator.print_unwriteable_margin_right": 0, "print.printer_Canon_MP280_series_Printer.print_headercenter": "", "print.printer_PDFCreator.print_evenpages": true, "print.printer_PDFCreator.print_paper_size_type": 0, "print.printer_PDFCreator.print_margin_bottom": "0.5", "print.printer_Canon_MP280_series_Printer.print_paper_data": 9, "print.printer_Canon_MP280_series_Printer.print_bgcolor": false, "print.printer_Canon_MP280_series_Printer.print_command": "", "print.printer_Canon_MP280_series_Printer.print_shrink_to_fit": true, "print.printer_Canon_MP280_series_Printer.print_reversed": false, "print.printer_Canon_MP280_series_Printer.print_orientation": 0, "print.printer_Canon_MP280_series_Printer.print_paper_name": "", "print.printer_PDFCreator.print_footerright": "&D", "print.printer_PDFCreator.print_colorspace": "", "print.printer_PDFCreator.print_headerright": "&U", "print.printer_Canon_MP280_series_Printer.print_oddpages": true, "print.printer_Canon_MP280_series_Printer.print_in_color": true, "print.printer_PDFCreator.print_resolution": 0, "print.printer_Canon_MP280_series_Printer.print_duplex": 0, "print.printer_PDFCreator.print_margin_top": "0.5", "print.printer_Canon_MP280_series_Printer.print_plex_name": "", "print.printer_PDFCreator.print_edge_bottom": 0, "print.printer_PDFCreator.print_margin_left": "0.5", "print.printer_PDFCreator.print_footercenter": "", "print.printer_Canon_MP280_series_Printer.print_margin_top": "0.5", "print.printer_PDFCreator.print_to_file": false, "print.printer_PDFCreator.print_oddpages": true, "print.printer_PDFCreator.print_duplex": 0, "print.printer_PDFCreator.print_command": "", "print.printer_Canon_MP280_series_Printer.print_downloadfonts": false, "print.printer_Canon_MP280_series_Printer.print_margin_bottom": "0.5", "print.printer_Canon_MP280_series_Printer.print_edge_top": 0, "print.printer_Canon_MP280_series_Printer.print_paper_size_unit": 1, "print.printer_Canon_MP280_series_Printer.print_edge_bottom": 0, "print.printer_Canon_MP280_series_Printer.print_to_file": false, "print.printer_PDFCreator.print_unwriteable_margin_left": 0, "print.printer_Canon_MP280_series_Printer.print_resolution": 0, "print.printer_PDFCreator.print_headercenter": "", "print.printer_PDFCreator.print_bgimages": false, "print.printer_Canon_MP280_series_Printer.print_resolution_name": "", "print.printer_Canon_MP280_series_Printer.print_page_delay": 50, "print.printer_Canon_MP280_series_Printer.print_footerleft": "&PT", "print.printer_Canon_MP280_series_Printer.print_margin_left": "0.5", "print.printer_PDFCreator.print_paper_height": " 11,00", "print.printer_PDFCreator.print_page_delay": 50, "print.printer_Canon_MP280_series_Printer.print_colorspace": "", "print.printer_Canon_MP280_series_Printer.print_headerleft": "&T", "privacy.cpd.siteSettings": true, "privacy.cpd.offlineApps": true, "privacy.sanitize.migrateFx3Prefs": true, "security.warn_viewing_mixed": false, "security.OCSP.disable_button.managecrl": false, "security.disable_button.openCertManager": false, "storage.vacuum.last.places.sqlite": 1381235665, "storage.vacuum.last.index": 1 }, "graphics": { "numTotalWindows": 1, "numAcceleratedWindows": 0, "windowLayerManagerType": "Basic", "windowLayerManagerRemote": false, "numAcceleratedWindowsMessage": [ "" ], "adapterDescription": "NVIDIA GeForce GTX 560 Ti ", "adapterVendorID": "0x10de", "adapterDeviceID": "0x1200", "adapterRAM": "1024", "adapterDrivers": "nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um", "driverVersion": "9.18.13.3165", "driverDate": "10-23-2013", "adapterDescription2": "", "adapterVendorID2": "", "adapterDeviceID2": "", "adapterRAM2": "", "adapterDrivers2": "", "driverVersion2": "", "driverDate2": "", "isGPU2Active": false, "direct2DEnabled": false, "directWriteEnabled": false, "directWriteVersion": "6.2.9200.16571", "clearTypeParameters": "Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 100 ", "direct2DEnabledMessage": [ "" ], "webglRenderer": "Google Inc. -- ANGLE (NVIDIA GeForce GTX 560 Ti Direct3D9Ex vs_3_0 ps_3_0)", "info": { "AzureCanvasBackend": "skia", "AzureSkiaAccelerated": 0, "AzureFallbackCanvasBackend": "cairo", "AzureContentBackend": "none" } }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 0 }, "libraryVersions": { "NSPR": { "minVersion": "4.10.1", "version": "4.10.1" }, "NSS": { "minVersion": "3.15.2 Basic ECC", "version": "3.15.2 Basic ECC" }, "NSSUTIL": { "minVersion": "3.15.2", "version": "3.15.2" }, "NSSSSL": { "minVersion": "3.15.2 Basic ECC", "version": "3.15.2 Basic ECC" }, "NSSSMIME": { "minVersion": "3.15.2 Basic ECC", "version": "3.15.2 Basic ECC" } }, "userJS": { "exists": false }, "extensions": [ { "name": "Adblock Plus", "version": "2.4", "isActive": true, "id": "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}" }, { "name": "Greek-English Spelling dictionary", "version": "0.5.5", "isActive": true, "id": "el-en@dictionaries.addons.mozilla.org" }, { "name": "Norton Vulnerability Protection", "version": "12.0.3.2 - 1", "isActive": true, "id": "{BBDA0591-3099-440a-AA10-41764D9DB4DB}" } ] } Crash reports of relevance: * https://crash-stats.mozilla.com/report/index/4d063d18-fbf1-4aa9-b1c9-d7b242131031
A clarification: although normally one might assume that this issue is due to the nvidia drivers, I would suggest the Firefox devel team to take a closer look at it for two reasons: 1) Due to the fact that Chrome and IE 10, also using some sort of gfx acceleration, do not exhibit the same issues and 2) Regardless of where the fault actually lies, it drives people away from Firefox (especially if they don't know that they can disable hw accel): let's face it, it is easier to change the browser, than to change a $200 graphics card...
Michail, I agree! This is most likely linked to the nVidia driver issue revolving around the 400/500 series cards. Finding a workaround would that allows for HW acceleration would be welcome.
Kyle, can you provide a crash ID (bp-...) as Michail did it, please.
Flags: needinfo?(clowd81)
Kyle, if you don't where to find these crash ID's, first check whether in tools -> options -> advanced -> data options, the three checkboxes are checked. If not, do check them in order to be able to obtain crash reports from now on. Furthermore, if the checkboxes were checked (the 2nd-3rd boxes iirc), then you should have already been automatically been submitting reports. Check if about:crashes shows a list of links. If it does, select those that happened at the same time you've been experiencing the freeze issues and post them here.
Michael, Thanks for the info, I had those disabled. Loic, I will re-enable HW acceleration and see if I can get a bug report. Unfortunately, the latest bp- crash report I have is related to the Flash plugin. I'll post a report here as soon as I can get one.
Flags: needinfo?(clowd81)
I apologize for not updating, but, I don't have any additional crash reports to post. During the time that I tried, no crash report was being generated, most likely because the only fix was to restart my PC. I have since upgraded graphics cards, and I'm no longer having this issue. It sounds like it might have been a driver issue with nVidia GeForce 4xx/5xx cards rather than a Firefox specific problem.
wolfie87 absolutly same thing 780 gtx 340.52 driver on 377.88 and firefox 31 and lower version worked 3 monts without hardlock and freeze Updated to 32 firefox. hardlocks.Freeze. GPU Cooler worked in freezed state at max. Only when scrolling. In random moment But mostly in sites with big pictures
I have experienced this for the first time today on my own website that I've developed. 2 users of mine (out of ~2,000 hits per day, ~1,200 coming from Firefox users) have reported this issue already with nVidia drivers, but I never experienced it myself. I added an element that's floated right of a Canvas element. When I refreshed my page, the Canvas element took on a garbled version of the element's background image that I added, and then my nVidia drives crashed. Windows recovered the nVidia driver crash only for Firefox to crash them again, repeatedly, until Windows put up a notice saying "Firefox.exe has been blocked from accessing graphics hardware" and my Firefox window went blank. Upon restarting Firefox, menu icons and borders were not rendered and not all parts of pages were rendered until I turned off Hardware Acceleration in Firefox, restarted, and then things went back to normal. (as one would expect) Firefox at no point crashed, so unfortunately I have no Mozilla stack traces. This is the error in the Windows system logs from the nVidia driver: \Device\Video2 NVRM: Graphics TEX Exception on (GPC 0, TPC 0): TEX NACK / Page Fault 0000000002003000000000000D00AAC0000000000000000000000000000000000000000000000000 \Device\Video2 Variable String to Large 0000000002003000000000000D00AAC0000000000000000000000000000000000000000000000000 \Device\Video2 NVRM: Graphics TEX Exception on (GPC 0, TPC 1): TEX NACK / Page Fault 0000000002003000000000000D00AAC0000000000000000000000000000000000000000000000000 \Device\Video2 Variable String to Large 0000000002003000000000000D00AAC0000000000000000000000000000000000000000000000000 The errors continue in the same manner up until "GPC 0, TPC 4" at which point the Windows event log states that the drivers were restarted. My GPU is a GTX 750 Ti (the newer Maxwell hardware) and I am running driver version 340.52. The 2 users who have reported this issue to me were running various other nVidia hardware. My web page is http://rainwave.cc - to put yourself into a situation to potentially replicate this issue, go to the settings icon (gear, upper left corner), click "Skip Intro Mode", click on "Albums" to open the album list, and then open albums from the list. The doughtnut graph (from chart.js) that you see is where the corruption happens.
I should note that this could be monumentally difficult to reproduce, considering I've worked on this website for a good 8 months and despite using Firefox as my primary development platform, only today did it do this to me. It has happened to 2 other users of mine, though, so the chance for triggering it does exist.
Sorry for the comment spam, I should note that the issue occurred for me on Firefox 32.0.2, Windows 8.1 64-bit. I know 32 and 32.0.1 were released with GPU related fixes. My users reported crashes on versions 30 and 31, minor versions unknown.
I have this problem. My system: Windows 8, 64-bit; Firefox 53.0 x64; Nvidia GT 610 with driver 381.89. It's got to the point where I am considering using another browser for any video.
I experience the same issue, sometimes multiple times per day. Randomly, when switching to another tab or scrolling in a page, suddenly both my screens become black for maybe 5 seconds. Then the screen contents slowly rebuild part by part. Just like the original bug report author, I use a dual screen setup! I use the recent Firefox 62.0.3 (64 bit) on Windows 7 Pro (64 bit) on a machine with nVidia Quadro P400 and two monitors connected, both by DisplayPort. The graphics driver version is quite up-to-date (version 392.00). The event log will contain multiple entries like this whenever the crash happens: \Device\Video7 NVRM: Graphics TEX Exception on (GPC 0, TPC 0): TEX NACK / Page Fault \Device\Video7 Variable String too Large Support information: Version: 62.0.3 Build-ID: 20181001155545 Update-Kanal: release User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 From the graphics section: Entscheidungsprotokoll GPU_PROCESS failed by runtime: GPU process disabled after 2 attempts WEBRENDER opt-in by default: WebRender is an opt-in feature ADVANCED_LAYERS available by user: Enabled for Windows 7 via user-preference unavailable by runtime: Advanced-layers requires a D3D11 device Lösungen NO_CONSTANT_BUFFER_OFFSETTING Unsupported by driver Fehlerprotokoll (#0) CP+[GFX1-]: (gfxWindowsPlatform) Detected device reset: 3 (#54) CP+[GFX1]: Failed to create software bitmap: Size(660,700) Code: 0x8899000c (#55) Error [D3D11] failed to get compositor device. (#56) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#57) Error [D3D11] failed to get compositor device. (#58) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#59) Error [D3D11] failed to get compositor device. (#60) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#61) Error [D3D11] failed to get compositor device. (#62) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#63) Error [D3D11] failed to get compositor device. (#64) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#65) Error [D3D11] failed to get compositor device. (#66) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (#67) Error [D3D11] failed to get compositor device. (#68) Error [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE

Sebastian, Najoll, do you still encounter this issue?

Flags: needinfo?(sebastian_steiner)
Flags: needinfo?(najoll)

(In reply to Wayne Mery (:wsmwk) from comment #17)

Sebastian, Najoll, do you still encounter this issue?

At least for my case: I haven't seen the issue for a longer time. I guess it has been fixed in a later release or doesn't appear any more due to an OS upgrade to Windows 10 x64. Sorry for the late response!

Flags: needinfo?(sebastian_steiner)

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 auto_nag documentation.

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