After upgrade to Nvidia in Ubuntu12.04, Bumblebee cannot work.

Source: Internet
Author: User
Ubuntu12.04 solves the problem of Bumblebee failure caused by the upgrade of the nvidia-current Module 'nvidia-current' isnotfound. Environment System: Ubuntu12.04 kernel: 3.2.0-29-generic # 46-Ubuntux86_64x86_64x86_64GNU/Linux upgraded nvidia (the official driver in the ppa source) the day before yesterday.

In Ubuntu 12.04, the problem of Bumblebee failure caused by Module 'nvidia-current' is not found after nvidia-current upgrade is solved.

Environment

System: Ubuntu 12.04
Kernel: 3.2.0-29-generic # 46-Ubuntu x86_64 x86_64 x86_64 GNU/Linux

The day before yesterday, we upgraded nvidia (the official driver in the ppa source). Today we suddenly found a problem with bumblebee. The following prompt appears when optirun is executed.

[ERROR] The Bumblebee daemon has not been started yet or the socket path/var/run/bumblebee. socket was incorrect.
[ERROR] cocould not connect to bumblebee daemon-is it running?

Even more strange, Ubuntu only finds integrated intel graphics cards, but nvidia does not.

Www.linuxidc.com @ linux :~ $ Sudo lspci | grep-I vga
[Sudo] password for jim:
00:02. 0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
It may be related to the video card Driver Upgrade.
So I re-installed three nvidia-current nvidia-settings-updates packages.

Restart the computer and then execute lspci.

Www.linuxidc.com @ linux :~ $ Sudo lspci | grep-I vga
[Sudo] password for jim:
00:02. 0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
0:00. 0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540 M] (rev 0a)
Www.linuxidc.com @ linux :~ $

Better yet, at least nvidia graphics is out.

However, the unique display status is incorrect. It should be rev ff (disabled), rather than rev 0a (Enabled). This indicates that bumblebee is not working.

I checked the system logs related to Bumblebee.

Www.linuxidc.com @ linux :~ $ Cat/var/log/syslog | grep-I bumblebee
....
Aug 18 23:42:27 jim-laptop bumblebeed [16703]: Module 'nvidia-current' is not found.
Aug 18 23:42:27 jim-laptop kernel: [3649.159504] init: bumblebeed main process (16703) terminated with status 1
Aug 18 23:42:27 jim-laptop kernel: [3649.159528] init: bumblebeed main process ended, respawning
....

The key issue is found because the nvidia-current module does not

Go to the/lib/modules/3.2.0-29-generic Directory and execute the find command.

Www.linuxidc.com @ linux:/lib/modules/3.2.0-29-generic $ sudo find./-name "nvidia *"
./Kernel/drivers/net/ethernet/nvidia
./Kernel/drivers/video/nvidia
./Kernel/drivers/video/nvidia/nvidiafb. ko
./Updates/dkms/nvidia. ko
./Updates/dkms/nvidia_current_updates.ko
Www.linuxidc.com @ linux:/lib/modules/3.2.0-29-generic $
There is a nvidia. ko and a nvidia_current_updates.ko, that is, there is no nvidia-current.ko, is the latest nvidia-current driver modifying the module name ??

I modified/etc/bumblebee. conf and modified the [driver-nvidia]

KernelDriver = nvidia-current
Change
KernelDriver = nvidia

After restart, the problem is solved.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.