Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

m
→‎Optimus technology: Pure form update (no idea if the advice is still applicable)
(→‎Disk usage: Rename section and update)
m (→‎Optimus technology: Pure form update (no idea if the advice is still applicable))
Line 268: Line 268:


== Optimus technology ==
== 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.
If your computer has a GPU with Optimus technology, you need a dedicated script in order to make FlightGear run 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) :  
After having installed required tools (Bumblebee) you just need to run this command line in your FlightGear installation directory (where you executed <tt>download_and_compile.sh</tt>):
<pre>
sed  's|\./fgfs|optirun ./fgfs|' run_fgfs.sh > run_fgfs_optirun.sh && chmod +x run_fgfs_optirun.sh
sed  's|\./fgfs|optirun ./fgfs|' run_fgfs.sh > run_fgfs_optirun.sh && chmod +x run_fgfs_optirun.sh
Now you can run FlightGear with <code>./run_fgfs_optirun.sh</code>.
</pre>
Now you can run FG with ./run_fgfs_optirun.sh


 
The same can be done for the [[FlightGear_Launch_Control|FGRun]] launcher:
the same is applied with the FGRun launcher :
sed  's|\./fgrun|optirun ./fgrun|' run_fgrun.sh > run_fgrun_optirun.sh && chmod +x run_fgrun_optirun.sh
<pre>
sed  's|\./fgrun|optirun ./fgrun|' run_fgrun.sh > run_fgrun_optirun.sh && chmod +x run_fgrun_optirun.sh
</pre>


== Remove warning message for DDS files ==
== Remove warning message for DDS files ==
377

edits