远程开软件报错:LoadLibrary failed with error 126: The module could not be found

在本地用没问题,在宿舍远程过去就报这个错。好像跟显卡有关。把 [1] 的前两个答案的操作一起做了才行。

  1. 打开设备管理器,在 display adapters 禁用 Intel HD Graphics(我这台机还有另外一块 AMD Radeon)。
  2. Win + R 运行 gpedit.msc,找 Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment,打开(是双击 Remote Session Environment 本身而不是它里面那个文件夹)。
  3. Use hardware graphics adapters for all Remote Desktop ServicesPrioritize H.265/AVC444 graphics mode for Remote Desktop ConnectionsConfigure H.264/AVC hardware encoding for Remote Desktop Connections 这 3 个设成 enabled(双击打开)。
  4. use WDDM graphics display driver for remote desktop connections 设成 disabled。
  5. 重启电脑。

graphic adapter
remote

TL;DR

禁完之后,回到实验室显示器又没信号了…原来是有几个 DP 接口,据说因为这主机有独显(我觉得是因为前面把核显禁了),要直接怼到显卡的口才行(可以把主机上所有 DP 口都插一遍试试)。

References

  1. Error “LoadLibrary failed with error 126: The module could not be found” when launching Spyder IDE through VPN
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值