Fr/Script de compilation sous Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
Line 225: Line 225:
Si vous ne disposez pas d'une machine rapide, la compilation pourrait prendre plusieurs heures.
Si vous ne disposez pas d'une machine rapide, la compilation pourrait prendre plusieurs heures.


== Optimus technology ==
== Technologie Optimus ==
If your computer has a GPU with optimus technology, you need a dedicated script in order to make FG running with the powerful GPU.
Si votre ordinateur dispose d'un processeur graphique avec la technologie Optimus, vous devrez fabriquer un script de lancement dédié pour que FG utilise pleinement votre 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) :  
Après installation des outils nécessaires (Bumblebee) vous n'aurez qu'à lancer la ligne de commande suivante à partir de votre répertoire d'installation (là où vous lancez l'excution du ./download_and_compile.sh) :  
<pre>
<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
</pre>
</pre>
Now you can run FG with ./run_fgfs_optirun.sh
Maintenant vous pouvez utiliser FG avec la commande ./run_fgfs_optirun.sh




the same is applied with the FGRUN launcher :
Vous disposez de la même possibilité avec le lanceur FGRUN:
<pre>
<pre>
sed  's|\./fgrun|optirun ./fgrun|' run_fgrun.sh > run_fgrun_optirun.sh && chmod +x run_fgrun_optirun.sh
sed  's|\./fgrun|optirun ./fgrun|' run_fgrun.sh > run_fgrun_optirun.sh && chmod +x run_fgrun_optirun.sh
117

edits

Navigation menu