computers:system:firefly-flightsimulator
Table of Contents
Flight Simulator in Linux
Dedicated flight simulator build (using X-Plane 9 & 10 and whatever else I can get on here)
Hardware
Cheapest list of things I could throw together.
- AMD CPU/GPU $40
- Motherboard $50
- RAM $30
Total: $168 dollars shipped
Software
- Base install of Ubuntu 12.04 LTS Server
- Get video working with AMD/ATI APU
- XFCE Install:
sudo apt-get update sudo apt-get upgrade sudo apt-get install xubuntu-desktop
- Install latest AMD/ATI Catalyst Driver
- Install
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip chmod 755 amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run sudo sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
- Reboot now that we have AMD drivers installed
- XFCE did come up, but it said restricted drivers available
- Simply ran the AMD code again as root in X11 mode, and got windows this time
- Followed defaults and allowed it to do its thing
- Reboot (following directions)
- Hook up yoke and throttles, etc… (many thanks to this post: http://forums.x-plane.org/index.php?showtopic=60462&hl=saitek )
- Use lsusb to get the Vendor and Device ID of all the Saitek Devices
- Create a file so udev can set up permissions for all these devices
- Edit
sudo nano /etc/udev/rules.d/99-input-joystick.rules
- Insert the following:
# Saitek Pro Flight Throttles KERNEL=="event*", ATTRS{idProduct}=="0bac", ATTRS{idVendor}=="06a3", MODE="0666" # Saitek Pro Flight Rudder Pedals KERNEL=="event*", ATTRS{idProduct}=="0763", ATTRS{idVendor}=="06a3", MODE="0666" # Saitek Pro Flight yoke KERNEL=="event*", ATTRS{idProduct}=="712c", ATTRS{idVendor}=="06a3", MODE="0666"
- Re-Plug in all your devices
- Get sound working (this was retarded!) I would NEVER have figured this out on my own… OMG.
- Thanks to this post… you just
- Edit your ~/.asoundrc to contain the following:
pcm.!default { type plug slave { pcm "hw:1,0" } } ctl.!default { type hw card 1 }
- Load up alsamixer and unmute (use the M key) the first couple of items
- Save your configuration with
sudo alsactl store 0
- Need to load the libopenal
sudo apt-get install libopenal1
- Install X-Plane
- Need the 32bit compatibility libraries to install, so
sudo apt-get install ia32-libs
- Copy the program to your desktop (use the GUI or a command line if you like)
- Run the Install program!
- It complained about not having dedicated 128MB of VRAM
- Ran the AMD Catalyst driver installer again
cd down sudo amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
- Rebooted again (followed all the defaults you sheeple)
- Ran the installer again… it didn't complain and appears to have worked!
computers/system/firefly-flightsimulator.txt · Last modified: 2013/03/23 02:39 by david