I am having difficulty setting up my machine for audio.
I recently upgraded from ubuntu 14.04 LTS to kubunto 18.04.5 LTS, using a fresh install from scratch.
I having some trouble setting the machine up for audio.
I am not getting any xruns at all.
While recording (anything), I am seeing regular periodioc dropouts as follows:
This is a recording of a 1kHz test tone made using audacity, exported and played by VLC, then recorded in audacity:
[See Attachment] download/file.php?mode=view&id=2419&sid ... 593c1c70fb
During the course of trying to set this machine up,
I installed the liquorix kernel:
Code: Select all
uname -a
... 5.8.0-10.1-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.8-8ubuntu1~bionic (2020-09-17) x86_64 x86_64 x86_64 GNU/Linux
*EXCEPT I am stuck now at trying to set performance for the cpu cores' govenor
Code: Select all
$ ./realTimeConfigQuickScan.pl
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 5.8.0 kernel - good
(relatime is default since 2.6.30)
cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or directory
cat: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: No such file or directory
cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor: No such file or directory
cat: /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor: No such file or directory
Checking CPU Governors... CPU 0: '' CPU 1: '' CPU 2: '' CPU 3: '' - not good
Set CPU Governors to 'performance' with 'cpupower frequency-set -g performance' or 'cpufreq-set -c <cpunr> -g performance' (Debian/Ubuntu)
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=844
Checking swappiness... 10 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... not found - not good
Kernel without 'threadirqs' parameter or real-time capabilities found
For more information, see https://wiki.linuxaudio.org/wiki/system_configuration#do_i_really_need_a_real-time_kernel
Checking if kernel system timer is high-resolution... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types... ok.
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.
Code: Select all
$ sudo cpufreq-set -c 0 -g performance
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
Thanks for any ideas...
Notes:
This machine and its hardware were working flawlessly for audio back on 14.04 LTS so I think I should be able to make it work
I am thinking maybe I should go back to the lowlatency kernel and begin again
I may not have all of the associated software for the Liquorix kernal but I don't know where to begin to look
There may be something I need to do in BIOS but I don't think so since it worked in 14.04 LTS
I am not sure where the definitions of the govenors live, I looked where I thought they should be but didn't see them