Installing drivers: Acer Aspire VN7 592-G - Nvidia GTX 960M + Intel® HD-Grafik 530
Hello everyone.
I'm relatively new to the linux world but not a computer novice. But I fail to install the Nvidia drivers on my laptop.
Before switching my main machine at home I decided to use my laptop to get into Linux especially RHEL7 (7.4) and because RHEL is one of the supported OS for TheFoundry's Modo (https://www.foundry.com/products/modo/requirements)
Modo's Supported operating systems:
Mac OS X 10.10.x, 10.11.x and 10.12.x
Windows 7, Windows 8 and Windows 10 (64-bit only)
Linux 64-bit operating system (RHEL 6.8+ & CentOS 7+)
So installing Linux in general was not the issue. I want to install the Nvidia drivers for better Performance for my DCC applications.
Please correct me if I'm wrong here but as far as I unterstood the nouveau drivers which comes which RHEL7 isn't really optimal for graphical purposes.
So I want to install Nvidia what ever way is possible.
I've checked this solution here "How to disable the Nouveau driver and install the Nvidia driver in RHEL 7 " (https://access.redhat.com/solutions/1155663) and went through the steps.
- Acquire the Nvidia driver (http://www.nvidia.com)
- Edit Grub2 to blacklist the Nouveau driver
- Install your nvidia driver
- At this point you will need to rebuild initramfs
- Reboot the system
The result in the end Nvidia driver doesn't load I can't boot into the OS and can't access the OS anymore.
I've tried several other solutions decribed for CentOS 7 and Fedora. Same result everytime.
I see the operating system trying to boot and then a splash screen showing a "sad face" that something went wrong and the system wasn't able to solve
this problem. I've formatted my computer now 6 times in the past three days.
Not sure but I think I'm missing something here since my laptop has Hybrid Graphics with the "Nvidia GTX 960M" and the "Intel® HD-Grafik 530". Could that be the reason why the procedure "How to disable the Nouveau driver and install the Nvidia driver in RHEL 7 " (https://access.redhat.com/solutions/1155663) will not work in my case?
I know for a fact that even Windows 10 has issues after initial installation with properly handling the Hybrid Graphics. When I got the laptop I wasn't able to install the Nvidia drivers right away.
I do get some error during the boot screen but nothing related to the nvidia drivers as fas as I could find out from my research.
0.045931 platform MSFT0101:00: failed to claim resource 1
0.045935 acpi MSFT0101:00: platform device creation failed: -16
1.495009 EFI: Problem loading in-kernel X.509 certificate (-129)
(not sure I think that was something during a security update or this line belongs to the error
bus: MMIO read of 00000000 FAULT at 022554 [ IBUS ]
As far as I could find out the MSFT0101 is something regarding the boot error:
"Error -16 is - device busy" and it's something about the "TPM (Trusted Platform Module), feature which implements cryptographic keys storage, used to improve security for technologies such as bitlocker."
source: (http://www.linuxforums.org/forum/miscellaneous/210471-acpi-platform-device-creation-failed.html)
Any idea what am I missing here or how I can actually install the drivers for the Nvidia and Intel GPU and is Linux capable of switching between those two depending on the application I'm running?
Not giving up to get into Linux and especially RHEL though. I'm going to try other solutions from http://www.giyf.com/
Sunny :)
Responses
Hi Sunny,
EDITED/UPDATED there is a chance that UEFI boot might be getting in your way based on some research of that oddball x509 error you got. I'm not 100% sure, but it's plausible.
Sunny, that does seem odd. You could attempt after the initial Red Hat load of your system performing a yum update and see if the intel drivers work as part of the kernel. Sometimes they are included in the standard kernel.
However, if since you have an NVidia card, it is worthwhile to attempt to use it...
I'm not sure if this will work or not as when I do NVidia driver installs, I'm generally in front of the system and try a number of things. I'm hoping the driver I found below helps... Those errors you got with the X.509 certificate are odd, very odd, however, it seems like it might be UEFI getting in the way. You might be able to shut off UEFI and use standard grub without UEFI, that may help!!! Unfortunately, that would mean another reload. That's unfortunate.
Try http://www.nvidia.com/download/driverResults.aspx/130646/en-us which seems to be the driver for LInux 64bit for a GTX960M. Download it to /var/tmp (/tmp gets deleted after some point).
Install one, or the other video drivers, but certainly not both.
Install it at something called "multi-user.target" (this means you are not in a graphical mode).
Download the file to your system.
Become root before doing this in a terminal window. From nvidia's instructions at http://www.nvidia.com/download/driverResults.aspx/130646/en-us in the tab Additional Information,
echo "enter the root account in a terminal window"
systemctl isolate multi-user. target
echo "you may need to log in again, it will be a terminal window, text, no graphics"
echo "become root again"
cd /var/tmp
echo "or navigate with the cd command to the place where you have this file"
sh ./NVIDIA-Linux-x86_64-390.25.run
At that link, you'll need to
One of the last installation steps will offer to update your
X configuration file. Either accept that offer, edit your X
configuration file manually so that the NVIDIA X driver
will be used, or run nvidia-xconfig (after running the
file in the previous block of text).
Reboot your system afterwards with the reboot command.
I hope this helps, I'll be in some classes the next 2 days, if I can't respond, hopefully someone else can.
Kind Regards, hope it goes well
RJ
Hi Sunny, yes, I'd do so, absolutely (blacklist nouveou), nvidia will complain otherwise. In the .run file you download, there's likely a lesser-known method to do it through the nvidia driver, but I've never tried it (I've seen it when looking at the advanced switch features).
You can often do a
sh ./NVIDIA-Linux-x86_64-390.25.run --accept-license
and then it won't prompt you for licensing questions. There's other switches you can find by passing --help (I think I recall)
important
By the way try to install the nvidia driver before you change (in the bios) from UEFI to "legacy" (non-UEFI), just to see if it will work or not in the method I found from NVIDIA.
Hope it goes well,
Kind Regards,
RJ
"my laptop has Hybrid Graphics with the "Nvidia GTX 960M" and the "Intel® HD-Grafik 530". "
If you don't plan to use the Intel graphics, you want to disable it in the UEFI setup (or "BIOS"). If your hardware does not let you disable it, then you'd need to use bumblebee, or else look into this discussion thread.
Hello Sunny I banged my head against the wall for ages to fix this one if you get stuck at "Started Update UTMP about System Runlevel Changes." or "Started GNOME Display Manager" , the problem appears to be gdm the display manager for RHEL 7 login, these are the steps i took to get around it
Steps 1. Blacklist nouveau module and installed nvidia driver as specified in the red hat 7 documentation (which you mentioned you have done 2. installed epel from https://fedoraproject.org/wiki/EPEL 3. Ran sudo yum install dkms slick-greeter lightdm lightdm-settings 4. sudo systemctl disable gm 5. sudo systemctl enable lightdm 6. sudo vim /etc/lightdm/lightdm.conf 7. Search for "#greeter-session=", change to "greeter-session=slick-greeter", make sure to remove the # to uncomment the line, save and close 8. Run sudo nvidia-xconfig and reboot
It may take a min or two to boot the first time, best of luck
Hi Sunny,
Say - Did you try that bit I mentioned after installing the graphic driver -- running this: (I'm hoping that this is the only thing of what's left to do...)
nvidia-xconfig
You'll need to run that at multi-user.target probably.
That was from that link I mentioned earlier from nvidia's instructions at http://www.nvidia.com/download/driverResults.aspx/130646/en-us in the tab Additional Information
Let us know how it goes. If you run into any snags, check out this bit I mentioned previously at http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/index.html
Let us know how it goes,
Kind Regards,
-RJ
Hi Sunny,
Just curious, did you already try to install the NVIDIA drivers being packaged by negativo17.org or RPM Fusion ?
They should work right out-of-the-box without the necessity to configure anything else additionally yourself ... :)
Additional hint : Please check whether you can disable Optimus (alternative usage of intel graphics) in the BIOS.
Regards,
Christian
You're welcome RJ, in this post I explained how to install the drivers from these repositories properly.
The only additional requirement is that the extras-rpms and optional-rpms repos have to be enabled.
I recommend to disable the nouveau drivers during install with parameter nouveau.modeset=0. :)
Regards,
Christian
Sunny, one thing - it is important that you remove every NVIDIA software (using the NVIDIA .run file installer), all configuration changes and all other traces of your earlier attempts before installing the drivers from one of those repositories. Reboot the system afterwards, login to a virtual console and then install the drivers ... good luck ! :)
Regards,
Christian
Hey Sunny, there's something wrong : 304 drivers are for older GEFORCE adapters !
You need to install the 384 drivers for your GTX 960M card ... please try it this way :
(Replace "server" with "desktop" or "workstation" ... if you use one of these editions.)
sudo subscription-manager repos --enable rhel-7-server-extras-rpmssudo subscription-manager repos --enable rhel-7-server-optional-rpmssudo yum update
sudo yum install kernel-develsudo yum install vulkan-filesystemsudo yum install akmod-nvidia-384.111-1.el7.x86_64 xorg-x11-drv-nvidia-384.111-1.el7.x86_64
Regards,
Christian
Hmmm ... that's somewhat strange, Sunny ... these packages are matching exactly the 384 drivers version.
Didn't you disable the other repo (negativo.org) before ? If you didn't, disable it and run yum update again.
To do it execute : sudo yum-config-manager --disable epel-nvidia.repo | sudo yum update
Check with sudo nano /etc/yum.repos.d/epel-nvidia.repo if the entries there show enabled=0.
In case that an entry still shows enabled=1, change it, press Ctrl +X then Y and Enter to save the change.
Now the nvidia-driver from negativo.org won't conflict any longer with the drivers from RPM Fusion. :)
Regards,
Christian
Sunny, another additional tip : Disable Secure Boot in the UEFI settings of the BIOS (Windows - in case you have a dual boot setup - will boot in Secure Boot mode nevertheless) ... because the Secure Boot enabled setting may prevent the drivers from being loaded.
Quote from NVIDIA release notes :
Signing the NVIDIA Kernel Module
Some kernels may require that kernel modules be cryptographically signed by a key trusted by the kernel in order to be loaded. In particular, many distributions require modules to be signed when loaded into kernels running on UEFI systems with Secure Boot enabled. nvidia-installer includes support for signing the kernel module before installation, to ensure that it can be loaded on such systems. Note that not all UEFI systems have Secure Boot enabled, and not all kernels running on UEFI Secure Boot systems will require signed kernel modules, so if you are uncertain about whether your system requires signed kernel modules, you may try installing the driver without signing the kernel module, to see if the unsigned kernel module can be loaded.
Regards,
Christian
Hi Sunny,
Firstly, why did you "set the BIOS to legacy mode" ? There's no reason to install RHEL in legacy BIOS mode and it's also not recommended. I have told you to disable Secure Boot - please do that and install the system in EFI mode. Secondly, why did you "blacklist nouveau in grub and modprobe.d" manually ? I told you that there's no need to configure something manually when you install the NVIDIA drivers from one of the repositories I've suggested.
Please, carefully read all instructions I've already provided in this and the other post, choose one of those repos and and remove every other related NVIDIA software from earlier attempts before starting the installation. Bumblebee is something you should avoid, the project is unmaintained since quite a long time and not the best way to handle the graphics. Best would be to start over from scratch with a clean installation of the system.
To sum it up Sunny, choose only one of the repositories and follow exactly the instructions. Most important is, that everything is configured correctly in the BIOS, disable Secure Boot, disable Optimus support (if possible), install the system in EFI (GPT) mode ... I am sure that you will succeed in the end. I have tested both options (negativo.org and RPM Fusion) several times on different machines and various editions of Red Hat based systems (CentOS / fedora / RHEL) and it always worked as expected. Please don't give up ... I wish you good luck ! :)
Regards,
Christian
Great Sunny, good to read that you don't give up. Disabling NVIDIA Optimus support is an option, which not every vendor ships - see, every BIOS is different, sadly there is nearly no documentation provided by most of all manufacturers. Don't miss my third comment from the other post, with this method the nouveau drivers are disabled during the installation. Once again, good luck ! :) Please report back the results. By the way, I do not have the possibility to disable Optimus on my PC's too.
Regards,
Christian
Hi Sunny, you've performed everything correctly, and it really should have worked.
Please try the following workaround : execute sudo nano /etc/default/grub.
Add nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX so that it reads
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau nvidia-drm.modeset=1"
Press Ctrl +X, then Y and Enter to save it, then update the GRUB configuration :sudo grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg and reboot.
Regards,
Christian
One question Sunny, is the BIOS firmware updated to the latest version ? Please check this with Acer support.
That has something to do with the hardware generally - the CPU warning message you receive is not normal ... especially not on an "un-tweaked" system, so this problem cannot be related to the NVIDIA drivers installation.
Regards,
Christain
Hi Sunny, that won't make a difference, akmod-nvidia-384.111-1.el7.x86_64 and xorg-x11-drv-nvidia-384.111-1.el7.x86_64 only specify the exact package version. I only said that because you mentioned earlier this Error: "Packet: xorg-x11-drv-nvidia-libs-304.111-1.el7.x86_64", which would be the wrong version (304). Unfortunately I am starting to run out of ideas what to do and why it does not work ...
Regards,
Christian
Hey Sunny, sometimes "little tiny things" make a difference ... did you try to boot with the additional parameter nvidia-drm.modeset=1 ? By the way, the nouveau drivers aren't that bad, I am using them and they are running just fine. I only install the proprietary NVIDIA drivers for testing purposes to help people like you. And congrats for your decision to choose RHEL as host operating system ! :)
Regards,
Christian
Well Sunny, that's some kind of good news, it is a progress and I think you are close to getting it done. I suggest that you contact the Acer support team at this point, because I assume that there has to be adjusted something in the BIOS. From my experience I can tell you that many Acer notebook owners are having similar problems with NVIDIA setups. Maybe you find something useful in Acer forums. :)
Regards,
Christian
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
