LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hades

NVIDIA新驱动:173.1428 应该是为了FC14

[复制链接]
发表于 2010-11-7 16:49:16 | 显示全部楼层
我从F12至F14一直用如下方法,可以试试:
准备工作:
1、在www.nvidia.com网站上有针对 ... inux-x86-256.53.run
2、将下载后的驱动文件,copy到/home/***/的根目录下。
安装工作:
1、确认kernel-headers kernel-(PAE)devel kernel(-PAE),已经正确安装,且为同一个版本号。
可用如下方法查看:
$ rpm -qa |grep kernel

2、屏闭掉fedora预装的驱动,即:“nouveau驱动”,具体方法:
终端输入
# gedit /etc/modprobe.d/blacklist.conf
将nouveau拉入黑名单 在文件末行添加blacklist nouveau
将nvidiafb拉入白名单,即注释掉blacklist nvidiafb这一行.即将这一行修改为#blacklist nvidiafb
不知到 “将nouveau拉入黑名单 在文件末行添加blacklist nouveau” 在哪的看下面,即:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
#
# Syntax: driver name alone (without any spaces) on a line. Other
# lines are ignored.
#

# watchdog drivers
blacklist i8xx_tco

# framebuffer drivers
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist i810fb
blacklist cirrusfb
blacklist intelfb
blacklist kyrofb
blacklist i2c-matroxfb
blacklist hgafb
#blacklist nvidiafb ,,,,,,,,,,,,,,这里
blacklist rivafb
blacklist savagefb
blacklist sstfb
blacklist neofb
blacklist tridentfb
blacklist tdfxfb
blacklist virgefb
blacklist vga16fb
blacklist viafb
blacklist nouveau ,,,,,,,,,,,,,,,这里

# ISDN - see bugs 154799, 159068
blacklist hisax
blacklist hisax_fcpcipnp

# sound drivers
blacklist snd-pcsp

# I/O dynamic configuration support for s390x (bz #563228)
blacklist chsc_sch

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

3、修改Fedora13系统引导参数:gedit /boot/grub/grub.conf
在后面添加 rdblacklist=nouveau,注意:如果安装了Nvidia显卡驱动,系统虽然成功但总是不稳定,表现为一时出现停留在启动画面或屏闪不动的现象(如这台LENOVO thinkpadT410i),则要将上面内容,即:“rdblacklist=nouveau“变更为“nouveau.modeset=0“,以禁止 nouveau KMS 的使用。
(NOTE: IF this doesn’t seem to work for you, in step one, instead of “rdblacklist=nouveau”, try “nouveau.modeset=0″)

还请注意,如果电脑使用的是PAE的内核,则还需要在“nouveau.modeset=0“后面空一个格添加 vmalloc=256m 这个参数

4、还没完!如果截止到第3步,则无法启用Plymouth画面。要想启用,请按如下方式:
启用 Plymouth 图形化引导:NVIDIA 官方驱动本身不支持 KMS,所以只能在引导时指定使用 MESA 的驱动来达到图形化 Plymouth 的效果。
继续编辑 /boot/grub/grub.conf,在“kernel /vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root=/dev/mapper/volumeGroup-Root LANG=
zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet nouveau.modeset=0 vmalloc=256m“后面添加上“vga=0x0361” (361代表分辨率o 1280x800)

5、防止SElinux阻止安装新的nvidia驱动,即:降低selinux级别,避免selinux阻止加载nvidia驱动,命令如下:
#setsebool -P allow_execstack on

6、重启电脑,即电脑开机出现品牌logo画面后不断按ENTER键,进入grub设置,按 e键,进行编辑,在kernel行的末段加个3就可以了,按回车确定,按b启动。这种修改是临时的,再启动时还回到默认的运行级别 5。例如:
将kernel /vmlinuz-2.6.34.6-47.fc13.i686.PAE ro root=/dev/mapper/vg_hugh-lv_root rd_LVM_LV=vg_hugh/lv_root rd_LVM_LV=vg_hugh/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us rhgb quiet nouveau.modeset=0 vmalloc=256m vga=0x0361中去掉"nouveau.modeset=0 vmalloc=256m vga=0x0361",改为kernel /vmlinuz-2.6.34.6-47.fc13.i686.PAE ro root=/dev/mapper/vg_hugh-lv_root rd_LVM_LV=vg_hugh/lv_root rd_LVM_LV=vg_hugh/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us rhgb quiet 3
对了,3前面还有个空格啊。
此时电脑进入文本模式,
1、启动后,输入用户名,注意用root用户,以及密码。
2、进入/home/hejiang/下,运行sh NVIDIA-Linux****.run
3、按要求,安装驱动,然后reboot。
4、发现一切正常。OK了。
最后,请千万注意,或在yum update等方式升级中,对内核kernel进行了升级,则要重复第6步,在/home/hejiang/下直接运行“sh NVIDIA***.run -K”注意这里的K为大写,重新编译一下内核就可以了。然后重启,一切搞定。

