惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

博客园 - 遥望星空

git submodule修改url生效 最简单方式解决AppImage程序无法运行[sandbox问题] DB2 8.2 9.1 9.5 9.7 下载地址(用迅雷防止官方下线文件) 远程桌面提示:身份验证错误 要求的函数不受支持 用户中心 - 博客园 java中过滤器(Filter)与拦截器(Interceptor )区别 Nginx中的rewrite指令(break,last,redirect,permanent) WIN7 + IIS7 Service Unavailable HTTP Error 503. The service is unavailable. Redis中删除过期Key的三种策略 用户中心 - 博客园 在 iOS 中信任手动安装的证书描述文件 fiddler抓取手机上https数据失败,全部显示“Tunnel to......443”解决办法 搜狗拼音输入法 V9.1.0.2589 最新去广告精简优化版 安装bootcamp时提示“找不到$winpedriver$文件夹,请验证该文件夹是否和bootcamp处于同一文件夹内?” Caused by: java.security.InvalidKeyException: Illegal key size or default parameters 如何修改maven的默认jdk版本 Win10注册表无法保存对权限所作的更改拒绝访问 Win8.1/win10安装photoshop软件提示please uninstall and reinstall the product如何解决 前端页面适配的rem换算
RemoteFX vGPU的尴尬现状和解决方案
遥望星空 · 2020-09-26 · via 博客园 - 遥望星空

RemoteFX vGPU 曾经是一个非常先进的GPU虚拟化和远程体验增强工具。然而在Windows 1709版本后,RemoteFX 就已经成了一个“abandonware”,由于过于老旧(最早面世于2010),已经很难和现在的新系统组件良好兼容。在 Windows 10 1809 版本里,他们砍掉了通过 GUI 新增 RemoteFX vGPU 的路径,并提示了用户该技术不再受到支持。在之后微软正式宣布了 RemoteFX 的退位,并表示新的接替技术正在开发中,推荐用户使用 Discrete Device Assignment 即分离设备指定方案替代。

然而问题是:

  1. 只有 Windows Server 开放支持 DDA,而Windows Pro / Workstation 版本则都不能用。而且我觉得连 Workstation 版都不给,实在是有点让人无语。
  2. DDA 的启用非常麻烦,而且启用后客户机会独占该设备,宿主就没法使用了。
  3. DDA 和 RemoteFX 是两种不同的技术路径,适合的情景其实不完全一样,不能等价互相代替。

而我们熟悉的 RemoteFX 虽然有诸多缺陷,可日常使用还是很方便(特别是高分屏下流畅度会比纯CPU渲染高很多,并且节约了大量的CPU资源可供利用),所以就有了以下这些 how-to:

如何给虚拟机添加和启用 RemoteFX ?

1) 检查你的宿主机上的GPU(得兼容才行)
打开管理员权限的Powershell,输入

Get-VMRemoteFXPhysicalVideoAdapter

输出大概如下:

Id                          : pci#ven_8086&dev_5917&subsys_00281414&rev_07#3&11583659&0&10
Name                        : Intel(R) UHD Graphics 620
GPUID                       : 32902_22807_2626580_7
TotalVideoMemory            : 8684789760
AvailableVideoMemory        : 8684789760
DedicatedSystemMemory       : 0
DedicatedVideoMemory        : 134217728
SharedSystemMemory          : 8550572032
Enabled                     : True
CompatibleForVirtualization : True
DirectXVersion              : 12.1
PixelShaderVersion          : 5.0
DriverProvider              : Intel Corporation
DriverDate                  : 2019-01-09 08:00:00Z
DriverInstalledDate         : 2019-01-09 08:00:00Z
DriverVersion               : 25.20.100.6519
DriverModelVersion          : 2.5
CimSession                  : CimSession: .
ComputerName                : DESKTOP-AA
IsDeleted                   : False

Id                          : pci#ven_10de&dev_1c20&subsys_00241414&rev_a1#4&3b87fca8&0&00e4
Name                        : NVIDIA GeForce GTX 1060
GPUID                       : 4318_7200_2364436_161
TotalVideoMemory            : 0
AvailableVideoMemory        : 0
DedicatedSystemMemory       : 0
DedicatedVideoMemory        : 6348079104
SharedSystemMemory          : 8550572032
Enabled                     : False
CompatibleForVirtualization : False
DirectXVersion              : 12.1
PixelShaderVersion          : 5.0
DriverProvider              : NVIDIA
DriverDate                  : 2019-02-20 08:00:00Z
DriverInstalledDate         : 2019-02-20 08:00:00Z
DriverVersion               : 25.21.14.1917
DriverModelVersion          : 2.5
CimSession                  : CimSession: .
ComputerName                : DESKTOP-AA
IsDeleted                   : False

注意看Enabled 和 CompatibleForVirtualization 两项都得是 True 才能用。否则是不兼容的。以我的机器为例就是 Intel HD620 兼容,而 GTX 1060 不兼容。

2) 指定启用某个显卡作为vGPU
同样是在 Powershell 里

Enable-VMRemoteFXPhysicalVideoAdapter 你的GPU名,在上面的汇报里有Name项

3) 将 RemoteFX vGPU 加到你指定的虚拟机

Add-VMRemoteFx3dVideoAdapter -VMName 虚拟机名

4) 现在就可以在虚拟机的设置里设置 vGPU 的属性了,如图:

RemoteFX 开启后连不上客户机了?

在 Hyper V 设置中将“增强会话模式”设置为默认不使用即可。增强会话模式现在和 RemoteFX 莫名其妙的不兼容了,让用户蛋疼又无可奈何。但好在你可以关掉该模式,使用比较传统的显示输出。我的显卡可以在客户机里设置到4K输出+200%放大,这样就和增强会话模式相差不大了。但是声音仍然无法输出,这是体验下降最大的地方。

原贴:https://zhuanlan.zhihu.com/p/59086305