糟糕的 Nvidia Linux 驱动?
汗,是不是写错了? Nvidia 的 Linux 驱动不是一直广受赞誉,印象中 ATI 的 Linux 驱动才一直是很糟糕。
但是现在状况似乎有些变化……
如果你正在 Linux 上使用一块 Nvidia 的比较新的显卡,比如 8000 和 9000 系列,也许你遇到下面这些问题:
- Firefox 在浏览某些网站的时候,拖动起来非常卡 ( 比如: http://www.tuaw.com ) ;切换标签页的时候也很卡。
- 调整应用程序窗口尺寸的时候,会非常卡。
- KDE 4/ Qt 4 程序卡得基本没法用。
- 虽然可以流畅的跑 Compiz,但是某些特效会很卡,包括缩放窗口。
嗯嗯,也许你一直抱怨 Firefox 的性能不好,KDE 4 很慢,其实都不是,罪魁祸首是 Nvidia 的 Linux 驱动……
不管是 169、173,还是最新的 177 beta 驱动,都在 8000 和 9000 系列显卡上表现出很糟糕的 2D 性能。3D 性能还是很完美的,所以你可以流畅的玩 Doom,但是却不能流畅的浏览网页。
详细的情况可以参考 Nvnews 论坛的帖子:
nVidia 8000/9000 Series Performance Issues
从上面的帖子可以看出,受难的人真不少,甚至还波及到了某些 7000 和 GT200 系列显卡。
暂时的缓解方法
当然最好的情况就是 Nvidia 能够听到 Linuxer 的心声,在新版的驱动中修正这个严重的 bug,目前只好等待。闭源驱动的弱点,充分的展现了出来……
国外的网友尝试出一些缓解上面这些问题的设置,如果你正在被上面的问题所困扰,可以尝试一下,效果在不同的显卡上差异很大,但是总体上都会有不少的改善。
首先,安装最新的 177 beta 驱动,然后尝试运行:
如果你正在使用 177 的驱动并且正在运行着桌面,那么可以直接在终端窗口运行此命令,不需要重启 X。
我的显卡是 8600GTS,运行上面的命令之后,窗口缩放的性能变得可以接受了,如果对你也有效的话,可以把上面的命令添加到 ~/.xinitrc 中。
另外,还可以在 xorg.conf 中的 Section "Device" 中加入:
Option "OnDemandVBlankInterrupts" "True"
然后重启 X,在我这里,重启 X 后,Firefox 拖动网页卡的现象大大缓解了。
如果你想比较流畅的运行 KDE 4,那么可以参考一下:
http://techbase.kde.org/User:Lemma/GPU-Performance
上面也列出了一些 8000 之后显卡支持的 Option 选项,可以尝试打开后看看效果:
Options that are said to work well on 8xxx cards but are untested (by me)
- Option "RenderAccel" "True"
- enabled by default
- Option "TripleBuffer" "True"
- Enables triple buffering. "Decreases the time an application stalls while waiting for vblank events, but increases latency slightly" (NVIDIA Readme)
- Option "DamageEvents" "True"
- Recommended by NVIDIA if running composite+glx, increases performance, enabled by default
- Option "UseCompositeWrapper" "True"
- Enables the X server's composite wrapper instead of the builtin one.
- Option "AllowIndirectPixmaps" "True"
- Could improve hardware rendering on G80+ cards with more than 256 MB of video memory.
- Option "BackingStore" "True"
- Cache overlayed areas in case they get redisplayed later
- Option "PixmapCacheSize" "200000"
- allocate said number of pixels for pixmap caches
也可以定期关注一下前面的 Nvnews 帖子,上面也会不断更新一些最新的解决办法,你也可以把你的显卡型号,和上面这些措施的效果 post 到上面去分享一下。
Nvidia or ATI?
我手上没有 ATI 显卡,不知道 ATI 显卡的情况会好多少,不过如同上面 Nvnews 帖子的作者所说,他帮朋友在 Linux 上装了块 ATI 显卡,并且 “... the performance was amazing all round. 2D/3D Linux/Windows, everything”。
看来,现在情况确实有些变化,虽然 Nvidia 显卡在 Linux 上的 3D 性能有一些优势,但是毕竟 2D 性能才是日常应用的关键,并且 ATI 的驱动也在不断进步,3D 性能不济的状况也比以前大大改善了。
如果你正要装机运行 Linux,并且不会在 Linux 上天天玩 3D 游戏的话,那么至少在 Nvidia 修正这个 bug 前, ATI 是比 Nvidia 更好的选择。
2008年11月12日 20:07
我买了个烂显卡Nvidia FX5200,一直在用,慢得不行,后来发现主板集成的显卡是Intel845G,于是马上拔了用集成的,结果快了很多,而且本来不能用mplayer流畅播放的720p的视频,居然可以流畅播放了!其实不玩什么3D游戏,intel的显卡也强烈推荐,驱动做的很不错。
2008年11月13日 01:40
是啊,Intel 那驱动非常好,可惜偶的主板没有集成显卡。本想用 nvidia 显卡跑跑 compiz,结果现在 compiz 也不经常用……
现在只有期待 nvidia 的 180 驱动了。
2009年4月19日 01:15
看到这里我也开始怀疑nvidia驱动了。
我的firefox在播放flash时总是瞬间消失,最近关闭有mplayerplugin的网页时也会这样。
2009年4月19日 05:08
@froons: 好在最近的 180 驱动挺争气,驱动更新频率也很高,现在 nvidia 驱动比当初好多了。
firefox 的 crash 问题我也碰到过,flash 的嫌疑很大。
2009年4月19日 17:48
@galeki: 可惜我的显卡是96xx的,这两三年只更新了两三次,呵
2009年4月23日 02:02
@froons: 同情一下,几年前用 ATI 的时候也有过这种感受。
2022年8月20日 16:40
I appreciate your work , thanks for all the informative blog posts. 핑카지노주소
2022年8月23日 16:38
Aw, this is an incredibly nice post. In thought I would like to put in place writing like this moreover – spending time and actual effort to create a good article… but exactly what do I say… I procrastinate alot through no indicates seem to get something accomplished. 온라인바카라
2022年8月26日 03:27
Wow! Thank you! I always wanted to write on my site something like that. Can I include a portion of your post to my website? 온라인바카라
2023年6月04日 15:11
certainly like your web-site but you have to check the spelling on quite a few of your posts. Many of them are rife with spelling problems and I in finding it very bothersome to inform the truth however I will definitely come again again. 手機回收
==================
Thank you for the sensible critique. Me & my cousin were just preparing to do some research on this. We grabbed a book from our area library but I think I learned more from this post. I am very glad to see such fantastic info being shared freely out there… 電腦回收價格
===================
You have observed very interesting details ! ps decent site. 翻新apple
====================
You completed various good points there. I did a search on the theme and found the majority of folks will consent with your blog. 興趣班英文
2023年6月18日 01:28
I’m truly enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a developer to create your theme? Fantastic work! 花藝課程
2023年6月28日 17:13
obviously like your website but you have to test the spelling on several of your posts. Many of them are rife with spelling issues and I find it very troublesome to inform the truth then again I’ll certainly come again again. cosmetics
======================
Some really interesting details you have written. Aided me a lot, just what I was looking for : D. makeup
======================
Can I simply say what a relief to seek out someone who truly is aware of what theyre speaking about on the internet. You definitely know tips on how to deliver an issue to light and make it important. Extra folks have to learn this and understand this facet of the story. I cant consider youre not more widespread since you definitely have the gift. beauty
======================
you employ a wonderful weblog here! do you need to cook some invite posts on my small blog? skincare
=======================
Have you thought about introducing some social bookmarking buttons to these blog posts. At least for facebook. lotions
=======================
well, if you really want to be healthy, i believe that veggan foods are the best ‘ beauty
========================
Your blog would increase in ranking if you post more often.—’, style
=========================
I must say, i believed this was a pretty fascinating browse when it involves this subject. Liked the material cosmetics
==========================
Hmm it appears like your blog ate my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I too am an aspiring blog blogger but I’m still new to everything. Do you have any points for beginner blog writers? I’d genuinely appreciate it. beauty
==========================
Nice post . Thanks for, writing on my blog page mate. I will message you some time! I didnt know that! cologne
2023年7月27日 17:32
Really Curious site this is.. I really Enjoy a lot reading your Blog.. I will Bookmark your site for more reference. 電腦回收
===================
It’s a shame you don’t have a donate button! I’d without a doubt donate to this superb blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to new updates and will share this site with my Facebook group. Chat soon! iphone 回收
===================
I still can not quite think that I could often be one of those studying the important suggestions found on your website. My family and I are sincerely thankful on your generosity and for giving me potential to pursue our chosen profession path. Many thanks for the important information I acquired from your site. 課外活動
====================
After I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a remark is added I get four emails with the same comment. Is there any manner you may remove me from that service? Thanks! 花藝課程
=====================
Thanks for taking the time to line all of this out for people like us. This particular write-up was in fact quite useful if you ask me. 花藝設計
======================
The the next occasion I read a blog, I really hope who’s doesnt disappoint me around this one. What i’m saying is, I know it was my substitute for read, but I actually thought youd have something fascinating to say. All I hear is often a few whining about something you could fix if you ever werent too busy searching for attention. 插花技巧
=====================
An fascinating discussion may be worth comment. I think that you should write regarding this topic, it will not often be a taboo subject but generally persons are inadequate to talk on such topics. To another. Cheers 插花課程
2023年8月03日 22:37
Generally I do not read post on blogs, but I would like to say that this write-up very forced me to try and do so! Your writing style has been surprised me. Thanks, quite nice post. https://lightinfitness.com
2023年8月21日 20:30
There are many things to do in Surat Thani Province - the largest of the southern provinces (changwat) of Thailand. It lies on the western shore of the Gulf of Thailand. Surat Thani means 'city of good people', a title given to the city by King Vajiravudh (Rama VI); Surat Thani is therefore the sole province in Southern Thailand for which the native name is in the Central Thai language. Geographically, the centre of the province is the coastal plain of the Tapi River, mostly grassland interspersed with rubber trees and coconut plantations. In the west are the limestone mountains of the Phuket range which are mostly covered with forest. Khao Sok National Park is found there. To the east the hills of the Nakhon Si Thammarat (or Bantat) mountain range start to rise, protected in the Tai Rom Yen National Park. The total forest area is 3,764 km2 (1,453 sq mi) or 28.8 percent of provincial area.
2023年8月26日 20:59
Found this on Google and I’m happy I did. Interesting article. digital alliance
2023年8月30日 01:41
I precisely had to thank you so much again. I do not know what I might have handled in the absence of those recommendations shown by you regarding such subject matter. It had been the distressing dilemma in my opinion, however , taking note of your professional style you resolved that took me to weep for gladness. Now i’m grateful for this service and trust you recognize what an amazing job you are always putting in teaching some other people thru your blog post. I know that you haven’t got to know all of us. 강남안마
2023年9月03日 16:00
Howdy are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you need any html coding knowledge to make your own blog? Any help would be really appreciated! Australian Association of Franchisees