[LAU] reducing xruns (System configuration)

From: Max <abonnements@email-addr-hidden>
Date: Wed Jul 18 2018 - 19:29:14 EEST

Hi list,

I just re-installed my system partition with an kubuntu+kxstudio
repositories and I get some xruns in Jack2. I am trying to figure out
how to optimize my system configuration.

realtimeconfigquickscan gives me this:

== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 4.17.7 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU
2: 'performance' CPU 3: 'performance' CPU 4: 'performance' CPU 5:
'performance' CPU 6: 'performance' CPU 7: 'performance' - good
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 real-time capabilities found
For more information, see
http://wiki.linuxaudio.org/wiki/system_configuration#installing_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.
not found.
** Warning: no tmpfs partition mounted on /tmp
    For more information, see:
    - http://wiki.linuxaudio.org/wiki/system_configuration#tmpfs
    - http://lowlatency.linuxaudio.org
** 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.

------------------

ok, so I'm looking at lspci:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor DRAM Controller (rev 06)

         Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor DRAM
Controller

         Flags: bus master, fast devsel, latency 0
 

         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
 

         Kernel modules: ie31200_edac

 

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
         Flags: bus master, fast devsel, latency 0, IRQ 16
 

         Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 

         I/O behind bridge: 00005000-00005fff
 

         Memory behind bridge: f0000000-f0ffffff
 

         Prefetchable memory behind bridge:
00000000c0000000-00000000d1ffffff
         Capabilities: [88] Subsystem: Lenovo Xeon E3-1200 v3/4th Gen
Core Processor PCI Express x16 Controller
         Capabilities: [80] Power Management version 3
         Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [a0] Express Root Port (Slot+), MSI 00
         Capabilities: [100] Virtual Channel
         Capabilities: [140] Root Complex Link
         Capabilities: [d94] #19
         Kernel driver in use: pcieport
         Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core
Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA
controller])
         Subsystem: Lenovo 4th Gen Core Processor Integrated Graphics
Controller
         Flags: bus master, fast devsel, latency 0, IRQ 28
         Memory at f1000000 (64-bit, non-prefetchable) [size=4M]
         Memory at e0000000 (64-bit, prefetchable) [size=256M]
         I/O ports at 6000 [size=64]
         [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
         Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
         Capabilities: [d0] Power Management version 2
         Capabilities: [a4] PCI Advanced Features
         Kernel driver in use: i915
         Kernel modules: i915

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor HD Audio Controller (rev 06)
         Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor HD
Audio Controller
         Flags: bus master, fast devsel, latency 0, IRQ 32
         Memory at f2610000 (64-bit, non-prefetchable) [size=16K]
         Capabilities: [50] Power Management version 2
         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
         Kernel driver in use: snd_hda_intel
         Kernel modules: snd_hda_intel

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB xHCI (rev 04) (prog-if 30 [XHCI])
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB xHCI
         Flags: bus master, medium devsel, latency 0, IRQ 24
         Memory at f2600000 (64-bit, non-prefetchable) [size=64K]
         Capabilities: [70] Power Management version 2
         Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
         Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series
Chipset Family MEI Controller #1 (rev 04)
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family MEI
Controller
         Flags: bus master, fast devsel, latency 0, IRQ 29
         Memory at f2619000 (64-bit, non-prefetchable) [size=16]
         Capabilities: [50] Power Management version 3
         Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Kernel driver in use: mei_me
         Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB EHCI #2 (rev 04) (prog-if 20 [EHCI])
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI
         Flags: bus master, medium devsel, latency 0, IRQ 16
         Memory at f261e000 (32-bit, non-prefetchable) [size=1K]
         Capabilities: [50] Power Management version 2
         Capabilities: [58] Debug port: BAR=1 offset=00a0
         Capabilities: [98] PCI Advanced Features
         Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset
High Definition Audio Controller (rev 04)
         Subsystem: Lenovo 8 Series/C220 Series Chipset High Definition
Audio Controller
         Flags: bus master, fast devsel, latency 0, IRQ 33
         Memory at f2614000 (64-bit, non-prefetchable) [size=16K]
         Capabilities: [50] Power Management version 2
         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
         Capabilities: [100] Virtual Channel
         Kernel driver in use: snd_hda_intel
         Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #1 (rev d4) (prog-if 00 [Normal decode])
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
         I/O behind bridge: 00002000-00002fff
         Memory behind bridge: bfa00000-bfbfffff
         Prefetchable memory behind bridge:
00000000bfc00000-00000000bfdfffff
         Capabilities: [40] Express Root Port (Slot+), MSI 00
         Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [90] Subsystem: Lenovo 8 Series/C220 Series
Chipset Family PCI Express Root Port
         Capabilities: [a0] Power Management version 3
         Kernel driver in use: pcieport
         Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #3 (rev d4) (prog-if 00 [Normal decode])
         Flags: bus master, fast devsel, latency 0, IRQ 18
         Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
         I/O behind bridge: 00004000-00004fff
         Memory behind bridge: f1e00000-f25fffff
         Prefetchable memory behind bridge:
00000000f1400000-00000000f1bfffff
         Capabilities: [40] Express Root Port (Slot+), MSI 00
         Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [90] Subsystem: Lenovo 8 Series/C220 Series
Chipset Family PCI Express Root Port
         Capabilities: [a0] Power Management version 3
         Kernel driver in use: pcieport
         Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #4 (rev d4) (prog-if 00 [Normal decode])
         Flags: bus master, fast devsel, latency 0, IRQ 19
         Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
         I/O behind bridge: 00003000-00003fff
         Memory behind bridge: f1d00000-f1dfffff
         Capabilities: [40] Express Root Port (Slot+), MSI 00
         Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [90] Subsystem: Lenovo 8 Series/C220 Series
Chipset Family PCI Express Root Port
         Capabilities: [a0] Power Management version 3
         Kernel driver in use: pcieport
         Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #5 (rev d4) (prog-if 00 [Normal decode])
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
         Memory behind bridge: f1c00000-f1cfffff
         Capabilities: [40] Express Root Port (Slot+), MSI 00
         Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [90] Subsystem: Lenovo 8 Series/C220 Series
Chipset Family PCI Express Root Port
         Capabilities: [a0] Power Management version 3
         Kernel driver in use: pcieport
         Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI
         Flags: bus master, medium devsel, latency 0, IRQ 23
         Memory at f261d000 (32-bit, non-prefetchable) [size=1K]
         Capabilities: [50] Power Management version 2
         Capabilities: [58] Debug port: BAR=1 offset=00a0
         Capabilities: [98] PCI Advanced Features
         Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 04)
         Subsystem: Lenovo HM87 Express LPC Controller
         Flags: bus master, medium devsel, latency 0
         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
         Kernel driver in use: lpc_ich
         Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset
