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
Last revision Both sides next revision
studioware:tips_and_hints [2014/04/07 17:07 (UTC)]
mesa [Asoundrc]
studioware:tips_and_hints [2019/04/24 18:00 (UTC)]
dive
Line 1: Line 1:
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> +====== ​Studioware: ​Tips and Hints ======
-====== Tips and Hints ======+
  
 ===== Slackware ===== ===== Slackware =====
  
-  * We recommend running Studioware on a stock vanilla ​Slackware Installation.+  * We recommend running Studioware on a full Slackware Installation.
  
-===== Mate ===== +===== Extra Options for sepkg/​multilib =====
- +
-  * MATE-1.6.2 build script replaces the following Studioware packages on 14.1: +
-    * atkmm-2.22.7-i486-1_msb > atkmm-2.22.4-i686-2se.txz [libraries] +
-    * cairomm-1.10.0-i486-1_msb > cairomm-1.9.8-i686-2se.txz [libraries] +
-    * glibmm-2.36.2-i486-1_msb > glibmm-2.32.1-i686-1se.txz [libraries] +
-    * gtkmm-2.24.4-i486-1_msb > gtkmm-2.24.0-i686-2se.txz [libraries] +
-    * gtksourceview-2.10.5-i486-1_msb > gtksourceview-3.7.2-i686-1se.txz [libraries] +
-    * mm-common-0.9.6-noarch-1_msb > mm-common-0.9.5-i686-2se.txz [libraries] +
-    * pangomm-2.34.0-i486-1_msb > pangomm-2.28.1-i686-2se.txz [libraries] +
-    * libsigc++-2.2.11-i486-1_msb > libsigc++-2.2.10-i686-1se.txz [development] +
- +
-<​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>​ +
- +
-===== Extra Options for sepkg/studiopkg/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 29: Line 13:
   * 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 40: Line 23:
     * 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.
 +
 ===== Kernel/Lilo ===== ===== Kernel/Lilo =====
  
Line 53: Line 37:
     * 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 63: Line 59:
         * 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]]
 +
 +===== Mate =====
 +
 +  * MATE-1.6.2 build script replaces the following Studioware packages on 14.1:
 +    * atkmm-2.22.7-i486-1_msb > atkmm-2.22.4-i686-2se.txz [libraries]
 +    * cairomm-1.10.0-i486-1_msb > cairomm-1.9.8-i686-2se.txz [libraries]
 +    * glibmm-2.36.2-i486-1_msb > glibmm-2.32.1-i686-1se.txz [libraries]
 +    * gtkmm-2.24.4-i486-1_msb > gtkmm-2.24.0-i686-2se.txz [libraries]
 +    * gtksourceview-2.10.5-i486-1_msb > gtksourceview-3.7.2-i686-1se.txz [libraries]
 +    * mm-common-0.9.6-noarch-1_msb > mm-common-0.9.5-i686-2se.txz [libraries]
 +    * pangomm-2.34.0-i486-1_msb > pangomm-2.28.1-i686-2se.txz [libraries]
 +    * libsigc++-2.2.11-i486-1_msb > libsigc++-2.2.10-i686-1se.txz [development]
 +
 +<​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>​
 +====== 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:
 +
 +<​code>​
 +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++
 +</​code>​
 +
 +To set a max size for the cache:
 +
 +<​code>​ccache -M 5G</​code>​
 +
 +That sets a max size of 5GB in /​root/​.ccache
 +
 +You obviously need to set it for your needs and available space.
 +
 +To see some info about ccache, do:
 +
 +<​code>​ccache -s</​code>​
 +
 +To temporarily turn it off:
 +
 +<​code>​export CCACHE_DISABLE=1</​code>​
 +
 +If that fails to work then just move the symlinks out of /​usr/​local/​bin
 +
 +Don't forget to read the man page.
 +
 ====== Sources ====== ====== Sources ======
-<!-- If you are copying information from another source, then specify that source --> 
-<!-- * Original source: [[http://​some.website.org/​some/​page.html]] --> 
-<!-- Authors are allowed to give credit to themselves! --> 
   * Originally written by [[wiki:​user:​mesa | mesa]]\\   * Originally written by [[wiki:​user:​mesa | mesa]]\\
   * Contributions by [[wiki:​user:​dive | dive]]   * Contributions by [[wiki:​user:​dive | dive]]
  
-<!-- Please do not modify anything below, except adding new tags.--> 
-<!-- You must remove the tag-word "​template"​ below before saving your new page --> 
 {{tag>​studioware tips hints mate sepkg}} {{tag>​studioware tips hints mate sepkg}}
 +

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