[分享]NVidia最新100.14.19版驱动已解决黑色窗口(Black Window)的Bug,及性能优化

各种窗口管理器和美化相关
回复
cleven
帖子: 18
注册时间: 2005-11-17 9:25

[分享]NVidia最新100.14.19版驱动已解决黑色窗口(Black Window)的Bug,及性能优化

#1

帖子 cleven » 2007-09-22 23:04

为了照顾一些和我一样菜的菜鸟,特发此帖。已经知道的就飘过吧。

之前的NVidia驱动在运行Beryl或Compiz-Fusion时,打开数个窗口后,就会有一些窗口变成黑色(标题栏还在,但是窗口内部区域全部是黑色);如果把这个变黑的窗口最小化再还原,又会显示正常。这个早已经确认是NVidia的Bug,但是一直没修复。有一些替代的方法可以解决这个Bug,但是会造成性能下降。
我一直在关注此事,因为老变黑就没法用了。现在终于解决了,大家安装最新的100.14.19版本驱动即可!源里暂时没有这个驱动,大家参考这个贴子手动安装:
[分享]刚搞定Nvidia显卡驱动安装:post-439020.html

官方驱动说明下载页面:http://www.nvidia.com/object/linux_disp ... 14.19.html

安装好后如果没有问题了,可以参考这篇文章进行一下3D性能优化:http://wiki.compiz-fusion.org/Hardware/NVIDIA

下面是我的优化配置和简单的注释:
# For NVIDIA's platform to function correctly, you must 32 bit ARGB GLX Visuals
# 这个选项是N卡必须的
Option "AddARGBGLXVisuals" "True"
# This option is not really needed with newer drivers as it is enabled by default at 9746 and newer.
# 9746版本以下的驱动才需要,以上的驱动默认已打开
Option "RenderAccel" "True"
# This option helps performance. It is currently incompatible with SLI and MultiGPU modes.
# 改善性能,但是不兼容SLI和MultiGPU
Option "DamageEvents" "True"
# Use this option with caution as it may not work on all systems.
# 如果出问题,就把本优化项去掉
Option "UseEvents" "False"
# Do NOT use this option if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV.
# 如果你的显存小于128M而且在nvidia-settings程序中为OpenGL和XV两者打开了Sync2Vblank,就不要使用本选项
Option "TripleBuffer" "True"
#Use this options with caution as it may not work on all systems, especially with 6 series GeForce cards (it is known to cause freezes with compiz) but give it a try because it helps performance. It can also break Xinerama.
# 在6系列显卡上不要打开本选项,其他显卡打开看看能不能改善性能
# Option "BackingStore" "True"
# 启动xserver时不显示NVidia的Logo
Option "NoLogo"

100.14.19驱动的释放说明声称此版本的性能得到了加强,并解决了和Xorg的兼容性问题,现在看来确实如此,现在Compiz的速度确实快了很多。不过在使用过程中还是偶尔碰到系统被暂时锁死的情况,只有鼠标能动,几秒后又会恢复。不知道是什么原因,哪位知道的告诉一声。
echo2008
帖子: 26
注册时间: 2007-09-22 9:17

#2

帖子 echo2008 » 2007-09-23 10:23

sh NVIDIA-Linux-x86-100.14.19-pkg1.run
用这个命令安装j结果是
sh: Can't open NVIDIA-Linux-x86-100.14.19-pkg1.run
怎么办呢
头像
wyg1258
帖子: 654
注册时间: 2006-09-12 19:44
来自: whu

#3

帖子 wyg1258 » 2007-09-23 10:42

我可怜的 400
linux 学习记录 你的 我的 大家的

http://wyg1258.cublog.cn
头像
yegle
帖子: 133
注册时间: 2007-04-28 18:15

#4

帖子 yegle » 2007-09-27 20:23

echo2008 写了:sh NVIDIA-Linux-x86-100.14.19-pkg1.run
用这个命令安装j结果是
sh: Can't open NVIDIA-Linux-x86-100.14.19-pkg1.run
怎么办呢
chmod +x NVIDIA-Linux-x86-100.14.19-pkg1.run
然后./NVIDIA-Linux-x86-100.14.19-pkg1.run
peyao
帖子: 11
注册时间: 2007-09-15 10:55
联系:

#5

帖子 peyao » 2007-09-27 20:58

cool!终于解决烦人的问题了!
头像
gdzhljw
帖子: 314
注册时间: 2007-05-19 23:18
来自: 广东珠海

#6

帖子 gdzhljw » 2007-10-03 20:56

感谢LZ!
头像
qkthomas
帖子: 503
注册时间: 2006-12-16 22:05
来自: 肇庆

#7

帖子 qkthomas » 2008-05-03 19:50

# Do NOT use this option if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV.
# 如果你的显存小于128M而且在nvidia-settings程序中为OpenGL和XV两者打开了Sync2Vblank,就不要使用本选项
楼主你这段翻译错了,他是叫你使用这个选项的话就要打开开sync to vblank(垂直同步)
dakuai_lv
帖子: 17
注册时间: 2008-10-26 10:08

Re: [分享]NVidia最新100.14.19版驱动已解决黑色窗口(Black Window)的Bug,及性能优化

#8

帖子 dakuai_lv » 2008-12-26 23:15

# For NVIDIA's platform to function correctly, you must 32 bit ARGB GLX Visuals
# 这个选项是N卡必须的
Option "AddARGBGLXVisuals" "True"
# This option is not really needed with newer drivers as it is enabled by default at 9746 and newer.
# 9746版本以下的驱动才需要,以上的驱动默认已打开
Option "RenderAccel" "True"
# This option helps performance. It is currently incompatible with SLI and MultiGPU modes.
# 改善性能,但是不兼容SLI和MultiGPU
Option "DamageEvents" "True"
# Use this option with caution as it may not work on all systems.
# 如果出问题,就把本优化项去掉
Option "UseEvents" "False"
# Do NOT use this option if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV.
# 如果你的显存小于128M而且在nvidia-settings程序中为OpenGL和XV两者打开了Sync2Vblank,就不要使用本选项
Option "TripleBuffer" "True"
#Use this options with caution as it may not work on all systems, especially with 6 series GeForce cards (it is known to cause freezes with compiz) but give it a try because it helps performance. It can also break Xinerama.
# 在6系列显卡上不要打开本选项,其他显卡打开看看能不能改善性能
# Option "BackingStore" "True"
# 启动xserver时不显示NVidia的Logo
Option "NoLogo"

100.14.19驱动的释放说明声称此版本的性能得到了加强,并解决了和Xorg的兼容性问题,现在看来确实如此,现在Compiz的速度确实快了很多。不过在使用过程中还是偶尔碰到系统被暂时锁死的情况,只有鼠标能动,几秒后又会恢复。不知道是什么原因,哪位知道的告诉一声。[/quote]


请问一下这个是在哪里配置啊??是不是反它写进那/etc/x11/xorg.conf里面啊?
回复