当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 21 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : [新闻]The Truth About ATI/AMD & Linux
帖子发表于 : 2007-06-05 4:08 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
http://www.phoronix.com/scan.php?page=a ... =735&num=1

It's no secret that ATI Technologies has had a rough time in the past delivering display drivers that met the expectations of their customers. When ATI started out producing a FireGL and Radeon Linux driver they for some time were greatly behind NVIDIA's feature-rich driver. The early ATI Linux drivers had lacked essential functionality such as PCI Express and x86_64 architecture support and was also affected by stability and performance problems -- not to mention a great deal of bugs. However, over time many of these issues have been worked out and ATI has dedicated more resources to the advancement of their Linux software, but that's not to say they have been sailing smoothly. It had taken ATI approximately six months to deliver Radeon X1000 (R500) Linux product support and it is going on a year now that they have been lacking AIGLX support for Compiz and Beryl. Their current generation fglrx Linux driver is also handicapped when it comes to the performance capabilities with the fglrx driver performing much slower than the Windows ATI Catalyst driver and that of NVIDIA's driver. While ATI/AMD is working steadfast in addressing all of these issues and further enhancing their level of Linux support, many of their customers do not realize all of the work that goes into these drivers. You don't need to go far to find Linux users flaming about the lack of a particular feature or those bashing the driver over an experience they had years ago, but these consumers often do not realize the time invested into these drivers and that ATI/AMD is doing something about improving these drivers.

Last year when AMD announced their acquisition of ATI it led many to wonder how this would impact the quality of their Linux support and driver. Some had even speculated that AMD would be opening the code to at least a subset of their graphics drivers, and while this issue has come up again more recently, we will cover this particular topic in a different article. In this article we will be exposing what truly consists of the ATI/AMD driver development cycle and ultimately what they are really doing to improve their image in the Linux community. We have been granted unprecedented access to share with you their once unknown driver development model.

What's The Problem?

If you're new to the Linux scene or just have been out of the hardware loop for a while, you may want to check out some of our past Phoronix articles such as An Outcry For Improved ATI Linux Drivers, ATI Has Open-Source Drivers Too, and our ATI 2006 Year in Review to see where the ATI/AMD fglrx driver is coming from and where it's going. If you've been an ATI Linux customer for years, you may recall the times when just installing the driver was difficult and for many people their installation just turned into a frustrating failure at the hands of ATI. If you were one of the lucky ones to get the driver loaded, you then had a basically useless graphical control panel and were forced to modify all of the driver settings yourself through the xorg.conf. After all of the hardship to get the drivers installed and configured you then usually found out that the ATI Radeon graphics card you spent several hundred dollars on would perform about the same speed of a sub-$100 NVIDIA graphics card.

Today when it comes to binary display drivers in Linux, the ATI/AMD Linux installer surpasses that of NVIDIA's and the text-based aticonfig utility and the graphically pleasing AMD Catalyst Control Center make it a breeze for configuring your system whether it be a notebook or a multi-headed workstation. However, as was mentioned earlier, the ATI/AMD driver still has a number of issues that need to be (and will be) addressed when it comes to the driver's performance, AIGLX support, and a number of other different "gotchas". In the past year to two years ATI/AMD has made great progress in improving the quality of their Linux software through pushing out monthly driver updates and with what we have seen from AMD proves their dedication to the Linux customer base.

Before we begin we would like to first thank Advanced Micro Devices especially their Linux developers and Matthew Tippett (Linux Core Engineering) for these slides, their support, and allowing this material to become public information. This article has been in the works for several months now and these slides covering their Linux development overview for the AMD Graphics Products Group were finalized in April of 2007.

Timing a Release

Whether you know it or not, ATI Technologies had made the strategic decision to make the Linux driver part of their unified release cycle, but what does this mean? Well, these slides we are sharing with you today is the simplified version of what this unified development cycle means along with some other information to share with the public for the first time.

AMD provides updated display Catalyst drivers on a monthly basis for both their Windows and Linux customers, but these monthly drivers actually take about 11 weeks, or close to three months, to put together. Each release consists of pure development time for roughly one month, creating a branch for that specific release, and then carrying out quality assurance. After development has ended there is three weeks of validation, three weeks of beta testing, and then one week to bake. Any and all new features or fixes that AMD engineers would like in the release must be completed during the development stage. Granted, however, there are exceptions to that development rule for fixing any serious regressions as well as for the inclusion of distribution-specific packaging scripts. Community members with AMD's internal beta testing program maintain these packaging scripts and thus the scripts for each release are generally all updated during the beta testing stage. The bake stage in the development of the Catalyst driver is merely a buffer of time to ensure that the Windows and Linux drivers are completed and launched on the same day.

This schedule does also explain why new kernel and X.Org support isn't generally added the same month as its release. If a new kernel at the start of the month breaks fglrx support, that month's driver is already far into the validation and beta stages, which prevents engineers from appending support to the branched driver. Adding support for newer versions of the Linux kernel and X.Org in some cases require extensive modifications, more so than end-users may sometimes realize. However, with the distribution-specific packaging scripts not having set deadlines, and in some cases being updated a few days prior to the driver's public release, often times they will include non-official patches.

