These instructions originate from https://www.linkedin.com/pulse/20140...nvidia-drivers, but I modified them slightly for my desktop environment (64-bit HP Envy Phoenix 810-135qe w/Intel i7-4770 and HP ZR2440w monitor, nVidia GeForce GTX645, Red Hat Enterprise Linux 7.1 w/Gnome3).
The following procedures replace the nouveau drivers with kmod-nvidia drivers from ElRepo.
Install the repository ElRepo from: http://elrepo.org/tiki/tiki-index.php
Install the package nvidia-detect from within Applications>SystemTools>Software
From within the terminal, enter the command nvidia-detect.
Example:
[anthony@hp810135qe ~]$ nvidia-detect
Output is...
Probing for supported NVIDIA devices...
[10de:11c4] NVIDIA Corporation GK106 [GeForce GTX 645 OEM]
This device requires the current 346.59 NVIDIA driver kmod-nvidia
For my system the following software packages will apply (yours maybe slightly different, the key is to note the ###.## version identified for your system using nvidia-detect as explained above): kmod-nvidia-346.59-1.el7.elrepo (64-bit), nvidia-x11-drv-32bit-346.59-1.el7.elrepo (64-bit), nvidia-x11-drv-346.59-1.el7.elrepo (64-bit)
Now do the following steps in the sequence indicated:
1. Disable X Windows
a) open a terminal and "su" or "sudo -i"
b) ln -fs /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
Note: Another way to disable X Windows is to do the following from within the Terminal # systemctl set-default multi-user.target
To later change back to booting into graphical mode, substitute 'graphical.target' for 'multi-user.target' in the above commands.
c) reboot
2. Remove Nouveau
a) rpm -e xorg-x11-drivers xorg-x11-drv-nouveau
Note: Another way to remove Nouveau is to do the following from within the Terminal
$ yum remove xorg-x11-drivers xorg-x11-drv-nouveau xorg-x11-glamor
See http://elrepo.org/tiki/kmod-nvidia which discusses that glamor still causes a conflict with nVidia in RHEL 7
3. Blacklist Nouveau
a) edit /etc/modprobe.d/blacklist.conf and add line:
blacklist nouveau
Note: A way to edit this file is by doing the following:
# vi /etc/modprobe.d/blacklist.conf
(use INSERT key to make changes in vi; add the line
blacklist nouveau
Hit Esc key to escape INSERT mode, then hit SHIFT Z Z to save and exit with the changes. Hitting :q ENTER leaves vi without saving changes.
b) edit /etc/default/grub and append to GRUB_CMDLINE_LINUX:
rd.driver.blacklist=nouveau
Note: A way to edit this file is by doing the following:
# vi /etc/default/grub and append to GRUB_CMDLINE_LINUX:
(use INSERT key to make changes in vi; add the line
rd.driver.blacklist=nouveau
Hit Esc key to escape INSERT mode, then hit SHIFT Z Z to save and exit with the changes. Hitting :q ENTER leaves vi without saving changes.
IMPORTANT NOTE IF YOU HAVE AN ENCRYPTED BOOTUP DRIVE -
If you have an encrypted root drive, remove "rhgb" from GRUB_CMDLINE_LINUX. This will allow you to interact with the encryption passphrase prompt, since Plymouth doesn't seem to run without a framebuffer friendly video driver loaded. IF YOU DON'T THIS, WHEN YOU BOOTUP YOU WILL GET STUCK AT A BLINKING CURSOR AND BLACKSCREEN THAT HAS THE FOLLOWING ERROR MESSAGES:
[5.757276] scsi 7:0:0:0: alua: not attached
[5.759625] sd 7:0:0:0: [sdg] no caching made page found
[5.759668] sd 7:0:0:0: [sdg] assuming drive cache: write through
WHEN THIS HAPPENS IT MEANS PLYMOUTH IS NOT ABLE TO SHOW YOU THE PROMPT FOR ENTERING THE PASSPHRASE FOR THE ENCRYPTED DRIVES. WITHOUT THE PROMPT THE SYSTEM CAN'T ACCEPT THE PASSPHRASE AND YOU ARE STUCK. IF THIS HAPPENS TO YOU, YOU CAN DO CTRL-ALT-DELETE TO REBOOT - THIS ALLOWS YOU TO HIT 'e' AT THE KERNEL LINE IN GRUB TERMINAL TO EDIT (MOST LIKELY THE TOP KERNEL) AND THEN REMOVE 'rhgb' (which stands for Red Hat Graphical Bootsplashcreen or something like that). WHEN DONE HIT THE KEYS 'CTRL X' TO REBOOT - YOU'LL THEN SEE TEXT MESSAGES SCROLLING AND GET AN OPPORTUNITY TO ENTER THE PASSPHRASE. ENTER THE PASSPHRASE AND YOU SHOULD BE GOOD TO GO.
4. Reconfigure the grub.cfg files
Two options for booting nowadays are BIOS and EFI
-If you chose BIOS boot run this command:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Note: I also have this one being auto-updated-configured in my system (?why? It's EFI).
-If EFI boot on CentOS:
# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
-If EFI boot on RHEL:
# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
Note: Mine is an EFI system. But I did both this and the BIOS grub.cfg above since it too is being updated by RHEL updates concurrently with the EFI grub.cfg
5. Reboot and Install NVidia Driver - I use ElRepo's kmod-nvidia for this step.
Steps by me to install ElRepo's kmod-nvidia (You should still be in Text mode at this time):
If in multi-user.target mode (text, runlevel 3), then do the following
$ su -
enter root password
# yum install kmod-nvidia - version from above
# yum install nvidia-x11-drv-32bit - version from above (this is for 32bit compatibility)
# yum install nvidia-x11-drv - version from above (this is for Open GL X11 display driver and to be done if kmod didn't already include doing it with the kmod-nvidia installation above)
# exit
$
If still in graphics.target mode (you shouldn't be but if you are) (GUI, runlevel 5),
Use Applications > Software > kmod-nvidia - version from above
Install kmod-nvidia - version from above
Install nvidia-x11-drv-32bit - version from above (this is for 32bit compatibility)
Install nvidia-x11-drv - version from above (this is for Open GL X11 display driver)
6. At this point rebuild initramfs. This recreates initrd w/o nouveau. The existing initrd still has the embedded nouveau drivers if this step is not performed) :
Back up the current initramfs keeping nouveau
# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
Build the new one without nouveau
# dracut /boot/initramfs-$(uname -r).img $(uname -r)
7. Re-Enable X Windows
# systemctl set-default graphical.target
8. Reboot
If you have an encrypted bootup drive, when you bootup you may notice that Plymouth doesn't look so good with its text in a lower resolution and you'll see lines of text scrolling until you get to a stopped cursor waiting for you to enter the passphrase to unencrypt your drive. Maybe eventually there'll be a solution for this to keep things moving with a graphical bootsplash all throughout. Until then, this is a minor inconvenience for me.
Hey guys. So I just went out and bought a Sager 8268-s (clevo p150sm-a) With an i7 4910mq and a Nvidia 980m gt. As I am a computer tech by trade, every time i see Windows i get horrible PTSD so i decided to try Linux instead. After many hours of trying to get a dual boot working finally got Linux Mint 17 Cinnamon installed on my computer, but when I went to install the Nvidia driver it landed me in fallback mode which I could not escape. So then I tried Ubuntu 14.04 LTS thinking maybe Mint was incompatible with the driver and the same thing happened.
So here is my method:
(sorry i don't know how to make a code box :/ )
First I log in to get root access:
$ su
Then I Update the xorg:
$ sudo apt-add-repository ppa:xorg-edgers/ppa
Then update my system:
$ sudo apt-get update && sudo apt-get dist-upgrade
Then i go into Virtual terminal (Ctrl+Alt+F1) and disable the display manager:
$ sudo service mdm (or lightdm for Ubuntu) stop
Then i install the drivers which i have done multiple ways:
$ sudo apt-get install nvidia-current nvidia-settings
or
$ sudo apt-get install nvidia-343 nvidia-settings
or by downloading the driver from Nvidia (first designating the file as executable)
$ sudo sh nvidia.run && sudo apt-get install nvidia-settings
Then after install, I create the config file:
$ sudo nvidia-xconfig
Then I reboot. After I get the low res mode in Ubuntu or fallback mode in Mint and Driver manager doesn't detect any proprietary drivers and I have to reinstall to get the OS working again. Any suggestions would be greatly appreciated.
Hi,
These NVIDIA products are real nightmares. I recently downloaded a copy a sabayon linux for my desktop.
The live dvd booted with the following error message throughout the screen
Quote:
[ 3129.434776] NVRM: No NVIDIA graphics adapter found!
[ 3129.434855] NVRM: NVIDIA init module failed!
[ 3129.479276] NVRM: The NVIDIA GeForce 7025 / nForce 630a GPU installed in this system is
NVRM: supported through the NVIDIA 304.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 340.58 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
[ 3129.479285] NVRM: No NVIDIA graphics adapter found!
[ 3129.479362] NVRM: NVIDIA init module failed!
[ 3129.519879] NVRM: The NVIDIA GeForce 7025 / nForce 630a GPU installed in this system is
NVRM: supported through the NVIDIA 304.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 340.58 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
However after a long time it started up properly. After installing the os I found that the problem still persists. Firtsly it took about 10 mins or so to boot. And then apart from terminal 7 (which is the graphical terminal) all other terminals shows the above output. It seems like it has fallen through an infinite loop. I tried downloading some drivers from the nvidia site but simply could not install them because it mandates the X to stop working. If I do so I won't be able to install it from other terminals.
I have attached the output of "dmesg".
Any help is appreciated.
new computer from boxes, does not install nvidia driver
Booted from USB then ran YaST, I am new with OpenSuse but have two times before installed OpenSuse on fresh HDD's and Nvidia cards with ease.
The symptoms are like when I switched from a GTX 640 that only has mother board power to the GTX 750 Ti and needed power that I did not connect at first. Until I added extra power to the graphics card I only got a single low res VGA output. This 750 card definitely has power but still can only provide single low res to VGA output.
Terminal (dmesg) ......The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1380)installed in this system is not supported by the 304.125 NVIDIA Linux driver release. Please see 'Appendix A - supported NVIDIA GPU Products' in this release's README, available on the Linux driver download page at www.nvidia.com. .... None of the VVIDIA graphics adapters were initialized!
Terminal (uname -r) 3.16.7-21 -default [OpenSuse version]
Terminal (/sbin/lspci) VGA Compatible controller: Nvidia Corporation GM107 [GeForce GTX 750 Ti] (rev 02)
have tried:
1. different power cables to graphic card
2. two GTX 750 Ti cards, neither work.
3. re-installed OpenSuse
4. removed card and mother board can run two monitors in high res. DVI cables are new and work. Monitors (4) are all AOC i2367 and working.
5. added to repository 'bumblebee' which contains NVIDIA drivers and tried rebooting. I am not good at repositories yet. However, I didn't need to do this twice before on new installs with NVIDIA cards.
6. downloaded from www.geforce.com file:///home/shark/Downloads/NVIDIA-Linux-x86_64-346.72(1).run but when I run it error, "The file /home/shark/Downloads/NVIDIA-Linux-x86_64-346.72(3).run was opened with UTF-8 encoding but contained invalid characters."It is set to read-only mode, as saving might destroy its content.
Either reopen the file with the correct encoding chosen or enable the read-write mode again in the menu to be able to edit it."
Hardware list: Asus H81M-E motherboard, i5 4460 CPU, 550W power, Asus GeForce GTX 750 Ti graphic card,
Note: two graphic cards on hand, both work in another OpenSuse computer.
I am just learning Linux so I need simple step by step instructions.
Thank you in advance.
Hello everyone im new here and it is my first post, im using slackware 14.1 x64 on an alienware m11xR2 and im havin trouble with Nvidia drivers.
I tried binary and package installations with bumblebee.
Nothing works, GLX doesn't work and after making "nvidia-xconfig" X doesn't start.
I remove the xorg.conf and then X starts but without nvidia and GLX.
Can someone help me ?
Oh, and im french so sorry for my bad english.
Hi everybody!
I have visited this forum a lot in the last years to learn information about Linux, so above all thank you very much to the linuxquestions.org community for building this valuable resource!
Now my question:
I have a brand new Nvidia GTX750 graphics card. Nouveau does not work correctly with this card (very low resolution and red dots all around the screen appear), so I need to install propietary drivers.
I have coped with this when installing distros in my hard drive, I just install the propietary drivers following the reccomended user guidelines and that's all, but I'm now starting to work with Tails (amnesic Linux distribution) and 'unfortunately' as it's an amnesic system I'll have to install them everytime I boot.
I was wondering if there's a way to install them permanently on my Live CD/USB so I am ready to work as soon as I boot. I have not really any clue on how a LiveUSB is composed, and as far as I have searched on the Internet I have not found any information about this matter.
Sorry for the bad grammatics, I have a pretty bad level of English
TL;DR: How can I permanently install Nvidia propietary drivers on an amnesic Linux Live CD/USB?
Regards,
tete7
Hey everybody!
I am (quite) new to the world of linux, but have been trying out a few of the most basic distros (ubuntu-based ones).
I am now using elementary os luna, and i have a problem with installing my nvidia drivers.
I have really been googling my ass off to find this on my own, but without any results that actually worked for me.
So, i have a HP Envy laptop, with a geforce gt 740m, and i have searched nvidias homepage to find out that the up-to-date driver for me would be the 346 driver. I tried it on Linux mint xfce, and i successfully installed it. I had to add the xorg ppa repository of course, and updated it as well, but when i do the same procedure here on my elementary os, i cant reach the login screen after my reboot.
When i use the lspci -vnn command in the terminal, i get this info on my graphics driver:
01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)
Subsystem: Hewlett-Packard Company Device [103c:1961]
Flags: fast devsel, IRQ 16
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at b2000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nouveau, nvidiafb
I really hope someone knows how to fix my problem.
Thanks in advance!
/Andreas
Hey just signed up after lurking for a bit.
I'm using Mint 17.1 and following the advice in this post to solve my missing menu problem which worked fine.
http://www.linuxquestions.org/questi...5/#post4234891
But now after using
Code:
mv ~/.config ~/.config.org
my FPS in a steam game went down from 70 to 30.
I did some re-installations in my package manager, but the FPS still sucks.
Quote:
Commit Log for Mon Mar 23 16:15:01 2015
Completely removed the following packages:
nvidia-340
nvidia-settings
xserver-xorg-video-nouveau
Removed the following packages:
xserver-xorg-video-all
Quote:
Commit Log for Mon Mar 23 16:28:01 2015
Installed the following packages:
nvidia-340 (340.76-0ubuntu1~xedgers14.04.1)
nvidia-settings (346.47-0ubuntu1~xedgers14.04.1)
xserver-xorg-video-nouveau (1:1.0.11+git20141030.3fb97d78-0ubuntu0sarvatt~trusty2)
Quote:
Commit Log for Mon Mar 23 16:40:46 2015
Reinstalled the following packages:
steam-launcher (1.0.0.47)
I also re-downloaded the game as well to make sure it set a new configuration file if it needed to.
Hello.
I am a newcomer to Linux, coming from Windows, desktop PC user. I already have a few months' experience with Ubuntu and Mint. I can handle some basic terminal commands, but I prefer the GUI whenever possible.
I'm not an IT specialist, far from it. Just a normal average computer user who can read a few things if they are understandable enough, and wants a decent operating system. So please speak to me in simple human terms, I can handle high tech jargon only so much. Thanks.
I have 2 main questions:
1. I've encountered problems when booting from LiveCD (written to USB) with both Mint and Lubuntu. The boot menu appeared but when I pressed any of the “try live” or “install” options, the screen froze with garbled checkerd pixels. Web searching for solutions, I found the thing with accessing special boot options and adding kernel parameters like 'nomodeset' and 'noaccel' and doing that I could proceed with installation. Then, after installing proprietary drivers, everything was fine.
This is not the first time this happened. As far as I understand this is related to the nouveau driver.
Does this happen only with some distros, like, for example, Ubuntu and its derivatives, or is it a larger problem from the main Linux kernel? From what I've read on some forums, such problems happened with other graphic cards as well, and it seems to be an old problem as old as 2011 if not older.
Why nothing could have been done to fix these issues so far? Couldn't all distros use some option from boot menu to either go with simple safe vesa graphics mode or a text based helpful install that might guide the user afterwards in downloading the proprietary drivers if s/he desires?...
And what is the main cause of the problem? Nvidia not doing FOSS drivers? Nouveau not being flexible enough? Linux kernel not keeping up? Particular distros that don't care about adding an extra boot option? A combination of all these? What is to be done? Would switching to other distro help in this regard? how would I know which distros use nouveau and which don't?
2. I'd like to look into other distros as well. What I need is stability, meaning as bug free as possible, as few apps hanging or crashing as possible, while still being user friendly. But no rolling realeases, please. I want to update the system without fear that I won't boot into desktop – again!
I need distros that come with multimedia codecs, Flash and stuff out of the box and also an easy option to install the proprietary video card graphics driver. I am all for FOSS, but for now I'm also being realistic, and unfortunately have to go with proprietary drivers.
What recommendations do you have?
Thank you.
I want to change the menu on a Suse 12 Enterprise system.
I edit the /etc/default zip12grub.conf file execure grug2-mkconfig. Then reboot the system and no changes occur. The zip12grub.conf seems like the correct file to update so I am at a loss as to what the correct process would be.
cat zipl2grub.conf
## This is the template for '@zipldir@/config' and is subject to
## rpm's %config file handling in case of grub2-s390x-emu package update.
[defaultboot]
defaultmenu = menu
[grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_EMU_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ initgrub quiet splash=silent "
[skip-grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ "
[test-grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ "
:menu
target = @zipldir@
timeout = 16
default = 1
prompt = 1
1 = grub2
2 = skip-grub2
3 = test menu grub2
grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/image-3.12.39-47-default
Found initrd image: /boot/initrd-3.12.39-47-default
Found linux image: /boot/image-3.12.28-4-default
Found initrd image: /boot/initrd-3.12.28-4-default
done
reboot
Storage cleared - system reset.
zIPL v1.24.1-38.17 interactive boot menu
0. default (grub2)
1. grub2
2. skip-grub2
Note: VM users please use '#cp vi vmsg <input> <kernel-parameters>'
Please choose (default will boot in 16 seconds):
Booting default (grub2)
Hi folks,
I'm trying to install the drivers for my "legacy" nvidia graphics card.
I've downloaded the file from nvidia's website to install the driver, but during the process I get this message...
Kernel header file ' /lib/modules/3.13.0-37-generic/build/include/linux/version.h ' does not exist .
The most likely reason is the kernel source files in ' /lib/modules/3.13.0-37-generic/build ' have not been configured.
Anyone know how to configure this file? I've been working on this for a few days now...it's getting old!
Thanks for your help.
Joe