Written by an idiot so it should work. Have computer built as you want it, GPU on Mobo etc.
Guide is also valid for Lubuntu 18.04 LTS versions. Newest version is 18.10 which has changed name for software center. Further info is available in the thread. At some point I'll write a new guide for 18.10.
Download Lubuntu 17.10 lt's https://lubuntu.me/ use the 64bit version unless you really have to use 32bit ( really old computer ) Don't use 12.04 LTS or you are on your own. I'm never touching that again, and 13.04 has lots of issues with broken openCL. 16.04 LTS is fine as is 16.10 although I believe the AMD drivers in both are broken.
Burn iso to USB. Use Universal USB installer https://www.pendrivelinux.com/universal ... -as-1-2-3/
Make sure boot from USB is set in bios as 1st option. Stick USB in system, boot and
install Lubuntu.Remember to input a password as you will need one also set system to automatically log you in unless you really want to input your password every time you boot When finished system will reboot.
Upon reboot let system update install updates if it is required. Reboot if required. Don't set system to automatically download updates unless you maintain system freqently as otherwise you will run into disc space issues. Leave as notify.
-----------------------------------------------------------------------------------------
Select preferences - power manager
blank screen after-> never
put to sleep after -> never
switch off after -> never
select software updater and enable partner repo's in SETTINGS -> OTHER SOFTWARE and select all 4 options.( use file manager to search for it if it is not on your launch bar )
Select dpkg package manager from system tools / synaptic package manager and search / mark for install the following packages
Sysinfo
Psensor
Freeglut3 ( freeglut3-dev )
Virtualbox
7zip ( p7zipfull )
java ( openjdk-9-jdk ) Java 8 installed by default
boinc ( boinc)
(boinc-client-nvidia-cuda )
( boinc-client-opencl )
(this will install all the libraries needed for GPU crunching, and cover all your bases )
hit apply.
select additional drivers from the software updater ( SETTINGS -> ADDITIONAL DRIVERS )
this will search and give options for nvidia drivers, install latest nvidia driver available
Reboot when finished
--------------------------------------------------------------------------------------------
Select sysinfo from launcher bar
nvidia
nvidia display settings
x server display configuration -> change underscan if required ( normally the screen is slightly too large )
save to x configuration file ( no name required )
if you want powermizer under GPU lets you set mode for GPU performance ( adaptive, prefer performance, auto etc. )
next we need to install the 32 bit libraries ( this list will do all the projects on boinc ( it
can be installed from software center, but installing 32bit, removes 64 bit, go figure )). This will
require the terminal i'm afraid, but dont worry. Either copy and paste or type exactly the commands in red. Linux is reliant on syntax
open terminal -> Ctrl-Alt-T
Code: Select all
sudo apt-get install lib32z1-dev
sudo apt-get install lib32ncurses5 libstdc++5
sudo apt-get install ocl-icd-libopencl1
Finally we update boinc to a up to date version by adding this PPA to your system
( You can update your system with unsupported packages from this untrusted PPA by adding
This is a "testing" PPA, that typically is rebuilt with the newest Boinc version as they are released.
Type these commands in a terminal
CTRL-ALT-t)
Code: Select all
sudo add-apt-repository ppa:costamagnagianfranco/boinc
sudo apt-get update
sudo apt-get upgrade
----------------------------------------------------------------------------------------
Boinc should now be running but no usable gpu will be found.
in terminal ( ctrl-alt-t )
Code: Select all
sudo usermod -a -G video boinc
You could also do the following instead.
su
usermod xxx -a -G boinc # add boinc group to your user xxx
chmod -R g+w /var/lib/boinc-client # makes the boinc client directory contents writable by boinc group members
find /var/lib/boinc-client -type d -exec chmod g+s {} \; # makes boinc the default group for all new files
Code: Select all
sudo update-rc.d -f boinc-client remove
sudo update-rc.d boinc-client defaults 99
Code: Select all
sudo apt-get install nvidia-modprobe
sudo modprobe nvidia_uvm
Code: Select all
sudo service boinc-client restart
Thats it, check boinc now see's a usable gpu in the start up log. Select boinc from launcher bar, ( advanced view -> advanced -> view log ( at the start of the log it
should now have entries for your GPU with both CUDA and openCL versions )) .
Once you have completed and have a GPU available to BOINC, running and controlling BOINC is exactly as you would under windows.
-----------------------------------------------------------------------------------------
launch Bam manager as per usual for new install or attach to project as per your preferences. Boinc will autoboot on startup of computer. Set all your preferences on
BOINC as you usually would.
-----------------------------------------------------------------------------------------
Hope this helps more people crunch without the hassle and expanse of windows
Alez