Last active
May 30, 2020 20:33
-
-
Save Klice/3f6d6cf13d0f452e62f2e723073ed2cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install ubuntu-drivers-common | |
ubuntu-drivers list | |
# virtualbox-guest-dkms | |
# virtualbox-guest-dkms-hwe | |
# nvidia-driver-390 | |
# virtualbox-guest-x11 | |
apt install nvidia-driver-390 | |
sudo add-apt-repository ppa:darabi/gfx | |
sudo apt-get update | |
sudo apt install unzip libglu1 xvfb x11vnc libopenal-dev | |
wget https://astuteinternet.dl.sourceforge.net/project/virtualgl/2.6.1/virtualgl_2.6.1_amd64.deb | |
dpkg -i virtualgl_2.6.1_amd64.deb | |
wget https://www.x-plane.com/update/installers11/X-Plane11InstallerLinux.zip | |
unzip X-Plane11InstallerLinux.zip | |
export DISPLAY=:1 | |
Xvfb :1 -screen 0 1024x768x24 >> xsession.log 2>&1 & | |
x11vnc -localhost -display :1 >> x11vnc.log 2>&1 & | |
./X-Plane\ 11\ Installer\ Linux | |
./X-Plane\ 11/X-Plane-x86_64 | |
VirtualBox GPU passthough: | |
/etc/default/grub | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet modprobe.blacklist=nouveau intel_iommu=on" | |
/etc/modules | |
vfio | |
vfio_iommu_type1 | |
vfio_virqfd | |
vfio_pci | |
vhost-net | |
lspci | grep VGA | |
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) | |
01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1) | |
lspci -nn | grep 01:00. | |
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208 [GeForce GT 710B] [10de:128b] (rev a1) | |
01:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1) | |
/etc/modprobe.d/local.conf | |
options vfio-pci ids=10de:128b,10de:0e0f | |
update-initramfs -u | |
VBoxManage modifyvm "Desktop" --pciattach 01:00.0@01:05.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment