一段时间后,NVIDIA卡消失了

我有一台笔记本电脑戴尔7720与nvidia 650米离散卡。 安装ubuntu 14.04后,它似乎工作正常。 我下载了nvidia当前驱动程序,在其他驱动程序和nvidia x服务器中更改为它。 有效。 然后我切换回英特尔图形,一段时间后我发现我无法切换回来。 只是因为ubuntu doest已经检测到我的卡了。

root@Inspiron-7720:/etc/X11# lspci | grep -i vga 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 

这是第一次。 所以我虽然问题是在我的BIOS中安装了Windows,更新了它并再次安装了ubuntu。 它再次起作用。 但现在经过几个小时它就消失了。 顺便说一下,/ etc / X11 /中没有xorg.conf,我从来没有配置它。 有什么建议? 谢谢。

奇怪的事情发生:)我在一个论坛上发现了一个主题(人遇到了几乎相同的问题,但他的video卡确实出现在lspci中)并且我从那里复制了xorg.conf的代码:

 Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:02:00:0" # If the X server does not automatically detect your VGA device, # you can manually set it here. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data # as you see in the commented example. # This Setting may be needed in some platforms with more than one # nvidia card, which may confuse the proprietary driver (eg, # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04. # # Setting ProbeAllGpus to false prevents the new proprietary driver # instance spawned to try to control the integrated graphics card, # which is already being managed outside bumblebee. # This option doesn't hurt and it is required on platforms running # more than one nvidia graphics card with the proprietary driver. # (Eg Macbook Pro pre-2010 with nVidia 9400M + 9600M GT). # If this option is not set, the new Xorg may blacken the screen and # render it unusable (unless you have some way to run killall Xorg). Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" EndSection 

把它放在我的/etc/X11/xorg.conf中,但ubuntu在第一次重启后被冻结了。 但在第二个之后,它确实启动并识别了我的卡片。某种方式。 虽然/ etc / X11 / now中没有xorg.conf。

 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1) 

现在我已经安装了nvidia-346和nvidia-prime作为@ Pilot6建议,并将看它是否会起作用。 我不知道发生了什么。 如果有人知道,请告诉我。

您为Nvidia卡安装了错误的驱动程序。

nvidia-current是旧卡的传统nvidia-304驱动程序。 它不支持650米。

您需要安装正确的驱动程序。 在终端跑

 sudo killall nvidia-persistenced sudo apt-get purge nvidia* sudo apt-get install nvidia-346 nvidia-prime 

当您获得内核更新时会发生这种情况。 NVIDIA驱动程序在安装时修改内核。 稍后,您接受内核更新,并且不再使用带有NVIDIA模块的旧内核。

定期更新内核可能是个好主意,请记住,任何以前安装的内核模块都不会出现在更新的内核中。 您可以随时重新安装。 或者你无法进行内核更新。 或者,您可以使用先前安装的模块启动到较旧的内核。