+ -
当前位置:首页 → 问答吧 → gentoo 安装 nvidia—drivers 出现错误信息

gentoo 安装 nvidia—drivers 出现错误信息

时间:2009-01-08

来源:互联网

我把和显卡有关的选项都编译进内核了,之后:emerge nvidia--drivers
出现如下的错误信息:
!!!Couldn't download 'util-macros-1.1.5.tar.bz2'.log file:

/var/tmp/portage/x11-misc/util-macros-1.1.5/temp/build.log

>>>Failed to emerge x11-misc/util-macros-1.1.5,Log file:
>>> /var/tmp/portage/x11-misc/util-macros-1.1.5/temp/build.log


***Message for package x11-misc/util-macros-1.1.5:
*Fetch failed for x11-misc/util-macros-1.1.5,Log file:
*/var/tmp/portage/x11-misc/util-macros-1.1.5/temp/build.log


请问这是什么意思啊?

作者: zhongyijun   发布时间: 2009-01-08

代码:
!!!Couldn't download 'util-macros-1.1.5.tar.bz2'.log file:
是这个下载不到吧?看看/usr/portage/distfiles下有这个文件么?

作者: somebody   发布时间: 2009-01-08

引用:
作者: somebody
代码:
!!!Couldn't download 'util-macros-1.1.5.tar.bz2'.log file:
是这个下载不到吧?看看/usr/portage/distfiles下有这个文件么?
这个目录下面确实没有那个东西,我又emerge util-macros-1.1.5.tar.bz2 ,但是又出现这个错误:there are no ebuilds to satisfy 'util-macros-1.1.5.tar.bz2' ,我看不太懂~

作者: zhongyijun   发布时间: 2009-01-08

错误是不能下载util-macros-1.1.5.tar.bz2这个文件,原因可能是你设置的mirror里面没找到这个文件,或者网络问题.

你去google直接搜索这个文件名,找个下载地址,下载后,放在/usr/portage/distfiles下面好了

emerge util-macros-1.1.5.tar.bz2这种用法也是错的,后面要跟包名称/软件名称

作者: ZDN   发布时间: 2009-01-08

引用:
作者: ZDN
错误是不能下载util-macros-1.1.5.tar.bz2这个文件,原因可能是你设置的mirror里面没找到这个文件,或者网络问题.

你去google直接搜索这个文件名,找个下载地址,下载后,放在/usr/portage/distfiles下面好了

emerge util-macros-1.1.5.tar.bz2这种用法也是错的,后面要跟包名称/软件名称
多谢这位兄弟,我正在安装中~~我已经喜欢上这里了,发的帖子总是能得到及时的回复~

作者: zhongyijun   发布时间: 2009-01-09

引用:
作者: ZDN
错误是不能下载util-macros-1.1.5.tar.bz2这个文件,原因可能是你设置的mirror里面没找到这个文件,或者网络问题.

你去google直接搜索这个文件名,找个下载地址,下载后,放在/usr/portage/distfiles下面好了

emerge util-macros-1.1.5.tar.bz2这种用法也是错的,后面要跟包名称/软件名称
我的nvidia驱动下好了,之后配置我的/etc/X11/xorg.conf文件:
Section "Device"
Identifier "nVidia Inc. GeForce2"
Driver "nvidia""
VideoRam 65536
EndSection

Section "Module"
(……)
# Load "dri"
Load "glx"
(……)
EndSection

Section "Screen"
(……)
DefaultDepth 16
Subsection "Display"
(……)
EndSection


我的/etc/X11/xorg.conf是从/etc/X11/xorg.conf.example拷贝过来的~

之后
eselect opengl set nvidia
gpasswd -a youruser video

都成功了,但是到了这步的时候:glxinfo | grep direct
却出现这样的错误信息:
ERROR:Unable to open display.
请问这是什么错误啊?如何解决啊?

作者: zhongyijun   发布时间: 2009-01-09

引用:
作者: zhongyijun
我的nvidia驱动下好了,之后配置我的/etc/X11/xorg.conf文件:
Section "Device"
Identifier "nVidia Inc. GeForce2"
Driver "nvidia""
VideoRam 65536
EndSection

Section "Module"
(……)
# Load "dri"
Load "glx"
(……)
EndSection

Section "Screen"
(……)
DefaultDepth 16
Subsection "Display"
(……)
EndSection


我的/etc/X11/xorg.conf是从/etc/X11/xorg.conf.example拷贝过来的~

之后
eselect opengl set nvidia
gpasswd -a youruser video

都成功了,但是到了这步的时候:glxinfo | grep direct
却出现这样的错误信息:
ERROR:Unable to open display.
请问这是什么错误啊?如何解决啊?
你在X里面用glxinfo的指令吗?跑跑startx看最基本的driver可不可以用再研究3D的东西吧。

作者: mathfeel   发布时间: 2009-01-09

引用:
作者: mathfeel
你在X里面用glxinfo的指令吗?跑跑startx看最基本的driver可不可以用再研究3D的东西吧。
我不知道那是不是x,我安装完基本系统之后就开始安装nvidia的驱动程序了~

