Switching audio input results in slow kubuntu

dl9hda

New Member
Joined
Aug 27, 2021
Messages
2
Reaction score
0
Credits
39
Hello, I have a problem that could be related to the audio system. I have the latest kubuntu installed. I have a headphone jack on the front of the PC. I then have a USB headset and a USB Bluetooth adapter to which I run a Bluetooth headphones. Because of the audio problem I use for a JBL Charge 4 not USB or Bluetooth but the rear 3.5 mm stereo port of the on-board sound card.

I have also disabled the on-board sound card at one point and installed a Soundblaster Audigy FX. Nothing changes in the problem. It's also a Linux-only problem, because everything works on Win 10.

Now for the problem:
No matter what I do, sound actually works right away. So YouTube video and then I turn on the Bluetooth headphones. Sound works. Just as USB headset or just the front 3.5 mm sound card connector.

But: As soon as the sound source is changed or even one is put into operation, the following happens. Except the rear audio connector!

Sound runs. The mouse cursor can be moved. But I can't click anything for a few seconds. The keyboard does not work either. After a few seconds I can open applications. Let's say a console. They keyboard works for some seconds. But then I can't type anything. Also not in the browser. The keyboard does not work. Also not the keys for volume up/down/speaker off etc.

This takes about a minute, then everything runs normally. The keyboard works again as if nothing had happened.

I started top before switched on the Bluetooth headphones. But there I see nothing noticeable.

So the JBL Charge 4 can be turned on without problems because there is no connection via Bluetooth.

But as soon as the audio source is changed by activating Bluetooth or by plugging in the USB headset or the front 3.5 mm stereo speaker, there is a problem.

Here are my cards:
holger@holger-TERRA-PC:~$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7240000 irq 146
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
holger@holger-TERRA-PC:~$
holger@holger-TERRA-PC:~$ lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
holger@holger-TERRA-PC:~$

holger@holger-TERRA-PC:~$ more /etc/modprobe.d/alsa-base.conf
# Audigy FX is index 0, NVidia is index 1
#options snd-hda-intel index=0 id=0x1102 model=inv-dmic
#options snd-hda-intel index=1 id=0x10de
#options snd-usb-audio index=2 id=0x046d
holger@holger-TERRA-PC:~$




Very strange everything. Does anyone have a tip?


Greetings
Holger
 


Have you checked your logs for errors, and have you checked your system monitor for processes consuming large amounts of RAM or CPU resources?

