3

苹果M1 Linux开源GPU驱动新进展:已渲染首个三角形

 3 years ago
source link: https://www.cnbeta.com/articles/tech/1081649.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Phoronix 报道称,基于苹果 M1 硬件的开源 / Linux GPU 工作项目,本周依然在忙碌地进行着。 好消息是,持续对 M1 GPU 硬件展开逆向工程的 Alyssa Rosenzweig,已经初步实现了通过早期代码来渲染三角形。 在此之前,她已在 Panfrost 等 ARM GPU 逆向工作上积累了相当高的名气。

Bb2iArv.jpg!mobile

用开源代码在 M1 上渲染的首个三角形(来自: Rosenblatt Zweig

作为与开发者 Marcan 合作开展的 Asahi Linux 工作的一部分,本周的 Apple M1 GPU 逆向工作已经抵达了首个重要的里程碑。

需要指出的是,我们距离初始驱动程序的到来还有一段时间,因为这项工作仍基于 macOS 上手动调教的 M1 GPU 机器代码。

U7zI3qn.jpg!mobile

(图 via Phoronix

换言之,包含了顶点和着色器信息的代码片段,仍需借助 macOS IOKit 内核驱动程序与硬件底层沟通。

但无论怎样,这项工作还是意味我们向着 M1 GPU 开源 / Linux 驱动迈出了坚实的一步。

em6RNfM.png!mobile

(传送门: GitHub

展望未来,他们将继续探索在 Apple M1 Linux 上运行的 OpenGL、Vulkan、DRM、甚至 KMS 等驱动程序,感兴趣的朋友可留意 GitHub 上的更新公告。

此外大约一周前,Corellium 开发者顺利地在 M1 硬件平台上引导启动了 Linux,但内核补丁仍处于早期阶段。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK