How to solve Linux 3.16 kernel nvidia 331 error

  

In ubuntu 14.04 .2 LTS, Linux 3.16 kernel nvidia 331 error

If it is upgraded through ubuntu 14.04.1 LTS, the default is Linux 3.13 kernel, It is also possible to upgrade from 3.13 to 3.16. However, there will be problems during the upgrade process, which is the nvidia 331 error. The error type is similar to this:

nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module failed to build, with only error: &ldquo ;objdump: ‘… .tmp_nv.o': No such file”

At the same time, if you originally installed steam, after upgrading the kernel, steam will not be available, and you can't find steam in dash. Need to install steam from the new, the previous game is still there.

The solution to the N card problem is to reconfigure:

sudo dpkg-reconfigure nvidia-331
sudo dpkg-reconfigure nvidia-331-uvm


There is also a problem that if you install through the image of 14.04.2 LTS, there will be problems with installing nvidia 331. The above similar problem occurs, and the solution is the same as above.

But if you use the above method, use bumblebee to run to open other programs with the following problem:

[ERROR]Cannot access secondary GPU – error: [XORG] (EE) No devices detected.

Then use

lspci |
 Grep VGA

will find

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

rev a1 means that the N card is open

rev ff means that the N card is off

At this time we need to modify /etc/bumblebee/xorg.conf. Nvidia is all right.

Code:

sudo gedit /etc/bumblebee/xorg.conf.nvidia

Remove BusID “PCI:01:00:0″ in front of #, then save .

Then enter

optirun nvidia-settings -c :8

This window will display the video card information, and then close

lspci |
 Grep VGA

will show that the N card is off.

Then use bumblebee to use N card


If ubuntu 14.10 users also have this problem, you can learn from the above solution

Copyright © Windows knowledge All Rights Reserved