Windows:是否“可能”创建(虚拟)显卡驱动程序?
我想创建一个虚拟监视器。其工作方式是虚拟监视器将出现在我桌面上的窗口中。据 Windows 所知,它只是另一台显示器。
我想到,作为一个实际问题,它必须作为视频卡驱动程序来完成(即视频不是通过电线传到液晶面板,而是进入桌面上的另一个窗口)。
我所描述的内容在技术上可行吗?可能吗? (从DDK的角度)
注意:我无法使用虚拟PC,因为没有虚拟PC的分辨率足以满足我的需求。也因为这不是我所要求的。
注意:我的理由并不重要,但我可以弥补一些:
- 我想在高 dpi 设置 (288dpi )
- 我想创建一个我的 iPad 可以使用 VNC 的显示器到
- 家庭电视在主显示器上运行
- 劫机者正在监视公共汽车,如果他怀疑我们正在抓捕我们,他就会炸毁公共汽车乘客下车
- 为了全人类的利益,我正在努力扩大人类知识和理解的极限
i want to create a virtual monitor. The way this would work is that the virtual monitor would appear in a window on my desktop. As far as Windows knows it is just another monitor.
It occurs to me that it would, as a practical matter, have to be done as video card driver (i.e. rather than the video going out a wire to an LCD panel, it would go into another window on the desktop).
Does what i'm describing sound, technically, possible? (from a DDK point of view)
Note: i can't use a virtual pc, because no virtual PC has resolutions high enough for my needs. Also because it's not what i asked for.
Note: My reasons are unimportant, but i can make some up:
- i want to test my application under high-dpi settings (288dpi)
- i want to create a monitor that my iPad can VNC to
- the family TV runs on the main monitor
- the hijacker is monitoring the bus, and he'll blow it up if he suspects we're getting the passengers off
- i'm trying to expand the limits of human knowledge and understanding, for the good of all man-kind
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我想说这绝对是可能的,因为这就是虚拟化工具为其来宾实用程序所做的事情,但我无法告诉您详细信息。我建议以 VirtualBox 访客驱动程序代码作为起点:
http://www.virtualbox.org/browser/trunk/ src/VBox/Additions/WINNT/Graphics
(据我所知,这是在 GPL 下发布的。)
I'd say it's definitely possible, since that's what virtualization tools do for their guest utilities, but I wouldn't be able to tell you how in details. I'd suggest looking at the VirtualBox guest driver code as a starting point:
http://www.virtualbox.org/browser/trunk/src/VBox/Additions/WINNT/Graphics
(This is released under GPL as far as I'm aware.)
这绝对是可能的,例如参见 UltraVNC 镜像驱动程序。但我不知道有任何虚拟视频驱动程序可以提供源代码。
It's definitely possible, see for example the UltraVNC mirror driver. But I don't know of any virtual video driver that makes source code available.
我一直在寻找类似的东西,并找到了一个很好的解决方案:spacedesk。您可以在这里下载:http://spacedesk.ph/
在 Windows 中,它会安装一个额外的监视器,您可以在浏览器或查看器中打开它。享受!
I have been searching for something similar and I found a nice solution: spacedesk. You can download it here: http://spacedesk.ph/
In windows, it installs an extra monitor, which you can open in a browser or a viewer. Enjoy!
不了解Windows,但是对于X(Linux)有Xvfb(X Virtual Frame Buffer),这是一个非常有用的东西。
Don't know about Windows, but for X (Linux) there is Xvfb (X Virtual Frame Buffer), which is quite a useful thing.