节点文献

基于WDDM驱动的DirectX视频加速重定向框架设计与实现

The Design and Implementation of Directx Video Acceleration Redirection Infrastructure Based on WDDM Driver Model

【作者】 张涛

【导师】 陈文智;

【作者基本信息】 浙江大学 , 计算机系统结构, 2013, 硕士

【摘要】 随着计算机技术的不断发展进步,云计算技术也在高速发展的进程中日趋成熟,作为云计算核心技术的虚拟化技术也得到了飞速发展。而虚拟化技术中,虚拟化桌面凭借其低成本、灵活易用性及集中部署管理等优势发展最为迅速。在云计算等软件技术高速发展的同时,处理器硬件工艺也在飞速进步。GPU处理工艺的进步,使得3D应用得以发展和进步。与此同时,针对3D应用,微软开发了应用于其Windows Vista及其后续版本操作系统的WDDM显示驱动模型,这种模型支持DirectX图形库,并能够对3D应用的GPU硬件加速提供很好的支持,提高了用户体验。然而,目前的虚拟化桌面产品仅能满足企业办公场景,与传统的PC机桌面相比,其不完善的桌面功能及用户体验使其不能进一步向普通用户推广。在这种背景下,本文基于微软WDDM中对高清视频硬件加速的支持,设计和实现了DirectX视频加速重定向框架,旨在有效利用虚拟化桌面客户端主机的GPU,支持在虚拟化桌面中播放高清视频。针对这一方案,本文做了以下的工作:(1)研究和分析了当前主流的虚拟化桌面解决方案及产品,为本文的DirectX视频加速重定向框架设计和实现提供了参考依据;(2)详细分析和研究了为设计和实现DirectX视频加速重定向框架所需的关键技术,包括WDDM驱动模型、DXVA及其API、高清视频及视频播放器等;(3)设计了DirectX视频加速重定向框架,并实现了框架中的基本功能模块,包括虚拟化桌面服务端的DXVA指令和视频数据截获及重定向,以及虚拟化桌面客户端利用主机GPU加速功能,执行重定向指令,播放高清视频,并对这套系统从功能、性能及兼容性等方面进行了测试,验证了系统的功能。

【Abstract】 With the continuous development and progress of computer technology, cloud computing technology develops rapidly and matures. The virtualization technology, as the core technologies of cloud computing, has also been promoted fast. Virtual desktop which is a kind of virtualization technology, has the most rapid development because of its low-cost, flexible and easy-to-use, and centralized management and deployment advantages. As same as the rapid growth of cloud computing and software technology, processor hardware technology also advances quickly. Result from the advance of GPU processing technology,3D applications tend to develop and progress. At the same time, for3D applications, Microsoft developed WDDM display driver model which was used in their Windows Vista and later operating systems. In this model, DirectX graphics library was supported well, and was also able to provide good support for3D applications with its GPU hardware acceleration, enhanced the user experience.However, at present, the virtual desktop products only to meet the business office scene, compared to the traditional PC desktops, its imperfections desktop functionality and user experience make it can not be further promoted to ordinary users. In this context, the paper which based on the support of HD video hardware acceleration in Microsoft WDDM, designed and implemented a framework for DirectX Video Acceleration redirection, which aimed at making efficient use of client host GPU in the virtual desktop, and providing support for playing HD video in the virtual desktop. For this solution, we do the following work.(1) To research and analyse the mainstream virtual desktop solutions and products at present, which provides a reference for design and implementation of the DirectX Video Acceleration redirect framework in this paper;(2) Performed a detailed analysis of the key technologies for the design and implementation of DirectX video acceleration redirect framework, including the WDDM driver model, DXVA API, high-definition video and video player, etc.;(3) Designed the DirectX Video Acceleration redirect framework, and implemented the basic functional modules, including the DXVA instruction and video data interception and redirection in the virtual desktop server, performing the redirect instruction in the virtual desktop client using the host GPU acceleration, and playing the high-definition video. Then we tested the system in several ways, including functionality, performance and compatibility, meanwhile, we verified the functionality of the system.

  • 【网络出版投稿人】 浙江大学
  • 【网络出版年期】2014年 02期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络