Audio-Interface very often not recognized after boot

Hello fellow garudians!
As stated in the title, my audio-interface, to which both my microphone and my headphones are connected, very often isn’t recognized after starting the pc. If it comes to that, a restart will fix the problem, but it’s quite annoying if you have to restart the pc after just having booted it so often. Disconnecting it physically and then reconnecting it also doesn nothing. I have a AG03 audio-interface from Yamaha. I also noticed that my mouse and keyboard take quite long to be activated again after the boot sequence ended. Maybe that has something to do with it?

Thank you for your help in advance!

PS: I’m writing this while not having restarted the pc yet, so I can’t use the interface. But it still seems to be detected in garuda-inxi output.

System:
Kernel: 6.5.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=190e7cc2-4318-4f40-8d3a-f5f4b453777f rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=7c8380c2-84ce-492e-b61f-aa22976a6b16 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: B650 AORUS ELITE AX v: x.x
serial: <superuser required> UEFI: American Megatrends LLC. v: F4
date: 03/22/2023
CPU:
Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 620 high: 3925 min/max: 400/5573 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400
14: 3925 15: 400 16: 400 bogomips: 143734
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3090] driver: nvidia v: 535.113.01
alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-09) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-23 pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2204 class-ID: 0300
Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel
arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-1, DP-2,
DP-3, HDMI-A-1 bus-ID: 11:00.0 chip-ID: 1002:164e class-ID: 0300
temp: 33.0 C
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_x11 driver: X: loaded: amdgpu,modesetting,nouveau,nvidia
alternate: fbdev,nv,vesa dri: radeonsi gpu: nvidia,amdgpu display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
s-diag: 610mm (24")
Monitor-1: HDMI-0 pos: primary res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
Monitor-2: None-2-1 size-res: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 535.113.01
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2
memory: 23.44 GiB
API: Vulkan v: 1.3.264 layers: 8 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3090 driver: nvidia v: 535.113.01
device-ID: 10de:2204 surfaces: xcb,xlib device: 1 type: integrated-gpu
name: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
v: 23.2.1-arch1.1 device-ID: 1002:164e surfaces: xcb,xlib device: 2
type: cpu name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA GA102 High Definition Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aef
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 11:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 11:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Yamaha AG06/AG03 driver: snd-usb-audio type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2.1:4 chip-ID: 0499:170d
class-ID: 0103
API: ALSA v: k6.5.5-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.80 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0c:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp12s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 0d:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp13s0 state: down mac: <filter>
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:7 chip-ID: 0e8d:0616
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 3.64 TiB used: 161.61 GiB (4.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 3B2QJXD7 temp: 28.9 C
scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Samsung model: SSD 980 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 27.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 76.29 GiB (4.2%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 76.29 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 76.29 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 76.29 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 33.55 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 30.5 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 36.9 C mobo: 24.0 C
Fan Speeds (rpm): N/A
GPU: device: nvidia screen: :0.0 temp: 30 C fan: 0% device: amdgpu
temp: 33.0 C
Info:
Processes: 356 Uptime: 7m wakeups: 0 Memory: total: 32 GiB note: est.
available: 30.5 GiB used: 3.14 GiB (10.3%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1381 libs: 407 tools: octopi,paru Shell: fish v: 3.6.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.30
Garuda (2.6.16-1):
System install date:     2023-09-25
Last full system update: 2023-10-03
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

The first thing I would check is if changing the kernel solves this issue? I had weird audio crackling issue with zen kernel so wouldn’t be surprised if this issue is being caused due to zen kernel as well.

First try the LTS kernel,

sudo pacman -S linux-lts linux-lts-headers

reboot and from grub boot menuadvanced options for garuda linux press enter. From there choose boot with linux-lts

4 Likes

Hey! Sorry for my late reply!
Switching the kernel fixed the problem. Thank you for your answer! :slight_smile:

Seems like I’ll stick with another kernel then. But what are the advantages for using the zen kernel though? There is probably a reason you guys use that one.

From what I have heard zen kernel is maintained by a group of kernel hackers to make this kernel more geared towards desktop usage. It also contains a lot of modules inbuilt which means you don’t have to spend time compiling modules against this kernel most of the stuff is supposed to “just work” out of the box. This also makes it a good candidate for gaming. It has been used for it’s great compatibility with almost all existing desktop hardware. Looking around for some people zen kernel seems to be the only kernel that works. For some it just causes issues.

Though lately the zen kernel has been causing issues for my hardware as well thus I moved over to linux-lts for a while before switching over to linux-clear. It’s a kernel that’s more geared towards intel based platforms. It contains patches that make it run faster on intel hardware (talking about linux-clear in this last bit here).

5 Likes

Ah, ok. As I don’t have an intel cpu anymore, I’ll search around which kernel works best for my cpu, the amd one or the normal lts kernel. Forgot to mark your answer as the solution yesterday, thank you to the person that marked it for me!

I think the topic can be closed then. Thank you for your time! :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.