/usr/share/doc/psychtoolbox-3-common/README.Debian is in psychtoolbox-3-common 3.0.9+svn2579.dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | psychtoolbox-3 for Debian
-------------------------
Real-time scheduling and memory locking priorities
==================================================
For better control over timing, PTB tries to use real-time scheduling
policy for the running process and perform memory locking of necessary
memory resources. To allow for such operations to be performed there
are few alternative solutions
limits.conf
~~~~~~~~~~~
System administrator must allow users running PTB to set RT scheduling
and memory locking for their tasks but adding following entries to
/etc/security/limits.conf ::
username - rtprio 95
username - memlock 1500000
where username should be the login or a @somegroup, if created, where
user belongs (e.g. addgroup ptb; adduser username ptb; and then use
@ptb in the lines above)
Linux capabilities
~~~~~~~~~~~~~~~~~~
as root:
setcap cap_sys_nice=eip `readlink -f /usr/bin/octave`
to allow control over the scheduler for the octave, and
setcap cap_sys_nice= `readlink -f /usr/bin/octave`
to disallow later on
Root execution
~~~~~~~~~~~~~~
Least recommended -- run octave as root.
Stale GL window
===============
In case of execution failure, opened window might remain occupying the
screen while interactive session already switched back to
Octave/Matlab. To resolve -- either exit Octave/Matlab altogether by
blindly entering a command
sca
and hitting ENTER
-- Yaroslav Halchenko <debian@onerussian.com>, Thu, 20 Jan 2011 12:13:49 -0500
|