I had can to create the manual blacklist entry for nouveau. I did this because I wanted to use the non-free driver. This is also required if you want to use the Intel HD internal graphics card with a Nvidia chip set as a secondary card.
The first edit will disable nouveau and verify by "lsmod | grep -i nouveau"
Manual edits required to get this working.
1. Created blacklist entry, /etc/modprobe.d/blacklistnouveau.conf as shown below
# cat /etc/modprobe.d/blacklistnouveau.conf
blacklist nouveau
options nouveau modeset=0
2. kernel option used, nomodeset
Below (lines below) if you want to use the Nvidia non-free driver support:
3. Used Nvidia xconfig tool, nvidiaxconfig
4. Edit the file manually to see what drivers were being used , it should state: Drivers “nvidia”
5. ** Special note, I have two separate video GPU cards and decided to use individual heads, device1, device2
Now after booting, Nvidia drivers are working because the X server came up. I noticed that
'numlock' was off. Verification of X is as follows:
1. Verify what is in proc, lsmod, dmesg messages
# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.30 Tue Jul 21 18:53:45 PDT 2015
GCC version: gcc version 4.8.3 20140106 (OpenMandriva Association) (Linaro GCC 4.82014.01)
This is the driver we wanted, 352.30, installed from 'mcc'; manual edits required for the blacklist
file creation. The installation needs to create something. The Nvidia installer does create a file for
you using their manual installation method by executing the driver installation <Nvidia-
driver.version>.run.
2. Verify X log in /var/log/Xorg.0.log.
3. Run Nvidia settings and Nvidia System Management Interface tool, nvidiasettings, a X tool,
and nvidiasmi, System Management interface tool
Nvidiasmi, reports the driver version match such as in proc/driver/nvidia/version and reports the
GPU(s). GPU0, is the 960; GPU1, is the 730 card. I want to run the 960 as the primary (a
physical connection to a 24in monitor).
# nvidiasmi
Sat Feb 27 04:26:53 2016
++
| NVIDIASMI 352.30 Driver Version: 352.30 |
|+++
| GPU Name PersistenceM| BusId Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| MemoryUsage | GPUUtil Compute M. |
|============+======================+======================|
| 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A |
| 0% 28C P8 7W / 128W | 216MiB / 4091MiB | 0% Default |
++++
| 1 GeForce GT 730 Off | 0000:02:00.0 N/A | N/A |
| 30% 28C P8 N/A / N/A | 66MiB / 1023MiB | N/A Default |
++++
++
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|==================================================|
| 0 4619 G /etc/X11/X 200MiB |
| 0 6121 G /usr/bin/nvidiasettings 2MiB |
| 1 Not Supported |
PS, I have used this in the past. You can also try using "acpi_osi=Linux" on the kernel command line.
This allows be to boot with the Nvidia card as a primary video source with the Intel HD graphics card disabled in BIOS.
I have found that the BIOS is disabled and initfs still loads the i915 driver module