It is also important to keep in mind that while the AMD release notes in every driver may not be as long as an end-user would like, the developers are actually working on things all of the time. Like we had saw last year with the Dynamic Display Management Options and other features, there are times during the year when the official change-log may be short for a period of releases but that is when they are actually working on tackling some of the long-term objectives. Right now we seem to be going through a similar period with the Linux driver.

The Release Train

With each AMD graphics driver taking about 11 weeks from start to finish, in order to provide driver updates on a monthly basis we have the AMD release train. At any moment there are at least two driver releases under development. When one driver leaves development and steams forward into the validation process, the next driver enters development, and the process repeats itself. For instance, in May we saw the release of the 8.37.6 fglrx driver and development for next month's 8.38 driver has already ended and is in the validation stage currently but will be entering beta shortly. Meanwhile, development on the July 8.39 driver will be underway shortly.

If you're a FireGL owner, you may have noticed that the unified Linux driver on the FireGL series page is not updated on a monthly basis. According to Matthew Tippett as for the reason why it's not updated monthly, "Releases with a non-monthly cadence typically have considerably higher levels of targeted testing. In particular for the Workstation driver, there is more focus on the Workstation ISVs and certifications." For features that take longer than a month to implement, Tippett had went on to explain the following: "As expected high risk or experimental changes would be developed in separate trees, but long term features, architectural changes all happen while the release train is continuing. The analogy I like to use is that we are on the train, and to add a new carriage or update the carriage, we have to do it while the train is running, without stopping the train, or letting anything fall off."

It's a Continuous Build

In order to shorten the time to market for each driver almost every code check-in triggers a complete driver build in its tree. With AMD having switched to a unified driver package for their Linux x86 and x86_64 architectures, the 32-bit, 64-bit, and multiple X version support can be found all within the triggered build. Not only does AMD's unified packaging make it easier for the end-user who has multiple systems with different platforms, but it also provides similar benefits to AMD engineers when testing the driver. A regular automated build process is able to shorten the testing time since it provides a history for managing regressions and providing greater consistency between builds while removing developer tweaks from any build. Installing the driver no matter the platform is also carried out in just one step as opposed to manually installing everything.

Driver Testing

In addition to the beta testers, AMD relies upon a series of manual and automated tests for each driver. This testing begins in the validation cycle and continues with the beta, but AMD only tests each driver on their supported Linux distributions. Currently Novell's SuSE, Red Hat Enterprise Linux, and Red Flag are the only AMD supported Linux distributions. With the AMD beta program are testers that verify the support and provide packaging scripts for Debian, Fedora, Mandriva, Slackware, and Ubuntu. Outside of those that provide packaging scripts there are approximately thirteen distribution vendors that are involved with the closed beta program. If you are a distribution vendor and would like to join the closed beta program, please contact us and we can forward the information on to the appropriate representatives at AMD.

During the testing stage, AMD primarily tests the driver on the market requirements for their direct consumers that have made requests for Linux support, which are generally workstations and consumer desktops. While the number of actual developers working on the Linux driver is confidential, there are over 100 people involved with the closed beta program.

We had asked what makes up the automated testing process that the driver goes through during the development cycle and validation, and the response we had received by Matthew Tippett was: "We try to bring automation as much as possible into the testing, if it can be automated, it eventually will. At different stages through our test cycle, we focus testing differently to manage particular risks of that part of the development cycle. Likewise we balance the increased effort of manual testing with the automated testing based on the return of investment at any particular point in the development cycle."

What's The Competition Got?

While one may think that in this extremely competitive discrete graphics duopoly both NVIDIA and AMD would have relatively similar software development cycles, but from what we have been exposed to speaks quite to the contrary. The entire year we have seen only one formal Linux display driver release from NVIDIA for the GeForce series, along with two beta releases (100.14.03 and 100.14.06) and finally another legacy release (1.0-7185) for their older graphics cards. On the AMD side, however, there have been five Linux drivers this year with another seven expected by year's end. NVIDIA Corporation has no set in stone release cycle other than pushing out a new release when bug fixes or new features warrant an upgrade. We have come to expect a new Linux driver from NVIDIA every few months and it wasn't until last year that they had introduced public beta drivers. NVIDIA's FreeBSD and Solaris drivers follow a similar release schedule.

As far as the NVIDIA Linux driver itself goes, it is separated into independent x86 and x86_64 packages and no distribution-specific scripts are included with the mainstream driver. NVIDIA Corporation does not rely upon distribution vendors and community maintainers for allowing the end-user to generate distribution-specific packages, which AMD relies upon heavily.

So What Else? Random Remarks.