You should have (I haven't played with KDE in a bit) something called 'System Monitor' (or similar) that lets you check resource usage. There's ksystemlog which is pretty easy to install and will be a pretty minimal install as you're using KDE already.
 
Hello, right after plugging in the USB headset the system monitoring tools are not updated anymore. E.g. the CPU load or the graph with the network connection. After about 10 seconds it continues. I can then type nothing for a minute ...

System protocol:
Code:
28.08.21 11:12    usb 1-12    new full-speed USB device number 5 using xhci_hcd
28.08.21 11:12    usb 1-12    New USB device found, idVendor=1395, idProduct=0026, bcdDevice= 0.01
28.08.21 11:12    usb 1-12    New USB device strings: Mfr=1, Product=2, SerialNumber=3
28.08.21 11:12    usb 1-12    Product: UC USB Headset
28.08.21 11:12    usb 1-12    Manufacturer: C-Media Electronics Inc.
28.08.21 11:12    usb 1-12    SerialNumber: 20200710V001
28.08.21 11:12    input    C-Media Electronics Inc. UC USB Headset as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.3/0003:1395:0026.0004/input/input22
28.08.21 11:12    input    C-Media Electronics Inc. UC USB Headset Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.3/0003:1395:0026.0004/input/input23
28.08.21 11:12    input    C-Media Electronics Inc. UC USB Headset as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.3/0003:1395:0026.0004/input/input24
28.08.21 11:12    hid-generic 0003    395:0026.0004: input,hiddev2,hidraw3: USB HID v1.11 Device [C-Media Electronics Inc. UC USB Headset] on usb-0000:00:14.0-12/input3
28.08.21 11:12    usb 1-12    Warning! Unlikely big volume range (=9472), cval->res is probably wrong.
28.08.21 11:12    usb 1-12    [16] FU [PCM Playback Volume] ch = 2, val = -9472/0/1
28.08.21 11:12    usb 1-12    Warning! Unlikely big volume range (=8192), cval->res is probably wrong.
28.08.21 11:12    usb 1-12    [17] FU [Mic Capture Volume] ch = 2, val = -8192/0/1
28.08.21 11:12    usbcore    registered new interface driver snd-usb-audio

X.Org protocol
Code:
    Informationen    [   255.279] (II) config/udev: Adding input device C-Media Electronics Inc. UC USB Headset Consumer Control (/dev/input/event23)
    Informationen    [   255.279] (**) C-Media Electronics Inc. UC USB Headset Consumer Control: Applying InputClass "libinput keyboard catchall"
    Informationen    [   255.279] (II) Using input driver 'libinput' for 'C-Media Electronics Inc. UC USB Headset Consumer Control'
    Informationen    [   255.279] (**) C-Media Electronics Inc. UC USB Headset Consumer Control: always reports core events
    Informationen    [   255.279] (**) Option "Device" "/dev/input/event23"
    Informationen    [   255.279] (**) Option "_source" "server/udev"
    Informationen    [   255.280] (II) event23 - C-Media Electronics Inc. UC USB Headset Consumer Control: is tagged by udev as: Keyboard
    Informationen    [   255.280] (II) event23 - C-Media Electronics Inc. UC USB Headset Consumer Control: device is a keyboard
    Informationen    [   255.280] (II) event23 - C-Media Electronics Inc. UC USB Headset Consumer Control: device removed
    Informationen    [   255.331] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.3/0003:1395:0026.0004/input/input23/event23"
    Informationen    [   255.331] (II) XINPUT: Adding extended input device "C-Media Electronics Inc. UC USB Headset Consumer Control" (type: KEYBOARD, id 13)
    Informationen    [   255.331] (**) Option "xkb_model" "pc105"
    Informationen    [   255.331] (**) Option "xkb_layout" "de"
    Informationen    [   255.331] (WW) Option "xkb_variant" requires a string value
    Informationen    [   255.331] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
    Informationen    [   255.333] (II) event23 - C-Media Electronics Inc. UC USB Headset Consumer Control: is tagged by udev as: Keyboard
    Informationen    [   255.333] (II) event23 - C-Media Electronics Inc. UC USB Headset Consumer Control: device is a keyboard
    Informationen    [   255.334] (II) config/udev: Adding input device C-Media Electronics Inc. UC USB Headset (/dev/input/event24)
    Informationen    [   255.334] (**) C-Media Electronics Inc. UC USB Headset: Applying InputClass "libinput keyboard catchall"
    Informationen    [   255.334] (II) Using input driver 'libinput' for 'C-Media Electronics Inc. UC USB Headset'
    Informationen    [   255.334] (**) C-Media Electronics Inc. UC USB Headset: always reports core events
    Informationen    [   255.334] (**) Option "Device" "/dev/input/event24"
    Informationen    [   255.334] (**) Option "_source" "server/udev"
    Informationen    [   255.335] (II) event24 - C-Media Electronics Inc. UC USB Headset: is tagged by udev as: Keyboard
    Informationen    [   255.335] (II) event24 - C-Media Electronics Inc. UC USB Headset: device is a keyboard
    Informationen    [   255.335] (II) event24 - C-Media Electronics Inc. UC USB Headset: device removed
    Informationen    [   255.367] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.3/0003:1395:0026.0004/input/input24/event24"
    Informationen    [   255.367] (II) XINPUT: Adding extended input device "C-Media Electronics Inc. UC USB Headset" (type: KEYBOARD, id 14)
    Informationen    [   255.367] (**) Option "xkb_model" "pc105"
    Informationen    [   255.367] (**) Option "xkb_layout" "de"
    Informationen    [   255.367] (WW) Option "xkb_variant" requires a string value
    Informationen    [   255.367] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
    Informationen    [   255.369] (II) event24 - C-Media Electronics Inc. UC USB Headset: is tagged by udev as: Keyboard
    Informationen    [   255.369] (II) event24 - C-Media Electronics Inc. UC USB Headset: device is a keyboard
    Informationen    [   255.369] (II) config/udev: Adding input device C-Media Electronics Inc. UC USB Headset (/dev/input/event22)
    Informationen    [   255.369] (II) No input driver specified, ignoring this device.
    Informationen    [   255.369] (II) This device may have been added with another device file.

Only the last two lines with questionable content.




Greeting
Holger
 
Last edited:
That looks like some sort of IRQ error. Though it's often kind enough to say it in the logs, but it doesn't in your case. So, I could be mistaken.

Temporarily use grub-customizer to add 'irqpoll' as a boot parameter and see if that fixes it.
 

Members online


Top