Fedora 24 – Installation note – Cuda 7.5 – Nvidia

Notes on my installation of Fedora 24 on a dual boot [w/Windows 7] system, with a GTX 970 card, primarily for use with Nvidia Cuda for blender, boinc – worldcommunitygrid and Renderman Pixar NC work.

installed f24 on a separate 100Gb partition.

========

history

=====

1  dnf update
2  dnf upgrade
3  reboot
4  dnf update
5  dnf install wget make gcc-c++ freeglut-devel libXi-devel libXmu-devel mesa-libGLU-devel
6  dnf update
7  dnf upgrade
8  reboot
9  dnf update
10  dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
11  dnf update
12  dnf upgrade
13  reboot

press ‘e’ to edit the F24 menu, make sure “nomodeset 3 ” is in the F24 boot line

3 gets you to command line without GUI/startx/x-window etc.

14  pwd
15  cd /home/steve
16  ls
17  cd Downloads
18  ls
19  ./NVIDIA-Linux-x86_64-367.35.run

above failed so l ran the 3 commands below first
20  dnf install kernel-source
21  dnf install kernel-devel
22  yumdownloader –source kernel
23  reboot
24  cd /home/steve/Downloads
25  ./NVIDIA-Linux-x86_64-367.35.run
26  systemctl enable gdm
27  reboot
28  history > /home/steve/Downloads/history_root.txt
29  exit
30  chown steve  /home/steve/Downloads/history_root.txt
31  df -h
32  reboot
33  cd /home/steve/Downloads
34  ls
35  ./cuda_7.5.18_linux.run -override
36  systemctl enable gdm
37  history > /home/steve/Downloads/history_root1.txt

gedit

/usr/local/cuda/include/host_config.h

comment out the line that errors out on the version of gcc above 4.x, see screenshot below

Screenshot from 2016-07-31 00-30-49

==============

exit root

$ export PATH=/usr/local/cuda-7.5/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
5. Install a writable copy of the samples then build and run the nbody sample:
$
$
$
$
cuda-install-samples-7.5.sh ~
cd ~/NVIDIA_CUDA-Samples_7.5/5_Simulations/nbody
make
./nbody

===============

Screenshot from 2016-07-30 22-40-16 Screenshot from 2016-07-30 23-06-21 Screenshot from 2016-07-30 23-06-45 Screenshot from 2016-07-30 23-07-23 Screenshot from 2016-07-30 23-27-00 Screenshot from 2016-07-30 23-40-56 Screenshot from 2016-07-30 23-48-46 Screenshot from 2016-07-30 23-49-00 Screenshot from 2016-07-30 23-49-25 Screenshot from 2016-07-31 00-06-14 Screenshot from 2016-07-31 00-16-15

Screenshot from 2016-07-31 00-51-25

Posted in Computers | Tagged , , , , , , , | Leave a comment

Ubuntu 16.04 – Cuda – Nvidia – nbody

Ran below to get my M17x working, after following steps described here.

Results and code.

Compared with below [a GTX980M]:

Windowed mode > Simulation data stored in video memory > Single precision floating point simulation > 1 Devices used for simulation GPU Device 0: “GeForce GTX 980M” with compute capability 5.2 > Compute 5.2 CUDA device: [GeForce GTX 980M] number of bodies = 256000 256000 bodies, total time for 10 iterations: 7207.025 ms = 90.934 billion interactions per second = 1818.670 single-precision GFLOP/s at 20 flops per interaction

Mine GTX860M:

Windowed mode
> Simulation data stored in video memory
> Single precision floating point simulation
> 1 Devices used for simulation
GPU Device 0: “GeForce GTX 860M” with compute capability 3.0

> Compute 3.0 CUDA device: [GeForce GTX 860M]
number of bodies = 256000
256000 bodies, total time for 10 iterations: 15095.415 ms
= 43.415 billion interactions per second
= 868.290 single-precision GFLOP/s at 20 flops per interaction

Screenshot from 2016-07-12 16-51-08 Screenshot from 2016-07-12 16-50-55

 

Screenshot from 2016-07-12 16-02-34 Screenshot from 2016-07-12 16-02-16 Screenshot from 2016-07-12 16-06-54 Screenshot from 2016-07-12 16-06-36 Screenshot from 2016-07-12 16-06-08

 

