Closed Bug 1248496 Opened 9 years ago Closed 9 years ago

Enable D3D11 DXVA

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

Attachments

(2 files)

We previously disabled this in bug 1163454, but we'd like to enable it again. It's believable that texture recycling will have improved this, but if not, we need to figure out why it's slow and fix it.
Omega, would you be able to test with Nightly and media.windows-media-foundation.allow-d3d11-dxva=true to see if this has improved at all? Thanks!
Flags: needinfo?(lh.bennett)
What a lengthy pref. I've done a quick test on today's Nightly using the reported video in the other bug. https://www.youtube.com/watch?v=mZfCkRvhkg0 Build: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 https://hg.mozilla.org/mozilla-central/rev/e355cacefc881ba360d412853b57e8e060e966f4 * YouTube player reports Zero Dropped Frames. No errors reported. ===================== Adapter Description AMD Radeon R9 200 Series Adapter Description (GPU #2) Intel(R) HD Graphics 4000 Adapter Drivers aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 Adapter Drivers (GPU #2) igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32 Adapter RAM 3072 Adapter RAM (GPU #2) Unknown Asynchronous Pan/Zoom wheel input enabled; touch input enabled ClearType Parameters D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 100 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ] Device ID 0x6798 Device ID (GPU #2) 0x0162 Direct2D Enabled true DirectWrite Enabled true (10.0.10586.0) Driver Date 1-30-2016 Driver Date (GPU #2) 8-17-2015 Driver Version 15.301.1801.1001 Driver Version (GPU #2) 10.18.10.4276 GPU #2 Active false GPU Accelerated Windows 1/1 Direct3D 11 (OMTC) Subsys ID 30011682 Subsys ID (GPU #2) 0000000c Supports Hardware H264 Decoding Yes Vendor ID 0x1002 Vendor ID (GPU #2) 0x8086 WebGL Renderer Google Inc. -- ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0) windowLayerManagerRemote true AzureCanvasBackend direct2d 1.1 AzureContentBackend direct2d 1.1 AzureFallbackCanvasBackend cairo AzureSkiaAccelerated 0 ================================== 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 1 browser.download.folderList 2 browser.download.importedFromSqlite true browser.places.smartBookmarksVersion 7 browser.search.useDBForOrder true browser.sessionstore.upgradeBackup.latestBuildID 20160215030213 browser.startup.homepage_override.buildID 20160215030213 browser.startup.homepage_override.mstone 47.0a1 browser.tabs.remote.autostart true browser.tabs.remote.autostart.2 false browser.urlbar.userMadeSearchSuggestionsChoice true dom.apps.reset-permissions true dom.ipc.processCount 2 dom.mozApps.used true extensions.lastAppVersion 47.0a1 font.internaluseonly.changed false gfx.direct3d.last_used_feature_level_idx 0 media.gmp-eme-adobe.abi x86_64-msvc-x64 media.gmp-eme-adobe.lastUpdate 1450634751 media.gmp-eme-adobe.version 16 media.gmp-gmpopenh264.abi x86_64-msvc-x64 media.gmp-gmpopenh264.lastUpdate 1450730133 media.gmp-gmpopenh264.version 1.5.3 media.gmp-manager.buildID 20160215030213 media.gmp-manager.lastCheck 1455562119 media.hardware-video-decoding.failed false media.peerconnection.enabled false media.windows-media-foundation.allow-d3d11-dxva true network.cookie.cookieBehavior 1 network.cookie.prefsMigrated true network.predictor.cleaned-up true places.database.lastMaintenance 1455152132 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_Canon_MP250_series_Printer.print_bgcolor false print.printer_Canon_MP250_series_Printer.print_bgimages false print.printer_Canon_MP250_series_Printer.print_duplex -437918235 print.printer_Canon_MP250_series_Printer.print_edge_bottom 0 print.printer_Canon_MP250_series_Printer.print_edge_left 0 print.printer_Canon_MP250_series_Printer.print_edge_right 0 print.printer_Canon_MP250_series_Printer.print_edge_top 0 print.printer_Canon_MP250_series_Printer.print_evenpages true print.printer_Canon_MP250_series_Printer.print_in_color true print.printer_Canon_MP250_series_Printer.print_margin_bottom 0.5 print.printer_Canon_MP250_series_Printer.print_margin_left 0.5 print.printer_Canon_MP250_series_Printer.print_margin_right 0.5 print.printer_Canon_MP250_series_Printer.print_margin_top 0.5 print.printer_Canon_MP250_series_Printer.print_oddpages true print.printer_Canon_MP250_series_Printer.print_orientation 0 print.printer_Canon_MP250_series_Printer.print_page_delay 50 print.printer_Canon_MP250_series_Printer.print_paper_data 1 print.printer_Canon_MP250_series_Printer.print_paper_height 11.00 print.printer_Canon_MP250_series_Printer.print_paper_name print.printer_Canon_MP250_series_Printer.print_paper_size_type 0 print.printer_Canon_MP250_series_Printer.print_paper_size_unit 0 print.printer_Canon_MP250_series_Printer.print_paper_width 8.50 print.printer_Canon_MP250_series_Printer.print_resolution -437918235 print.printer_Canon_MP250_series_Printer.print_reversed false print.printer_Canon_MP250_series_Printer.print_scaling 1.00 print.printer_Canon_MP250_series_Printer.print_shrink_to_fit true print.printer_Canon_MP250_series_Printer.print_to_file false print.printer_Canon_MP250_series_Printer.print_unwriteable_margin_bottom 0 print.printer_Canon_MP250_series_Printer.print_unwriteable_margin_left 0 print.printer_Canon_MP250_series_Printer.print_unwriteable_margin_right 0 print.printer_Canon_MP250_series_Printer.print_unwriteable_margin_top 0 privacy.donottrackheader.enabled true privacy.sanitize.migrateClearSavedPwdsOnExit true privacy.sanitize.timeSpan 0 security.sandbox.content.tempDirSuffix {77cecdd9-4b80-4ba9-90e6-705efb005f98} security.ssl.errorReporting.automatic true services.sync.declinedEngines services.sync.engine.addons false services.sync.engine.passwords false services.sync.engine.prefs false services.sync.engine.prefs.modified false services.sync.lastPing 1455501337 services.sync.lastSync Mon Feb 15 2016 19:30:55 GMT-0600 (Central Standard Time) services.sync.numClients 4 storage.vacuum.last.index 1 storage.vacuum.last.places.sqlite 1453260133 ui.osk.debug.keyboardDisplayReason IKPOS: Touch screen not found.
Flags: needinfo?(lh.bennett)
I also tested with e10s both on and off. No change. Zero dropped frames.
That's very promising, thanks for testing that. This isn't the same machine (or at least GPU) as you used when you originally reported the bug though.
Its the same machine, just not the same video card. The card was a back up due to the failure of a previous card. It would take me a bit more time to reinstall it and again. But even then, It would not be the same OS since Windows 10 has been installed.
Attached patch enable-d3d11-dxva (deleted) — Splinter Review
Ok, thanks for checking this Omega. I think it's worth trying this out. We now have confirmation that it'll fix bug 1236112 (for Windows 8+ users).
Assignee: nobody → matt.woodrow
Attachment #8719641 - Flags: review?(ajones)
Comment on attachment 8719641 [details] [diff] [review] enable-d3d11-dxva Review of attachment 8719641 [details] [diff] [review]: ----------------------------------------------------------------- You could add this preference to all.js as well if you like.
Attachment #8719641 - Flags: review?(ajones) → review+
Attachment #8720607 - Flags: review?(ajones)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment on attachment 8720607 [details] [diff] [review] Show D3D11 DXVA status in about:support Review of attachment 8720607 [details] [diff] [review]: ----------------------------------------------------------------- aFailureReason should be renamed into something like aExtraInfo or whatever. it's no longer a failure.
Attachment #8720607 - Flags: review?(ajones) → review+
would this change be at the root of crashes like in bug 1269204 that we start seeing with 47 builds?
Depends on: 1270686
The code introduced in the commit for this appears to be related to bug 1298221 - from this commit onwards running Firefox with WindowBlinds enabled causes crashes in certain scenarios.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: