Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
studioware:tips_and_hints [2014/04/13 21:49 (UTC)]
mesa Moved the MATE section to the bottom
studioware:tips_and_hints [2018/05/06 17:27 (UTC)]
dive Add cpufreq note
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-====== Tips and Hints ======+====== ​Studioware ​Tips and Hints ======
  
 ===== Slackware ===== ===== Slackware =====
Line 6: Line 6:
   * We recommend running Studioware on a stock vanilla Slackware Installation.   * We recommend running Studioware on a stock vanilla Slackware Installation.
  
-===== Extra Options for sepkg/studiopkg/multilib =====+===== Extra Options for sepkg/​multilib =====
  
   * /​etc/​sepkg/​sepkg.conf can take any of the normal SlackBuild variables to change the default build locations etc.:   * /​etc/​sepkg/​sepkg.conf can take any of the normal SlackBuild variables to change the default build locations etc.:
Line 14: Line 14:
   * In a multilib install set where you need to build/​install 32bit packages, or in a 32bit chroot on a multilib host:   * In a multilib install set where you need to build/​install 32bit packages, or in a 32bit chroot on a multilib host:
     * ARCH=i686 in /​etc/​sepkg/​sepkg.conf     * ARCH=i686 in /​etc/​sepkg/​sepkg.conf
-    * ARCH=""​ in /​etc/​studiopkg/​studiopkg.conf 
  
 ===== Java ===== ===== Java =====
Line 25: Line 24:
     * Put the line '​ulimit -l unlimited'​ (or whichever value you need) in /​sbin/​initscript.sample and copy it to /​etc/​initscript. **Do not remove the exec line!**     * Put the line '​ulimit -l unlimited'​ (or whichever value you need) in /​sbin/​initscript.sample and copy it to /​etc/​initscript. **Do not remove the exec line!**
     * Reboot required.     * Reboot required.
-  * Having problems with applications (ardour3 ​for example) failing to start jack with realtime scheduling?+  * Having problems with applications (ardour ​for example) failing to start jack with realtime scheduling?
     * Add the line '​ulimit -r 65' to /​etc/​initscript as described above.     * Add the line '​ulimit -r 65' to /​etc/​initscript as described above.
     * Reboot required.     * Reboot required.
Line 39: Line 38:
     * Run Lilo '​lilo'​.     * Run Lilo '​lilo'​.
     * Reboot required.     * Reboot required.
 +
 +===== More Performance Options =====
 +
 +To stop CPU throttling from affecting jackd and other apps you can change the cpufreq priority:\\
 +
 +/​etc/​rc.d/​rc.cpufreq performance
 +
 +This can be reset by
 +
 +/​etc/​rc.d/​rc.cpufreq ondemand
 +
  
 ===== Asoundrc ===== ===== Asoundrc =====
Line 50: Line 60:
         * alienBOB'​s article: [[http://​alien.slackbook.org/​blog/​setting-up-jack-audio-in-slackware/​]]         * alienBOB'​s article: [[http://​alien.slackbook.org/​blog/​setting-up-jack-audio-in-slackware/​]]
         * asoundrc-examples text file: [[http://​studioware.org/​mesa/​configs/​asoundrc-examples-mesa.txt]]         * asoundrc-examples text file: [[http://​studioware.org/​mesa/​configs/​asoundrc-examples-mesa.txt]]
- 
-===== JACK ===== 
- 
-  * jack2 (netone | net) transport were disabled upstream mainly because they did not play well with the new latency-API. A handy thing to know since they are still in a drop down box in qjackctl.\\ 
-    * qjackctl -> Setup -> Settings[Tab] -> Driver[drop down box] 
-    * You will see (netone | net) as a choice. No need to bother. Disabled. 
  
 ===== Mate ===== ===== Mate =====
Line 71: Line 75:
 <​note>​Please be sure to use the Studioware packages instead. <​note>​Please be sure to use the Studioware packages instead.
 FYI: Mate 1.6.2 seems to run fine with the Studioware-14.1 packages listed above.</​note>​ FYI: Mate 1.6.2 seems to run fine with the Studioware-14.1 packages listed above.</​note>​
 +====== CCache ======
 +Using ccache can speed up rebuilds a lot. When set up, it caches the binary objects as applications are built, and later it copies those objects back, instead of having to recompile them.
 +
 +Slackware comes with ccache.
 +
 +To start using it, get root and:\\
 +cd /​usr/​local/​bin\\
 +
 +ln -s /​usr/​bin/​ccache cc\\
 +ln -s /​usr/​bin/​ccache c++\\
 +ln -s /​usr/​bin/​ccache gcc\\
 +ln -s /​usr/​bin/​ccache g++\\
 +
 +To set a max size for the cache, use EG:\\
 +ccache -M 5G\\
 +That sets a max size of 5GB in ~/.ccache\\
 +You obviously need to set it for your needs and available space.\\
 +
 +To see some info about ccache, do:\\
 +ccache -s\\
 +
 +To temporarily turn it off:\\
 +CCACHE_DISABLE=1\\
 +can be put in a SlackBuild or exported in the shell.\\
 +If that fails to work then just move the symlinks out of /​usr/​local/​bin
 +
 +and don't forget to read the man page.
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->

In Other Languages
QR Code
QR Code studioware:tips_and_hints (generated for current page)