You are not logged in.

#1 2024-07-31 14:04:20

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

How to Get Sound from a PCI Sound Card?

I installed a PCI sound card (which only has Windows drivers) in my computer, and there's no sound at all on Arch Linux. However, the PCI sound card is recognized in the audio devices. How can I make it produce sound?
pkOvUeI.jpg
pkOvtOA.jpg

Offline

#2 2024-07-31 17:15:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,945

Re: How to Get Sound from a PCI Sound Card?

Please replace the huge pics with thumbnails, see https://wiki.archlinux.org/title/Genera … s_and_code .

Also post the output of lspci -knn .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-07-31 23:57:44

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

Lone_Wolf wrote:

Please replace the huge pics with thumbnails, see https://wiki.archlinux.org/title/Genera … s_and_code .

Also post the output of lspci -knn .

00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. PRIME H310M-D [1043:8694]
        Kernel driver in use: skl_uncore
        Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake PCH SATA AHCI Controller [8086:a352] (rev 10)
        DeviceName: Onboard - SATA
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 [8086:a32c] (rev f0)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 [8086:a33c] (rev f0)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:1d.2 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #11 [8086:a332] (rev f0)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:1d.3 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #12 [8086:a333] (rev f0)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation 300 Series Chipset Family LPC Controller [8086:a308] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: ASUSTeK Computer Inc. Device [1043:86c7]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Kernel driver in use: intel-spi
        Kernel modules: spi_intel_pci
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
        Subsystem: GALAX Device [1b4c:11bf]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
        Subsystem: GALAX Device [1b4c:11bf]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp SanDisk Extreme Pro / WD Black SN750 / PC SN730 / Red SN700 NVMe SSD [15b7:5006]
        Subsystem: Sandisk Corp SanDisk Extreme Pro / WD Black SN750 / PC SN730 / Red SN700 NVMe SSD [15b7:5006]
        Kernel driver in use: nvme
        Kernel modules: nvme
05:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8489]
06:00.0 Multimedia audio controller [0401]: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller [1412:1724] (rev 01)
        Subsystem: nCipher Security Device [0100:3610]
        Kernel driver in use: snd_ice1724
        Kernel modules: snd_ice1724
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: ASUSTeK Computer Inc. Onboard RTL8111H Ethernet [1043:8677]
        Kernel driver in use: r8169
        Kernel modules: r8169

Offline

#4 2024-08-01 00:06:08

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

Lone_Wolf wrote:

Please replace the huge pics with thumbnails, see https://wiki.archlinux.org/title/Genera … s_and_code .

Also post the output of lspci -knn .

I tried to modify the default sound card, but I'm not sure if there was an issue with my operation, resulting in no sound still.

Offline

#5 2024-08-01 00:27:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,262

Re: How to Get Sound from a PCI Sound Card?

What exactly did you try? Just press the button in the GUI?

What outputs do you get from

aplay -lL
amixer -c0 #Replace 0 with the index for your actual card
pactl list cards
pactl list sinks
pactl list sink-inputs

Offline

#6 2024-08-01 00:41:25

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

V1del wrote:

What exactly did you try? Just press the button in the GUI?

What outputs do you get from

aplay -lL
amixer -c0 #Replace 0 with the index for your actual card
pactl list cards
pactl list sinks
pactl list sink-inputs

I pressed the button in the GUI, then attempted to reset ALSA and modify the default sound card.

[bxv@A1 ~]$ ( export LC_ALL=C.UTF-8; aplay -lL;amixer -c2;pactl list cards; pactl list sinks; pactl list sink-inputs )
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
iec958
    IEC958 (S/PDIF) Digital Audio Output
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, GX329Q
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
sysdefault:CARD=ICE1724
    ICEnsemble ICE1724, ICE1724
    Default Audio Device
front:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    Front output / input
rear:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    Rear speakers
center_lfe:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    Center and Subwoofer speakers
side:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    Side speakers
surround21:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    4.0 Surround output to Front and Rear speakers
surround41:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=ICE1724,DEV=0
    ICEnsemble ICE1724, ICE1724
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=ICE1724
    ICEnsemble ICE1724
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [GX329Q]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: ICE1724 [ICEnsemble ICE1724], device 0: ICE1724 [ICE1724]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000' '44100' '48000'
  Item0: '44100'