sudo apt-get install ca-certificates-java
sudo apt-get install default-jre
sudo apt-get install default-jre-headless
sudo apt-get install fonts-dejavu-extra
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
sudo apt-get install java-common
sudo apt-get install libatk-wrapper-java
sudo apt-get install libatk-wrapper-java-jni
sudo apt-get install libdrm-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libgnomevfs2-0
sudo apt-get install libgnomevfs2-common
sudo apt-get install libice-dev
sudo apt-get install libpthread-stubs0-dev
sudo apt-get install libsctp1
sudo apt-get install libsm-dev
sudo apt-get install libx11-dev
sudo apt-get install libx11-doc
sudo apt-get install libx11-xcb-dev
sudo apt-get install libxau-dev
sudo apt-get install libxcb-dri2-0-dev
sudo apt-get install libxcb-dri3-dev
sudo apt-get install libxcb-glx0-dev
sudo apt-get install libxcb-present-dev
sudo apt-get install libxcb-randr0-dev
sudo apt-get install libxcb-render0-dev
sudo apt-get install libxcb-shape0-dev
sudo apt-get install libxcb-sync-dev
sudo apt-get install libxcb-xfixes0-dev
sudo apt-get install libxcb1-dev
sudo apt-get install libxdamage-dev
sudo apt-get install libxdmcp-dev
sudo apt-get install libxext-dev
sudo apt-get install libxfixes-dev
sudo apt-get install libxi-dev
sudo apt-get install libxmu-dev
sudo apt-get install libxmu-headers
sudo apt-get install libxshmfence-dev
sudo apt-get install libxt-dev
sudo apt-get install libxxf86vm-dev
sudo apt-get install lksctp-tools
sudo apt-get install mesa-com
sudo apt-get install mon-dev
sudo apt-get install openjdk-7-jre
sudo apt-get install openjdk-7-jre-headless
sudo apt-get install tzdata-java
sudo apt-get install x11proto-core-dev
sudo apt-get install x11proto-damage-dev
sudo apt-get install x11proto-dri2-dev
sudo apt-get install x11proto-fixes-dev
sudo apt-get install x11proto-gl-dev
sudo apt-get install x11proto-input-dev
sudo apt-get install x11proto-kb-dev
sudo apt-get install x11proto-xext-dev
sudo apt-get install x11proto-xf86vidmode-dev
sudo apt-get install xorg-sgml-doctools
sudo apt-get install xtrans-dev
sudo apt-get install libgles2-mesa-dev
sudo apt-get install nvidia-modprobe
sudo apt-get install build-essential

 

Posted in benchmark, Computer Hardware, Computers, general, graphics, Nvidia | Tagged , , , , , , | Leave a comment

Fedora 24 Dual Boot Windows 10 Alienware M17x

My Installation Notes:

Goal – Dual boot between Windows 10 and a full Fedora 24 workstation installed with cuda, NVidia support for cuda and Blender CG work.
M17x has an intel optimus in built graphics as well as an NVidia GTX860M

Hardware
H/Disk 1 – 500Gb Samsung SSD with Windows 10 installed, and about 100Gb free left for Fedora at the end of the drive.
H/Disk 2 – 1Tb non SSD – about 100Gb left for Linux at the end of the hard drive

Bios Settings – F2
Boot options
Secure boot – disabled, Load legacy option ROM = enabled, Boot list option = UEFI

Booted with a Fedora 24 Live USB, selected UEFI Sandisk boot.

Press e and add the word nomodeset to the end of the Linux command line that has the word rhgb quiet in it
Ctrl+x to start

Installed F24 this way. Selected.
Automatic partition. Reclaim space, selected the free partitions and marked them to be deleted.
Make sure you don’t select any Windows partitions or any of your ntfs data partitions or the EFI partition on the boot hard drive.

Use the Cuda quick install guide from Nvidia’s website – click here.

Snippet shown below

CaptureN

Simply go to rpmfusion.orgCopy and run the command line setup using rpm for Fedora 22 and later, into your terminal window.

Update:
Still trying to figure out the “white screen of death” crash, after cuda was installed and my laptop was rebooted.

Posted in Computers, Fedora, Fedora, graphics | Tagged , , , , , , , | Leave a comment

Wise sayings….

FullSizeRender (1)

FullSizeRender

IMG_2199

Posted in general, Life | Tagged , , , , | Leave a comment

POVRay 3.7 Benchmark

benchmark

On an Alienware M17x -intel i7 4710MQ 2.5Ghz 24Gb RAM 500Gb GTX860M Samsung Evo SSD

Ray->Shape Intersection Tests Succeeded Percentage

