diff --git a/sources/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md b/sources/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md deleted file mode 100644 index 0fa5882385..0000000000 --- a/sources/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md +++ /dev/null @@ -1,82 +0,0 @@ -[#]: collector: (lujun9972) -[#]: translator: (geekpi) -[#]: reviewer: ( ) -[#]: publisher: ( ) -[#]: url: ( ) -[#]: subject: (Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve’s New Compiler) -[#]: via: (https://itsfoss.com/linux-games-performance-boost-amd-gpu/) -[#]: author: (Ankush Das https://itsfoss.com/author/ankush/) - -Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve’s New Compiler -====== - -It has been a few days since Steam asked for the public feedback in order to test ACO (a new Mesa [shader][1] compiler) for AMD GPUs. - -Currently, the AMD drivers use a shader compiler utilizing LLVM. However, [Mesa][2] is an open source alternative to [LLVM][3]. - -So, in this case, Valve wants to support AMD graphics to improve the performance of Linux games on various Linux distros. - -![][4] - -For gaming performance improvement, the compile time is critical and with the new ACO compiler, it reduces the time by almost 50%. Valve explained more about it in its [Steam community][5] post: - -> The AMD OpenGL and Vulkan drivers currently use a shader compiler that is part of the upstream LLVM project. That project is massive, and has many different goals, with online compilation of game shaders only being one of them. That can result in development tradeoffs, where improving gaming-specific functionality is harder than it otherwise would, or where gaming-specific features would often accidentally get broken by LLVM developers working on other things. In particular, shader compilation speed is one such example: it’s not really a critical factor in most other scenarios, just a nice-to-have. But for gaming, compile time is critical, and slow shader compilation can result in near-unplayable stutter. - -### Is there really a performance boost for Linux games? - -Yes, there is. - -The primary highlight here is the compile time. If the shader compilation time reduces dramatically, it should theoretically improve the performance of the game. - -And, as per the [initial benchmark reports][6], we really do see some significant improvements. - -![][7] - -Of course, the in-game FPS improvement isn’t huge. But, it is still a good progress in its early stage. - -If you’re curious about the compile time improvement, then here it is: - -![][8] - -Yes, even a big compile time reduction did not affect the in-game FPS by a large margin. But, it is still a big deal because currently, it is a work in progress. So, we can expect even more. - -[][9] - -Suggested read  Chrome OS Look-Alike Linux Distro Chromixium Released - -But, what more can be done? - -Well, the ACO compiler isn’t complete yet. Here’s why (as Valve mentioned): - -> Right now, ACO only handles pixel and compute shader stages. When the rest of the stages are implemented, we expect the compile times will be reduced even further. - -#### Wrapping Up - -Even though I don’t have an AMD GPU on board, it is actually interesting to see improvements for the Linux gaming scene in general. - -Also, we shall be expecting more benchmarks and reports as this progresses. - -What do you think? Let us know your thoughts in the comments below. If you have a benchmark report to share, do let us know about it. - --------------------------------------------------------------------------------- - -via: https://itsfoss.com/linux-games-performance-boost-amd-gpu/ - -作者:[Ankush Das][a] -选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://itsfoss.com/author/ankush/ -[b]: https://github.com/lujun9972 -[1]: https://en.wikipedia.org/wiki/Shader -[2]: https://en.wikipedia.org/wiki/Mesa_(computer_graphics) -[3]: https://en.wikipedia.org/wiki/LLVM -[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/07/Improved-Linux-Gaming.png?resize=800%2C450&ssl=1 -[5]: https://steamcommunity.com/games/221410/announcements/detail/1602634609636894200 -[6]: https://gist.github.com/pendingchaos/aba1e4c238cf039d17089f29a8c6aa63 -[7]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/07/fps-improvement-amd.png?fit=800%2C412&ssl=1 -[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/07/compile-time-amd-gpu-linux.png?ssl=1 -[9]: https://itsfoss.com/chromixiumos-released/ diff --git a/translated/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md b/translated/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md new file mode 100644 index 0000000000..ab949ef5df --- /dev/null +++ b/translated/tech/20190708 Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve-s New Compiler.md @@ -0,0 +1,78 @@ +[#]: collector: (lujun9972) +[#]: translator: (geekpi) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (Linux Games Get A Performance Boost for AMD GPUs Thanks to Valve’s New Compiler) +[#]: via: (https://itsfoss.com/linux-games-performance-boost-amd-gpu/) +[#]: author: (Ankush Das https://itsfoss.com/author/ankush/) + +借助 Valve 的新编译器,Linux 游戏在 AMD GPU 中获得了性能提升 +====== + +Steam 寻求公众反馈以便为 AMD GPU 测试 ACO(一个新的 Mesa [着色器][1]编译器)已经有几天了。 + +目前,AMD 驱动使用 LLVM 作为着色器编译器。然而,[Mesa][2] 是 [LLVM][3] 的开源替代品。 + +因此,在这种情况下,Valve 希望支持 AMD 显卡以提高 Linux 游戏在各种 Linux 发行版上的性能。 + +![][4] + +为了提高游戏性能,编译时间至关重要,使用新的 ACO 编译器,它将时间缩短了近 50%。 Valve 在其 [Steam 社区][5]的帖子中解释了更多关于它的信息: + +> AMD OpenGL 和 Vulkan 驱动目前使用的着色器编译器是上游 LLVM 项目的一部分。该项目规模庞大,并且有许多不同的目标,在线编辑游戏着色器只是其中之一。这可能会导致开发权衡,其中改进游戏特定功能比其他情况更难,特定于游戏的功能也经常被 LLVM 的开发人员因其他事情破坏。特别是,着色器编译速度就是这样一个例子:它在大多数其他场景中并不是一个关键因素,只能锦上添花。但是对于游戏来说,编译时间是至关重要的,而缓慢的着色器编译可能导致几乎无法播放的口吃。 + +### Linux 游戏真的有性能提升吗? + +是的,没错。 + +这里的主要亮点是编译时间。如果着色器编译时间急剧减少,理论上应该会改善游戏的性能。 + +而且,根据[最初的基准报告][6],我们确实看到了一些重大改进。 + +![][7] + +当然,游戏中的 FPS 改进并不是很大。但是,它在早期阶段仍然是一个很好的进步。 + +如果你对编译时间的改进感到好奇,下面是结果: + +![][8] + +是的,即使大幅的编译时间减少也不会大幅影响游戏中的FPS。但是,它仍然是一件大事,因为目前,这是一项正在进行中的工作。所以,我们可以有更多期待。 + + +但是,还能做些什么呢? + +好吧,ACO 还没完成。下面是为什么(在 Valve 中提到): + +> 现在,ACO 只处理像素和计算着色器阶段。当其余的阶段实现时,我们预计编译时间将进一步减少。 + +#### 总结 + +尽管我没有配备 AMD GPU,但我很有兴趣看到对 Linux 游戏场景的改进。 + +此外,随着事情进展,我们将期待更多的基准和报告。 + +你怎么看待?请在下面的评论中告诉我们你的想法。如果你有基本报告要分享,请告诉我们。 + +-------------------------------------------------------------------------------- + +via: https://itsfoss.com/linux-games-performance-boost-amd-gpu/ + +作者:[Ankush Das][a] +选题:[lujun9972][b] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://itsfoss.com/author/ankush/ +[b]: https://github.com/lujun9972 +[1]: https://en.wikipedia.org/wiki/Shader +[2]: https://en.wikipedia.org/wiki/Mesa_(computer_graphics) +[3]: https://en.wikipedia.org/wiki/LLVM +[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/07/Improved-Linux-Gaming.png?resize=800%2C450&ssl=1 +[5]: https://steamcommunity.com/games/221410/announcements/detail/1602634609636894200 +[6]: https://gist.github.com/pendingchaos/aba1e4c238cf039d17089f29a8c6aa63 +[7]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/07/fps-improvement-amd.png?fit=800%2C412&ssl=1 +[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/07/compile-time-amd-gpu-linux.png?ssl=1 \ No newline at end of file