LinuxSir.cn,穿越时空的Linuxsir!

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

Gentoo2006是否支持PCI-E的显卡

[复制链接]
发表于 2006-4-10 00:06:12 | 显示全部楼层 |阅读模式
请大家帮帮忙吧
我的nvidia6400 go (PCI-E)
驱不上了
怎么解决阿?
发表于 2006-4-10 08:49:31 | 显示全部楼层
内核里pci-E的支持编进去了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 10:50:06 | 显示全部楼层
还是驱不上啊
能够启动kde
但是分辨率只有640×480
退出x之后
看到有一行错误是:
(EE) Failed to initialize GLx extension (NVIDIA X driver not found)
还说驱动找不到
我也经把nvidia的驱动编译进内核了
启动时也自动挂载了
请大哥帮帮忙
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 10:50:54 | 显示全部楼层
pci-e也编译进去了
回复 支持 反对

使用道具 举报

发表于 2006-4-10 11:45:37 | 显示全部楼层
用官方驱动
emerge nvidia-glx(好像是这个吧?)
回复 支持 反对

使用道具 举报

发表于 2006-4-10 14:51:26 | 显示全部楼层
livecd能进X吗?
回复 支持 反对

使用道具 举报

发表于 2006-4-10 15:06:14 | 显示全部楼层
Gentoo2005支持,2006不会不支持吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 20:55:45 | 显示全部楼层
livecd能进去
分辨率1024×768
那个驱动都已经安上了还是不行
用livecd都好用
回复 支持 反对

使用道具 举报

发表于 2006-4-10 22:45:01 | 显示全部楼层
你再配置一下xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 00:46:33 | 显示全部楼层

【问题解决】终于驱上了哈哈

我的本本的nvidia 6400 Go 在Gentoo2006上终于安装成功了,现在非常的高兴和大家分享一下我的安转过程,希望有类似问题的朋友能够看到也能帮助他(她)决绝问题。
首先,在nvidia的官方网站下载最新的驱动
http://download.nvidia.com/XFree ... 6-1.0-8174-pkg1.run

以下是官方网站提供的安装说明文档:
Chapter 3. Configuring X for the NVIDIA Driver
Table of Contents

Using nvidia-xconfig to configure the X server
Editing the configuration file by hand
The X configuration file provides a means to configure the X server. This section describes the settings necessary to enable the NVIDIA driver. A comprehensive list of parameters is provided in Appendix D, X Config Options.

The NVIDIA Driver includes a utility called nvidia-xconfig, which is designed to make editing the X configuration file easy. You can also edit it by hand.

Using nvidia-xconfig to configure the X server
nvidia-xconfig will find the X configuration file and modify it to use the NVIDIA X driver. In most cases, you can simply answer "Yes" when the installer asks if it should run it. If you need to reconfigure your X server later, you can run nvidia-xconfig again from a terminal. nvidia-xconfig will make a backup copy of your configuration file before modifying it.

Note that the X server must be restarted for any changes to its configuration file to take effect.

More information about nvidia-xconfig can be found in the nvidia-xconfig manual page by running.

    % man nvidia-xconfig


Editing the configuration file by hand
In April 2004 the X.org Foundation released an X server based on the XFree86 server. While your release may use the X.org X server, rather than XFree86, the differences between the two should have no impact on NVIDIA Linux users with two exceptions:

The X.org configuration file is /etc/X11/xorg.conf while the XFree86 configuration file is /etc/X11/XF86Config. The files use the same syntax. This document refers to both files as “the X config file”.

The X.org log file is /var/log/Xorg.#.log while the XFree86 log file is /var/log/XFree86.#.log (where # is the server number -- usually 0). The format of the log files is nearly identical. This document refers to both files as “the X log file”.

In order for any changes to be read into the X server, you must edit the file used by the server. While it is not unreasonable to simply edit both files, it is easy to determine the correct file by searching for the line

    (==) Using config file:

in the X log file. This line indicates the name of the X config file in use.

If you do not have a working X config file, there are a few different ways to obtain one. A sample config file is included both with the XFree86 distribution and with the NVIDIA driver package (at /usr/share/doc/NVIDIA_GLX-1.0/). Tools for generating a config file (such as xf86config) are generally included with Linux. Additional information on the X config syntax can be found in the XF86Config manual page (man XF86Config or man xorg.conf).

If you have a working X config file for a different driver (such as the “nv” or “vesa” driver), then simply edit the file as follows.

Remove the line:

      Driver "nv"
  (or Driver "vesa")
  (or Driver "fbdev")

and replace it with the line:

    Driver "nvidia"

Remove the following lines:

    Load "dri"
    Load "GLCore"

In the Module section of the file, add the line (if it does not already exist):

    Load "glx"

There are numerous options that may be added to the X config file to tune the NVIDIA X driver. Please see Appendix D, X Config Options for a complete list of these options.

Once you have completed these edits to the X config file, you may restart X and begin using the accelerated OpenGL libraries. After restarting X, any OpenGL application should automatically use the new NVIDIA libraries. If you encounter any problems, please see Chapter 5, Common Problems for common problem diagnoses.

现在,开始安装:
在启动的过程中要去掉自动加载nvidia的驱动否则安装时会报错,不能进行!
在/etc/modules.autoload.d/kernel-2.6中
然后./执行NVIDIA-Linux-x86-1.0-8174-pkg1.run(记得要给它可执行的权限:)
驱动会自动根据你的显卡把驱动编译进你的内核
然后根据安装文档把xorg.conf改好的执行startx就ok了!
回复 支持 反对

使用道具 举报

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

本版积分规则

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