Family 6-port SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family 6-port
SATA Controller 1 [AHCI mode]
         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 26
         I/O ports at 6088 [size=8]
         I/O ports at 6094 [size=4]
         I/O ports at 6080 [size=8]
         I/O ports at 6090 [size=4]
         I/O ports at 6060 [size=32]
         Memory at f261c000 (32-bit, non-prefetchable) [size=2K]
         Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
         Capabilities: [70] Power Management version 3
         Capabilities: [a8] SATA HBA v1.0
         Kernel driver in use: ahci
         Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family
SMBus Controller (rev 04)
         Subsystem: Lenovo 8 Series/C220 Series Chipset Family SMBus
Controller
         Flags: medium devsel, IRQ 255
         Memory at f2618000 (64-bit, non-prefetchable) [size=256]
         I/O ports at efa0 [size=32]
         Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
         Subsystem: Lenovo GK208M [GeForce GT 740M]
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
         Memory at c0000000 (64-bit, prefetchable) [size=256M]
         Memory at d0000000 (64-bit, prefetchable) [size=32M]
         I/O ports at 5000 [size=128]
         Capabilities: [60] Power Management version 3
         Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
         Capabilities: [78] Express Endpoint, MSI 00
         Capabilities: [100] Virtual Channel
         Capabilities: [128] Power Budgeting <?>
         Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
Len=024 <?>
         Capabilities: [900] #19
         Kernel driver in use: nvidia
         Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227
PCI Express Card Reader (rev 01)
         Subsystem: Lenovo RTS5227 PCI Express Card Reader
         Physical Slot: 1
         Flags: bus master, fast devsel, latency 0, IRQ 25
         Memory at f1e00000 (32-bit, non-prefetchable) [size=4K]
         Capabilities: [40] Power Management version 3
         Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Capabilities: [70] Express Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
         Capabilities: [150] Latency Tolerance Reporting
         Capabilities: [158] L1 PM Substates
         Kernel driver in use: rtsx_pci
         Kernel modules: rtsx_pci

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
         Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit
Ethernet Controller
         Flags: bus master, fast devsel, latency 0, IRQ 19
         I/O ports at 3000 [size=256]
         Memory at f1d04000 (64-bit, non-prefetchable) [size=4K]
         Memory at f1d00000 (64-bit, non-prefetchable) [size=16K]
         Capabilities: [40] Power Management version 3
         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
         Capabilities: [70] Express Endpoint, MSI 01
         Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
         Capabilities: [d0] Vital Product Data
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Virtual Channel
         Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
         Capabilities: [170] Latency Tolerance Reporting
         Capabilities: [178] L1 PM Substates
         Kernel driver in use: r8169
         Kernel modules: r8169

05:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
         Subsystem: Intel Corporation Wireless-N 7260
         Flags: bus master, fast devsel, latency 0, IRQ 31
         Memory at f1c00000 (64-bit, non-prefetchable) [size=8K]
         Capabilities: [c8] Power Management version 3
         Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Capabilities: [40] Express Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Device Serial Number 0c-8b-fd-ff-ff-66-0e-a9
         Capabilities: [14c] Latency Tolerance Reporting
         Capabilities: [154] Vendor Specific Information: ID=cafe Rev=1
Len=014 <?>
         Kernel driver in use: iwlwifi
         Kernel modules: iwlwifi

--------------

My guess is that IRQ 32 and 33 are the internal sound card, maybe one of
them is the one that is serving the HDMI and the other one the headphone
jack.

Furthermore it looks like IRQ 16, 23 and 24 are USB controllers and on
one of them might be the external soundcard since it is connected via USB..

Which number do I need to assign to the SOUND_CARD_IRQ variable? I
assume it's an environment variable to be set like
"SOUND_CARD_IRQ=23"
in the terminal for realtimeconfigquickscan. However, even after setting
the variable realtimeconfigquickscan still gives me the info that I
should set the variable.

Is this IRQ business still something I need to worry about? (since most
info about it on the interwebs is from 2000 and prior).

Please advise

Thank you.

m.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jul 18 20:15:01 2018

This archive was generated by hypermail 2.1.8 : Wed Jul 18 2018 - 20:15:02 EEST