The ATI/AMD Linux community also has several assets, which include an unofficial BugZilla, an unofficial Wiki, a section on the Rage3D forums, and the Phoronix Forums. While the BugZilla and Wiki are unofficial, they are linked to from the AMD website and developers are known to browse the bug list from time to time.

On the NVIDIA side, there is an official section setup on the NvNews forums and an unofficial support and discussion area on the Phoronix Forums. At this time there is no public BugZilla for NVIDIA users.

While R200 product support still does exist in a driver branch after being discontinued in the fglrx 8.28 release, AMD has no plans to release an updated R200 class driver. AMD's belief behind this is the open-source community was given the needed specifications a number of years ago and the X.Org Radeon driver is reasonably well supported (except for TV-Out due to Macrovision).

If you're curious as to what Linux distributions the AMD developers use when working on these drivers, there is no single distribution other than matching the common choices of the Linux community. Matthew Tippett happens to be an obsessive-compulsive daily Ubuntu dist-upgrader tracking Ubuntu Gutsy Gibbon.

While the AMD beta program is closed for the public, deserving individuals are allowed to join the program. AMD is always looking for new distribution vendors to join this program with vendors being more than welcome to provide packaging scripts for their respective distribution. If you can provide a particular value to the beta testing cycle, let us know in the Phoronix Forums and we would be glad to pass along prospective names to AMD.

While AMD's Catalyst development cycle for both the Windows and Linux drivers is a bit more complicated than what we were allowed to share with you today, each AMD Linux "fglrx" driver release takes usually about eleven to twelve weeks from start to finish. With the development, validation, beta, and bake phases, there are always at least two releases being prepared. This rigid development cycle allows AMD to release updated drivers on a monthly basis while ensuring that each driver has been tested and contains more changes than just a simple version bump. It is also due to this structured development cycle why AMD generally cannot deliver same-month support for new kernels and X.Org releases.

If you have any additional questions on the AMD development cycle or would like to share your ATI/AMD experiences, check out the Phoronix Forums. Discuss this article in this thread.

Stay tuned to Phoronix as AMD should have some interesting things in the pipeline for later this year...


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-06-05 9:27 

注册: 2005-09-29 17:58
帖子: 394
送出感谢: 0 次
接收感谢: 0 次
反正下次买显卡坚决不买ATI的


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-06-05 10:05 
头像

注册: 2007-03-18 16:17
帖子: 639
地址: 汕尾
送出感谢: 0 次
接收感谢: 1
看不懂~~呵呵


_________________
感受Ubuntu!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-06-05 19:48 
头像

注册: 2007-04-23 17:40
帖子: 659
送出感谢: 0 次
接收感谢: 0 次
大哥,能不能用国语啊,什么鸟语看不懂。
我的也是ATI显卡,很是郁闷,还不如SiS的呢。


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-06-05 20:36 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
大哥,要我翻译一遍会死人的阿,再说又不是什么大不了的东西,看个大概即可。
要是我写的,会不用中文么?


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-06-05 21:15 
头像

注册: 2007-02-11 13:27
帖子: 887
送出感谢: 0 次
接收感谢: 0 次
什么时候要是能很流利轻松并且充满兴趣的看完它就好了


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2007-06-06 11:55 
头像

注册: 2006-09-21 14:28
帖子: 2376
送出感谢: 0 次
接收感谢: 0 次
zhuqin_83 写道:
大哥,要我翻译一遍会死人的阿,再说又不是什么大不了的东西,看个大概即可。
要是我写的,会不用中文么?


懒人一个。

应该概括成一句话或几句话中文。


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2007-06-07 11:31 

注册: 2007-06-04 21:06
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
大概意思是:以前ATI对于linux支持不好,但是现在ATI/AMD致力于改变这一状况。ATI每月发布新的linx和windows驱动版本,也就是说下月会发布fglrx8.38,期待包含xorg7.2的支持。而其竞争对手nVi07年只发布了两款针对linux的驱动。


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2007-06-07 11:44 

注册: 2007-06-04 21:06
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
ATI虽然按月发布新的驱动版本,但整个开发过程要3个月的时间,因此至少存在两条开发线,fglrx8.37发布时,fglrx8.38已经经过开发阶段正等待测试,同时fglrx8.39可能正在规划。这也时新的linux内核和xorg版本发布时ATI却不能支持的原因。


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2007-06-07 15:44 
头像

注册: 2006-08-28 23:00
帖子: 613
送出感谢: 0 次
接收感谢: 0 次
严重鄙视卖弄e文的人 :evil:


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2007-06-07 15:57 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
我哪儿卖弄了,又不是我写的。
转个帖子都被人骂,什么世道。


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2007-06-07 17:18 
头像

注册: 2006-09-21 14:28
帖子: 2376
送出感谢: 0 次
接收感谢: 0 次
我不是骂人。
是提个建议而已,能够做更好为什么不做呢?


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2007-06-07 17:21 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
因为我懒。


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2007-08-09 1:19 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
到底现在的进展怎么样?


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2007-08-09 1:32 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
缓慢进行中 8)


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 21 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译