LinuxSir.cn,穿越时空的Linuxsir!

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

emerge nvidia-drivers error

[复制链接]
 楼主| 发表于 2009-8-29 23:49:06 | 显示全部楼层
Post by zzwzzw;2021444
源里面的不能装?eselect opengl list后结果是什么?


谢谢你的回复,
是nvidia
回复 支持 反对

使用道具 举报

发表于 2009-8-29 23:56:32 | 显示全部楼层
Gentoo way:

eselect kernel list 查看内核
eselect kernel set 设置当前内核
emerge nvidia-drivers

Nvidia驱动又不是什么更新很频繁,依赖很多的东西,~的话,portage里相对NVidia官方几乎没有延时
回复 支持 反对

使用道具 举报

发表于 2009-8-29 23:57:27 | 显示全部楼层
Post by l_s;2021758
谢谢你的回复,
是nvidia


eselect opengl list后结果里有nvidia.那就表示可以用3D加速了。如果星号不在nvidia上面。就用eselect opengl set nvidia 一下就好了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-31 07:53:01 | 显示全部楼层
Post by zzwzzw;2021760
eselect opengl list后结果里有nvidia.那就表示可以用3D加速了。如果星号不在nvidia上面。就用eselect opengl set nvidia 一下就好了。



那如果没有呢,要怎么办
回复 支持 反对

使用道具 举报

发表于 2009-8-31 17:45:06 | 显示全部楼层
如果没有,那你就要检查一下内核有关显示方面的配置,然后重新编译和安装显示驱动了。一般来说没什么问题的啊,nvidia的驱动算是很好搞的了。用 glxinfo | grep -i nvidia 看一下,如果有输出的话,就表示3D加速已经有了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-8 01:05:40 | 显示全部楼层
localhost ~ # emerge  x11-drivers/nvidia-drivers
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-180.60
* NVIDIA-Linux-x86-180.60-pkg0.run RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.29/build
* Found sources for kernel version:
*     2.6.29
* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.
*
* ERROR: x11-drivers/nvidia-drivers-180.60 failed.
* Call stack:
*                      ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-180.60.ebuild, line  173:  Called linux-mod_pkg_setup
*               linux-mod.eclass, line  581:  Called check_kernel_built
*              linux-info.eclass, line  599:  Called die
* The specific snippet of code:
*                   die "Kernel sources need compiling first"
*  The die message:
*   Kernel sources need compiling first
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/die.env'.
*

>>> Failed to emerge x11-drivers/nvidia-drivers-180.60, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'

* Messages for package x11-drivers/nvidia-drivers-180.60:

* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.
*
* ERROR: x11-drivers/nvidia-drivers-180.60 failed.
* Call stack:
*                      ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-180.60.ebuild, line  173:  Called linux-mod_pkg_setup
*               linux-mod.eclass, line  581:  Called check_kernel_built
*              linux-info.eclass, line  599:  Called die
* The specific snippet of code:
*                   die "Kernel sources need compiling first"
*  The die message:
*   Kernel sources need compiling first
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/die.env'.
*


help me
thank you
回复 支持 反对

使用道具 举报

发表于 2009-9-8 08:01:18 | 显示全部楼层
检查一下/usr/src/目录: ls -l /usr/src/。看看有没有一个指向linux-2.6.30-gentoo的链接。如果没有就做一个: ln -s linux-2.6.30-gentoo linux。
如果原来就有的话就麻烦了,需要检查内核设置,然后重新编译了。注意一下与显示有关部分的设置。
Device Drivers --->
Graphics Support --->

里面最好什么都不要选。
回复 支持 反对

使用道具 举报

发表于 2009-9-8 11:48:40 | 显示全部楼层

  1. FEATURES="-userpriv" emerege -1 nvidia-drivers
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-9-8 12:24:18 | 显示全部楼层
Post by l_s;2021053
Linux localhost 2.6.29 #1 SMP Thu Aug 27 20:42:59 CST 2009 i686 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux


thank you

help me

仔细看
是让你检查/usr/src目录
不是让你show内核版本
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-8 22:20:08 | 显示全部楼层
Post by heejun;2025085
仔细看
是让你检查/usr/src目录
不是让你show内核版本


localhost ~ # eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.30 *
  [2]   linux-2.6.30-gentoo-r5
回复 支持 反对

使用道具 举报

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

本版积分规则

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