<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Greetings!
<div class=""><br class="">
</div>
<div class="">I realise this may be considered a form of heresy, but I am attempting to get jack running with a dummy backend on Ubuntu 18.04 under windows subsystem for linux 2 (WSL2).  Remarkably this does actually work. However, only if I execute jack as
 root (i.e. using sudo) can it obtain permissions for real-time scheduling, which is not ideal.</div>
<div class=""><br class="">
</div>
<div class="">I think I have all the normal Ubuntu settings in place but don’t know what differences might exist between normal Ubuntu and the version that exists with WSL2.</div>
<div class=""><br class="">
</div>
<div class="">The output of running realtimeconfigquickscan is pasted below,  <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Does anyone have any pointers of where to look?</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""> </span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class="">
</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Many thanks,</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Alastair</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class="">
</span></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">P.S. Apologies if this or something like it has been discussed before. Is there a way to search the archives of this list that I am missing? </span></font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">$ perl ./realTimeConfigQuickScan.pl</div>
<div class="">== GUI-enabled checks ==</div>
<div class="">Checking if you are root... no - good</div>
<div class="">Checking filesystem 'noatime' parameter... 4.19.104 kernel - good</div>
<div class="">(relatime is default since 2.6.30)</div>
<div class="">cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor: No such file or directory</div>
<div class="">cat: /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor: No such file or directory</div>
<div class="">Checking CPU Governors... CPU 0: '' CPU 1: '' CPU 2: '' CPU 3: '' CPU 4: '' CPU 5: '' CPU 6: '' CPU 7: ''  - not good</div>
<div class="">Set CPU Governors to 'performance' with 'cpupower frequency-set -g performance' or 'cpufreq-set -c <cpunr> -g performance' (Debian/Ubuntu)</div>
<div class="">See also: <a href="http://linuxmusicians.com/viewtopic.php?f=27&t=844" class="">
http://linuxmusicians.com/viewtopic.php?f=27&t=844</a></div>
<div class="">Checking swappiness... 60 - not good</div>
<div class="">** vm.swappiness is larger than 10</div>
<div class="">Set swappiness by adding 'vm.swappiness=10' to /etc/sysctl.conf and rebooting</div>
<div class=""><br class="">
</div>
<div class="">Checking for resource-intensive background processes... none found - good</div>
<div class="">Checking checking sysctl inotify max_user_watches... >= 524288 - good</div>
<div class="">Checking access to the high precision event timer... not found - not good</div>
<div class="">/dev/hpet not found.</div>
<div class="">Checking access to the real-time clock... not found - not good</div>
<div class="">/dev/rtc not found (perhaps create a symlink?).</div>
<div class="">Checking whether you're in the 'audio' group... yes - good</div>
<div class="">Checking for multiple 'audio' groups... no - good</div>
<div class="">chrt: failed to set pid 0's policy: Operation not permitted</div>
<div class="">Checking the ability to prioritize processes with chrt... no - not good</div>
<div class="">Could not assign a 80 rtprio SCHED_FIFO value. Set up limits.conf.</div>
<div class="">For more information, see <a href="http://wiki.linuxaudio.org/wiki/system_configuration#limitsconfaudioconf" class="">
http://wiki.linuxaudio.org/wiki/system_configuration#limitsconfaudioconf</a></div>
<div class="">Checking kernel support for high resolution timers... found - good</div>
<div class="">Kernel with Real-Time Preemption... not found - not good</div>
<div class="">Kernel without 'threadirqs' parameter or real-time capabilities found</div>
<div class="">For more information, see <a href="https://wiki.linuxaudio.org/wiki/system_configuration#do_i_really_need_a_real-time_kernel" class="">
https://wiki.linuxaudio.org/wiki/system_configuration#do_i_really_need_a_real-time_kernel</a></div>
<div class="">Checking if kernel system timer is high-resolution... found - good</div>
<div class="">Checking kernel support for tickless timer... found - good</div>
<div class="">== Other checks ==</div>
<div class="">Checking filesystem types... ok.</div>
<div class="">** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.</div>
<div class="">   Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.</div>
</div>
</body>
</html>