LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1068|回复: 9

为什么不要安装第三方驱动----by Xorg's developer.

[复制链接]
发表于 2008-6-14 23:08:33 | 显示全部楼层 |阅读模式
  1. [b]Attention: Proprietary video driver users (ATI, Nvidia, etc.)[/b]
  2.     [list]
  3. [*][i]From[/i]: "Mike A. Harris" <mharris redhat com>
  4. [*][i]To[/i]: For testers of Fedora Core development releases        <fedora-test-list redhat com>, fedora-devel-list redhat com
  5. [*][i]Cc[/i]:
  6. [*][i]Subject[/i]: Attention: Proprietary video driver users (ATI, Nvidia, etc.)
  7. [*][i]Date[/i]: Wed, 22 Feb 2006 20:07:12 -0500[/list]      There have been a number of bugs reported in Red Hat bugzilla against
  8. X which have recently been tracked down to 3rd party video drivers being
  9. the culprit behind the problem the user was experienced.  In many of the
  10. cases however, it wasn't obvious that the 3rd party drivers were at
  11. fault because the user was actually using the Red Hat supplied drivers,
  12. and not using the 3rd party driver that they had previously installed.
  13. Since I've wasted at least 6-8 hours in the last month diagnosing issues
  14. of this nature which have later turned out to be caused by proprietary
  15. drivers having been "installed" on the system, wether they were actually
  16. being *used* or not, I thought I should write a short useful
  17. informational email on the topic to the lists to try and inform people
  18. of some pitfalls you may encounter if you even _install_ 3rd party
  19. video drivers.
  20. Both ATI and Nvidia, and perhaps even other 3rd party drivers out there
  21. come in some form of tarball or equivalent form from the particular
  22. vendor.  Most users seem to favour the hardware vendor supplied drivers
  23. directly, rather than using more sanely packaged 3rd party packages that
  24. contain the same drivers.  This is very unfortunate, because installing
  25. these 3rd party tarball driver installations is very harmful to your
  26. clean OS installation.
  27. Both ATI and Nvidia's proprietary video driver installation utilities
  28. replace the Red Hat supplied libGL library with their own libGL.
  29. Nvidia's driver installs a replacement libglx.a X server module,
  30. removing the Red Hat supplied X.Org module in the process.  ATI's
  31. driver may or may not replace libglx.a with it's own, I haven't checked
  32. (but if someone could confirm that, I'd appreciate knowing for certain).
  33. Once you have either of these drivers installed on your system, you
  34. can no longer use DRI with any video card.  So if you install the
  35. ATI fglrx driver, while you should still be able in theory at least
  36. to use the Red Hat supplied radeon driver, you may no longer be able
  37. to use DRI with the radeon driver, because ATI's driver has blown away
  38. critical files that come with the OS that are needed for proper
  39. operation.
  40. If you install Nvidia's driver, and later decide to install an ATI
  41. card, and still have Nvidia's driver installed, bang - you will not
  42. be able to get Red Hat supplied DRI 3D acceleration to work.  You must
  43. remove Nvidia's driver completely from your hard disk, and completely
  44. reinstall all of the xorg-x11 and mesa packages, and ensure they are
  45. all intact by using:
  46. rpm -Va
  47. Another problem being reported by a few people, is they are unable to
  48. get DRI to work because mesa libGL is looking for the DRI drivers in
  49. the wrong directory.  The claim is that mesa is looking for the DRI
  50. drivers in /usr/X11R6/lib/modules.
  51. On a fresh OS install however, my findings are that mesa's libGL very
  52. much is not looking in /usr/X11R6 for it's modules.  It is looking in
  53. the proper location of /usr/lib/dri for the modules.  Why then is it
  54. looking in the wrong place on some systems?
  55. Answer:  Because of fglrx having been installed.  If you have had a
  56. previous OS release installed, and have installed ATI's fglrx driver
  57. from tarball, it has removed the OS supplied libGL et al and made
  58. backup copies of them aparently.  Now you do an OS upgrade which works
  59. properly and installs everything in the right place.  Then you uninstall
  60. ATI's fglrx with whatever script or whatever they supply, and now you
  61. try to run X, and get no DRI!
  62. Well, since you don't have fglrx installed at all, it must be our
  63. OS at fault right!  Wrong.  the uninstall script has put the OLD
  64. libGL it backed up (from FC4 or whatever) back in the system,
  65. overwriting the new FC5 supplied libGL in the process, and since
  66. ATI's fglrx driver is DRI based as well, it looks for the DRI
  67. modules in the wrong place now.
  68. Conclusions:
  69. If you are going to use any 3rd party proprietary drivers, please do
  70. yourself and everyone else a huge favour, and at least get your
  71. drivers from reputable 3rd party rpm package repositories such as
  72. livna.org which packages both the nvidia and ati proprietary drivers
  73. in rpm packages which install the drivers sanely without overwriting
  74. Red Hat/Fedora supplied files.  These 3rd party packages install
  75. the files in alternative locations, and configure the X server et al.
  76. appropriately so that everything works.  Since they do not blow
  77. away OS supplied files, you can use the OS supplied drivers still
  78. by reconfiguring xorg.conf.  Also, if you decide to uninstall the
  79. 3rd party drivers via rpm, they just go away and cause no further
  80. harm to the system.  So PLEASE USE THIRD PARTY RPM PACKAGES if you
  81. _must_ use 3rd party drivers.  It helps create world peace.
  82. If you choose to install ATI or Nvidia tarball/whatever drivers
  83. directly from ATI/Nvidia (or any other vendor for that matter), your
  84. system is 100% completely and totally unsupported.  Even if you are
  85. using _our_ drivers, your 3rd party driver installation may have
  86. blown away our libGL, our libglx.a or any other files that have been
  87. supplied by our OS.  As such, your system is not supported.
  88. For those who encounter a bug of any kind whatsoever while using
  89. 3rd party video drivers, completely remove the 3rd party drivers
  90. from your system, and then perform a full "yum update" to ensure
  91. you have the latest Fedora Core supplied X packages installed.  After
  92. doing this, do an "rpm -Va" of your whole system, in particular the
  93. xorg-x11-*, mesa-* and lib* packages.  If there are any discrepancies
  94. found in any of the Fedora supplied packages, in particular in libGL,
  95. or the X server packages, remove them and reinstall them and reverify
  96. that the files installed on your system are the ones shipped by
  97. Fedora.
  98. If you are able to reproduce the problem you are having after having
  99. performed these steps, and having ensured that you are neither using
  100. 3rd party drivers, nor even have them installed, then feel free to
  101. file a bug report in bugzilla.
  102. By doing this small amount of pre-diagnosis of your own system if
  103. you are using 3rd party drivers, you will save yourself a lot of
  104. headaches, and will save other people, including developers such
  105. as myself from wasting endless hours trying to diagnose problems
  106. which turn out to be bogus.  Hours which could have been spent
  107. fixing legitimate bugs that are present in bugzilla.
  108. As an additional note - if anyone is using proprietary drivers and
  109. has any problems which they believe might actually be a bug in
  110. Xorg and not in their proprietary driver - file such bugs directly
  111. in X.Org bugzilla.  X.Org has an nVidia (closed) component specifically
  112. for the proprietary driver, and Nvidia engineers get those bugs and
  113. will investigate them over time.
  114. Anyhow, I hope this helps people understand at least some of the
  115. problems that can occur when you opt to using 3rd party drivers,
  116. present some alternatives, and to help people diagnose their own
  117. problems which might be caused by having installed 3rd party
  118. drivers.
  119. Thanks for reading.
  120. TTYL
  121. P.S. Feel free to forward this email on to any other lists or
  122. people whom you think might benefit from it.  Also, if anyone thinks
  123. this information would be useful to have on the Fedora Wiki or
  124. somewhere else, feel free to copy my email into a wiki page, or
  125. paraphrase, etc.
  126. --
  127. Mike A. Harris,
  128. Systems Engineer, X11 Development team,
  129. Red Hat Canada, Ltd.
复制代码

上面是 官方的开发人员对在 系统上安装第三方驱动程序的忠告.我觉得很好,所以发过来,,现存在这里,大家现凑和着看看,,谁有时间的话,可以帮忙翻译一下重点段落.
发表于 2008-6-15 01:05:20 | 显示全部楼层
基本上是扯淡。。。。不用闭源驱动, compiz都没法用。。。特指Nvidia
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-15 12:38:34 | 显示全部楼层
Post by biAji;1861945
基本上是扯淡。。。。不用闭源驱动, compiz都没法用。。。特指Nvidia
兄弟此言诧异,其实文章中说,可以使用闭源的lvna的驱动就很好阿,我不知道它们有没有N卡的驱动,而且人家也没说不让用阿,只不过推荐 使用rpm包的形式来安装驱动而已,再说人家是X的开发者,怎么也有些发言权吧,

直言莫怪....
回复 支持 反对

使用道具 举报

发表于 2008-6-15 15:23:08 | 显示全部楼层
Post by Prife;1862103
兄弟此言诧异,其实文章中说,可以使用闭源的lvna的驱动就很好阿,我不知道它们有没有N卡的驱动,而且人家也没说不让用阿,只不过推荐 使用rpm包的形式来安装驱动而已,再说人家是X的开发者,怎么也有些发言权吧,

直言莫怪....




嗯,文章很大一部分是在说闭源导致的不良影响。正如你标题所宣示的“为什么不要安装第三方驱动”

ati对驱动进行开源之后的新开源驱动已经能比较好的支持compiz。而Nvidia在这方面明显慢了很多。这也正是Mike这篇文章里怨念的来源。
回复 支持 反对

使用道具 举报

发表于 2008-6-19 13:17:08 | 显示全部楼层
其实作者的意思是要大家明白,某些问题是因为redhat提供的驱动和第三方驱动的默认安装路径和关联不一样所导致的,并且还会影响到一些周遍一些软件(比如libGL,mesa,dri等),所以在你反复安装升级这两种驱动后,反而有可能越来越糟。所以在安装第三方驱动时需要谨慎。
回复 支持 反对

使用道具 举报

发表于 2008-6-19 14:15:32 | 显示全部楼层
对nvidia linux的支持我已经很满意,基本跟着核心走。我要做的仅仅是买一裸机和一根网线。力所能及地参与和回馈开源社区,是应该的,不过不勉强,无强制(就像捐款),各自有各自的出发点和目标;当然,中国人更多是“拿来”主义...
回复 支持 反对

使用道具 举报

发表于 2008-6-19 19:27:51 | 显示全部楼层
ATI的开源驱动已经支持很高的显卡了,效率很高。而且官方驱动也不能叫闭源驱动,应该是半开源驱动
回复 支持 反对

使用道具 举报

发表于 2008-6-19 21:29:08 | 显示全部楼层
Post by biAji;1862198
嗯,文章很大一部分是在说闭源导致的不良影响。正如你标题所宣示的“为什么不要安装第三方驱动”

ati对驱动进行开源之后的新开源驱动已经能比较好的支持compiz。而Nvidia在这方面明显慢了很多。这也正是Mike这篇文章里怨念的来源。


从驱动来看就知道nvidia比ati好不少了.看nvidia的驱动从来不落后多少.全系列的卡对Linux支持良好.效能不错.

看ati.说是开源.其实就像某blog里所说的.只是不想在Linux里投资研发或没能力研发.拼不过nvidia了才来玩开源.很悲哀的举动.
回复 支持 反对

使用道具 举报

发表于 2008-6-19 22:02:35 | 显示全部楼层
Post by zhong;1864320
从驱动来看就知道nvidia比ati好不少了.看nvidia的驱动从来不落后多少.全系列的卡对Linux支持良好.效能不错.

看ati.说是开源.其实就像某blog里所说的.只是不想在Linux里投资研发或没能力研发.拼不过nvidia了才来玩开源.很悲哀的举动.


没想到你也这样说。ATI又不是不开发官方驱动了,开源驱动是对开源社区的支持,争执了n年的问题,你能否认现在ATI的驱动和比原来不是一个天上一个地下?现在的驱动和nvidia的驱动差哪里了?opengl性能?ATI本来opengl性能就不如nv的,windows上版本也是如此,D3D性能才能超过,自从7.*驱动之后,opengl性能有很大提升,你敢说是没有投入精力?到目前,opengl性能不比nv的差了好吧。现在ATI在linux上驱动和windows上是同步发布的,甚至先于windows版本,每个月一次,不要引发争端。nvidia不开源是nv还没有想通。人云亦云
回复 支持 反对

使用道具 举报

发表于 2008-6-19 22:54:56 | 显示全部楼层
Post by jarryson;1864336
没想到你也这样说。ATI又不是不开发官方驱动了,开源驱动是对开源社区的支持,争执了n年的问题,你能否认现在ATI的驱动和比原来不是一个天上一个地下?现在的驱动和nvidia的驱动差哪里了?opengl性能?ATI本来opengl性能就不如nv的,windows上版本也是如此,D3D性能才能超过,自从7.*驱动之后,opengl性能有很大提升,你敢说是没有投入精力?到目前,opengl性能不比nv的差了好吧。现在ATI在linux上驱动和windows上是同步发布的,甚至先于windows版本,每个月一次,不要引发争端。nvidia不开源是nv还没有想通。人云亦云


咳..我没说它们是一个天一个地.只是说..发展到今天.还是nvidia好点.
其实这方面用户没必要去争论什么.喜欢用啥就用啥去
像显卡驱动这种东西.我更偏向厂家自己出力研发.只要好跟得上.开不开源意义不大......
某blog的观点我是认同.不是人云亦云.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表