Install nvidia Optimus drivers on Fedora FC20 Acer Notebook - BumbleBee The Acer i5 laptop comes with two graphics paths : The i5 associated (Intel) chipset, and A ‘discrete’ nVidia GT 750M / 4Gb graphics card (which looks like the more interesting OpenCL device) One issue, though, is that the Intel graphics chip is low-power, and I love the ~7hr battery life. Whereas running the NVidia card (according to people on the internet) reduces the laptop battery life to 1.5hr.
Install ATI Radeon OpenCL drivers on Fedora FC20 Basic steps : Install ATI Official Drivers (see other post) Install additional SDK stuff for OpenCL Prove that the install worked Get the OpenCL SDK File name (search on AMD site) : AMD-APP-SDK : http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/ There is a way to get wget to provide a suitable phoney browser user-agent, but it escapes me for now. It’s a 130Mb file… yum install opencl-headers mkdir AMD-APP-SDK mv AMD-APP-SDK-v2.9-lnx64.tgz AMD-APP-SDK/ cd AMD-APP-SDK/ tar -tzf AMD-APP-SDK-v2.9-lnx64.tgz more ReadMe.txt ./Install-AMD-APP.sh Check whether the icd files are right : more /etc/OpenCL/vendors/amdocl64.icd Checking whether the card is there Fedora has a clinfo package, which is useful : yum install clinfo clinfo Gives : No protocol specified Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc.
Install the VisualSFM system on Fedora (FC20) The VisualSFM system is the recommended way to use PMVS and CMVS : http://www.di.ens.fr/pmvs/ http://www.di.ens.fr/cmvs/ So, download the Linux 64-bit source code from : http://ccwu.me/vsfm/ The Process for Running VisualSFM : The following have to be run in a coordinated fashion, which is what VisualSFM does : Bundler CMVS PMVS2 Emphasising this, the notes for CMVS state : You should ALWAYS use CMVS after Bundler and before PMVS2 (even when your image set is small), because : PMVS2 will run faster and produce more accurate results with the produced clusters (see the bullet below for the reasoning.) CMVS produces option files (option-0000, option-0001, …) for PMVS2 and a script file (pmvs.sh) containing PMVS2 commands.
Install ATI Radeon OpenCL drivers on Fedora FC20 Basic steps : Install ATI Official Drivers Fix the bugs Prove that the install worked Download the official drivers wget http://www2.ati.com/drivers/beta/linux-amd-catalyst-14.6-beta-v1.0-may23.zip unzip linux-amd-catalyst-14.6-beta-v1.0-may23.zip rm linux-amd-catalyst-14.6-beta-v1.0-may23.zip cd fglrx-14.20/ ./check.sh Then, as root, run the amd-driver-installer, and check that fglrx has been blacklisted : yum install kernel-devel kernel-headers gcc ./amd-driver-installer-14.20-x86.x86_64.run lsmod Success? : Next steps will be : joe /etc/modprobe.d/blacklist-fglrx.conf reboot No success? more /usr/share/ati/fglrx-install.log Fixing the bugs… Probably have to fix it up.
Install nvidia OpenCL drivers on Fedora FC20 Basic steps : Install nvidia Proprietary Drivers (mainly CUDA-oriented instructions) Install additional SDK stuff for OpenCL Prove that the install worked Download and install the nVidia driver For the official links, see : https://developer.nvidia.com/opencl http://www.nvidia.com/Download/index.aspx?lang=en-us The 64-bit linux driver takes me to : http://www.nvidia.com/download/driverResults.aspx/75019/en-us So that I can download : NVIDIA-Linux-x86_64-331.67.run NB : This has to be downloaded via a browser, so, since the target machine is (essentially) headless, I have to download to a regular machine and then rsync it over.