Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Add info for Optimus users
(Add info for Optimus users)
Line 213: Line 213:
Having both compiled program, source code, and data from git requires some hard disk space: It will take something like 13 GB of space.
Having both compiled program, source code, and data from git requires some hard disk space: It will take something like 13 GB of space.
If you don't have a fast machine, it will require several hours of compilation time.
If you don't have a fast machine, it will require several hours of compilation time.
== Optimus technology ==
If your computer has a GPU with optimus technology, you need a dedicated script in order to make FG running with the powerful GPU.
After having installed required tools (Bumblebee) you just need to run this command line in your FG installation directory (where you executed ./download_and_compile.sh) :
<pre>
sed  's|./fgfs|optirun ./fgfs|' run_fgfs.sh > run_fgfs_optirun.sh && chmod +x run_fgfs_optirun.sh
</pre>
Now you can run FG with ./run_fgfs_optirun.sh


[[nl:Compileren met een Script op Linux Debian/Ubuntu]]
[[nl:Compileren met een Script op Linux Debian/Ubuntu]]
577

edits