Platform/GFX/Device Reset Debugging: Difference between revisions

→‎Install required 3rd-party components: added installing debug layers
(Small reorg, some links and clarifications)
(→‎Install required 3rd-party components: added installing debug layers)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
Install the Windows SDK from [https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk here].
Install the Windows SDK from [https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk here].


Install DebugView, a tool published as part of Microsoft SysInternals, from [https://technet.microsoft.com/en-us/sysinternals/debugview.aspx here].
You may need to add debug layers by running this in the command window: Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX[[User:Msreckovic|Milan]] ([[User talk:Msreckovic|talk]]) 10:41, 19 July 2017 (PDT)0.0.1.0
 
Download the DebugView, a tool published as part of Microsoft SysInternals, from [https://technet.microsoft.com/en-us/sysinternals/debugview.aspx here]. Extract DebugView.exe (and dbgview.chm if you want the help file) to a location where you can run it from (desktop, for example.)


== Toggle the Direct3D Debug Layer Pref in Firefox ==
== Toggle the Direct3D Debug Layer Pref in Firefox ==
Line 17: Line 19:
Start DebugView, go to 'File->Log As File', and log an unlimited size log to a directory of your choice (this log file can grow somewhat large in size so you may want to keep that in mind).
Start DebugView, go to 'File->Log As File', and log an unlimited size log to a directory of your choice (this log file can grow somewhat large in size so you may want to keep that in mind).


Use Firefox as you normally would (if you can reproduce the problem at will, it may be worth running DebugView and Firefox as the sole applications on your system - see below for details.) After you experience a Device Reset, stop the logging in DebugView (by simply clicking File->Log As File again).
Use Firefox as you normally would. After you experience a Device Reset, stop the logging in DebugView (by simply clicking File->Log As File again).


== Submitting the collected information ==
== Submitting the collected information ==


The collected logs contain debug output from all running applications, and as such may contain sensitive information.  This is the reason to only run Firefox + DebugView when planning on sharing the logs.
The collected logs contain debug output from all running applications, and as such may contain sensitive information.


Attach the log to a [https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Graphics new] or existing https://bugzilla.mozilla.org bug for evaluation by a Firefox graphics engineer.  You will want to set the privacy checkbox when adding the attachment to bugzilla - the one that says "Make attachment and comment private (visible only to members of the core-security-release group)".  This will ensure that any private information, if any, is not available to general public.
Attach the log file to a [https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Graphics new] or existing https://bugzilla.mozilla.org bug for evaluation by a Firefox graphics engineer.  You will want to set the privacy checkbox when adding the attachment to bugzilla - the one that says "Make attachment and comment private (visible only to members of the core-security-release group)".  This will ensure that any private information, if any, is not available to general public.
Confirmed users
564

edits