sudo apt-get update
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13-rc2/linux-headers-4.13.0-041300rc2_4.13.0-041300rc2.201707232231_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13-rc2/linux-headers-4.13.0-041300rc2-generic_4.13.0-041300rc2.201707232231_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13-rc2/linux-headers-4.13.0-041300rc2-lowlatency_4.13.0-041300rc2.201707232231_amd64.deb
sudo dpkg -i linux-headers-4.13.0-041300rc2_4.13.0-041300rc2.201707232231_all.deb linux-headers-4.13.0-041300rc2-generic_4.13.0-041300rc2.201707232231_amd64.deb linux-headers-4.13.0-041300rc2-lowlatency_4.13.0-041300rc2.201707232231_amd64.deb
sudo reboot
samson@samson-MacBookPro:~$ sudo efibootmgr
[sudo] password for samson:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0080
Boot0000* ubuntu
Boot0080* Mac OS X
Boot0081* Recovery OS
Boot0082*
BootFFFF*
samson@samson-MacBookPro:~$ sudo efibootmgr -o 80,0
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000* ubuntu
Boot0080* Mac OS X
Boot0081* Recovery OS
Boot0082*
BootFFFF*
wget https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
bash Anaconda3-5.1.0-Linux-x86_64.sh
wget https://mran.blob.core.windows.net/install/mro/3.4.3/microsoft-r-open-3.4.3.tar.gz
tar -xf microsoft-r-open-3.4.3.tar.gz
cd microsoft-r-open/
sudo ./install.sh
cd ..
rm microsoft-r-open/
wget https://download1.rstudio.org/rstudio-xenial-1.1.442-amd64.deb
sudo apt-get install gdebi-core
sudo gdebi -n rstudio-xenial-1.1.442-amd64.deb
rm rstudio-xenial-1.1.442-amd64.deb
wget https://download2.rstudio.org/rstudio-server-1.1.442-amd64.deb
sudo gdebi rstudio-server-1.1.442-amd64.deb
rm rstudio-server-1.1.442-amd64.deb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list
sudo apt-get update
sudo apt-get install miktex
sudo apt-get install git
git config --global user.name hamaadshah
git config --global user.email [email protected]
sudo apt-get purge nvidia*
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-384
ctrl + alt + F1
sudo service lightdm stop
sudo service lightdm start
sudo efibootmgr -b 82 -B
sudo efibootmgr -b FFFF -B
With the 4.13rc2 kernel, I am able to authorize TB3 connection to my eGPU (Gigabyte Aorus GTX 1070 Gaming Box). (Thanks Sky11 for the info!!!!)
$ uname -a
Linux taichi-N501VW 4.13.0-041300rc2-generic #201707232231 SMP Mon Jul 24 02:32:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ cat /sys/bus/thunderbolt/devices/0-1/device_name
GV-N1070IXEB-8GD
$sudo sh -c 'echo 1 > /sys/bus/thunderbolt/devices/0-1/authorized'
the eGPU fan starts to spin by this authorization!!!
$ lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2) <- dGPU
09:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1) <-09:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
After waiting for a while, nvidia-smi shows both dGPU(960M) and eGPU(1070) !!!
I'm so excited. I got my HP Omen Accelerator eGPU working in Ubuntu 17.10. I have an nvidia 1070 in it as well.
All I did was:
sudo apt install nvidia-384
Install from src the instructions here for thunderbolt userspace: https://github.com/01org/thunderbolt-software-user-space
sudo tbtadm devices (This gets the list of tunderbolt devices to approve) ╰─➤ sudo tbtadm devices
0-1 HP GA1-10-Accelerator authorized in ACL
(Your output above will say NOT authorized, mine is already authorized)
White-list the Omen Accelerator via: sudo tbtadm approve 0-1
Reboot
Everything came up like a champ.
I can't believe it was so easy and actually worked.
For those interested my setup is:
2017 HP x360 13" laptop
HP Omen Accelerator with NVIDIA 1070