AWSã§ã¯ã©ã¦ãVRChatãã£ã¦ã¿ã
Abstract
Oculus Questã®Virtual Desktop (side loaded)ãç¨ãã¦Amazon Web Serviceã®G4 instanceã«æ¥ç¶ããVRChatã«loginãã¦ã¿ãã åç·ç¶æ³ãªã©ãæªããªãããããä¼è©±ãå¯è½ç¨åº¦ã®ã¬ã¤ãã³ã·ã§æ¥ç¶ã§ãããã¨ãããã£ãã ãªããæéã¯1æéãããå¤ãã«è¦ç©ã£ã¦1.5USDç¨åº¦ã§ãã£ãã ãã®ææ³ãHead Mount Displayã®è²¸ä¸ãµã¼ãã¹ã¨ãããããã¨ã§ãä¾ã¨ãã¦ã High-SpecãªPCãèªå® ã«ãªãã¦ãä¸æçã«VRãä½é¨ãããã¨ãå¯è½ã«ãªãã¨èããããã
ç§å¦ã®åã£ã¦ããã¼!!
ãã¾ããèªå® ã«å¼·ãPCããªãã¦ãOculus QuestããPCã§ã®VRChatãä½é¨ãããã¨ãã§ãããã ã¨!!
AWSã®GPUã¤ã³ã¹ã¿ã³ã¹+VirtualDesktop+Questã§VRChatãã°ã¤ã³ãã¦ã¿ãï¼ #vrchat pic.twitter.com/Czl0MQwCzi
— ãããµã¿ (@ayafmy) April 19, 2020
ã§ãã¾ãããéã¯ããããã©ããã®è¨äºã¯ææ³ã¨ç°å¢ã«ã¤ãã¦æ¸ãã¦ãã¾ãã ãã®è¨äºæå¾ã®åèæç®ãåç §ããã°ã§ããã¨ãããã¾ã ã
ãªããç°å¢ã¯ä»¥ä¸ã®æãã§ã
- iMac 5k (GPUãé»æºãæ»ã«ããã§æåããããã)
- ã«ã¼ã¿ã¼: Aterm WG1800HP2
- Oculus Quest 64 GB
ãããããåºå®åç·ããã£ã¦ãã¾ã¨ããª5.0GHzé£ã°ããã«ã¼ã¿ãããã°ã§ããã¨ã¯ãããã¾ãã PCãã¹ããã¯ã¨ãã¦ã¯Remote Desktopããåãã°ãªãã¨ããªãã¨ãããã¾ãã
å ãã¦ãç¨ããã½ããã»ãµã¼ãã¹ã¯ä»¥ä¸ã®éãã§ãã
- Microsoft Remote Desktop
- Virtual Desktop (Side Loaded)
- AWS EC2 g4dn.xlarge (è¨å®ã«t3.medium) + è²ã
- spotã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦ç«ã¦ã¾ãã
- persec
- TightVNC
- vb-audio (å¿ è¦ãªãå¯è½æ§ããã)
- Steam
- Oculus Software
å®éã©ããªã®
éä¿¡ç°å¢ããã¾ã¨ãã§ããã°VRChatã§ããã°æ®éã«ãã¬ã¤ã§ããã¨ããã®ãç§ã®ææ³ã§ãã ã»ãã®ã²ã¼ã ãããä¸ã§ãã¬ã¤ãã³ã·ã¨ãã«é¢ãã¦ã¯å®éã«æ¤è¨¼ãã¦ãããããããã®ã§åç §ãã¦ããã ãããã§ãã
Oculus Quest+Virtual Desktop+AWSã§ãªã¢ã¼ãPCVRããã¹ã
— ããï¼ VRChat (@tonavrc) April 20, 2020
表示é 延ï¼50msï½70msã»ã©
å ¥åé 延ï¼åç»æå¾ãåç §
VDè¨å®ï¼ãããã¬ã¼ã32Mbpsãã¹ã©ã¤ã¹ã¨ã³ã³ã¼ãæå¹
SteamVR SSï¼1152x1272
*å©ç¨ããg4dn.xlargeã¤ã³ã¹ã¿ã³ã¹ã®ãªã³ããã³ãä¾¡æ ¼ã¯1æé96.11åãGPUã¯NVIDIA Tesla T4 CUDAã³ã¢2,560 pic.twitter.com/fELjORxLbI
ãªããGPUã¯Tesla T4ã§ãããã¨ã¤ããã®ãVirtual Lensãªã©ãã¤ãã£ã¦ããããªãã«åãã¦ã¾ãã fpsã¯100(表示ã§ããªã)ã30ãããããããéä¼ã§ãåé¡ãªãåãã¾ãã ã¾ãåç·ç¶æ³ãæªãã¨ãã¯ããããã¨ã«ãªãã®ã§ãããããã¨ãã¯å³ãããããã»ããè¯ãã¨ãããã¾ããã
ãéã¯ã©ãããããããã®
ãããã1æéããã1.5USDã¯è¶ããªããããããªã¨ãããã¾ãããã£ã±ãData transfer outã®æ¯çãé«ãããªã¨ãããã¾ãã 3æéã¡ãã£ã¨ãã£ã¦EC2ã«1.19USDãDatatransferã«2.53USDã§ããããã¨EBSãSnapshotã«ãéããããã¾ãã ã¾ã ãã¼ã¿ã¯ã¨ãããã¦ãªãã®ã§ã¢ã¬ã§ãããçµè«ãå®ãã¯ãªãã§ããVRç¡ç ã¨ãããããªãã²ã¼ãã³ã°PCè²·ãã»ãã絶対è¯ãã§ãã
ãã ãä¾ãã°Oculus Questãåãã¦ããã¤ã¹ããã¯PCãªããã©ã¾ãã¾ããªPCã¨åºå®åç·ãªãããã£ã¦äººã§ããã°ãä¸æçã«VRãä½é¨ã§ããã¨ããç¹ã§ã¯è¯ãã®ã§ã¯ãªãã§ããããã ããããVket4ãã¯ãã¾ããããã®ã§ãåããã¯ããããªãã§ããâ¦â¦ãã¨ããããVket3ã®ã·ãã¤ã¯ã¡ããã¨åãã¦ã¾ãããããã§äººãå¤ãã¨ã©ããªããã¯åãããªãã§ãã ããã§é£ã³ããæ²¼!!ããã®ã§ããã°ãã¤ã¹ããã¯ãªPCãè³¼å ¥ããã°ããã¨ããç¹ã§ã¯ãä¸åº¦ä½é¨ã¨ãã¦â¦â¦ã¨ããå½¢ã§ã¯ããã®ããªã¨æãã¾ãã ã¾ãä½ãèããã²ã¼ãã³ã°PCã¨Questè²·ã£ã¦ã絶æçã«åããªãã£ããã¨ãã ã¨ãããã«æ²æ¨ã§ã¯ããã®ã§â¦â¦ã
è¨å®ã«ããã注æç¹ã¨ããããã¦ãã¦?
ä¸å¿æ³¨æç¹ã¨ãã©ãåããã¦ããããè¨è¼ãã¾ãã
- Remote Desktopã§ç¹ãã§ããã¨DirectXããã¾ãããããªããããã®ã§VNCã¨ãã§ç¹ãã§GPUãã©ã¤ãåãã®è¨å®ããã
- Remote Desktopã§ãã°ã¤ã³âç»é¢éãâpersecã§æ¥ç¶âVirtual Desktopã§æ¥ç¶âpersecãåæ ã£ã¦ããã¨ã¾ãã¾ãã©ã¯ã«ãã°ã¤ã³ã§ãã
- å½ç¶ã ãRemote DesktopãVNCãpersecã§ç¹ããªããVirtual Desktopãèµ·åãããã¨Data Transferã«çµæ§èª²éãããã®ã§æ³¨æ
- æ¯åVRChatãã°ã¤ã³ã¯å¿ è¦
- ã¹ã¯ã·ã§ãã©ã«ãã¯ã·ã³ããªãã¯ãªã³ã¯ãD:/ã®ã©ã£ãã«è²¼ã£ã¦ããã»ããæ°æ¥½ ãããã¯dropboxã«ç´æããã¦ã
- AMIã¨ã£ã¦åã®AMIæ¶ãã¦snapshotæ¶ãã¦ãã£ã¦æ¯åãã£ã¦ã
- ããç¨åº¦è¨å®ãã§ããããã®ã¾ã¾Terminateãã¦ãã¾ã£ãã»ãã楽ãªæ°ã¯ãã¾ã
- æé課éãªã®ã§AMIã¨ãæéããã£ãããªãã®ã§ã¯ã£ã¦æã£ã¦ãã¾ãé¢ããã
åèæç®
æ§ç¯ã«ããã£ã¦åèã«ãããã¼ã¸ã§ããGoogle cloud Platformã§ãã§ããã¨ãããã¾ãããã²ãã£ã¦è¨äºããã¦ã¿ã¦ã»ããã§ãã