{"id":5285,"date":"2021-02-16T14:55:38","date_gmt":"2021-02-16T22:55:38","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/pix\/?p=5285"},"modified":"2021-02-16T14:55:38","modified_gmt":"2021-02-16T22:55:38","slug":"winpixeventruntime-2102-09","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/pix\/winpixeventruntime-2102-09\/","title":{"rendered":"WinPixEventRuntime 2102.09: Minor fixes and optimizations"},"content":{"rendered":"<p><span data-contrast=\"auto\">It\u2019s\u00a0hard to believe\u00a0it\u2019s\u00a0been over a year since our last update to\u00a0WinPixEventRuntime! This update brings a couple of minor fixes and optimizations, which should hopefully lead to a\u00a0slightly\u00a0better quality of life when using the runtime\u00a0<\/span><span data-contrast=\"auto\">\ud83d\ude0a<\/span><\/p>\n<p><span data-contrast=\"auto\">You can download the new runtime\u00a0<\/span><a href=\"https:\/\/www.nuget.org\/packages\/WinPixEventRuntime\"><span data-contrast=\"none\">here<\/span><\/a><span data-contrast=\"auto\">.<\/span><\/p>\n<h3><span data-contrast=\"auto\">Release notes:<\/span><\/h3>\n<ul>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">Fixed a bug where PIX could occasionally show an incorrect event hierarchy if the title called PixBeginEvent with format string arguments. This happened because PIX couldn\u2019t successfully determine when the event ended.<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">Fixed C4100 warnings in PIXEvents.h header.<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">Optimization: Removed a branch when timing captures are not running.<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">Updated license and icon for new NuGet requirements.<\/span><\/li>\n<\/ul>\n<h3><span data-contrast=\"auto\">Known Issue:<\/span><\/h3>\n<ul>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">On ARM64 devices, the Debug Layer will emit a D3D12 debug error if you use PixBeginEvent. This is an issue in the Debug Layer and will be fixed shortly.<\/span>\n<ul>\n<li data-leveltext=\"-\" data-font=\"Calibri\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">In the meantime, you can work around the issue using a few different methods (only one method is needed):<\/span>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">On devices running Windows 10 version 2004 or newer:<\/span>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">Run the command: <code><span style=\"font-family: terminal, monaco, monospace;\">d3dconfig message-mute --add-id-12 3<\/span><\/code><\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">Don\u2019t forget to remove it later with: <code><span style=\"font-family: terminal, monaco, monospace;\">d3dconfig message-mute --remove-id-12 3<\/span><\/code><\/span><\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">In\u00a0dxcpl, add \u201cCORRUPTED_PARAMETER1 (D3D12)\u201d to the Mute Message ID list.<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">In your code, call the function ID3D12InfoQueue::AddStorageFilterEntries with D3D12_MESSAGE_ID_CORRUPTED_PARAMETER1 included in the DenyList.<\/span><\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\">Keep in mind that these workarounds will prevent any other CORRUPTED_PARAMETER1 messages from showing, which may be legitimate issues.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">As always, feel free to reach out to us with any questions or feedback on\u00a0our\u00a0<\/span><a href=\"http:\/\/discord.gg\/directx\"><span data-contrast=\"none\">Discord Server<\/span><\/a>,<span data-contrast=\"auto\">\u00a0or simply use the little feedback button in the top right corner of your PIX window.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s\u00a0hard to believe\u00a0it\u2019s\u00a0been over a year since our last update to\u00a0WinPixEventRuntime! This update brings a couple of minor fixes and optimizations, which should hopefully lead to a\u00a0slightly\u00a0better quality of life when using the runtime\u00a0\ud83d\ude0a You can download the new runtime\u00a0here. Release notes: Fixed a bug where PIX could occasionally show an incorrect event hierarchy if [&hellip;]<\/p>\n","protected":false},"author":38193,"featured_media":4769,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pix"],"acf":[],"blog_post_summary":"<p>It\u2019s\u00a0hard to believe\u00a0it\u2019s\u00a0been over a year since our last update to\u00a0WinPixEventRuntime! This update brings a couple of minor fixes and optimizations, which should hopefully lead to a\u00a0slightly\u00a0better quality of life when using the runtime\u00a0\ud83d\ude0a You can download the new runtime\u00a0here. Release notes: Fixed a bug where PIX could occasionally show an incorrect event hierarchy if [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/5285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/users\/38193"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/comments?post=5285"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/5285\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media\/4769"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media?parent=5285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/categories?post=5285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/tags?post=5285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}