Simple mixer control 'Multi Track Rate Locking',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Multi Track Rate Reset',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Card #0
        Name: alsa_card.pci-0000_01_00.1
        Driver: module-alsa-card.c
        Owner Module: 6
        Properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xa3080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fb9"
                device.product.name = "GP107GL High Definition Audio Controller"
                device.string = "1"
                device.description = "GP107GL High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) 输出 (sinks: 1, sources: 0, priority: 38668, available: yes)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) 输出 (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) 输出 (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) 输出 (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) 输出 (sinks: 1, sources: 0, priority: 600, available: no)
                off: 关 (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:hdmi-stereo
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
                        Properties:
                                device.icon_name = "video-display"
                                device.product.name = "GX329Q
      "
                        Part of profile(s): output:hdmi-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
                hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3

Card #1
        Name: alsa_card.pci-0000_06_00.0
        Driver: module-alsa-card.c
        Owner Module: 7
        Properties:
                alsa.card = "2"
                alsa.card_name = "ICEnsemble ICE1724"
                alsa.long_card_name = "ICEnsemble ICE1724 at 0x4080, irq 18"
                alsa.driver_name = "snd_ice1724"
                device.bus_path = "pci-0000:06:00.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.2/0000:05:00.0/0000:06:00.0/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1412"
                device.vendor.name = "VIA Technologies Inc."
                device.product.id = "1724"
                device.product.name = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
                device.string = "2"
                device.description = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                input:analog-stereo: 模拟立体声 输入 (sinks: 0, sources: 1, priority: 65, available: yes)
                output:analog-stereo: 模拟立体声 输出 (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:analog-stereo+input:analog-stereo: 模拟立体声双工 (sinks: 1, sources: 1, priority: 6565, available: yes)
                off: 关 (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input: 模拟输入 (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown)
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output: 模拟输出 (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

Card #2
        Name: alsa_card.pci-0000_00_1f.3
        Driver: module-alsa-card.c
        Owner Module: 8
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa3410000 irq 144"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "内置音频"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                input:analog-stereo: 模拟立体声 输入 (sinks: 0, sources: 1, priority: 65, available: no)
                output:analog-stereo: 模拟立体声 输出 (sinks: 1, sources: 0, priority: 6500, available: no)
                output:analog-stereo+input:analog-stereo: 模拟立体声双工 (sinks: 1, sources: 1, priority: 6565, available: no)
                output:iec958-stereo: 数字立体声(IEC958) 输出 (sinks: 1, sources: 0, priority: 38268, available: yes)
                output:iec958-stereo+input:analog-stereo: 数字立体声(IEC958) 输出 + 模拟立体声 输入 (sinks: 1, sources: 1, priority: 5565, available: yes)
                output:iec958-ac3-surround-51: 数字环绕 5.1(IEC958/AC3) 输出 (sinks: 1, sources: 0, priority: 300, available: yes)
                output:iec958-ac3-surround-51+input:analog-stereo: 数字环绕 5.1(IEC958/AC3) 输出 + 模拟立体声 输入 (sinks: 1, sources: 1, priority: 365, available: no)
                off: 关 (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:iec958-stereo
        Ports:
                analog-input-front-mic: 前麦克风 (type: Mic, priority: 8500, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
                analog-input-rear-mic: 后麦克风 (type: Mic, priority: 8200, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
                analog-input-linein: 输入插孔 (type: Line, priority: 8100, latency offset: 0 usec, not available)
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
                analog-output-lineout: 线缆输出 (type: Line, priority: 9000, latency offset: 0 usec, not available)
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: 模拟耳机 (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-headphones"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                iec958-stereo-output: 数字输出 (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo
Sink #1
        State: RUNNING
        Name: alsa_output.pci-0000_06_00.0.analog-stereo
        Description: VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller 模拟立体声
        Driver: module-alsa-card.c
        Sample Specification: s32le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 41943 /  64% / -11.63 dB,   front-right: 41943 /  64% / -11.63 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_06_00.0.analog-stereo.monitor
        Latency: 0 usec, configured 743038 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "24"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ICE1724"
                alsa.id = "ICE1724"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "ICEnsemble ICE1724"
                alsa.long_card_name = "ICEnsemble ICE1724 at 0x4080, irq 18"
                alsa.driver_name = "snd_ice1724"
                device.bus_path = "pci-0000:06:00.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.2/0000:05:00.0/0000:06:00.0/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1412"
                device.vendor.name = "VIA Technologies Inc."
                device.product.id = "1724"
                device.product.name = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
                device.string = "front:2"
                device.buffering.buffer_size = "262144"
                device.buffering.fragment_size = "131072"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "模拟立体声"
                device.description = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller 模拟立体声"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output: 模拟输出 (type: Analog, priority: 9900, availability unknown)
        Active Port: analog-output
        Formats:
                pcm

Sink #2
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3.iec958-stereo
        Description: 内置音频 数字立体声(IEC958)
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 8
        Mute: no
        Volume: front-left: 39322 /  60% / -13.31 dB,   front-right: 39322 /  60% / -13.31 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Digital"
                alsa.id = "ALC887-VD Digital"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "1"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa3410000 irq 144"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.string = "iec958:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "iec958-stereo"
                device.profile.description = "数字立体声(IEC958)"
                device.description = "内置音频 数字立体声(IEC958)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                iec958-stereo-output: 数字输出 (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
        Active Port: iec958-stereo-output
        Formats:
                pcm

Sink #3
        State: SUSPENDED
        Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
        Description: GP107GL High Definition Audio Controller Digital Stereo (HDMI)
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        Volume: front-left: 22938 /  35% / -27.36 dB,   front-right: 22938 /  35% / -27.36 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "GX329Q"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xa3080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fb9"
                device.product.name = "GP107GL High Definition Audio Controller"
                device.string = "hdmi:1"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "GP107GL High Definition Audio Controller Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
        Active Port: hdmi-output-0
        Formats:
                pcm
Sink Input #6
        Driver: play-memblockq.c
        Owner Module: n/a
        Client: n/a
        Sink: 1
        Sample Specification: s16le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"s16le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 228 usec
        Sink Latency: 0 usec
        Resample method: speex-float-1
        Properties:
                media.name = "audio-volume-change"
                event.id = "audio-volume-change"
                media.role = "event"
                event.description = "Volume Control Feedback Sound"
                media.filename = "/usr/share/sounds/ocean/stereo/audio-volume-change.oga"
                application.name = "libcanberra"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "35"
                application.version = "0.30"
                application.id = "org.freedesktop.libcanberra"
                application.process.id = "1152"
                application.process.user = "bxv"
                application.process.host = "A1"
                application.process.binary = "plasmashell"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "1b9b4ef18b9e4cdaae92d785c163e182"
                application.process.session_id = "2"
                module-stream-restore.id = "sink-input-by-media-role:event"

Offline

#7 2024-08-01 00:56:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,262

Re: How to Get Sound from a PCI Sound Card?

The card is present and should generally be working. Does

speaker-test -Dhw:2 -c2 

not give you noise? The fact your posting a qpwgraph but your pulseaudio is handled by pulseaudio could also point to a service conflict

sudo fuser -v /dev/snd/*

assuming you see both pulseaudio and wireplumber there you probably want to replace pulseaudio with pipewire-pulse

Offline

#8 2024-08-01 01:26:42

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

V1del wrote:

The card is present and should generally be working. Does

speaker-test -Dhw:2 -c2 

not give you noise? The fact your posting a qpwgraph but your pulseaudio is handled by pulseaudio could also point to a service conflict

sudo fuser -v /dev/snd/*

assuming you see both pulseaudio and wireplumber there you probably want to replace pulseaudio with pipewire-pulse

[bxv@A1 ~]$ ( export LC_ALL=C.UTF-8; speaker-test -Dhw:2 -c2  ;sudo fuser -v /dev/snd/*)

speaker-test 1.2.12

Playback device is hw:2
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC1:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC2:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/pcmC2D0p:   bxv        1147 F...m pulseaudio
/dev/snd/seq:        bxv        1291 F.... pipewire

I’m still not getting any sound. It doesn’t seem like there are any service conflicts. I'm quite new to audio devices, and when I asked others for help, they suggested checking qpwgraph. I’m not sure how to proceed with that.

Offline

#9 2024-08-01 01:40:11

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

V1del wrote:

The card is present and should generally be working. Does

speaker-test -Dhw:2 -c2 

not give you noise? The fact your posting a qpwgraph but your pulseaudio is handled by pulseaudio could also point to a service conflict

sudo fuser -v /dev/snd/*

assuming you see both pulseaudio and wireplumber there you probably want to replace pulseaudio with pipewire-pulse

One thing I’ve noticed is that when switching to this sound card output, Chrome and Firefox websites that play audio and video directly can’t play. It feels like the audio buffer write fails (or whatever it’s called).

Offline

#10 2024-08-01 08:26:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,945

Re: How to Get Sound from a PCI Sound Card?

Playback open error: -16,Device or resource busy
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC1:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC2:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/pcmC2D0p:   bxv        1147 F...m pulseaudio
/dev/snd/seq:        bxv        1291 F.... pipewire

pipewire and pulseaudio conflict, you should resolve the conflict by either of

- install pipewire-pulse to replace pulseaudio (preferred by many)
OR
- remove everything pipewire crelated except libpipewire and use pulseaudio exclusively

(there are a few other options like switching to pure alsa or pure OSS , but those are only used by people who have specific needs/reasons) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2024-08-01 09:30:12

cryptearth
Member
Registered: 2024-02-03
Posts: 994

Re: How to Get Sound from a PCI Sound Card?

https://dev.haiku-os.org/wiki/HardwareI … io/ice1712
looks like lack of driver upport for this series

Offline

#12 2024-08-01 14:17:06

MiaoMiao
Member
Registered: 2024-07-31
Posts: 7

Re: How to Get Sound from a PCI Sound Card?

Lone_Wolf wrote:
Playback open error: -16,Device or resource busy
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC1:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/controlC2:  bxv        1147 F.... pulseaudio
                     bxv        1292 F.... pipewire-media-
/dev/snd/pcmC2D0p:   bxv        1147 F...m pulseaudio
/dev/snd/seq:        bxv        1291 F.... pipewire

pipewire and pulseaudio conflict, you should resolve the conflict by either of

- install pipewire-pulse to replace pulseaudio (preferred by many)
OR
- remove everything pipewire crelated except libpipewire and use pulseaudio exclusively

(there are a few other options like switching to pure alsa or pure OSS , but those are only used by people who have specific needs/reasons) .

I tried the previous suggestion, but unfortunately, there is still no sound.

/dev/snd/controlC0:  bxv        1243 F.... pipewire-media-
/dev/snd/controlC1:  bxv        1243 F.... pipewire-media-
/dev/snd/controlC2:  bxv        1243 F.... pipewire-media-
/dev/snd/seq:        bxv        1242 F.... pipewire

Offline

#13 2024-08-01 15:12:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,945

Re: How to Get Sound from a PCI Sound Card?

cryptearth wrote:

https://dev.haiku-os.org/wiki/HardwareI … io/ice1712
looks like lack of driver upport for this series

I doubt support under Haiku OS is relevant for (arch)linux .

This chipset has been around since approx 2007 and is supported by linux since kernel 2.6.0 .

On the links posted below a program called envy24control is mentioned that can configure the card.
That program is in the alsa-tools package and even has an arch wiki page.

Install alsa-tools and check https://wiki.archlinux.org/title/Envy24control ., then experiment .

MiaoMiao, this card appears to be intended for professional audio usage, do you have xp with Pro Audio stuff ?

Some links for background info
https://www.alsa-project.org/main/index … le-ice1712
https://alsa.opensrc.org/Ice1712


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB