我是靠谱客的博主 想人陪可乐,最近开发中收集的这篇文章主要介绍You do not appear to be using the NVIDIA X driver on Linux Ubuntu,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

After a regular upgrade on Linux Ubuntu Lucid 9.10, I was greeted with the following message:

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

I tried many forums to return this to normal. They seemed all too complicated and didn't solve the problem, more importantly.

Finally, I solved it by running a combination of commands from two different forums:

To use NVIDIA-provided driver, you will need to remove Nouveau first. You can remove it from a command-line by entering this:
sudo apt-get --purge remove xserver-xorg-video-nouveau
(from this ubuntu forum )

1) Make sure that the kernel headers for your kernel are installed
sudo apt-get install linux-headers-$(uname -r)
2) Install the nvidia driver:
sudo apt-get install nvidia-current (or nvidia-173 or nvidia-96,
depending on your card)
3) Select the driver that you wish to use (you can install all of the
nvidia drivers but use only at the time):
sudo update-alternatives --config gl_conf
sudo ldconfig
sudo update-initramfs -u
4) Configure your xorg.conf
sudo nvidia-xconfig
5) Restart your computer (restarting only the xserver might not work)

(from this launchpad forum )

Hope this helps

最后

以上就是想人陪可乐为你收集整理的You do not appear to be using the NVIDIA X driver on Linux Ubuntu的全部内容,希望文章能够帮你解决You do not appear to be using the NVIDIA X driver on Linux Ubuntu所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部