再有,我曾对/etc/X11/下的xorg.conf进行了修改,如下:
我在该文件Section "Files"项下加入了:
    ModulePath      "/usr/lib/xorg/modules/extensions/nvidia"
    ModulePath      "/usr/lib/xorg/modules/drivers"
    ModulePath      "/usr/lib/xorg/modules"
   不知是否有用,但看了很多这些方法,均没提出这个。

另外,会发现,安装nvidia驱动后,Fn+home/end以调节屏幕亮度的功能失效的怎么办,如下:
For the latest proprietary drivers go to the NVIDIA Unix Drivers page. Several users have experienced unreliability when using various versions of the proprietary NVIDIA drivers (specifically v185 installed by Ubuntu 9.10 and v190 from NVIDIA). However NVIDIA linux driver v195 should work correctly. Remember to check official repository of your distribution before installing from proprietary scripts (see below). If drivers don't work, switch back uninstalling the driver. Try removing /etc/X11/xorg.conf if still doesn't work.
Backlight controls are not functional while running nVidia driver 195. They can be controlled by either changing brightness in a VT or adding the following to the "Devices" section of xorg.conf (tested on driver 195 beta under Ubuntu Lucid Alpha 3 and driver 195.36.24 on Fedora 12):
   Option "RegistryDwords" "EnableBrightnessControl=1"
