installing Nvidia driver
installing Nvidia driver
Hi folks,
I would like to use my hardware dedicated card of nvidia to improve grpahics in centos 7.
I found few threads on google that leads to Blacklist Nouveau & install-activate nvidia driver.
Last time i followed such steps from https://linuxconfig.org/nvidia-geforce- ... nux-64-bit & my screen was stuck at blinking cursor & the very start of centos 7, i can only use command lines with ctrl+alt+f2.
I had to reinstall centos 7.
Is there any proper way that does not leads to my system crash...?!!!
I have Nvidia 740M graphics card.
Any suggestions?!!!
Thanks in advance...
I would like to use my hardware dedicated card of nvidia to improve grpahics in centos 7.
I found few threads on google that leads to Blacklist Nouveau & install-activate nvidia driver.
Last time i followed such steps from https://linuxconfig.org/nvidia-geforce- ... nux-64-bit & my screen was stuck at blinking cursor & the very start of centos 7, i can only use command lines with ctrl+alt+f2.
I had to reinstall centos 7.
Is there any proper way that does not leads to my system crash...?!!!
I have Nvidia 740M graphics card.
Any suggestions?!!!
Thanks in advance...
Re: installing Nvidia driver
I highly recommend using ELRepo's nvidia packages. For more details, see:
http://elrepo.org/tiki/nvidia-detect
http://elrepo.org/tiki/nvidia-detect
CentOS Forum FAQ
Re: installing Nvidia driver
Hi, toracat,toracat wrote:I highly recommend using ELRepo's nvidia packages. For more details, see:
http://elrepo.org/tiki/nvidia-detect
thank you for looking into my stuff...
i have followed the link..
Code: Select all
[TRIDENT@localhost ~]$ nvidia-detect
kmod-nvidia
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
[TRIDENT@localhost ~]$ nvidia-detect -v
Probing for supported NVIDIA devices...
[10de:1292] NVIDIA Corporation GK208M [GeForce GT 740M]
This device requires the current 352.63 NVIDIA driver kmod-nvidia
[8086:0166] Intel Corporation 3rd Gen Core processor Graphics Controller
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
[TRIDENT@localhost ~]$ nvidia-detect --xorg
kmod-nvidia
Checking ABI compatibility with Xorg Server...
Xorg Video Driver ABI detected: 19
ABI compatibility check passed
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
How should i forced centos 7 to run on nvidia from intel graphics driver or Nouveau?
Edit:
it says:
Code: Select all
[root@localhost TRIDENT]# rpm -qa | grep nvidia
nvidia-detect-352.63-1.el7.elrepo.x86_64
I am definitely sure that this might occur... " Unfortunately, if you recently updated kmod-nvidia to the latest version, but need kmod-nvidia-340xx, then your GUI will become unusable upon reboot and you will get a black screen.
If you are faced with a black screen and do NOT have ssh access to the system, then one way to obtain a usable CLI is to reboot the system, stop at the grub/grub2 menu, edit (i.e., "e") the first kernel command line, add " 3" to the end of the kernel command line and continue the boot to runlevel 3 (EL5/6) or multi-user.target (EL7) (i.e., CLI). Then follow the above Quick Fix steps.
Also, if you either (1) have not rebooted after the update, (2) did reboot, but have ssh access or (3) know other mechanisms to obtain a CLI without rebooting, then follow the above Quick Fix steps locally or remotely."
Re: installing Nvidia driver
Looks like you now need bumblebee from ELRepo. Please try following the instructions on that page.
CentOS Forum FAQ
Re: installing Nvidia driver
Hi toracat,toracat wrote:Looks like you now need bumblebee from ELRepo. Please try following the instructions on that page.
Thank you for your feedback,
I have a very busy week with centos 7, so i will try this steps on these weekends as i fear that i might loss my centos 7.
Once i followed steps provided by your link, i will update here...
Thank you...
Edit:
There are no steps given on how to install bumblebee, so i assume the command will be " sudo yum install bumblebee -y ", found from another internet source.
http://memorandum.kanachan.me.uk/?p=46
Then i should start following your given steps... pls correct me if i'm wrong...
Re: installing Nvidia driver
i can not find nvidia-setting in /usr/share/applications/nvidia-settings.desktop
it seems the file not there so i am guessing i did not installed nvidia drivers?
I think this command will do:
yum install $(nvidia-detect)
it seems the file not there so i am guessing i did not installed nvidia drivers?
I think this command will do:
yum install $(nvidia-detect)
Code: Select all
[root@localhost TRIDENT]# yum install $(nvidia-detect)
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.net.in
* elrepo: ftp.nluug.nl
* epel: epel.mirror.net.in
* extras: mirror.fibergrid.in
* nux-dextop: mirror.li.nux.ro
* updates: mirror.fibergrid.in
Resolving Dependencies
--> Running transaction check
---> Package kmod-nvidia.x86_64 0:352.79-1.el7.elrepo will be installed
--> Processing Dependency: nvidia-x11-drv = 352.79 for package: kmod-nvidia-352.79-1.el7.elrepo.x86_64
--> Running transaction check
---> Package nvidia-x11-drv.x86_64 0:352.79-1.el7.elrepo will be installed
--> Processing Dependency: yum-plugin-nvidia >= 1.0.2 for package: nvidia-x11-drv-352.79-1.el7.elrepo.x86_64
--> Running transaction check
---> Package yum-plugin-nvidia.noarch 0:1.0.2-1.el7.elrepo will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================
Installing:
kmod-nvidia x86_64 352.79-1.el7.elrepo elrepo 5.1 M
Installing for dependencies:
nvidia-x11-drv x86_64 352.79-1.el7.elrepo elrepo 43 M
yum-plugin-nvidia noarch 1.0.2-1.el7.elrepo elrepo 12 k
Transaction Summary
=======================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 48 M
Installed size: 207 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch.rpm | 12 kB 00:00:22
(2/3): kmod-nvidia-352.79-1.el7.elrepo.x86_64.rpm | 5.1 MB 00:08:16
nvidia-x11-drv-352.79-1.el7.el FAILED ] 2.4 B/s | 10 MB 4579:01:57 ETA
http://ftp.ines.lug.ro/elrepo/elrepo/el7/x86_64/RPMS/nvidia-x11-drv-352.79-1.el7.elrepo.x86_64.rpm: [Errno 12] Timeout on http://ftp.ines.lug.ro/elrepo/elrepo/el7/x86_64/RPMS/nvidia-x11-drv-352.79-1.el7.elrepo.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nvidia-x11-drv-352.79-1.el7.el FAILED ====================- ] 21 B/s | 32 MB 227:00:11 ETA
http://ftp.cc.uoc.gr/mirrors/elrepo/elrepo/el7/x86_64/RPMS/nvidia-x11-drv-352.79-1.el7.elrepo.x86_64.rpm: [Errno 12] Timeout on http://ftp.cc.uoc.gr/mirrors/elrepo/elrepo/el7/x86_64/RPMS/nvidia-x11-drv-352.79-1.el7.elrepo.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
(3/3): nvidia-x11-drv-352.79-1.el7.elrepo.x86_64.rpm | 43 MB 00:13:37
-------------------------------------------------------------------------------------------------------------------------------------------------------
Total 15 kB/s | 48 MB 00:55:38
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch 1/3
Installing : kmod-nvidia-352.79-1.el7.elrepo.x86_64 2/3
Working. This may take some time ...
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceChannelDestroy
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceQueryCaps
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryAllocSys
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryCpuMap
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceKillChannel
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryCpuUnMap
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceCreateMirrored
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetGpuInfo
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceServiceDeviceInterruptsRM
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceDeRegisterUvmOps
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryFree
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetUvmPrivRegion
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetAttachedUuids
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceSessionDestroy
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceCheckEccErrorSlowpath
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceCreate
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceCopyEngineAllocate
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceDestroy
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceRegisterUvmCallbacks
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceChannelAllocate
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceDupAllocation
depmod: WARNING: /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceSessionCreate
Done.
Installing : nvidia-x11-drv-352.79-1.el7.elrepo.x86_64 3/3
Verifying : nvidia-x11-drv-352.79-1.el7.elrepo.x86_64 1/3
Verifying : yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch 2/3
Verifying : kmod-nvidia-352.79-1.el7.elrepo.x86_64 3/3
Installed:
kmod-nvidia.x86_64 0:352.79-1.el7.elrepo
Dependency Installed:
nvidia-x11-drv.x86_64 0:352.79-1.el7.elrepo yum-plugin-nvidia.noarch 0:1.0.2-1.el7.elrepo
Complete!
[root@localhost TRIDENT]#
Re: installing Nvidia driver
Its not working,
It forced centos screen to blinking cursor...
i can only use alt+f2 & root login nothing...
I had to reinstall centos 7.
Despite i am liking linux more it is just so annoying to get something on linux/centos...
-No hotspot
-No wifi(had to do lot of digging every-time)
-No nvidia driver
-stuck at dual boot...(any of os might will be lost from grub menu...)
It forced centos screen to blinking cursor...
i can only use alt+f2 & root login nothing...
I had to reinstall centos 7.
Despite i am liking linux more it is just so annoying to get something on linux/centos...
-No hotspot
-No wifi(had to do lot of digging every-time)
-No nvidia driver
-stuck at dual boot...(any of os might will be lost from grub menu...)
Re: installing Nvidia driver
Granted, installing Bumblebee is not a beginner's task, but the procedure provided by toracat is current and, up to a few weeks ago, it worked flawlessly. Don't just keep reinstalling, but apply the instructions provided and document every single step you take. Then, if you have a problem, report it here with all the information gathered. Reinstalling should only be used as a last resort or when you are proficient with the procedure to install CentOS 7 on your system, to perform a final, clean installation.
P.S. The link you posted provides wrong and incomplete information. Make sure you install the Nvidia driver that supports your graphics card first (kmod-nvidia) and then Bumblebee. The order is important: just follow the original instructions verbatim.
P.S. The link you posted provides wrong and incomplete information. Make sure you install the Nvidia driver that supports your graphics card first (kmod-nvidia) and then Bumblebee. The order is important: just follow the original instructions verbatim.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.
Re: installing Nvidia driver
Hi, giulix63,giulix63 wrote:Granted, installing Bumblebee is not a beginner's task, but the procedure provided by toracat is current and, up to a few weeks ago, it worked flawlessly. Don't just keep reinstalling, but apply the instructions provided and document every single step you take. Then, if you have a problem, report it here with all the information gathered. Reinstalling should only be used as a last resort or when you are proficient with the procedure to install CentOS 7 on your system, to perform a final, clean installation.
P.S. The link you posted provides wrong and incomplete information. Make sure you install the Nvidia driver that supports your graphics card first (kmod-nvidia) and then Bumblebee. The order is important: just follow the original instructions verbatim.
for the moment i am not going to take risk of reinstalling centos 7 4th time in 15 days...
Yes, it is possible that i am executing wrong way, but since ultimately i do not know linux that much & how to understand packages & kernal & etc... where to install, which to install, how to install... i will wait till i have a sufficient time(free time)...
Once i can have something i will post an update here or any quarries,
Thank you for feedback... i will update as & when i do further progress...
-
- Posts: 28
- Joined: 2011/04/08 16:41:59
Re: installing Nvidia driver
Like the OP, my Centos7 install utterly destroyed itself when the driver suddenly quit working I am still finding missing software to reinstall weeks later, and catching up on the lost sleep. I did not use bumblebee at that time - just manually switched in bios and rebooted when I need to add / remove external video - I guess it didn't "like" that, so walking on egg-shells to try to make external video possible, again.
- good, so both video hardware options are available.
Ok, so ...
(A lucky guess the first time, since the instructions did not show what to enter or where.)
Everything in the "Procedures as of September of 2015" here has been done:
http://elrepo.org/tiki/bumblebee
Also rebooted several times - and that "reboot" is the instruction provided. I am guessing they overlooked what we are supposed to "just know" to do next?
Adjusting the "faq" for Centos7 ( https://github.com/Bumblebee-Project/Bu ... leshooting ), I did this ...
So "Module 'nvidia' is not found" by bumblebee, but nvidia-detect said I needed to install bumblebee, which I did, and rebooted, so that bumblebee could tell me the nvidia-module isn't installed, but bumblebee was supposed to fix that, so ... (running in circle here).
From the FAQ for this error msg:
Code: Select all
# lspci
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K2000M] (rev ff)
Code: Select all
# nvidia-detect
kmod-nvidia
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
Code: Select all
yum install bumblebee
Package bumblebee-3.2.1-10.el7.elrepo.x86_64 already installed and latest version
Everything in the "Procedures as of September of 2015" here has been done:
http://elrepo.org/tiki/bumblebee
Also rebooted several times - and that "reboot" is the instruction provided. I am guessing they overlooked what we are supposed to "just know" to do next?
Adjusting the "faq" for Centos7 ( https://github.com/Bumblebee-Project/Bu ... leshooting ), I did this ...
Code: Select all
# tail -200 /var/log/messages
...
Feb 25 15:22:32 localhost systemd: bumblebeed.service holdoff time over, scheduling restart.
Feb 25 15:22:32 localhost systemd: Started Bumblebee C Daemon.
Feb 25 15:22:32 localhost systemd: Starting Bumblebee C Daemon...
Feb 25 15:22:32 localhost bumblebeed: [968092.947881] [ERROR]Module 'nvidia' is not found.
Feb 25 15:22:32 localhost systemd: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
Feb 25 15:22:32 localhost systemd: Unit bumblebeed.service entered failed state.
Feb 25 15:22:32 localhost systemd: bumblebeed.service failed.
From the FAQ for this error msg:
And with that, we are thrown into the ocean to go googling. Not even a helpful link with a step by step. I could post the pages of things tried from my searches, but none worked - so rather than post un-helpful, non-working attempts from a non-OS-engineer, can someone direct me to the correct procedure to obtain the needed "kernel headers matching your kernel and maybe some patches"?You can find this message in your syslog when the configured nvidia driver is invalid, you might need KernelDriver=nvidia-current for example. Find out the name by executing find /lib/modules/$(uname -r) -name 'nvidia*.ko*' ... Can't find the nvidia module? Then ensure that you the module is built. You will need the kernel headers matching your kernel and maybe some patches if you run a very recent kernel with a slightly older nvidia driver.