Box 8417904 3167704 37.63
Cone/Cylinder 10412780 2150678 20.65
CSG Intersection 47297324 23198220 49.05
CSG Merge 78318 6793 8.67
Fractal 137093 25682 18.73
Height Field 388052 61188 15.77
Height Field Box 388052 251883 64.91
Height Field Triangle 1236572 62986 5.09
Height Field Block 1933105 535836 27.72
Height Field Cell 6856411 683960 9.98
Isosurface 2965403 217378 7.33
Isosurface Container 2965504 2965499 100.00
Isosurface Cache 42082 662 1.57
Mesh 190995 30659 16.05
Plane 38045773 344564 0.91
Sphere 76962423 27394712 35.59
Superellipsoid 47103 16537 35.11
Torus 508577 124035 24.39
Torus Bound 508577 143123 28.14
True Type Font 68283 25650 37.56
Clipping Object 683876 436749 63.86
Bounding Box 224809010 30188111 13.43

Isosurface roots: 2964149
Function VM calls: 51000174

Crackle Cache Queries: 121557
Crackle Cache Hits: 118726 ( 98 percent)

Roots tested: 143123 eliminated: 75885
Media Intervals: 17399034 Media Samples: 156987322 (9.02)
Shadow Ray Tests: 38410273 Succeeded: 21012766
Shadow Cache Hits: 943863
Reflected Rays: 71720
Refracted Rays: 49552
Transmitted Rays: 157794

Number of photons shot: 36326
Surface photons stored: 13877
Gather function called: 190581

Peak memory used: 79761408 bytes

Render Time:
Photon Time: 0 hours 0 minutes 1 seconds (1.600 seconds)
using 11 thread(s) with 1.920 CPU-seconds total
Radiosity Time: No radiosity
Trace Time: 0 hours 0 minutes 49 seconds (49.563 seconds)
using 8 thread(s) with 383.856 CPU-seconds total
POV-Ray finished

CPU time used: kernel 0.17 seconds, user 386.45 seconds, total 386.63 seconds.
Elapsed time 52.65 seconds, CPU vs elapsed time ratio 7.34.
Render averaged 3734.39 PPS (508.52 PPS CPU time) over 196608 pixels.
—————————————————————————-

Posted in Animation, benchmark, Computers | Tagged , | Leave a comment

Processing RAW Movie Files [Raw2DNG]

To process RAW movie files , say from MagicLantern – which l use on a Canon 60D, click here to download raw2dng.

Run this executable as shown below, and it will convert the video frames to DNG files which you can later post process in say Adobe After Effects, DaVinci Resolve, Blender Compositor etc.

CaptureRAWDNG

Posted in Animation, Film, general, Video, Videos | Tagged , , , , , , , | Leave a comment

LG G5 Smartphone Video Clip

Posted in mobile, Movies | Tagged , , , | Leave a comment

Use Fedora 23 live on Dell Alienware 17 – M17x

Using this as a reference article, this is what worked for me. Useful additional link is this also.

 

My system: DELL Alienware 17, M17x, Intel Haswell, Nvidia GFX 860M, 24Gb, Samsung SSD 850 EVO 500Gb – drive 1 and a WDC WD10JPVX-22JC3T) 1000Gb drives. drive 2

Windows 10 on drive 1, Linuxmint 17 and Kali 2 on separate partitions on Drive 2. Goal. Replace Linuxmint with Fedora 23 [F23]. I need to run Pixar Renderman on Blender/Linux which supports Fedora.

BIOS:

Secureboot disabled, Load legacy option rom enabled, Boot list option = UEFI

Booted up with a Live 64bit CD – select UEFI DVD, F12, e for edit, add nomodeset in the command line. Installed to over write the Linuxmint partition on the 2nd hard drive [1Tb]

 

 

Posted in Fedora | Tagged , , , , , , , | Leave a comment

Blender Portland – Text Animation

Posted in Animation | Tagged , , | Leave a comment

Upgrading to Android Marshmellow

Useful links l found while attempting to upgrade my at&t nexus 6 to Marshmellow from Lollipop

  1. Firmware
  2. Unlocking Nexus 6 bootloader
  3. Installing Marshmellow – Android 6
  4. another link – usb debugging mode setup
  5. Best link on unlocking the Nexus 6

For #5  – use fastlock oem unlock     – all lowercase

 

Extracted tar firmware was dumped to this linux folder

Screenshot from 2016-01-04 19:18:35

 

Good luck. Dont forget to backup your data/photos/videos etc. first… !

Posted in Computers | Tagged , , , , , , , | Leave a comment