• 1 Post
  • 12 Comments
Joined 1 year ago
cake
Cake day: February 14th, 2024

help-circle

  • Yyyyep, shows up on lsusb

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
    Bus 001 Device 003: ID 174c:2174 ASMedia Technology Inc. ASMT2307
    Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
    Bus 001 Device 005: ID 0b05:1b9b ASUSTek Computer, Inc. USB Audio
    Bus 001 Device 006: ID 1532:00aa Razer USA, Ltd Razer Basilisk V3 Pro
    Bus 001 Device 007: ID 1532:0292 Razer USA, Ltd DSV2 Pro
    Bus 001 Device 008: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
    Bus 001 Device 009: ID 0489:e13a Foxconn / Hon Hai Wireless_Device
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
    Bus 002 Device 003: ID 174c:3174 ASMedia Technology Inc. ASMT2307
    Bus 002 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    

  • I went and booted into Windows to double check how the audio devices are set up and I don’t think I’ve ever seen onboard audio controllers show up like this with previous motherboards, which might explain why I’m having such a hard time getting it to work on Linux. It seems to be throwing whatever is plugged into the jack ports through two different hoops. The devices themselves (Speakers and Mac Mini) aren’t directly connecting to the integrated Realtek audio card, and it seems like there’s another layer of audio processing happening in-between. I don’t know, I know nothing about audio so I’m kinda talking out of my ass based on what I’m expecting to see and what I’m seeing…

    This is what lspci -k returns, I’m seeing no mention of Realtek and the only audio related things I’m seeing appear to be the CPU’s iGPU (73:00.1) and the GPU’s (01:00.1) audio…

    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: pcieport
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: piix4_smbus
    	Kernel modules: i2c_piix4, sp5100_tco
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
    	Kernel driver in use: k10temp
    	Kernel modules: k10temp
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
    01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] (rev a1)
    	Subsystem: NVIDIA Corporation Device 147a
    	Kernel driver in use: nvidia
    	Kernel modules: nouveau, nvidia_drm, nvidia
    01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
    	Subsystem: NVIDIA Corporation Device 147a
    	Kernel driver in use: snd_hda_intel
    	Kernel modules: snd_hda_intel
    02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN850X NVMe SSD (rev 01)
    	Subsystem: Sandisk Corp WD Black SN850X NVMe SSD
    	Kernel driver in use: nvme
    	Kernel modules: nvme
    []
    71:00.0 USB controller: ASMedia Technology Inc. Device 2426 (rev 01)
    	Subsystem: ASMedia Technology Inc. Device 2421
    	Kernel driver in use: xhci_hcd
    72:00.0 USB controller: ASMedia Technology Inc. Device 2425 (rev 01)
    	Subsystem: ASMedia Technology Inc. Device 2421
    	Kernel driver in use: thunderbolt
    	Kernel modules: thunderbolt
    73:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c5)
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: amdgpu
    	Kernel modules: amdgpu
    73:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: snd_hda_intel
    	Kernel modules: snd_hda_intel
    73:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: ccp
    	Kernel modules: ccp
    73:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: xhci_hcd
    73:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: xhci_hcd
    74:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
    	Subsystem: ASUSTeK Computer Inc. Device 8877
    	Kernel driver in use: xhci_hcd
    

    The deeper I dig the less I understand.

    Edit: had to redact the code-block because it seems there’s a character limit and it was long enough to hit it.


  • The only actual microphone I have is a USB microphone, and I’ve had no problem using it for Discord calls, but that unfortunately doesn’t apply to the Line In port.

    Currently looking up how to figure out if I can force Arch to use snd_hda_intel if it isn’t already.

    This is what lspci returns:

    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
    00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
    00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
    00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
    00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
    00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
    01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] (rev a1)
    01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
    02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN850X NVMe SSD (rev 01)
    03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
    04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    04:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    04:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    04:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    04:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
    06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 06)
    07:00.0 Network controller: MEDIATEK Corp. Device 7927
    08:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN850X NVMe SSD (rev 01)
    09:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43fc (rev 01)
    0a:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
    0b:00.0 PCI bridge: ASMedia Technology Inc. Device 2421 (rev 01)
    0c:00.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
    0c:01.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
    0c:02.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
    0c:03.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
    71:00.0 USB controller: ASMedia Technology Inc. Device 2426 (rev 01)
    72:00.0 USB controller: ASMedia Technology Inc. Device 2425 (rev 01)
    73:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c5)
    73:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
    73:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
    73:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
    73:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
    74:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
    

    dmesg | grep snd returns the following so it seems like snd_hda_intel is at least present if not being used already?

    [    6.081625] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
    [    6.081703] snd_hda_intel 0000:01:00.1: Disabling MSI
    [    6.081707] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
    [    6.081779] snd_hda_intel 0000:73:00.1: enabling device (0000 -> 0002)
    [    6.081804] snd_hda_intel 0000:73:00.1: Handle vga_switcheroo audio client
    [    6.125693] snd_hda_intel 0000:73:00.1: bound 0000:73:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
    [   11.806279] usbcore: registered new interface driver snd-usb-audio
    


  • If I plug the speakers directly to the Mac Mini and play media, audio comes out of the speakers. Running arecord to try to record the Mac Mini’s audio coming in from Line In results in a blank WAV file with no audio.

    I believe KDE’s sound settings is supposed to show audio activity levels, but to be extra sure I tried pavucontrol and other apps (like Discord) and they all show zero audio activity levels despite Line In being enabled and volume up.



  • I’m not seeing anything about loopback mixing, but here’s how my alsamixer looks at the moment:

    In KDE Plasma’s sound settings, both ports are set correctly, I tried messing around with the profiles but Analog Stereo Duplex seems to be the default and seems to work best.

    All settings are pretty much identical compared to before the motherboard upgrade, back when audio loopback worked no problem.


  • So I’ve only got two machines:

    • The Mac Mini, which has one audio jack (labelled Headphones, audio out).
    • My Main PC, which had two audio jacks (Line Out/Speakers, and Line In/Mic)

    The main PC is on a dual boot setup (two NVMes, one solely for Arch, the other solely for Windows).

    The Mac Mini’s audio out is plugged to the Main PC’s Line In/Mic, and the Main PC’s Line Out/Speakers is plugged to the Speakers.

    Both the input from the Mac Mini and the audio loopback (making the input play out on the speakers) work on Windows, neither work on Linux.

    Everything seems to be enabled and unmuted on Linux.


  • This is gonna sound even stupider, I actually got my cables mixed up and the cable I plugged into the Mac Mini thinking it was the Speakers was actually the other end of the Line In cable so audio was being sent to nowhere.

    Plugged the actual Speakers cable in the Mac Mini and audio played find through the Speakers.

    Re-arranged the cables back to the previous setup and the issue remains :(


  • Ohhh very interesting, didn’t think to try THAT.

    When I unplug the jack from the Mac Mini, the audio plays out from the Mac Mini’s internal speaker (that I tried).

    But when I unplug the speakers from the main PC and plug them into the Mac Mini, nothing plays through the speakers.

    Outputs listed on the Mac Mini are: LG ULTRAGEAR (HDMI), External Headphones (Headphone port), and Mac mini Speakers (Built-in).

    Default audio device is set to External Headphones (the jack port i’m using that worked perfectly before), unmuted and volume set to 75%, so audio SHOULD play, but it does not.

    Edit: really weird that it works fine through Windows though. Audio from the Mac Mini’s plays fine when plugged to the main PC and it’s booted to Windows, but not through Linux and not through the Speakers directly??


  • Oop yeah I should’ve probably specified that.

    Speakers work fine, it’s specifically the Line In that doesn’t seem to work. Motherboard only has two jack ports: Line Out (Speakers, works), and Line In (doesn’t work at all).

    Once every couple of days the Speakers audio will cut out for about 5s and come back, but I can live with that (couldn’t seem to find errors logged relating to this).

    While having a video playing on the Mac Mini so I’d have a constant source of noise, I tried using arecord and aplay to test if any audio at all was coming in, got nothing. I tried testing the “microphone” in Discord, Discord tells me it’s not getting anything at all (but it does do a brief crackle right when I click “Let’s check” under the mic testing option).