Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10

GPU รองรับ Computing cores หลายพันเพื่อ Process workloads แบบ Parallel ทำได้มีประสิทธิภาพ Windows Sandbox environment ทำให้สามารถ เปิด/ปิด Virtualized GPU sharing ได้ นี่คือวิธี!

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10

เปิด/ปิด Virtualized GPU sharing สำหรับ Windows Sandbox

ทราบว่า Software/app ใดๆ ที่ติดตั้งใน Windows Sandbox จะอยู่แค่ใน Environment นั้น ไม่กระทบ Host และเมื่อปิด Windows Sandbox ทุกโปรแกรมจะถูกลบอัตโนมัติ เพื่อ Enable/Disable vGPU Sharing สำหรับ Windows Sandbox ทำดังนี้:

  1. เปิด Registry Editor
  2. ไปที่ Windows Sandbox key
  3. สร้าง 32-bit DWORD value ใหม่ AllowVGPU
  4. เพื่อ Enable vGPU sharing ให้ตั้ง Value เป็น 1
  5. เพื่อ Disable vGPU sharing feature ให้ Delete value นั้น

หาก vGPU Disabled Sandbox จะใช้ Windows Advanced Rasterization Platform (WARP)

ใช้ Registry Editor

กด Win+R เปิด Run dialog box

พิมพ์ regedit ในช่องว่าง กด Enter

เมื่อ Registry Editor เปิด ไปที่ Path address:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox.

หากไม่เจอ Key ชื่อนี้ ให้สร้างใหม่

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10

สร้าง 32-bit DWORD value ใหม่ 'AllowVGPU' จำไว้ว่าแม้จะรัน 64-bit Windows ก็ยังต้องใช้ 32-bit DWORD เป็น Value type

Supported values

  • Enable – เปิด vGPU support ใน Sandbox
  • Disable – ปิด vGPU support ใน Sandbox หากตั้งค่านี้ Sandbox จะใช้ Software rendering ซึ่งอาจช้ากว่า Virtualized GPU
  • Default – ค่า Default สำหรับ vGPU support ปัจจุบันหมายถึง vGPU Disabled

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10

สร้าง Key เสร็จ ตั้ง Value เป็น 1

Action เมื่อยืนยัน จะ Enable vGPU sharing สำหรับ Windows Sandbox

เพื่อ Disable ให้ Delete value นั้น จะปิด vGPU sharing feature

เสร็จแล้ว ปิด Registry Editor ออก Restart PC ให้การเปลี่ยนแปลงมีผล

อ่านเพิ่มเติม: วิธีเปิด/ปิด Clipboard Sharing กับ Windows Sandbox

ใช้ Group Policy Editor

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10

เปิด Group Policy Editor ไปที่ Path address:

Computer Configuration\Administrative Templates\Windows Components\Windows Sandbox.

สลับไป Right-pane หา Policy setting 'Allow vGPU sharing for Windows Sandbox'

ตอนนี้ เพื่อ Enable vGPU sharing ให้ตั้ง Policy เป็น 'Enabled'

เพียงเท่านี้ก็เสร็จแล้ว!

เปิด/ปิด Virtualized GPU Sharing (vGPU) สำหรับ Windows Sandbox ใน Windows 10