LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo下nv驱动的问题

[复制链接]
发表于 2006-4-17 14:28:30 | 显示全部楼层 |阅读模式
机器是 Sempron 3000+(64bit),主板biostar Tforce6100 (C51集成显卡)

/etc/make.conf如下:
============================================================
CFLAGS="-march=athlon-xp -O3 -pipe -msse2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"

USE="-kde -qt gtk gnome hal howl alsa cjk nls cdr nptl nptlonly"

ACCEPT_KEYWORDS="~x86"
=============================================================

新装的系统,gentoo-sources-2.6.16, xorg 7.0,
按照gentoo handbook装的nv驱动:
media-video/nvidia-kernel-1.0.8756
media-video/nvidia-glx-1.0.8756

但是startx后屏幕(LCD)闪了一下就变成全白色的了,然后机器就死了
装nv官方的驱动也有同样的问题。
请问是哪里的问题,先谢谢了

附上 xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/TrueType"
EndSection

Section "Module"
    Load           "record"
    Load           "extmod"
    Load           "dbe"
    Load           "glx"
#       Load  "dri"
    Load           "xtrap"
    Load           "freetype"
    Load           "type1"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "rotocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
        #DisplaySize      380   300     # mm
### Comment all HorizSync and VertSync values to use DDC:
    Identifier     "Monitor0"
    VendorName     "AOC"
    ModelName      "TFT1980"
    HorizSync       65.0 - 83.0
    VertRefresh     65.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "C51 PCI Express Bridge"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection
发表于 2006-4-17 14:56:26 | 显示全部楼层
1. 看一下 /var/log/Xorg.*.log 有没有什么有用的信息。

2. Xorg -configure 生成一个xorg.conf.new试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-17 19:04:22 | 显示全部楼层
/var/log/Xorg.0.log见附件,看起来挺正常的
然后我又重新用 X -configure 生成了一个 xorg.conf.new
替换为xorg.conf后startx还是会出现白屏。。
而且我还发现,白屏后猛击键盘若干下可以退出X,不过很慢

NV的驱动是一定要装吗,有没有可以替代的东西。。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-4-17 21:24:22 | 显示全部楼层
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "glx"
# Load "dri"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
怎么没有 nvidia?

你到底是装 NVIDIA 的公司的驱动,还是Xorg自带的nv驱动。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 00:06:14 | 显示全部楼层
是装NV公司的nvidia的驱动, nvidia模块在启动时已经自动加载了
(在/etc/modules.autoload.d/kernel-2.6 里)
回复 支持 反对

使用道具 举报

发表于 2006-4-18 21:22:55 | 显示全部楼层
http://download.nvidia.com/XFree ... 6-1.0-8174-pkg1.run
去下载这个最新的nvidia的Linux驱动吧
我的6400 go 和你问题差不多
安装以后解决了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 22:27:22 | 显示全部楼层
可是我emerge的驱动是8756的,应该8174支持的8756也支持呀
前面已经说了,我用官方的驱动也是不行。。

不过我以前装过ubuntu kernel 2.6.14 + nv driver 8174
nv驱动是可以正常安装的。难道是gentoo-sources的问题。。
(我的显卡是C51)
回复 支持 反对

使用道具 举报

发表于 2006-4-19 10:41:44 | 显示全部楼层
我在nvidia官方网站没有找到8756版本得驱动啊
上面写最新得就是8174
是05年12月5日得啊
你在安装得时候是报错了还是都安上了不好用啊?
http://cn.nvidia.com/object/linux_display_ia32_1.0-8174.html
在这个网页上有个READEME是安装时得文档好好看一下应该会好用得
不过是英文得,我英语也不好,挑有用得看能看懂得
你再试试
我晚上再来
顺便问一下你得8756是再那里下载得啊?
回复 支持 反对

使用道具 举报

发表于 2006-4-19 10:48:48 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2006-4-19 11:11:55 | 显示全部楼层
谢谢了正在下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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