{"id":296,"date":"2022-07-04T22:18:00","date_gmt":"2022-07-05T06:18:00","guid":{"rendered":"http:\/\/www.qiuqiuren.club\/?p=296"},"modified":"2022-07-05T01:32:11","modified_gmt":"2022-07-05T09:32:11","slug":"%e6%b6%88%e8%b4%b9%e7%ba%a7%e6%98%be%e5%8d%a1%e5%90%af%e7%94%a8nvfbc","status":"publish","type":"post","link":"https:\/\/www.qiuqiuren.club\/?p=296","title":{"rendered":"\u6d88\u8d39\u7ea7\u663e\u5361\u542f\u7528NvFBC"},"content":{"rendered":"<h1>\u6d88\u8d39\u7ea7\u663e\u5361\u542f\u7528NvFBC<\/h1>\n<h2>\u6982\u8ff0<\/h2>\n<p>NvFBC\u662f\u82f1\u4f1f\u8fbe\u63d0\u4f9b\u7684\u9ad8\u6548\u7387\u622a\u56fe\u529f\u80fd\uff0c\u4f46\u6839\u636e\u5176License\uff0c\u53ea\u80fd\u5728\u90e8\u5206\u4e13\u4e1a\u7ea7\u663e\u5361\u4e2d\u542f\u7528\uff0c\u6d88\u8d39\u7ea7\u663e\u5361\u4f8b\u5982gtx1080\u3001rtx2080\u90fd\u662f\u7528\u4e0d\u4e86\u7684\u3002<\/p>\n<p>\u7136\u800c\u4e8b\u5b9e\u4e0anvidia\u5b98\u65b9\u7684Geforce Experience\u6216\u8005Steam\u7684\u8fdc\u7a0b\u4e32\u6d41\u6a21\u5f0f\uff0c\u90fd\u4f7f\u7528\u4e86NvFBC\u3002\u8fd9\u4e9b\u529f\u80fd\u5728\u6d88\u8d39\u7ea7\u663e\u5361\u4e0a\u9762\u8dd1\u5f97\u597d\u597d\u7684\u3002<\/p>\n<p>\u56e0\u6b64\u5229\u7528\u4e00\u4e9b\u624b\u6bb5\u662f\u53ef\u4ee5\u5728\u6d88\u8d39\u7ea7\u663e\u5361\u4e0a\u4f7f\u7528NvFBC\u7684\u3002<\/p>\n<h2>\u542f\u7528\u65b9\u5f0f<\/h2>\n<p>GFE\u6216\u8005Steam\uff0c\u901a\u8fc7NvFBC\u7684\u4e00\u4e2aprivate data\u63a5\u53e3\u5411NvFBC\u7ec4\u4ef6\u8868\u660e\u81ea\u5df1\u662f\u53cb\u519b\uff0c\u968f\u540eNvFBC\u7684\u529f\u80fd\u5bf9\u5176\u6b63\u5e38\u5f00\u653e\u3002\u53e6\u5916\u8fd8\u9700\u8981\u5728\u6ce8\u518c\u8868\u5185\u6dfb\u52a0\u76f8\u5173\u9879\u76ee\u3002<\/p>\n<p>privatedata\u7684\u6355\u83b7\u65b9\u5f0f\u53ef\u89c1https:\/\/github.com\/CubicStone31\/nvidia-patch\/tree\/master\/win\/nvfbcwrp<\/p>\n<p>\u5728\u6b64\u76f4\u63a5\u63d0\u4f9b\u4e00\u4e2a\u53ef\u7528\u7684private data\uff0c\u4f7f\u7528\u65b9\u5f0f\u5982\u4e0b(\u5173\u6ce8\u6700\u540e\u4e09\u884c\u5373\u53ef)<\/p>\n<pre><code class=\"language-c++\">        NvFBCCreateParams createParams;\n        memset(&amp;createParams, 0, sizeof(createParams));\n        createParams.dwVersion = NVFBC_CREATE_PARAMS_VER;\n        createParams.dwInterfaceType = type;\n        createParams.pDevice = devicePtr;\n        createParams.dwAdapterIdx = adapter;\n        \/\/ private data to enable nvfbc on customer grade cards\n        \/\/ fuck you nvidia\n        DWORD default_magic[] = { 0xAEF57AC5, 0x401D1A39, 0x1B856BBE, 0x9ED0CEBA };\n        createParams.pPrivateData = default_magic;\n        createParams.dwPrivateDataSize = sizeof(default_magic);<\/code><\/pre>\n<p>\u6ce8\u518c\u8868\u9879\u76ee\u5982\u4e0b\u6dfb\u52a0<\/p>\n<pre><code>reg add &quot;HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\nvlddmkm&quot; \/v NVFBCEnable \/d 1 \/t REG_DWORD \/f<\/code><\/pre>\n<p>\u7136\u540e\u91cd\u542f\u7535\u8111\u3002<\/p>\n<h2>NVFBC_ERROR_PROTECTED_CONTENT \u95ee\u9898<\/h2>\n<p>\u5f53\u7cfb\u7edf\u4e2d\u67d0\u4e9b\u7a0b\u5e8f\u901a\u8fc7SetWindowDisplayAffinity\u8bbe\u7f6e\u81ea\u5df1\u4e0d\u60f3\u88ab\u622a\u56fe\u65f6\uff0cnvfbc\u7684\u622a\u56fe\u63a5\u53e3\u4f1a\u8fd4\u56deNVFBC_ERROR_PROTECTED_CONTENT\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5b9e\u9645\u4e0a\u662f\u56e0\u4e3anvfbc\u5e93\u4e2d\u7684\u4e00\u4e2adll\uff0c\u4f1a\u5728\u8fd0\u884c\u65f6\u4e0d\u65ad\u8c03\u7528GetWindowDisplayAffinity\uff0c\u68c0\u67e5\u54ea\u4e9b\u7a97\u53e3\u58f0\u660e\u4e86\u53cd\u622a\u56fe\u3002\u56e0\u6b64Hook\u6b64API\uff0c\u8fd4\u56deapi\u9519\u8bef\u6216\u8005\u8fd4\u56de\u4f2a\u9020\u7684\u4fe1\u606f\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6d88\u8d39\u7ea7\u663e\u5361\u542f\u7528NvFBC \u6982\u8ff0 NvFBC\u662f\u82f1\u4f1f\u8fbe\u63d0\u4f9b\u7684\u9ad8\u6548\u7387\u622a\u56fe\u529f\u80fd\uff0c\u4f46\u6839\u636e\u5176License\uff0c\u53ea\u80fd\u5728\u90e8\u5206\u4e13\u4e1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-296","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=\/wp\/v2\/posts\/296"}],"collection":[{"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=296"}],"version-history":[{"count":0,"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=\/wp\/v2\/posts\/296\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qiuqiuren.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}