开发团队已将RADV(Mesa开源Vulkan驱动)从Linux移植到Windows,使AMD GPU用户能够使用开源Vulkan实现,而不必依赖专有驱动程序。1该项目基于Faith Ekstrand在XDC 2024大会上的前期研究,通过反向工程WDDM2接口实现GPU命令提交功能。1项目已成功运行《Counter-Strike 2》游戏,玩家可通过-vulkan参数切换渲染器。1Valve赞助了此阶段工作。1
该移植版本支持稀疏绑定、细分和任务着色器、动态GPU属性查询等多项功能。1然而,开发过程中面临多重技术障碍,包括不同GPU代数间的架构差异、MSVC编译器兼容性问题,以及opaque二进制数据结构的处理。1开发团队指出,要实现生产级的稳定性和零复制交换性能(可能带来3倍性能提升),需要AMD或微软的直接参与。1
Developers have successfully ported RADV, Mesa's open-source Vulkan driver, from Linux to Windows, enabling AMD GPU users to access an open-source Vulkan implementation as an alternative to proprietary drivers 1. The project builds on preliminary research presented by Faith Ekstrand at XDC 2024, which identified the WDDM2 interface as a viable foundation for third-party drivers 1. Through reverse engineering of the private WDDM2 interface using the wddm2-pdd-re tool, the team has achieved GPU command submission and demonstrated the driver's capability by successfully running Counter-Strike 2 with the -vulkan parameter to switch renderers 1.
The RADV Windows port implements several advanced GPU features including sparse binding, tessellation and task shaders, and dynamic GPU property queries 1. However, the project faces significant technical hurdles, including architectural differences across GPU generations, Microsoft Visual C++ compiler compatibility issues, and challenges with opaque binary data structures 1. According to the developers, production-level stability and zero-copy swap chain performance—which could potentially deliver a threefold performance improvement—would require direct involvement from AMD or Microsoft 1. Valve has sponsored this phase of development 1.
评论
还没有评论,欢迎留下第一条。