LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2015, 04:10 PM   #1
ohmygoddess
LQ Newbie
 
Registered: Jul 2013
Posts: 7

Rep: Reputation: Disabled
Install nvidia driver for optimus laptop failed to start on Centos 6


I have a Lenovo Y580 Laptop with Centos 6.4 version on it. The original kernel is 2.6.32. I compiled a newer version kernel 3.4.53. And I used the newer version all the time.

Recently, I decided to install nvidia driver on my Centos 6 system, and be able to switch between integrated video card and nvidia video card. I used "yum install bumblebee" to install all the dependencies. However, I encountered several difficulties.

1. The bbswitch module cannot be found. It turned out yum install the bbswitch and nvidia modules into /lib/modules/2.6.32-xxx... instead of /lib/modules/3.4.53/. I searched online, I think the reason is that the kernel header is still 2.6.32 even I am using 3.4.53. I cannot find 3.4.53 version of kernel header by something like "yum install kernel-devel-3.4.53". So I have to switch back to 2.6.32.

2. The new problem is the nvidia driver doesn't work. I tried both ways: install xxx.run from downloaded from nvidia.com direclty and blacklist nouveau; or install nvidia.ko using yum install kmod-nvidia. It will automatically blacklist nouveau driver. But after I reboot system, I cannot login, it will stuck in booting stage.

3. Another way I tried is to remove all the nvidia configuration file and remove blacklist of nouveau, so I can login using nouveau driver. I can also turn on bbswitch: tee /proc/acpi/bbswitch <<<ON. But when I try to load nvidia.ko by "modprobe nvidia" OR use "optirun glxgear", my computer will freeze forever. I have to push power off for several seconds to shut it down.


2 ~ 3 indicate that I didn't get nvidia driver installed correctly. So my questions are: (1) Is there a way to install correct kernel version when I use 3.4.53, so that I can use yum install to get the correct kernel module place.(2) More importantly, how can I enable nvidia,ko without crash the system.
 
Old 06-18-2015, 05:31 AM   #2
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: NOVA
Distribution: Debian 12
Posts: 1,071

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Like I said in your other thread you cannot use the nVidia blob and bumblebee in CentOS you have to use nouveau. If you don't care and you still want to use the nVidia blob google kmod nvidia.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Nvidia driver on Centos 6 system and Lenovo optimus Laptop Y580 failed ohmygoddess Linux - Software 7 06-17-2015 11:29 AM
LXer: How to install and configure Nvidia Optimus driver on Ubuntu LXer Syndicated Linux News 0 08-01-2014 07:01 PM
[SOLVED] Turning off Nvidia GPU on Asus N53SV laptop. Nvidia Optimus. Installed Bumblebee Lop3 Linux - Laptop and Netbook 7 10-22-2013 07:11 AM
Failed to Start X server after Nvidia driver install B4lulu Linux - Newbie 4 08-31-2007 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration