{"id":264144,"date":"2023-03-06T09:00:41","date_gmt":"2023-03-06T01:00:41","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=264144"},"modified":"2023-02-17T23:09:16","modified_gmt":"2023-02-17T15:09:16","slug":"wrzstcyywddg","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/wrzstcyywddg.html","title":{"rendered":"\u5fae\u8f6f\u6b63\u5f0f\u63a8\u51fa\u7528\u4e8e WSL \u7684 D3D12 GPU \u89c6\u9891\u52a0\u901f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728\u5141\u8bb8 WSL \u4f7f\u7528 OpenGL\u3001OpenCL \u548c Vulkan API \u8fdb\u884c GPU \u52a0\u901f\u4e4b\u540e\uff0c\u5fae\u8f6f\u53c8\u6b63\u5f0f\u53d1\u5e03\u4e86\u9488\u5bf9 Linux \u7684 Windows \u5b50\u7cfb\u7edf (WSL2)\u00a0 \u7684 Direct3D 12 GPU \u89c6\u9891\u52a0\u901f\u652f\u6301\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728\u5141\u8bb8 WSL \u4f7f\u7528 OpenGL\u3001OpenCL \u548c Vulkan API \u8fdb\u884c GPU \u52a0\u901f\u4e4b\u540e\uff0c\u5fae\u8f6f\u53c8\u6b63\u5f0f\u53d1\u5e03\u4e86\u9488\u5bf9 Linux \u7684 Windows \u5b50\u7cfb\u7edf (WSL2)\u00a0 \u7684 Direct3D 12 GPU \u89c6\u9891\u52a0\u901f\u652f\u6301\u3002\u8fd9\u9879 Direct3D 12 for WSL \u5de5\u4f5c\u5728 Mesa \u5185\u6784\u5efa\uff0c\u5141\u8bb8\u5728 WSL2 \u4e0b\u4f7f\u7528 GPU \u52a0\u901f\u89c6\u9891\u7684\u7f16\u7801 \/ \u89e3\u7801\u5de5\u4f5c\u3002\u7528\u6237\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u652f\u6301 VA-API \u7684 Linux \u539f\u751f\u591a\u5a92\u4f53\u5e94\u7528\u7a0b\u5e8f\uff08\u5982\uff1aFFmpeg \u6216 GS\u200b\u200btreamer\uff09\uff0c\u5728\u00a0WSL \u4e2d\u8fd0\u884c\u89e3\u7801\u3001\u7f16\u7801\u548c\u89c6\u9891\u5904\u7406\u7b49\u89c6\u9891\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u540c\u65f6\u4f7f\u7528 GPU \u786c\u4ef6\u5bf9\u5176\u8fdb\u884c\u52a0\u901f\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u56fe\u4e3a WSL \u4e2d\u7684 Gstreamer \u6267\u884c GPU \u52a0\u901f alpha \u6df7\u5408\u5408\u6210\uff0c\u5e76\u6e32\u67d3\u5230 X11 \u7a97\u53e3\u4e2d<\/p>\n

\u5229\u7528\u89c6\u9891\u786c\u4ef6\u52a0\u901f\u53d6\u4ee3 CPU \u52a0\u901f\u6709\u51e0\u4e2a\u597d\u5904\uff1a\u63d0\u9ad8\u6027\u80fd\u3001\u964d\u4f4e\u529f\u8017\uff0c\u4e14\u91ca\u653e CPU \u5468\u671f\u4ee5\u7528\u4e8e WSL \u6216 Windows \u4e3b\u673a\u4e2d\u7684\u5176\u4ed6\u4efb\u52a1\uff0c\u4ece\u800c\u63d0\u9ad8\u6574\u4f53\u6027\u80fd\u3002\u5177\u4f53\u52a0\u901f\u6548\u7387\u53d6\u51b3\u4e8e\u7279\u5b9a\u7684 VA-API \u529f\u80fd\uff0c\u7528\u6237\u53ef\u4ee5\u5728 Windows \u4efb\u52a1\u7ba1\u7406\u5668\u4e2d\u67e5\u770b\u542f\u7528 WSLg \u786c\u4ef6\u89c6\u9891\u52a0\u901f\u548c\u4f7f\u7528 CPU \u7684 CPU\/GPU \u4f7f\u7528\u5dee\u5f02\uff0c\u8be6\u7ec6\u7684\u6559\u7a0b\u53ef\u53c2\u8003\u8be5\u535a\u5ba2\uff1a\u300a\u4efb\u52a1\u7ba1\u7406\u5668\u4e2d\u7684 GPU \u2013 DirectX\u300b \u3002<\/p>\n

\u5728\u8f6f\u4ef6\u65b9\u9762\uff0cDirect3D 12 GPU \u89c6\u9891\u52a0\u901f\u9700\u8981\u66f4\u65b0\u5230 Microsoft WSL \u7684\u6700\u65b0\u7248\u672c\uff0c\u4e14\u9700\u8981 Mesa 22.2~22.3\u3002\u786c\u4ef6\u65b9\u9762\uff0c\u8be5\u529f\u80fd\u652f\u6301\u00a0AMD \u7684\u00a0RX 5000 \/\u00a0\u9510\u9f99 4000 \u7cfb\u5217 \uff0c\u82f1\u7279\u5c14 11 \u4ee3\u4ee5\u4e0a CPU \u548c\u00a0\u00a0Iris\u00ae Xe \/\u00a0Arc\u00ae\u00a0 \u663e\u5361\u7cfb\u5217\uff0c\u4ee5\u53ca\u82f1\u4f1f\u8fbe\u7684\u00a0GTX 10 \/ RTX 20\u00a0 \/ Quadro RTX \/\u00a0NVIDIA RTX \u5de5\u4f5c\u7ad9\u7cfb\u5217\u3002<\/p>\n

\u6709\u5173\u8be5\u529f\u80fd\u5177\u4f53\u7684\u00a0\u00a0VA \u5165\u53e3\u70b9\u548c\u914d\u7f6e\u6587\u4ef6\u3001\u4f7f\u7528\u6559\u7a0b\u7b49\u5185\u5bb9\uff0c\u53ef\u53c2\u8003\u5fae\u8f6f\u5b98\u65b9\u535a\u5ba2\u7684\u7ec6\u8282\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u5141\u8bb8 WSL \u4f7f\u7528 OpenGL\u3001OpenCL \u548c Vulkan API \u8fdb\u884c GPU \u52a0\u901f\u4e4b\u540e\uff0c\u5fae\u8f6f\u53c8\u6b63\u5f0f […]<\/p>\n","protected":false},"author":643,"featured_media":264147,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-264144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/264144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=264144"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/264144\/revisions"}],"predecessor-version":[{"id":264307,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/264144\/revisions\/264307"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/264147"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=264144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=264144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=264144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}