作者: zhongyijun   发布时间: 2009-01-09

这位哥们还有什么主意吗?

作者: zhongyijun   发布时间: 2009-01-09

引用:
作者: zhongyijun
我的nvidia驱动下好了,之后配置我的/etc/X11/xorg.conf文件:
Section "Device"
Identifier "nVidia Inc. GeForce2"
Driver "nvidia""
VideoRam 65536
EndSection

Section "Module"
(……)
# Load "dri"
Load "glx"
(……)
EndSection

Section "Screen"
(……)
DefaultDepth 16
Subsection "Display"
(……)
EndSection


我的/etc/X11/xorg.conf是从/etc/X11/xorg.conf.example拷贝过来的~

之后
eselect opengl set nvidia
gpasswd -a youruser video

都成功了,但是到了这步的时候:glxinfo | grep direct
却出现这样的错误信息:
ERROR:Unable to open display.
请问这是什么错误啊?如何解决啊?
ERROR:Unable to open display.
这写的很清楚。。
要进到X界面才能用这个命令。。控制台下无效

作者: kimux   发布时间: 2009-01-09

我来一个我的配置吧
8600的卡
177.82的驱动,180系列驱动有时候会挂,所以还是用177驱动,但180驱动确实速度快很多,尤其是startx的时候,一闪就进了
引用:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Thu Oct 4 10:34:46 PDT 2007
#
#Section "InputDevice"
# Identifier "Logitech Mouse"
# Driver "mouse"
# Option "Protocol" "ExplorerPS/2"
# Option "Device" "/dev/input/mice"
# Option "CorePointer"
# Option "Buttons" "7"
# Option "ZAxisMapping" "4 5"
# Option "ButtonMapping" "1 2 3 6 7"
# Option "HWCursor" "false"
#EndSection
#Section "InputDevice"
# Identifier "Color Mouse"
# Driver "mouse"
# Option "Device" "/dev/input/mice"
# Option "SendCoreEvents" "true"
# Option "Protocol" "IMPS/2"
# Option "Emulate3Buttons" "false"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
#EndSection
#Section "InputDevice"
# Identifier "Microsoft Mouse"
# Driver "mouse"
# Option "Device" "/dev/input/mice"
# Option "SendCoreEvents" "true"
# Option "Protocol" "IMPS/2"
# Option "Emulate3Buttons" "false"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
#EndSection

#Section "InputDevice"
# Identifier "Color Mouse"
# Driver "evdev"
# Option "Device" "/dev/input/color"
# Option "SendCoreEvents" "true"
# Option "Protocol" "IMPS/2"
# Option "Emulate3Buttons" "false"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
#EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Logitech Mouse" "CorePointer"
# InputDevice "Synaptics Touchpad"
# Option "AllowMouseOpenFail" "true"
Option "AIGLX" "true"
# InputDevice "Color Mouse"
# Option "blank time" "5" #blank the screen after 5 minutes
# InputDevice "Microsoft Mouse"
# Option "standby time" "10" #Turn off screen after 10 minutes
# Option "suspend time" "20" #Full suspend after 20 minutes
# Option "off time" "30" #Turn off after half an hour
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/zh_CN"
FontPath "/usr/share/fonts/vistafont"
FontPath "/usr/share/fonts/wqy-bitmapfont"
EndSection

Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "dri"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
#Option "AutoAddDevices" "false" # Disable hal backend for xserver
EndSection

#Section "InputDevice"
# Identifier "Logitech Mouse"
# Driver "evdev"
# Option "Device" "/dev/input/logitech"
# Option "Name" "Logitech Logitech USB Optical Mouse"
# Option "CorePointer"
# Option "Resolution" "1000"
# Option "Emulate3Buttons" "false"
#EndSection


#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "kbd"
#EndSection

#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# #Option "SHMConfig" "on"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "HorizScrollDelta" "0"
#EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUO"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS" "True"
Option "DPI" "107 x 107"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600M GS"
Option "PixmapCacheSize" "2000000"
Option "OnDemandVBlankInterrupts" "True"
Option "BackingStore" "false"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo" "True"
Option "PixmapCacheSize" "2000000"
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AllowindirectPixmaps" "True"
Option "UseCompositeWrapper" "True"
Option "TripleBuffer" "True"
Option "AllowSHMPixmaps" "0"
Option "TwinView" "0"
Option "MetaModes" "1280x800 +0+0;nvidia-auto-select +0+0"
Option "NvAGP" "1"
Option "BackingStore" "false"
#Option "BackingStore" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "DAMAGE" "Enable"
Option "RENDER" "Enable"
Option "Composite" "Enable"
EndSection

作者: heejun   发布时间: 2009-01-10

悲剧阿
缩进都跑没了

作者: heejun   发布时间: 2009-01-10

不要用引用,用 [code] 可以保留缩进

作者: 夕角   发布时间: 2009-01-10