{"id":2165,"date":"2021-03-13T11:02:20","date_gmt":"2021-03-13T09:02:20","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=2165"},"modified":"2021-03-13T17:44:12","modified_gmt":"2021-03-13T15:44:12","slug":"internal-e_unexpected-in-dxgi-dll","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/2165","title":{"rendered":"Internal E_UNEXPECTED in dxgi.dll"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Someone asked a question on StackOverflow recently about suspicious debug output messages associated with DXGI\/Direct3D initialization: <a href=\"https:\/\/stackoverflow.com\/a\/66588481\/868014\">DirectX12: dxgi dll catastrophic failure when creating IDXGIFactory<\/a>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>onecore\\windows\\directx\\database\\helperlibrary\\lib\\perappusersettingsqueryimpl.cpp(121)\\dxgi.dll!00007FFBA0D6D7F8: (caller: 00007FFBA0D4D167) ReturnHr(1) tid(64d8) 8000FFFF Catastrophic failure onecore\\windows\\directx\\database\\helperlibrary\\lib\\perappusersettingsqueryimpl.cpp(98)\\dxgi.dll!00007FFBA0D6D4D0: (caller: 00007FFBA0D3E221) ReturnHr(2) tid(64d8) 8000FFFF Catastrophic failure onecore\\windows\\directx\\database\\helperlibrary\\lib\\directxdatabasehelper.cpp(999)\\dxgi.dll!00007FFBA0D6D4FC: (caller: 00007FFBA0D3E221) ReturnHr(3) tid(64d8) 8000FFFF Catastrophic failure<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This problem is not fatal or severe but it is a long standing one, and Microsoft folks should look into it because \u00e2\u20ac\u201d as StackOverflow question suggests \u00e2\u20ac\u201d it confuses people. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is also a widespread one, and \u00e2\u20ac\u201d for instance \u00e2\u20ac\u201d it can be easily repro&#8217;d by one of the apps I posted earlier: <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-fooling-around wp-block-embed-fooling-around\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"UH17VtxC9R\"><a href=\"https:\/\/alax.info\/blog\/1956\">Presenting Shadertoy output at low latency with DXGI and Direct3D 11<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Presenting Shadertoy output at low latency with DXGI and Direct3D 11&#8221; &#8212; Fooling Around\" src=\"https:\/\/alax.info\/blog\/1956\/embed#?secret=UH17VtxC9R\" data-secret=\"UH17VtxC9R\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you start the application in self-debugging mode with <code>-Debug<\/code> command line parameter, the debug output is redirected to console and those messages are immediately visible:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"470\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-800x470.png\" alt=\"\" class=\"wp-image-2166\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-800x470.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-320x188.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-768x451.png 768w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-1536x902.png 1536w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-2048x1203.png 2048w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-600x352.png 600w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2021\/03\/image-1040x611.png 1040w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the referenced StackOverflow answer I also advertise <a href=\"https:\/\/github.com\/Microsoft\/wil\">Microsoft Windows Implementation Libraries (WIL)<\/a> which I like and use myself where appropriate, and I think is a good piece of software, and an underrated one. No wonder it is used in DXGI implementation internally. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone asked a question on StackOverflow recently about suspicious debug output messages associated with DXGI\/Direct3D initialization: DirectX12: dxgi dll catastrophic failure when creating IDXGIFactory. onecore\\windows\\directx\\database\\helperlibrary\\lib\\perappusersettingsqueryimpl.cpp(121)\\dxgi.dll!00007FFBA0D6D7F8: (caller: 00007FFBA0D4D167) ReturnHr(1) tid(64d8) 8000FFFF Catastrophic failure onecore\\windows\\directx\\database\\helperlibrary\\lib\\perappusersettingsqueryimpl.cpp(98)\\dxgi.dll!00007FFBA0D6D4D0: (caller: 00007FFBA0D3E221) ReturnHr(2) tid(64d8) 8000FFFF Catastrophic failure onecore\\windows\\directx\\database\\helperlibrary\\lib\\directxdatabasehelper.cpp(999)\\dxgi.dll!00007FFBA0D6D4FC: (caller: 00007FFBA0D3E221) ReturnHr(3) tid(64d8) 8000FFFF Catastrophic failure This problem is not fatal or severe&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/2165\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[408,539],"class_list":["post-2165","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-direct3d","tag-dxgi"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/2165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=2165"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/2165\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=2165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=2165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=2165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}