Revisit: IGP for desktop, GPU for F@H
Steps I've taken:
1. Uninstalled everything Nvidia, and Nouvea, leaving in the Intel driver.
2. Plugged in my monitor in to the motherboard, leaving nothing plugged in to the graphics card, and set the IGP as default in the BIOS.
3. Rebooted to make sure the Intel IGP was been used, and the desktop is been rendered correctly.
4. Installed the nvidia-375 drivers.
5. Installed nvidia-settings and nvidia-prime
6. installed nvidia-cuda-toolkit
--From here on forwards, it is trial and error.
7. From the synaptic package manager:
-Installed nvidia-opencl-icd-367
-Installed Cuda Drivers
-Installed clinfo (To see OpenCL and Cuda status)
*These will uninstall previous installations in the above steps
8. Rebooted.
Code: Select all
user@user-MS-7851 ~ $ dpkg -l|grep nvidia
ii nvidia-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 375.66
ii nvidia-375-dev 375.66-0ubuntu0.16.04.1 amd64 NVIDIA binary Xorg driver development files
rc nvidia-381 381.22-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 381.22
rc nvidia-cuda-toolkit 7.5.18-0ubuntu1 amd64 NVIDIA CUDA development toolkit
ii nvidia-modprobe 375.26-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-opencl-dev:amd64 7.5.18-0ubuntu1 amd64 NVIDIA OpenCL development files
ii nvidia-opencl-icd-367 375.66-0ubuntu0.16.04.1 amd64 Transitional package for nvidia-opencl-icd-375
ii nvidia-opencl-icd-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2linuxmint1 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 381.22-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
user@user-MS-7851 ~ $ dpkg -l |grep xserver
ii x11-xserver-utils 7.7+7 amd64 X server utilities
ii xserver-common 2:1.18.4-0ubuntu0.2 all common files used by various X servers
ii xserver-xorg 1:7.7+13ubuntu3 amd64 X.Org X server
ii xserver-xorg-core 2:1.18.4-0ubuntu0.2 amd64 Xorg X server - core server
ii xserver-xorg-input-all 1:7.7+13ubuntu3 amd64 X.Org X server -- input driver metapackage
ii xserver-xorg-input-evdev 1:2.10.1-1ubuntu2 amd64 X.Org X server -- evdev input driver
ii xserver-xorg-input-synaptics 1.8.2-1ubuntu3 amd64 Synaptics TouchPad driver for X.Org server
ii xserver-xorg-input-vmmouse 1:13.1.0-1ubuntu2 amd64 X.Org X server -- VMMouse input driver to use with VMWare
ii xserver-xorg-input-wacom 1:0.32.0-0ubuntu3 amd64 X.Org X server -- Wacom input driver
ii xserver-xorg-legacy 2:1.18.4-0ubuntu0.2 amd64 setuid root Xorg server wrapper
ii xserver-xorg-video-amdgpu 1.1.2-0ubuntu0.16.04.1 amd64 X.Org X server -- AMDGPU display driver
ii xserver-xorg-video-ati 1:7.7.0-1 amd64 X.Org X server -- AMD/ATI display driver wrapper
ii xserver-xorg-video-fbdev 1:0.4.4-1build5 amd64 X.Org X server -- fbdev display driver
ii xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 amd64 X.Org X server -- Intel i8xx, i9xx display driver
ii xserver-xorg-video-qxl 0.1.4-3ubuntu3 amd64 X.Org X server -- QXL display driver
ii xserver-xorg-video-radeon 1:7.7.0-1 amd64 X.Org X server -- AMD/ATI Radeon display driver
ii xserver-xorg-video-vesa 1:2.3.4-1build2 amd64 X.Org X server -- VESA display driver
ii xserver-xorg-video-vmware 1:13.1.0-2ubuntu3 amd64 X.Org X server -- VMware display driver
user@user-MS-7851 ~ $ lspci | grep 'VGA'
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
This is were I stopped for now. Currently,
Prime is set for the Nvidia GPU,
clinfo reports: Platform Version OpenCL 1.2 CUDA 8.0.0
F@H is currently running, with only my monitor plugged into the motherboard. Desktop is a little more laggy and my PPD is lower.
References:
viewtopic.php?f=59&t=236026&p=1256065#p1256065
Edit: I think I nailed it.
After watching this video
https://www.youtube.com/watch?v=5nGbWE-pvIE
I followed this video and rebooted.
Code: Select all
user@user-MS-7851 ~ $ optirun glxgears
16581 frames in 5.0 seconds = 3316.030 FPS
15002 frames in 5.0 seconds = 3000.257 FPS
15690 frames in 5.0 seconds = 3137.870 FPS
[VGL] ERROR: in readback--
[VGL] 256: Window has been deleted by window manager
user@user-MS-7851 ~ $ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
483 frames in 5.0 seconds = 96.346 FPS
300 frames in 5.0 seconds = 59.998 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2441 requests (2441 known processed) with 0 events remaining.
user@user-MS-7851 ~ $
Only issue now, I have to run F@H with optirun. For example.
sudo optirun /etc/init.d/FAHClient start / stop
I don't know where to set this on the system boot up.
What's more, my desktop is no longer laggy.
Will update my PPD soon.