Install on Fedora 12 from repository
The following has just been successfully tested on Fedora 12 (kernel 2.6.32.11-99.fc12.i686.PAE) and kmod-nvidia-PAE-195.36.15-1.fc12.2.i686. Rpm Fusion repository provide latest nvidia packages. Install the repository and the then install the driver using yum (# yum install kmod-nvidia-PAE). Put nouveau on the modules blacklist. For details check Rpm Fusion how-to. Activate backlight controls using xorg.conf trick shown above.
ThinkPads this chip may be found in

效果非常好。问题解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-7 17:14:38 | 显示全部楼层
[1.
root@Fedora hades]# rpm -qa |grep kernel
kernel-2.6.35.6-48.fc14.x86_64
kernel-devel-2.6.35.6-48.fc14.x86_64
abrt-addon-kerneloops-1.1.13-2.fc14.x86_64
kernel-headers-2.6.35.6-48.fc14.x86_64

2. SElinux=disable
3. blacklist.conf and grub.conf are the ture
4.lsmod

  1. [hades@Fedora ~]$ lsmod
  2. Module                  Size  Used by
  3. fuse                   61363  3
  4. ip6table_filter         1687  0
  5. ip6_tables             17481  1 ip6table_filter
  6. ebtable_nat             1999  0
  7. ebtables               21790  1 ebtable_nat
  8. ipt_MASQUERADE          2353  3
  9. iptable_nat             5018  1
  10. nf_nat                 20289  2 ipt_MASQUERADE,iptable_nat
  11. bridge                 70104  0
  12. stp                     2034  1 bridge
  13. llc                     4802  2 bridge,stp
  14. rfcomm                 67220  4
  15. deflate                 2143  0
  16. zlib_deflate           18639  1 deflate
  17. ctr                     3813  0
  18. camellia               18447  0
  19. sco                    17180  2
  20. bnep                   15390  2
  21. cast5                  15888  0
  22. rmd160                  7984  0
  23. l2cap                  51240  16 rfcomm,bnep
  24. crypto_null             2878  0
  25. ccm                     7799  0
  26. serpent                19133  0
  27. blowfish                8450  0
  28. twofish_x86_64          5247  0
  29. twofish_common         14366  1 twofish_x86_64
  30. xcbc                    2631  0
  31. cbc                     2953  0
  32. sha256_generic         10175  0
  33. sha512_generic          4788  0
  34. des_generic            16583  0
  35. cryptd                  7111  0
  36. aes_x86_64              7758  0
  37. aes_generic            26908  1 aes_x86_64
  38. ah6                     5788  0
  39. ah4                     5132  0
  40. esp6                    4943  0
  41. esp4                    5210  0
  42. xfrm4_mode_beet         2160  0
  43. xfrm4_tunnel            1955  0
  44. tunnel4                 2665  1 xfrm4_tunnel
  45. xfrm4_mode_tunnel       1895  0
  46. xfrm4_mode_transport     1455  0
  47. xfrm6_mode_transport     1519  0
  48. xfrm6_mode_ro           1308  0
  49. xfrm6_mode_beet         1969  0
  50. xfrm6_mode_tunnel       1996  0
  51. ipcomp                  2089  0
  52. ipcomp6                 2122  0
  53. xfrm_ipcomp             4305  2 ipcomp,ipcomp6
  54. xfrm6_tunnel            4009  1 ipcomp6
  55. tunnel6                 2516  1 xfrm6_tunnel
  56. af_key                 27035  0
  57. sunrpc                201180  1
  58. ipv6                  286249  39 ah6,esp6,xfrm6_mode_beet,xfrm6_mode_tunnel,ipcomp6,xfrm6_tunnel,tunnel6
  59. cpufreq_ondemand        9278  2
  60. acpi_cpufreq            7329  1
  61. freq_table              3955  2 cpufreq_ondemand,acpi_cpufreq
  62. mperf                   1481  1 acpi_cpufreq
  63. capi                   13283  0
  64. capifs                  3207  2 capi
  65. kernelcapi             34820  1 capi
  66. kvm                   257132  0
  67. uinput                  7368  0
  68. nvidia               8093110  26
  69. arc4                    1449  2
  70. ecb                     2119  2
  71. ath9k                  86039  0
  72. ath9k_common            5294  1 ath9k
  73. ath9k_hw              283002  2 ath9k,ath9k_common
  74. snd_hda_codec_idt      55579  1
  75. ath                     9505  2 ath9k,ath9k_hw
  76. snd_usb_audio          97743  2
  77. r852                   10070  0
  78. sm_common               4276  1 r852
  79. nand                   32055  2 r852,sm_common
  80. nvidiafb               38072  0
  81. snd_hda_intel          24399  2
  82. snd_hda_codec          86743  2 snd_hda_codec_idt,snd_hda_intel
  83. nand_ids                4258  1 nand
  84. mac80211              228732  2 ath9k,ath9k_common
  85. snd_hwdep               6392  2 snd_usb_audio,snd_hda_codec
  86. btusb                  15482  2
  87. snd_usbmidi_lib        18473  1 snd_usb_audio
  88. snd_seq                53791  0
  89. snd_pcm                80190  3 snd_usb_audio,snd_hda_intel,snd_hda_codec
  90. fb_ddc                  1623  1 nvidiafb
  91. nand_ecc                3936  1 nand
  92. iTCO_wdt               11256  0
  93. vgastate                5418  1 nvidiafb
  94. snd_rawmidi            21022  1 snd_usbmidi_lib
  95. snd_timer              19892  2 snd_seq,snd_pcm
  96. snd_seq_device          6191  2 snd_seq,snd_rawmidi
  97. mtd                    18231  2 sm_common,nand
  98. snd                    63968  19 snd_hda_codec_idt,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_usbmidi_lib,snd_seq,snd_pcm,snd_rawmidi,snd_timer,snd_seq_device
  99. tg3                   110866  0
  100. iTCO_vendor_support     2610  1 iTCO_wdt
  101. joydev                  9737  0
  102. i2c_i801               11088  0
  103. soundcore               6576  1 snd
  104. dell_laptop             6477  0
  105. dell_wmi                3323  0
  106. dcdbas                  8524  1 dell_laptop
  107. microcode              18548  0
  108. cfg80211              134709  4 ath9k,ath9k_common,ath,mac80211
  109. bluetooth              89276  9 rfcomm,sco,bnep,l2cap,btusb
  110. snd_page_alloc          7559  2 snd_hda_intel,snd_pcm
  111. rfkill                 17622  4 dell_laptop,cfg80211,bluetooth
  112. wmi                     8138  1 dell_wmi
  113. sdhci_pci               7871  0
  114. sdhci                  18464  1 sdhci_pci
  115. firewire_ohci          21170  0
  116. mmc_core               64113  1 sdhci
  117. firewire_core          45817  1 firewire_ohci
  118. crc_itu_t               1563  1 firewire_core
  119. nouveau               410336  0
  120. ttm                    55006  1 nouveau
  121. drm_kms_helper         25743  1 nouveau
  122. drm                   177972  3 nouveau,ttm,drm_kms_helper
  123. i2c_algo_bit            5205  2 nvidiafb,nouveau
  124. video                  21637  1 nouveau
  125. output                  2253  1 video
  126. i2c_core               26900  8 nvidia,nvidiafb,fb_ddc,i2c_i801,nouveau,drm_kms_helper,drm,i2c_algo_bit

复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-7 17:19:37 | 显示全部楼层
I use the fedora 14 x64 .
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-7 18:06:17 | 显示全部楼层
I install the driver :NVIDIA-Linux-x86_64-260.19.12.run .

and  the OS  so fast !!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-7 19:27:18 | 显示全部楼层
现在基本可以使用了。只是不习惯拼音呀,还得安装FCITX。

另外,想知道。FCITX最新版本是3.6.3吗?
有没有最新源码下载,哪里下载,谢谢。
回复 支持 反对

使用道具 举报

发表于 2010-11-7 20:30:22 | 显示全部楼层
我也一样在用x86_64 fedora14 也是同一个版本的nvidia。不用拼音,难道也用86五笔。IBUS输入法自带多种输入法。可以通过yum install安装,再通过对ibus输入法首选项进行添加就行了。而且ibus对永中office,crossover office下的IE、MSOFFICE以及QQ,AMSN都可以直接提供良好支持。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-7 21:34:13 | 显示全部楼层
Post by hj_mail;2118881
我也一样在用x86_64 fedora14 也是同一个版本的nvidia。不用拼音,难道也用86五笔。IBUS输入法自带多种输入法。可以通过yum install安装,再通过对ibus输入法首选项进行添加就行了。而且ibus对永中office,crossover office下的IE、MSOFFICE以及QQ,AMSN都可以直接提供良好支持。


如要安装五笔拼音呢 ,是哪个组件呀?
回复 支持 反对

使用道具 举报

发表于 2010-11-8 07:59:42 | 显示全部楼层
fcitx好像在google
http://code.google.com/p/fcitx/downloads/list
不过可以试试svn
svn checkout http://fcitx.googlecode.com/svn/trunk/ fcitx-read-only
顺便问一下装n卡驱动后特效能开么?
回复 支持 反对

使用道具 举报

发表于 2010-11-8 09:52:02 | 显示全部楼层
Post by hades;2118819
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Nov  7 15:33:44 2010
installer version: 1.0.7

PATH:
/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local
/sbin:/usr/sbin:/sbin:/home/hades/bin

option status:
  license pre-accepted               : false
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : true
  no ncurses color                   : false
  query latest version               : false
  OpenGL header files                : true
  no questions                       : false
  silent                             : false
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : false
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  force compat32 tls                 : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  compat32 install chroot            : (not specified)
  compat32 install prefix            : (not specified)
  compat32 install libdir            : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : (not specified)
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                : (not specified)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.28.
ERROR: The Nouveau kernel driver is currently in use by your system.  This
       driver is incompatible with the NVIDIA driver, and must be disabled
       before proceeding.  Please consult the NVIDIA driver README and your
       Linux distribution's documentation for details on how to correctly
       disable the Nouveau kernel driver.
WARNING: The modprobe configuration file to disable Nouveau,
         /etc/modprobe.d/nvidia-installer-disable-nouveau.conf, is already
         present.  Please be sure you have rebooted your system since that file
         was written.  If you have rebooted, then Nouveau may be enabled for
         other reasons, such as being included in the system initial ramdisk or
         in your X configuration file.  Please consult the NVIDIA driver README
         and your Linux distribution's documentation for details on how to
         correctly disable the Nouveau kernel driver.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.


this is the resault ,

what will I  do now ?


  license pre-accepted               : false  没接受协议啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-8 11:25:48 | 显示全部楼层
Post by oddhornedant;2118916
fcitx好像在google
http://code.google.com/p/fcitx/downloads/list
不过可以试试svn
svn checkout http://fcitx.googlecode.com/svn/trunk/ fcitx-read-only
顺便问一下装n卡驱动后特效能开么?

特中效果是指透明这些吗?

可以使用了。

另外,还要用260.1912的驱动,173的那个不行,安装没问题,但桌面运行特别慢,安装260.1912的就可以正常了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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