{"id":1218,"date":"2022-09-02T17:40:06","date_gmt":"2022-09-02T08:40:06","guid":{"rendered":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=1218"},"modified":"2022-09-03T21:22:51","modified_gmt":"2022-09-03T12:22:51","slug":"gpu%e3%81%8c1%e6%9e%9a%e3%81%ae%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%a7%e3%82%82pci%e3%83%91%e3%82%b9%e3%82%b9%e3%83%ab%e3%83%bc%e3%81%97%e3%81%a6%e3%80%81%e3%82%b2%e3%83%bc%e3%83%a0%e3%81%8c%e3%81%a7","status":"publish","type":"post","link":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=1218","title":{"rendered":"GPU\u304c1\u679a\u306e\u30de\u30b7\u30f3\u3067\u3082PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u3066\u3001\u30b2\u30fc\u30e0\u304c\u3067\u304d\u308bWindows\u306eVM\u3092\u4f5c\u308b"},"content":{"rendered":"\n<p>OpenJDK\u3092\u8aad\u3080\u6642\u9593\u304cStableDiffusion\u306b\u596a\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br>\u90e8\u5c4b\u304c\u71b1\u304f\u306a\u308b\u306e\u3067\u3053\u306e\u624b\u306e\u3082\u306e\u306f\u51ac\u5834\u306b\u3084\u308b\u307b\u3046\u304c\u8ce2\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"ja\" dir=\"ltr\">\u3061\u3087\u3063\u3068\u306f\u305d\u308c\u3063\u307d\u3044\u306e\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f <a href=\"https:\/\/t.co\/1tBNsTjqtH\">pic.twitter.com\/1tBNsTjqtH<\/a><\/p>&mdash; \u3055\u304f\u3089\u3093\u307c (@lambda_sakura) <a href=\"https:\/\/twitter.com\/lambda_sakura\/status\/1563120733752270848?ref_src=twsrc%5Etfw\">August 26, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p>\u4eca\u56de\u306f\u81ea\u5206\u306e\u8a08\u7b97\u6a5f\u306e\u69cb\u6210\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u307f\u307e\u3059\u3002GPU\u3092PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u3066\u3057\u307e\u3044\u3001GPU\u3092\u30db\u30b9\u30c8OS\u3068\u30b2\u30b9\u30c8OS\u3067\u5171\u6709\u3059\u308b\u3088\u3046\u306a\u74b0\u5883\u3067\u3059\u3002reddit\u3068\u304b\u898b\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u308b\u8a18\u4e8b\u304c\u591a\u304f\u306f\u306a\u304f\u65e5\u672c\u8a9e\u306b\u81f3\u3063\u3066\u306f\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4e00\u5b9a\u306e\u4fa1\u5024\u304c\u3042\u308b\u304b\u306a\u3068\u601d\u3063\u3066\u8a18\u9332\u304c\u3066\u3089\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u74b0\u5883\u3092\u4f5c\u3063\u305f\u52d5\u6a5f<\/h2>\n\n\n\n<p>\u666e\u6bb5Linux\u3092\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u5834\u5408\u306b\u306fWindows\u3092\u5229\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u30b2\u30fc\u30e0\u3092\u3084\u308a\u305f\u3044\u5834\u5408<\/li><li>Microsoft Office\u3092\u5229\u7528\u3059\u308b\u5834\u5408<\/li><li>Windows\u3067\u306a\u3051\u308c\u3070\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u7121\u3044\u5834\u5408<\/li><\/ul>\n\n\n\n<p>\u30b2\u30fc\u30e0\u306b\u3064\u3044\u3066\u306f\u3001Proton\u306a\u3069\u306e\u9032\u5316\u3082\u3042\u3063\u3066Linux\u4e0a\u3067\u56f0\u308b\u3053\u3068\u306f\u5c11\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30a2\u30f3\u30c1\u30c1\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u63a1\u7528\u3057\u3066\u3044\u308b\u30b2\u30fc\u30e0\u306a\u3069\u306f\u57fa\u672c\u7684\u306b\u52d5\u304d\u307e\u305b\u3093\u3002Office\u3082\u540c\u69d8\u3067Microsoft 365\u306e\u304a\u9670\u3067\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u307b\u3068\u3093\u3069\u5b8c\u7d50\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u7a00\u306b\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u306eOffice\u3067\u306a\u3051\u308c\u3070\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u308b\u306a\u3069\u306e\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Linux\u3060\u3051\u3067\u751f\u6d3b\u304c\u5b8c\u7d50\u3057\u3066\u304a\u3089\u305aWindows\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u305d\u308c\u306a\u308a\u306b\u3042\u308a\u307e\u3059\u3002\u30c7\u30e5\u30a2\u30eb\u30d6\u30fc\u30c8\u3057\u3066\u3057\u307e\u3046\u3001\u8907\u6570\u53f0PC\u3092\u6301\u3064\u306a\u3069\u306e\u624b\u6bb5\u3067\u89e3\u6c7a\u3057\u3066\u3082\u826f\u3044\u3068\u306f\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u3001\u81ea\u5206\u3082Linux\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3068Windows\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u4e21\u65b9\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3001\u3053\u306e\u624b\u6bb5\u306f\u81ea\u5206\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u306e\u8ca0\u8377\u304c\u9ad8\u3044\u3067\u3059\u3002\u4e21\u65b9\u306e\u30de\u30b7\u30f3\u3067\u540c\u3058\u5165\u529b\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u3044\u305f\u3044\u306e\u3067\u3001USB\u5207\u66ff\u5668\u3067\u5207\u308a\u66ff\u3048\u305f\u308a\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306e\u5207\u308a\u66ff\u3048\u306a\u3069\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30e5\u30a2\u30eb\u30d6\u30fc\u30c8\u3060\u3068\u3053\u308c\u3089\u306f\u6539\u5584\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u74b0\u5883\u306e\u7dad\u6301\u30b3\u30b9\u30c8\u304c\u7d50\u69cb\u304b\u304b\u308a\u307e\u3059\u3002\u3084\u3063\u3066\u3044\u308b\u65b9\u306f\u3054\u5b58\u77e5\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001OS\u306e\u66f4\u65b0\u6642\u3084\u8ffd\u52a0\u3067OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306a\u3069\u306befi\u74b0\u5883\u3092\u9069\u5f53\u306b\u4fee\u6b63\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u30c7\u30e5\u30a2\u30eb\u30d6\u30fc\u30c8\u74b0\u5883\u304c\u58ca\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u307e\u307e\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30c7\u30e5\u30a2\u30eb\u30d6\u30fc\u30c8\u306e\u5834\u5408\u306f\u7247\u65b9\u306eOS\u306b\u5165\u3063\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u5927\u5909\u3067\u3059\u3002\u5171\u6709\u9818\u57df\u3092\u7528\u610f\u3057\u3066\u30b3\u30d4\u30fc\u3068\u518d\u8d77\u52d5\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u306b\u306a\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eee\u60f3\u30de\u30b7\u30f3\u3067\u3042\u308c\u3070\u3001\u6c17\u8efd\u306b\u4f5c\u6210\u3067\u304d\u3066\u30db\u30b9\u30c8OS\u5074\u306b\u4f55\u7b49\u5f71\u97ff\u3092\u4e0e\u3048\u305a\u4e21\u8005\u304c\u540c\u6642\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u30c7\u30fc\u30bf\u306e\u30b3\u30d4\u30fc\u3082\u624b\u8efd\u306b\u53ef\u80fd\u3067\u3059\u3002\u5b09\u3057\u3044\u3053\u3068\u3060\u3089\u3051\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3058\u3083\u3042\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3067\u3084\u308d\u3046\u3068\u601d\u3063\u305f\u3068\u304d\u306b\u8ab2\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u81ea\u5206\u306fWindows\u3067\u30b2\u30fc\u30e0\u3092\u3084\u308a\u305f\u3044\u306e\u3067\u3059\u3002\u3057\u304b\u3057\u666e\u901a\u306b\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f5c\u308b\u3068\u30b2\u30fc\u30e0\u304c\u51fa\u6765\u308b\u3088\u3046\u306a\u4eee\u60f3\u30de\u30b7\u30f3\u306f\u4f5c\u308c\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304cPCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>\u4eee\u60f3\u30de\u30b7\u30f3\u306a\u3069\u306b\u30db\u30b9\u30c8OS\u306ePCI\u30c7\u30d0\u30a4\u30b9\u3092\u76f4\u63a5\u5229\u7528\u3055\u305b\u308b\u4ed5\u7d44\u307f\u306e\u3053\u3068\u3067\u3059\u3002<br>CPU\u306e\u4eee\u60f3\u5316\u95a2\u9023\u306e\u6a5f\u80fd(IOMMU)\u304c\u5fc5\u8981\u3067\u3001Intel\u3060\u3068VT-d\u3084AMD\u306e\u5834\u5408\u306fAMD-VI\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u6700\u8fd1\u306eCPU\u3067\u3042\u308c\u3070\u4f7f\u3048\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3001GPU\u3092PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u3066\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u4e2d\u3067\u5229\u7528\u3057\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u5206\u306e\u74b0\u5883\u306e\u8ab2\u984c<\/h2>\n\n\n\n<p>PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u306f\u4fbf\u5229\u305d\u3046\u3067\u3059\u306d\u3002\u3067\u306f\u81ea\u5206\u3082\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u8003\u3048\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u5225\u306e\u554f\u984c\u304c\u6d6e\u4e0a\u3057\u3066\u304d\u307e\u3059\u3002\u81ea\u5206\u304c\u751f\u6d3b\u3057\u3066\u3044\u308b\u30de\u30b7\u30f3\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>CPU<\/td><td>AMD Ryzen 9 3900X<\/td><\/tr><tr><td>\u30e1\u30e2\u30ea<\/td><td>32GB<\/td><\/tr><tr><td>GPU<\/td><td>GeForce RTX 2060 SUPER<\/td><\/tr><tr><td>OS<\/td><td>Arch Linux<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">\u81ea\u5206\u306e\u74b0\u5883<\/figcaption><\/figure>\n\n\n\n<p>\u30b2\u30fc\u30e0\u306a\u3069\u3092\u3059\u308b\u306b\u306f\u5341\u5206\u306a\u30b9\u30da\u30c3\u30af\u306e\u30de\u30b7\u30f3\u3067\u3059\u3002\u4f55\u304c\u554f\u984c\u306a\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<br>\u3053\u306e\u69cb\u6210\u3060\u3068\u3001GPU\u304cGeForce RTX 2060 SUPER\u306e1\u3064\u3060\u3051\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002Intel\u306eCPU\u3084AMD\u3067\u3082APU\u3068\u3044\u3046GPU\u4ed8\u304d\u306eCPU\u304c\u3042\u3063\u305f\u308a\u3057\u307e\u3059\u304c\u30013900X\u306b\u306fGPU\u306f\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u306e\u3088\u3046\u306a\u74b0\u5883\u306e\u5834\u5408\u3001PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3067GPU\u3092\u4eee\u60f3\u30de\u30b7\u30f3\u5074\u306b\u6e21\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30db\u30b9\u30c8OS\u304b\u3089GPU\u304c\u7121\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u753b\u9762\u304c\u6620\u3089\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u8a2d\u5b9a\u306b\u5931\u6557\u3059\u308b\u3068\u4ed6\u306e\u30de\u30b7\u30f3\u304b\u3089ssh\u3057\u305f\u308a\u3057\u3066\u5fa9\u65e7\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u304a\u91d1\u304c\u3042\u308b\u4eba\u306f1\u3064\u306e\u30de\u30b7\u30f3\u306b\u8907\u6570\u306eGPU\u3092\u523a\u3057\u3066\u3057\u307e\u3063\u3066\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u5c02\u7528\u306eGPU\u3092\u5272\u308a\u5f53\u3066\u3066\u3057\u307e\u3063\u3066\u89e3\u6c7a\u3057\u305f\u308a\u3001CPU\u306bGPU\u304c\u5185\u8535\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u305d\u308c\u3092\u5229\u7528\u3055\u305b\u3064\u3064PCI\u306b\u523a\u3055\u3063\u3066\u3044\u308bGPU\u3092\u4eee\u60f3\u30de\u30b7\u30f3\u5074\u306bPCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u3066\u5229\u7528\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u305d\u3046\u3044\u3063\u305f\u7528\u9014\u3060\u3068\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/looking-glass.io\/\" target=\"_blank\">https:\/\/looking-glass.io\/<\/a> \u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u964d\u3067\u3001\u5177\u4f53\u7684\u306a\u624b\u9806\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4ed5\u7d44\u307f\u306e\u6982\u8981<\/h2>\n\n\n\n<p>\u307e\u305a\u3001\u524d\u63d0\u3068\u3057\u3066\u3044\u304f\u3064\u304b\u77e5\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u77e5\u8b58\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306f libvirt \u306b\u306f\u4eee\u60f3\u30de\u30b7\u30f3\u8d77\u52d5\u6642\u306bhook\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u81ea\u5206\u306f\u4eca\u56de\u521d\u3081\u3066\u77e5\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u4f7f\u3063\u3066GPU\u304c1\u3064\u3067\u3082\u3069\u3046\u306b\u304b\u4eee\u60f3\u30de\u30b7\u30f3\u306bGPU\u3092PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>vm\u8d77\u52d5\u6642\u306b\u306f<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>GPU\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u505c\u6b62<ul><li>X\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0(GDM)\u3001\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb\u3001Framebuffer\u306a\u3069\u3092\u505c\u6b62<\/li><\/ul><\/li><li>GPU\u95a2\u9023\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306eunload<\/li><li>\u30db\u30b9\u30c8OS\u304b\u3089GPU\u3092detach\u3059\u308b<\/li><li>vfio\u3092\u30ed\u30fc\u30c9\u3059\u308b<\/li><\/ul>\n\n\n\n<p>VM\u505c\u6b62\u6642\u306b\u306f<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>vfio\u3092\u30a2\u30f3\u30ed\u30fc\u30c9<\/li><li>\u30db\u30b9\u30c8OS\u306bGPU\u3092attach\u3059\u308b<\/li><li>GPU\u95a2\u9023\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092load\u3059\u308b<\/li><li>GPU\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5fa9\u65e7<ul><li>GDM\u306a\u3069\u306e\u8d77\u52d5\u3001\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb\u3001Framebuffer\u306a\u3069\u306e\u8d77\u52d5<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3092\u5b9f\u65bd\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u96d1\u306b\u8a00\u3046\u3068\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u8d77\u52d5\u3001\u505c\u6b62\u3059\u308b\u5ea6\u306b\u30db\u30b9\u30c8OS\u304b\u3089GPU\u3092PCI\u304b\u3089\u5f15\u3063\u3053\u629c\u3044\u305f\u308a\u523a\u3057\u305f\u308a\u3057\u3066\u308b\u3068\u3044\u3046\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8b\u524d\u6e96\u5099<\/h2>\n\n\n\n<p>PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3059\u308b\u5bfe\u8c61\u306f\u3001IOMMU\u30b0\u30eb\u30fc\u30d7\u5185\u306e\u5168\u3066\u3092\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u306a\u3044\u3068\u4e0a\u624b\u304f\u3044\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002GPU\u3092\u523a\u3059\u3068HDMI\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u30c7\u30d0\u30a4\u30b9\u306a\u3069\u304c\u4ed8\u3044\u3066\u304d\u307e\u3059\u304c\u3001\u305d\u3046\u3044\u3063\u305f\u3082\u306e\u3082\u4e00\u7dd2\u306bPCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u8a71\u3067\u3059\u3002\u5b9f\u306f\u56de\u907f\u3067\u304d\u305f\u308a\u3059\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u305d\u3046\u3044\u3046\u3082\u306e\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>#!\/bin\/bash\nshopt -s nullglob\nfor d in \/sys\/kernel\/iommu_groups\/*\/devices\/*; do\n    n=${d#*\/iommu_groups\/*}; n=${n%%\/*}\n    printf &#39;IOMMU Group %s &#39; &quot;$n&quot;\n    lspci -nns &quot;${d##*\/}&quot;\ndone;<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001IOMMU GROUP\u3068\u5bfe\u5fdc\u3059\u308bPCI\u30c7\u30d0\u30a4\u30b9\u304c\u5217\u6319\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u306e\u4e2d\u304b\u3089GPU\u306e\u3082\u306e\u3092\u898b\u3064\u3051\u3066\u3001\u540c\u3058IOMMU GROUP\u306b\u306a\u3063\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u898b\u3064\u3051\u3066\u8a18\u9332\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u81ea\u5206\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067GPU\u304c\u542b\u307e\u308c\u308bIOMMU GROUP\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>IOMMU Group 25 09:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2060 SUPER] [10de:1f06] (rev a1)\nIOMMU Group 25 09:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition Audio Controller [10de:10f9] (rev a1)\nIOMMU Group 25 09:00.2 USB controller [0c03]: NVIDIA Corporation TU106 USB 3.1 Host Controller [10de:1ada] (rev a1)\nIOMMU Group 25 09:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller [10de:1adb] (rev a1)<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3089\u3092PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u306e\u5bfe\u8c61\u306b\u3059\u308c\u3070\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u969b\u306e\u30b9\u30af\u30ea\u30d7\u30c8<\/h2>\n\n\n\n<p>\u307e\u305a\u3001libvirt\u306f\u8d77\u52d5\u3059\u308bVMM\u306e\u7a2e\u985e(qemu)\u3068\u304b\u306e\u540d\u524d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002qemu\u306e\u5834\u5408\u306f\u3001<code>\/etc\/libvirt\/hooks\/qemu <\/code> \u306b\u306a\u308a\u307e\u3059\u3002$1\u3001$2\u3001$3\u306b\u8272\u3005\u60c5\u5831\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u4e0a\u624b\u304f\u3064\u304b\u3063\u3066\u5f8c\u7d9a\u306e\u51e6\u7406\u3092\u547c\u3073\u3060\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">qemu\u306ehook\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n\n\n\n<p><code>\/etc\/libvirt\/hooks\/qemu<\/code> <\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>#!\/bin\/bash\n\nGUEST_NAME=&quot;$1&quot;\nHOOK_NAME=&quot;$2&quot;\nSTATE_NAME=&quot;$3&quot;\nMISC=&quot;${@:4}&quot;\n\nBASEDIR=&quot;$(dirname $0)&quot;\n\nHOOKPATH=&quot;$BASEDIR\/qemu.d\/$GUEST_NAME\/$HOOK_NAME\/$STATE_NAME&quot;\nset -e # If a script exits with an error, we should as well.\n\nif [ -f &quot;$HOOKPATH&quot; ]; then\neval \\&quot;&quot;$HOOKPATH&quot;\\&quot; &quot;$@&quot;\nelif [ -d &quot;$HOOKPATH&quot; ]; then\nwhile read file; do\n  eval \\&quot;&quot;$file&quot;\\&quot; &quot;$@&quot;\ndone &lt;&lt;&lt; &quot;$(find -L &quot;$HOOKPATH&quot; -maxdepth 1 -type f -executable -print;)&quot;\nfi<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VM\u306e\u8d77\u52d5\u6642\u306ehook\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n\n\n\n<p>\u8d77\u52d5\u6642\u306b\u5b9f\u884c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3053\u3046\u3044\u3046\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<br><code>\/etc\/libvirt\/hooks\/qemu.d\/win10\/prepare\/begin\/start.sh<\/code> \u3068\u3044\u3046\u540d\u524d\u306b\u3057\u305f\u306e\u3067\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u540d\u524d\u304c <code>win10<\/code> \u306e\u6642\u3060\u3051\u5b9f\u884c\u3055\u308c\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>virsh nodedev-detach<\/code> \u3092\u3059\u308b\u969b\u306b\u3001\u5148\u307b\u3069\u8abf\u3079\u305fPCI\u30c7\u30d0\u30a4\u30b9\u306eID\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u300209:00.0 \u306f\u30010000:09:00.0 \u304c\u6b63\u5f0f\u306a\u8a18\u8ff0\u3067\u3001virsh\u5074\u3067\u306f<code>:<\/code>\u306f<code>_<\/code>\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u308b\u3088\u3046\u3067\u3059\u3002\u3053\u306e\u8fba\u306f\u3001<code>\/sys\/bus\/pci\/devices\/<\/code> \u306e\u4e0b\u3092\u8997\u3044\u3066\u307f\u305f\u308a\u3001<code>virsh nodedev-list --cap pci<\/code> \u3067\u5229\u7528\u3067\u304d\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u898b\u3066\u307f\u305f\u308a\u3057\u3066\u6c7a\u3081\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#!\/bin\/bash\nset -x\n\n# \u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u6b62\u3081\u308b(\u74b0\u5883\u306b\u3088\u3063\u3066\u3053\u308c\u306f\u9055\u3046\u306f\u305a\u3067\u3059)\nsystemctl stop gdm\n\n# VTconsoles\u3092\u6b62\u3081\u308b(\u4e0d\u8981\u304b\u3082)\necho 0 &gt; \/sys\/class\/vtconsole\/vtcon0\/bind\necho 0 &gt; \/sys\/class\/vtconsole\/vtcon1\/bind\n\n# \u30d5\u30ec\u30fc\u30e0\u30d0\u30c3\u30d5\u30a1\u3082\u6b62\u3081\u308b\necho efi-framebuffer.0 &gt; \/sys\/bus\/platform\/drivers\/efi-framebuffer\/unbind\n\n# nvidia\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092unload\u3059\u308b\nmodprobe -r nvidia_uvm\nmodprobe -r nvidia_drm\nmodprobe -r nvidia_modeset\nmodprobe -r nvidia\nmodprobe -r i2c_nvidia_gpu\n\nsleep 2\n\n# Host OS\u304b\u3089GPU\u3092detach\u3059\u308b\nvirsh nodedev-detach pci_0000_09_00_0\nvirsh nodedev-detach pci_0000_09_00_1\nvirsh nodedev-detach pci_0000_09_00_2\nvirsh nodedev-detach pci_0000_09_00_3\n\n#  vfio \u3092\u30ed\u30fc\u30c9\u3059\u308b\nmodprobe vfio\nmodprobe vfio_pci\nmodprobe vfio_iommu_type1<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VM\u306e\u7d42\u4e86\u6642\u306ehook\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n\n\n\n<p>\u7d42\u4e86\u6642\u306b\u5b9f\u884c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3053\u3046\u3044\u3046\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<code>\/etc\/libvirt\/hooks\/qemu.d\/win10\/release\/end\/stop.sh<\/code> \u3068\u3044\u3046\u540d\u524d\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#!\/bin\/bash\nset -x\n\n# vfio\u3092 unload\u3059\u308b\nmodprobe -r vfio\nmodprobe -r vfio_pci\nmodprobe -r vfio_iommu_type1\n\n# Host OS\u304b\u3089GPU\u3092attach\u3059\u308b\nvirsh nodedev-reattach pci_0000_09_00_0\nvirsh nodedev-reattach pci_0000_09_00_1\nvirsh nodedev-reattach pci_0000_09_00_2\nvirsh nodedev-reattach pci_0000_09_00_3\n\n# nvidia\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092load\u3059\u308b\nmodprobe i2c_nvidia_gpu\nmodprobe nvidia\nmodprobe nvidia_modeset\nmodprobe nvidia_drm\nmodprobe nvidia_uvm\n\nnvidia-xconfig --query-gpu-info &gt; \/dev\/null 2&gt;&1\n\nsleep 2\n\n# framebuffer \u3092\u5fa9\u65e7\necho &quot;efi-framebuffer.0&quot; &gt; \/sys\/bus\/platform\/drivers\/efi-framebuffer\/bind\n\n# VTconsoles\u3092\u5fa9\u65e7\necho 1 &gt; \/sys\/class\/vtconsole\/vtcon0\/bind\necho 1 &gt; \/sys\/class\/vtconsole\/vtcon1\/bind\n\n# gdm \u3092\u8d77\u52d5\nsystemctl start gdm<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4eee\u60f3\u30de\u30b7\u30f3\u4f5c\u6210<\/h2>\n\n\n\n<p>\u3042\u3068\u306f\u3001VirtManager\u306a\u308a\u3067\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u306e\u6642\u540d\u524d\u3092\u300cwin10\u300d\u3068\u3044\u3046\u540d\u524d\u306b\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f5c\u308b\u6642\u306b\u306f\u3044\u304f\u3064\u304b\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u30c1\u30c3\u30d7\u30bb\u30c3\u30c8\u3092Q35\u306b\u3057\u3066\u3001\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306fUEFI\u3092\u9078\u3076\u3002<ul><li>\u3053\u308c\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u306f\u305a<\/li><\/ul><\/li><li>CPU\u8a2d\u5b9a\u3067\u3001CPU\u306e\u30e2\u30c7\u30eb\u306fhost-passthrough\u3092\u9078\u629e\u3059\u308b<\/li><li>virtio\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001NIC\u3068disk\u3067virtio\u3092\u6307\u5b9a\u3059\u308b<ul><li>virtio\u306e\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092Windows\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u30ed\u30fc\u30c9\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li><li>virtio\u306e\u30c9\u30e9\u30a4\u30d0\u306e\u30c7\u30a3\u30b9\u30af\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u304b\u3089CDROM\u3068\u3057\u3066\u8ffd\u52a0\u3057\u3066\u8aad\u3081\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f<\/li><li><a href=\"https:\/\/fedorapeople.org\/groups\/virt\/virtio-win\/direct-downloads\/stable-virtio\/virtio-win.iso\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/fedorapeople.org\/groups\/virt\/virtio-win\/direct-downloads\/stable-virtio\/virtio-win.iso<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\u6b21\u306b\u3001PCI\u30c7\u30d0\u30a4\u30b9\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3044\u307e\u3059\u3002\u6700\u521d\u306bSPICE\u95a2\u9023\u306e\u30c7\u30d0\u30a4\u30b9\u3084\u4e0d\u8981\u305d\u3046\u306a\u30c7\u30d0\u30a4\u30b9(Channel Spice\u3001Display Spice\u3001Video QXL\u3001Sound ich*\u306a\u3069)\u3092\u5168\u3066\u524a\u9664\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u305d\u3057\u3066 Add Hardware \u3067 PIC Device\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u3053\u3067GPU\u3092\u6307\u5b9a\u3057\u3066\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3001\u8a2d\u5b9a\u3057\u305f\u3089\u5f8c\u306f\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u8d77\u52d5\u3057\u3066Windows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u306a\u3046\u3060\u3051\u3067\u3059\u3002\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u4f5c\u6210\u306f\u5148\u306b\u5b9f\u65bd\u3057\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002\u305d\u306e\u5834\u5408\u3001PCI\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u3092\u884c\u306a\u3063\u305f\u3042\u3068\u306b\u5b9f\u65bd\u3059\u308b\u3068\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u4e0a\u624b\u304f\u52d5\u304b\u306a\u3044\u5834\u5408\u306b\u3001PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u306e\u554f\u984c\u306a\u306e\u304b\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u8a2d\u5b9a\u8aa4\u308a\u306a\u306e\u304b\u304c\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306a\u3069\u306f\u5148\u306b\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">VM\u5185\u3067\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u3068\u3063\u3066\u307f\u308b<\/h2>\n\n\n\n<p>\u8a66\u3057\u306bGPU\u3092\u4f7f\u3046\u3088\u3046\u306a\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u4f5c\u3055\u305b\u3066\u307f\u307e\u3057\u305f\u3002\u7d50\u679c\u3068\u3057\u3066\u306f\u6587\u53e5\u306e\u306a\u3044\u6027\u80fd\u304c\u51fa\u3066\u3044\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-1024x577.png\" alt=\"\" class=\"wp-image-1352\" srcset=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-1024x577.png 1024w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-300x169.png 300w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-768x433.png 768w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-1536x865.png 1536w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283-660x372.png 660w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283.png 1924w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u6b8b\u5ff5\u306a\u3053\u3068<\/h2>\n\n\n\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3044\u304f\u3064\u304b\u554f\u984c\u304c\u6b8b\u3063\u3066\u3044\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>VM\u3060\u3068\u30c1\u30fc\u30c8\u3060\u3068\u8a8d\u8b58\u3059\u308b\u30b2\u30fc\u30e0\u304c\u3042\u308b<\/li><li>\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u5fa9\u65e7\u306b\u5931\u6557\u3057\u3066\u3044\u308b<\/li><\/ul>\n\n\n\n<p>\u3053\u306e 2\u70b9 \u3067\u3059\u3002\u524d\u8005\u306f\u5177\u4f53\u7684\u306b\u8a00\u3046\u3068Valorant\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30b2\u30fc\u30e0\u306e\u30a2\u30f3\u30c1\u30c1\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u306fOS\u304c\u52d5\u3044\u3066\u3044\u308b\u72b6\u6cc1\u3082\u78ba\u8a8d\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3001VM\u4e0a\u306eWindows\u3067\u306f\u52d5\u4f5c\u3057\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u3057\u306a\u3044\u3068\u9632\u3052\u306a\u3044\u653b\u6483\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3057\u3087\u3046\u306d\u3002\u8ff7\u60d1\u306a\u306e\u3067\u30c1\u30fc\u30bf\u30fc\u306f\u6ec5\u3093\u3067\u307b\u3057\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u5f8c\u8005\u306f\u81ea\u5206\u306e\u8a2d\u5b9a\u6f0f\u308c\u306a\u3093\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u306a\u305c\u304bVM\u3092\u8d77\u52d5\u3057\u3066\u7d42\u4e86\u3059\u308b\u969b\u306e\u5fa9\u65e7\u624b\u9806\u306b\u4e0d\u5099\u304c\u3042\u308b\u3089\u3057\u304fAlt+Ctrl+F2-6 \u3068\u304b\u3067\u8d77\u52d5\u3059\u308b\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u5fa9\u65e7\u3067\u304d\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u307b\u3068\u3093\u3069\u56f0\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u305f\u307e\u306b\u6b32\u3057\u3044\u3068\u304d\u306f\u3042\u308b\u306e\u3067\u6539\u5584\u3067\u304d\u308b\u306a\u3089\u6539\u5584\u3057\u305f\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001GPU\u304c\uff11\u3064\u3057\u304b\u306a\u3044\u30de\u30b7\u30f3\u3067\u3082GPU\u4ed8\u304d\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u304b\u306a\u304b\u4fbf\u5229\u306a\u74b0\u5883\u304c\u4f5c\u308c\u305f\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002X\u304c\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001tmux\u304b\u4f55\u304b\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u4fdd\u6301\u3059\u308b\u3088\u3046\u306a\u5f62\u3067\u4f5c\u696d\u3057\u3066\u304a\u3051\u3070\u3001\u4f5c\u696d\u306e\u9014\u4e2d\u3067Windows\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u308a\u3057\u3066\u3082\u5927\u4e08\u592b\u3068\u3044\u3046\u74b0\u5883\u306b\u306a\u308a\u307e\u3057\u305f\u3002Windows\u304b\u3089\u30db\u30b9\u30c8\u5074\u306bSSH\u3057\u3066\u3057\u307e\u3048\u3070\u30db\u30b9\u30c8\u5074\u306e\u74b0\u5883\u3067\u4f5c\u696d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u3067\u3001\u3044\u308d\u3044\u308d\u9762\u767d\u3044\u74b0\u5883\u304c\u69cb\u7bc9\u3067\u304d\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u500b\u4eba\u7684\u306b\u306f\u5168\u3066\u306e\u30de\u30b7\u30f3\u306eHost OS\u3092Linux\u306b\u3067\u304d\u308b\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3055\u304bVM\u3067\u8d77\u52d5\u3067\u304d\u306a\u3044\u30b2\u30fc\u30e0\u304c\u3042\u308b\u3068\u306f\u601d\u3063\u3066\u3044\u306a\u304f\u3066\u9813\u632b\u3057\u305f\u306e\u304c\u6b8b\u5ff5\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenJDK\u3092\u8aad\u3080\u6642\u9593\u304cStableDiffusion\u306b\u596a\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u90e8\u5c4b\u304c\u71b1\u304f\u306a\u308b\u306e\u3067\u3053\u306e\u624b\u306e\u3082\u306e\u306f\u51ac\u5834\u306b\u3084\u308b\u307b\u3046\u304c\u8ce2\u305d\u3046\u3067\u3059\u3002 \u4eca\u56de\u306f\u81ea\u5206\u306e\u8a08\u7b97\u6a5f\u306e\u69cb\u6210\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u307f\u307e\u3059\u3002GPU\u3092PCI\u30d1\u30b9\u30b9\u30eb\u30fc\u3057\u3066\u3057\u2026 <span class=\"read-more\"><a href=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=1218\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1218","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2022\/09\/160fcf2ed0af7f6efd6aae30e6bec283.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wwqG-jE","_links":{"self":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/1218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1218"}],"version-history":[{"count":149,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/1218\/revisions"}],"predecessor-version":[{"id":1369,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/1218\/revisions\/1369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/media\/1352"}],"wp:attachment":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}