You are not logged in.

#1 2021-02-27 04:52:30

Tobknight
Member
Registered: 2020-10-30
Posts: 13

USB DAC detected and looks like there is a output but not sound

Only HDMI output has sound in my case.  The meainng of here is a output is determined by observing the volume meter. The meter bar will swing dpends on the sound.

This happens really suddenlly. My USB DAC works really well yesterday,but not work after FS broke.

I also have tried reinstall alas and pluseaudio package multiple time and downgrade recent nvidia packages and kwin, but nothing changes. Haven't change anything on /etc/pulse ~/.config/pulse

Update: #10 results from 5.11.2-arch1-1

uname -r
5.11.1-arch1-1
sudo fuser -v /dev/snd/*   #The number of items show here is variable at each time
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  usr      882 F.... pulseaudio
/dev/snd/controlC1:  usr      882 F.... pulseaudio
/dev/snd/controlC2:  usr      882 F.... pulseaudio
/dev/snd/controlC3:  usr      882 F.... pulseaudio
/dev/snd/pcmC0D8p:   usr      882 F...m pulseaudio
/dev/snd/pcmC1D1p:   usr      882 F...m pulseaudio
/dev/snd/pcmC2D0p:   usr     882 F...m pulseaudio
/dev/snd/pcmC3D0c:   usr      882 F...m pulseaudio
/dev/snd/timer:      usr      882 f.... pulseaudio
aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
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 PulseAudio Sound Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    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
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
    HDA NVidia, HDMI 6
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC1220 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=WALKMAN
    WALKMAN, USB Audio
    Default Audio Device
front:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    Front output / input
surround21:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=WALKMAN,DEV=0
    WALKMAN, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=WALKMAN
    WALKMAN
    USB Stream Output
pacmd list-cards

3 card(s) available.
    index: 0
        name: <alsa_card.usb-Sony_WALKMAN_10453075051974-00>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "2"
                alsa.card_name = "WALKMAN"
                alsa.long_card_name = "Sony WALKMAN at usb-0000:01:00.0-4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:01:00.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-4/1-4:1.0/sound/card2"
                udev.id = "usb-Sony_WALKMAN_10453075051974-00"
                device.bus = "usb"
                device.vendor.id = "054c"
                device.vendor.name = "Sony Corp."
                device.product.id = "0b8c"
                device.product.name = "WALKMAN"
                device.serial = "Sony_WALKMAN_10453075051974"
                device.string = "2"
                device.description = "WALKMAN"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:iec958-stereo>
        sinks:
                alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo/#0: WALKMAN Digital Stereo (IEC958)
        sources:
                alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo.monitor/#0: Monitor of WALKMAN Digital Stereo (IEC958)
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

    index: 1
        name: <alsa_card.pci-0000_09_00.1>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 91"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:09:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "0"
                device.description = "TU104 HD Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: unknown)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (priority 5700, available: no)
                output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (priority 600, available: no)
                output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <output:hdmi-stereo-extra2>
        sinks:
                alsa_output.pci-0000_09_00.1.hdmi-stereo-extra2/#2: TU104 HD Audio Controller Digital Stereo (HDMI 3)
        sources:
                alsa_output.pci-0000_09_00.1.hdmi-stereo-extra2.monitor/#3: Monitor of TU104 HD Audio Controller Digital Stereo (HDMI 3)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "DELL U2415
  "
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "DELL U2415
  "
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "C27F591
     "
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-6: HDMI / DisplayPort 7 (priority 5300, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 2
        name: <alsa_card.pci-0000_0b_00.3>
        driver: <module-alsa-card.c>
        owner module: 9
        properties:
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7900000 irq 93"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0b:00.3"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.3/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1457"
                device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
                device.string = "1"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <output:iec958-stereo>
        sinks:
                alsa_output.pci-0000_0b_00.3.iec958-stereo/#1: Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)
        sources:
                alsa_output.pci-0000_0b_00.3.iec958-stereo.monitor/#2: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
                        properties:

                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:
pacmd list-sinks

3 sink(s) available.
    index: 0
        name: <alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 9048
        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
        volume steps: 65537
        muted: no
        current latency: 40.05 ms
        max request: 6 KiB
        max rewind: 6 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.usb-Sony_WALKMAN_10453075051974-00>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "WALKMAN"
                alsa.long_card_name = "Sony WALKMAN at usb-0000:01:00.0-4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:01:00.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-4/1-4:1.0/sound/card2"
                udev.id = "usb-Sony_WALKMAN_10453075051974-00"
                device.bus = "usb"
                device.vendor.id = "054c"
                device.vendor.name = "Sony Corp."
                device.product.id = "0b8c"
                device.product.name = "WALKMAN"
                device.serial = "Sony_WALKMAN_10453075051974"
                device.string = "iec958:2"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "iec958-stereo"
                device.profile.description = "Digital Stereo (IEC958)"
                device.description = "WALKMAN Digital Stereo (IEC958)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <iec958-stereo-output>
    index: 1
        name: <alsa_output.pci-0000_0b_00.3.iec958-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY 
        state: IDLE
        suspend cause: (none)
        priority: 9038
        volume: front-left: 65530 / 100% / -0.00 dB,   front-right: 65530 / 100% / -0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 100.87 ms
        max request: 17 KiB
        max rewind: 17 KiB
        monitor source: 2
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        fixed latency: 100.14 ms
        card: 3 <alsa_card.pci-0000_0b_00.3>
        module: 9
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC1220 Digital"
                alsa.id = "ALC1220 Digital"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "1"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7900000 irq 93"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:0b:00.3"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.3/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1457"
                device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
                device.string = "iec958:1"
                device.buffering.buffer_size = "17664"
                device.buffering.fragment_size = "2944"
                device.access_mode = "mmap"
                device.profile.name = "iec958-stereo"
                device.profile.description = "Digital Stereo (IEC958)"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <iec958-stereo-output>
  * index: 2
        name: <alsa_output.pci-0000_09_00.1.hdmi-stereo-extra2>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9030
        volume: front-left: 19658 /  30% / -31.38 dB,   front-right: 19658 /  30% / -31.38 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 34.76 ms
        max request: 6 KiB
        max rewind: 6 KiB
        monitor source: 3
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 3
        configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
        card: 2 <alsa_card.pci-0000_09_00.1>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 2"
                alsa.id = "HDMI 2"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "8"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 91"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:09:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "hdmi:0,2"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo-extra2"
                device.profile.description = "Digital Stereo (HDMI 3)"
                device.description = "TU104 HD Audio Controller Digital Stereo (HDMI 3)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "C27F591
     "
        active port: <hdmi-output-2>

Let me know anything I need to provide thx

Last edited by Tobknight (2021-03-01 00:42:14)

Offline

#2 2021-02-27 07:34:10

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

It looks like your default card is set to HDMI.
Are you able to play a sound into your DAC via ALSA alone without pulseaudio, i.e. speaker-test -c 2?

Offline

#3 2021-02-27 16:12:14

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

It looks like your default card is set to HDMI.
Are you able to play a sound into your DAC via ALSA alone without pulseaudio, i.e. speaker-test -c 2?

Only sounds on HDMI. Is there anyway to configure?

Edited: On AlsaMixer, F6 to DAC, it shows This sound device does not have any controls

Last edited by Tobknight (2021-02-27 17:35:08)

Offline

#4 2021-02-27 17:59:14

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

Without pulseaudio running, what is the output of speaker-test -c 2?

killall pulseaudio
speaker-test -c 2

Also if you may post /etc/asound.conf or ~/.asoundrc whichever is significant.

Offline

#5 2021-02-27 22:49:02

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

d_fajardo wrote:

Without pulseaudio running, what is the output of speaker-test -c 2?

killall pulseaudio
speaker-test -c 2

Also if you may post /etc/asound.conf or ~/.asoundrc whichever is significant.

I have tried those but did not work. And I don't have those files in local anyway and my DAC still works run out of the box. So that makes me curious should I set up config somehow?

My issue is temporarily solved by downgraded all my package back to 2/22/2021

[2021-02-18T23:23:55-0500] [ALPM] downgraded plasma-browser-integration (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:55-0500] [ALPM] downgraded plasma-disks (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:55-0500] [ALPM] downgraded plasma-integration (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-workspace (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-nm (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-pa (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-sdk (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-thunderbolt (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-vault (5.21.0-1 -> 5.20.5-1)
[2021-02-18T23:23:56-0500] [ALPM] downgraded plasma-workspace-wallpapers (5.21.0-1 -> 5.20.5-1)
[2021-02-26T16:45:07-0500] [ALPM] downgraded kwin (5.21.1-2 -> 5.21.1-1)
[2021-02-26T18:20:02-0500] [ALPM] downgraded nvidia-utils (460.56-1 -> 460.39-1)
[2021-02-26T18:20:02-0500] [ALPM] downgraded nvidia (460.56-1 -> 460.39-11)
[2021-02-26T18:20:02-0500] [ALPM] downgraded opencl-nvidia (460.56-1 -> 460.39-1)
[2021-02-26T22:36:31-0500] [ALPM] downgraded lib32-nvidia-utils (460.56-1 -> 460.39-1)
[2021-02-27T12:59:57-0500] [ALPM] downgraded linux (5.11.1.arch1-1 -> 5.10.16.arch1-1)
[2021-02-27T15:21:14-0500] [ALPM] downgraded lib32-nvidia-utils (460.56-1 -> 460.39-1)
[2021-02-27T15:30:13-0500] [ALPM] downgraded nvidia-utils (460.56-1 -> 460.39-1)
[2021-02-27T15:30:13-0500] [ALPM] downgraded nvidia (460.56-1 -> 460.39-11)
[2021-02-27T15:31:36-0500] [ALPM] downgraded nvidia-settings (460.56-1 -> 460.39-1)
[2021-02-27T15:32:01-0500] [ALPM] downgraded opencl-nvidia (460.56-1 -> 460.39-1)
[2021-02-27T15:41:56-0500] [ALPM] downgraded linux (5.11.1.arch1-1 -> 5.10.16.arch1-1)
[2021-02-27T15:50:27-0500] [ALPM] downgraded linux (5.11.1.arch1-1 -> 5.11.arch1-1)
[2021-02-27T16:11:15-0500] [ALPM] downgraded btrfs-progs (5.10.1-2 -> 5.10.1-1)
[2021-02-27T16:11:15-0500] [ALPM] downgraded docker (1:20.10.4-1 -> 1:20.10.3-3)
[2021-02-27T16:11:15-0500] [ALPM] downgraded enchant (2.2.15-1 -> 2.2.13-2)
[2021-02-27T16:11:15-0500] [ALPM] downgraded libdatrie (0.2.13-1 -> 0.2.12-2)
[2021-02-27T16:11:15-0500] [ALPM] downgraded kwin (5.21.1-2 -> 5.21.1-1)
[2021-02-27T16:11:15-0500] [ALPM] downgraded lib32-mesa (20.3.4-3 -> 20.3.4-2)
[2021-02-27T16:11:15-0500] [ALPM] downgraded libnm (1.30.0-2 -> 1.30.0-1)
[2021-02-27T16:11:15-0500] [ALPM] downgraded libxnvctrl (460.56-1 -> 460.39-1)
[2021-02-27T16:11:16-0500] [ALPM] downgraded networkmanager (1.30.0-2 -> 1.30.0-1)
[2021-02-27T16:11:16-0500] [ALPM] downgraded python-pyqt5 (5.15.3-2 -> 5.15.3-1)
[2021-02-27T16:11:16-0500] [ALPM] downgraded python-sip4 (4.19.25-1 -> 4.19.24-1)
[2021-02-27T16:11:16-0500] [ALPM] downgraded sip4 (4.19.25-1 -> 4.19.24-1)
[2021-02-27T16:16:29-0500] [ALPM] downgraded libxcrypt (4.4.18-1 -> 4.4.17-1)
[2021-02-27T16:16:29-0500] [ALPM] downgraded bluez (5.56-1 -> 5.55-3)
[2021-02-27T16:16:29-0500] [ALPM] downgraded libunwind (1.5.0-1 -> 1.4.0-1)
[2021-02-27T16:16:29-0500] [ALPM] downgraded libwacom (1.9-1 -> 1.8-1)
[2021-02-27T16:16:30-0500] [ALPM] downgraded libinput (1.17.0-1 -> 1.16.4-1)
[2021-02-27T16:16:30-0500] [ALPM] downgraded mesa (20.3.4-3 -> 20.3.4-2)
[2021-02-27T16:16:30-0500] [ALPM] downgraded openal (1.21.1-1 -> 1.21.0-1)
[2021-02-27T16:16:30-0500] [ALPM] downgraded python (3.9.2-1 -> 3.9.1-2)
[2021-02-27T16:16:30-0500] [ALPM] downgraded js78 (78.8.0-1 -> 78.7.1-1)
[2021-02-27T16:16:30-0500] [ALPM] downgraded bluedevil (1:5.21.1-1 -> 1:5.21.0-1)
[2021-02-27T16:16:30-0500] [ALPM] downgraded bluez-libs (5.56-1 -> 5.55-3)
[2021-02-27T16:16:30-0500] [ALPM] downgraded kdecoration (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:31-0500] [ALPM] downgraded breeze (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:31-0500] [ALPM] downgraded breeze-gtk (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:31-0500] [ALPM] downgraded cmake (3.19.6-1 -> 3.19.5-1)
[2021-02-27T16:16:31-0500] [ALPM] downgraded composer (2.0.11-1 -> 2.0.9-1)
[2021-02-27T16:16:37-0500] [ALPM] downgraded cuda (11.2.1-2 -> 11.2.1-1)
[2021-02-27T16:16:37-0500] [ALPM] downgraded discover (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:37-0500] [ALPM] downgraded drkonqi (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:37-0500] [ALPM] downgraded gtk3 (1:3.24.26-1 -> 1:3.24.25-2)
[2021-02-27T16:16:37-0500] [ALPM] downgraded ttf-liberation (2.1.3-1 -> 2.1.2-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded firefox (86.0-1 -> 85.0.2-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded geoip-database (20210223-1 -> 20210126-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded glslang (11.2.0-1 -> 11.1.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded grub (2:2.04-10 -> 2:2.04-9)
[2021-02-27T16:16:38-0500] [ALPM] downgraded gtkmm3 (3.24.4-1 -> 3.24.3-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded hdparm (9.60-1 -> 9.58-3)
[2021-02-27T16:16:38-0500] [ALPM] downgraded iproute2 (5.11.0-1 -> 5.10.0-2)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kactivitymanagerd (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kde-cli-tools (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kde-gtk-config (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded libksysguard (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded milou (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kscreenlocker (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kwayland-server (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded kwin (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded plasma-integration (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:38-0500] [ALPM] downgraded libkscreen (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:39-0500] [ALPM] downgraded plasma-workspace (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:43-0500] [ALPM] downgraded kdeplasma-addons (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:43-0500] [ALPM] downgraded systemsettings (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:43-0500] [ALPM] downgraded kgamma5 (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:43-0500] [ALPM] downgraded khotkeys (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kinfocenter (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kmenuedit (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kscreen (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded ksshaskpass (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded ksysguard (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kwallet-pam (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kwayland-integration (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded kwrited (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded lib32-libxcrypt (4.4.18-1 -> 4.4.17-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded libgphoto2 (2.5.27-1 -> 2.5.26-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded libmm-glib (1.16.0-1 -> 1.14.10-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded libolm (3.2.2-1 -> 3.2.1-3)
[2021-02-27T16:16:44-0500] [ALPM] downgraded shaderc (2020.3-2 -> 2020.3-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded libplacebo (3.104.0-2 -> 3.104.0-1)
[2021-02-27T16:16:44-0500] [ALPM] downgraded libqmi (1.28.0-1 -> 1.26.10-1)
[2021-02-27T16:16:45-0500] [ALPM] downgraded linux (5.11.1.arch1-1 -> 5.10.16.arch1-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded mariadb-libs (10.5.9-1 -> 10.5.8-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded mariadb-clients (10.5.9-1 -> 10.5.8-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded mariadb (10.5.9-1 -> 10.5.8-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded python-cryptography (3.4.6-1 -> 3.3.1-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded matrix-synapse (1.27.0-1 -> 1.26.0-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded modemmanager (1.16.0-1 -> 1.14.10-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded nodejs (15.10.0-1 -> 15.9.0-1)
[2021-02-27T16:16:46-0500] [ALPM] downgraded nvidia (460.39-11 -> 460.39-8)
[2021-02-27T16:16:46-0500] [ALPM] downgraded oxygen (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-browser-integration (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded polkit-kde-agent (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-desktop (5.21.1-1 -> 5.21.0-2)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-disks (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-firewall (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-nm (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-pa (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-sdk (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-systemmonitor (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-thunderbolt (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-vault (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded plasma-workspace-wallpapers (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded powerdevil (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:47-0500] [ALPM] downgraded python-shiboken2 (5.15.2-6 -> 5.15.2-5)
[2021-02-27T16:16:47-0500] [ALPM] downgraded pyside2 (5.15.2-3 -> 5.15.2-2)
[2021-02-27T16:16:48-0500] [ALPM] downgraded python-numpy (1.20.1-1 -> 1.20.0-1)
[2021-02-27T16:16:48-0500] [ALPM] downgraded python-olm (3.2.2-1 -> 3.2.1-3)
[2021-02-27T16:16:48-0500] [ALPM] downgraded python-pyqt5 (5.15.3-1 -> 5.15.2-3)
[2021-02-27T16:16:48-0500] [ALPM] downgraded qemu (5.2.0-3 -> 5.2.0-2)
[2021-02-27T16:16:48-0500] [ALPM] downgraded rime-cangjie (0.0.0.20210223-1 -> 0.0.0.20201030-1)
[2021-02-27T16:16:48-0500] [ALPM] downgraded sddm-kcm (5.21.1-1 -> 5.21.0-1)
[2021-02-27T16:16:49-0500] [ALPM] downgraded signal-desktop (1.40.1-1 -> 1.40.0-1)
[2021-02-27T16:16:49-0500] [ALPM] downgraded virtualbox-host-modules-arch (6.1.18-13 -> 6.1.18-10)
[2021-02-27T16:16:49-0500] [ALPM] downgraded xdg-desktop-portal-kde (5.21.1-1 -> 5.21.0-1)

I believe there is something wrong with those packages. I don't have time to figure out which one. I believe is Nvidia(Sry, I can't find the sauce that inspired me that could be Nvidia driver manipulate its HDMI output (overwrite or be redirected) other audio)

One lesson I learn is avoid to reduce update frequency on the Nvidia package. If possible mount a second AMDGPU Exclusive for Linux may be making life EZ. I think except for FileSystem corruption, most of the time my system is broken can be indirectly caused by the Nvidia-related package.
For example, one Nvidia update(can't recall which version, but just recall one around October 2020) stopped me from boot into DE at the same time I have installed bumblebee. After removing bumblebee, my system worked again.

Edit: Typo

Last edited by Tobknight (2021-02-27 22:56:08)

Offline

#6 2021-02-27 23:51:56

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

I have tried those but did not work.

I asked for the output of the command and not if it works or not. What is the output of the speaker test?
We are trying to establish if ALSA is able to find and recognise the DAC.
https://wiki.archlinux.org/index.php/Ad … chitecture.
The DAC uses the usb interface so I don't think it has anything to do with Nvidia but the HDMI from Nvidia seems to be stealing the show.

Offline

#7 2021-02-28 01:58:27

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

d_fajardo wrote:

I have tried those but did not work.

I asked for the output of the command and not if it works or not. What is the output of the speaker test?
We are trying to establish if ALSA is able to find and recognise the DAC.
https://wiki.archlinux.org/index.php/Ad … chitecture.
The DAC uses the usb interface so I don't think it has anything to do with Nvidia but the HDMI from Nvidia seems to be stealing the show.

Sorry for misunderstanding your intention. Here it is

speaker-test -c 2

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy

Offline

#8 2021-02-28 04:09:33

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

Update: Tried to use the NVIDIA DKMS package instead of NVIDIA. I have downgraded NVIDIA DKMS with Linux-5.11.2 arch1-1, the issue is still there. Hence I believe there is something inside the latest kernel.

Update2: Latest NVIDIA DKMS does not interrupt USB-AUDIO output.

Thanks

Last edited by Tobknight (2021-02-28 04:14:27)

Offline

#9 2021-02-28 07:25:17

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

Can you try running the speaker test (without pulseaudio as before) specifying your USB sound card and post the output again please:

speaker-test -D default=WALKMAN -c 2

Also can you please post the outputs of:

lsmod | grep snd
cat /proc/asound/modules

Offline

#10 2021-02-28 18:40:05

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

speaker-test -D default=WALKMAN -c 2

speaker-test 1.2.4

Playback device is default=WALKMAN
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default=WALKMAN
Playback open error: -2,No such file or directory
cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
 2 snd_usb_audio
 3 snd_usb_audio
lsmod | grep snd

snd_usb_audio         327680  4
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     65536  1 snd_usb_audio
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     73728  1
snd_hda_intel          57344  5
snd_intel_dspcfg       24576  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_soc_core          331776  1 soundwire_intel
snd_compress           32768  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               147456  9 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                   114688  32 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

Offline

#11 2021-02-28 20:27:33

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default=WALKMAN
Playback open error: -2,No such file or directory

ALSA can't see the DAC. WALKMAN is probably wrong argument. Can you please post again the output of

aplay -L | grep CARD

Modules are all there but

cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
 2 snd_usb_audio
 3 snd_usb_audio

snd_usb_audio needs to be at index 0. You can find the fix here.
Also I noticed this output from your first post:

usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output

This bothers me a bit. Why is the usbstream card in Nvidia?
Then you might as well add the output of lsusb.

Offline

#12 2021-02-28 21:17:27

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

Re: USB DAC detected and looks like there is a output but not sound

Not really all of the outputs so far are generally normal and expected (... afaik all IEC/digital cards get an usbstream node) and that you don't have to inherently care about the ALSA index is one of the reasons to use pulseaudio for. In the original output no attempt at playing at the relevant USB DAC is made, maybe repost

pacmd list-sinks
pacmd list-sink-inputs

during an active playback attempt again.  I'd find it more likely that there's a regression in snd_usb_audio and the 5.11 kernel and this particular DAC than trying to stick the blame on nvidia as nvidia doesn't really have an interaction here (... other than potential device detection auto-sink switch shenanigans but that's a linux/pulse detection issue with no inherent relevance to nvidia and will happen on intel/amd just the same)

FWIW from where I'm standing the underlying issue here is that nvidia got switched to as the default device (... can happen when module-switch-on-connect is loaded without a blacklist argument) and the fix would be a simple change back to the USB DAC as the default and switching any applications still trying to play back to the nvidia card (... check pavucontrol)

Last edited by V1del (2021-02-28 21:32:38)

Online

#13 2021-03-01 00:41:38

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

V1del wrote:

Not really all of the outputs so far are generally normal and expected (... afaik all IEC/digital cards get an usbstream node) and that you don't have to inherently care about the ALSA index is one of the reasons to use pulseaudio for. In the original output no attempt at playing at the relevant USB DAC is made, maybe repost

pacmd list-sinks
pacmd list-sink-inputs

during an active playback attempt again.  I'd find it more likely that there's a regression in snd_usb_audio and the 5.11 kernel and this particular DAC than trying to stick the blame on nvidia as nvidia doesn't really have an interaction here (... other than potential device detection auto-sink switch shenanigans but that's a linux/pulse detection issue with no inherent relevance to nvidia and will happen on intel/amd just the same)

FWIW from where I'm standing the underlying issue here is that nvidia got switched to as the default device (... can happen when module-switch-on-connect is loaded without a blacklist argument) and the fix would be a simple change back to the USB DAC as the default and switching any applications still trying to play back to the nvidia card (... check pavucontrol)

Audio inactive:

pacmd list-sinks

2 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9048
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.usb-Sony_WALKMAN_10453075051974-00>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "WALKMAN"
                alsa.long_card_name = "Sony WALKMAN at usb-0000:01:00.0-4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:01:00.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-4/1-4:1.0/sound/card2"
                udev.id = "usb-Sony_WALKMAN_10453075051974-00"
                device.bus = "usb"
                device.vendor.id = "054c"
                device.vendor.name = "Sony Corp."
                device.product.id = "0b8c"
                device.product.name = "WALKMAN"
                device.serial = "Sony_WALKMAN_10453075051974"
                device.string = "iec958:2"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "iec958-stereo"
                device.profile.description = "Digital Stereo (IEC958)"
                device.description = "WALKMAN Digital Stereo (IEC958)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <iec958-stereo-output>
    index: 1
        name: <alsa_output.pci-0000_09_00.1.hdmi-stereo-extra2>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9030
        volume: front-left: 3273 /   5% / -78.09 dB,   front-right: 3273 /   5% / -78.09 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
        card: 2 <alsa_card.pci-0000_09_00.1>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 2"
                alsa.id = "HDMI 2"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "8"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 102"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:09:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "hdmi:0,2"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo-extra2"
                device.profile.description = "Digital Stereo (HDMI 3)"
                device.description = "TU104 HD Audio Controller Digital Stereo (HDMI 3)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "C27F591
     "
        active port: <hdmi-output-2>
pacmd list-sink-inputs

0 sink input(s) available.

Audio active:

pacmd list-sinks

2 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9048
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 607.46 ms
        max request: 168 KiB
        max rewind: 168 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 980.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.usb-Sony_WALKMAN_10453075051974-00>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "WALKMAN"
                alsa.long_card_name = "Sony WALKMAN at usb-0000:01:00.0-4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:01:00.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-4/1-4:1.0/sound/card2"
                udev.id = "usb-Sony_WALKMAN_10453075051974-00"
                device.bus = "usb"
                device.vendor.id = "054c"
                device.vendor.name = "Sony Corp."
                device.product.id = "0b8c"
                device.product.name = "WALKMAN"
                device.serial = "Sony_WALKMAN_10453075051974"
                device.string = "iec958:2"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "iec958-stereo"
                device.profile.description = "Digital Stereo (IEC958)"
                device.description = "WALKMAN Digital Stereo (IEC958)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <iec958-stereo-output>
    index: 1
        name: <alsa_output.pci-0000_09_00.1.hdmi-stereo-extra2>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9030
        volume: front-left: 3273 /   5% / -78.09 dB,   front-right: 3273 /   5% / -78.09 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
        card: 2 <alsa_card.pci-0000_09_00.1>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 2"
                alsa.id = "HDMI 2"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "8"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 102"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:09:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f8"
                device.product.name = "TU104 HD Audio Controller"
                device.string = "hdmi:0,2"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo-extra2"
                device.profile.description = "Digital Stereo (HDMI 3)"
                device.description = "TU104 HD Audio Controller Digital Stereo (HDMI 3)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "C27F591
     "
        active port: <hdmi-output-2>
pacmd list-sink-inputs

1 sink input(s) available.
    index: 1
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <alsa_output.usb-Sony_WALKMAN_10453075051974-00.iec958-stereo>
        volume: front-left: 65535 / 100% / -0.00 dB,   front-right: 65535 / 100% / -0.00 dB
                balance 0.00
        muted: no
        current latency: 1033.15 ms
        requested latency: 980.00 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: (null)
        module: 12
        client: 14 <Spotify>
        properties:
                media.role = "music"
                media.name = "Spotify"
                application.name = "Spotify"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "2039"
                application.process.user = "elaina"
                application.process.host = "PsychoMagician"
                application.process.binary = "spotify"
                window.x11.display = ":0"
                application.language = "C"
                application.process.machine_id = "9c6c751abcc1478f90db936e2ac7f54d"
                application.process.session_id = "2"
                application.icon_name = "spotify-client"
                module-stream-restore.id = "sink-input-by-media-role:music"

Last edited by Tobknight (2021-03-01 00:47:17)

Offline

#14 2021-03-01 06:54:00

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

ports:
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:
active port: <iec958-stereo-output>

Could this be the problem?

Last edited by d_fajardo (2021-03-01 08:18:57)

Offline

#15 2021-03-01 10:03:09

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

Re: USB DAC detected and looks like there is a output but not sound

Should generally not be an issue unless incompatible passthrough types are selected, which should be none by default. But one could try to change this to the analog device to rule out whether it's an issue with the SPDIF integration. FWIW this does look like I'd expect it to in these outputs as well, do you see any errors with the usb_audio module in dmesg?

Online

#16 2021-03-01 11:23:38

skeve
Member
Registered: 2021-02-24
Posts: 4

Re: USB DAC detected and looks like there is a output but not sound

my external USB audio card doesn't work as well with the current kernel (5.11.2-zen1-1-zen), but when I reboot to the lts (5.10.19-1-lts) it starts working again

log file after 'killall pulseaudio' with the kernel 5.11:

pulseaudio[2729]: Failed to find a working profile.
pulseaudio[2729]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-SmartAction_FiiO_USB_Audio_Class_2.0_DAC_0007-01" card_name="alsa_card.usb-SmartAction_FiiO_USB_Audio_Class_2.0_DAC_0007-01" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.

Offline

#17 2021-03-01 15:51:08

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

V1del wrote:

Should generally not be an issue unless incompatible passthrough types are selected, which should be none by default. But one could try to change this to the analog device to rule out whether it's an issue with the SPDIF integration. FWIW this does look like I'd expect it to in these outputs as well, do you see any errors with the usb_audio module in dmesg?

Can I know what kind of information I should expect?

And Analog output does not out put any sound either

Offline

#18 2021-03-01 16:29:54

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

V1del wrote:

But one could try to change this to the analog device to rule out whether it's an issue with the SPDIF integration.

I think this is worth a try. I went back to the ALSA page and in Additional Notes it was mentioned:

Some cards need to have digital output muted or disabled in order to hear analog sound. For the Soundblaster Audigy LS mute the channel labeled IEC958.

I know it's not the same card but this DAC might just be one of those that needs the digital muted.

Tobknight wrote:

And Analog output does not out put any sound either

How are you accessing the analog port with the DAC?

Offline

#19 2021-03-02 19:44:49

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

d_fajardo wrote:
V1del wrote:

But one could try to change this to the analog device to rule out whether it's an issue with the SPDIF integration.

I think this is worth a try. I went back to the ALSA page and in Additional Notes it was mentioned:

Some cards need to have digital output muted or disabled in order to hear analog sound. For the Soundblaster Audigy LS mute the channel labeled IEC958.

I know it's not the same card but this DAC might just be one of those that needs the digital muted.

Tobknight wrote:

And Analog output does not output any sound either

How are you accessing the analog port with the DAC?

Sorry for the late reply. Just simply change the option(profile) on the audio setting in KDE.

--- End of reply ------

I just the see a new update on pipewire package. pipewire-pulse will gonna replace pulseaudio. I don't know whether this update will gonna fix my issue. I will update the info later this week.

Last edited by Tobknight (2021-03-02 19:45:18)

Offline

#20 2021-03-03 15:14:14

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

Re: USB DAC detected and looks like there is a output but not sound

If speaker-test on the device didn't work then that's unlikely

Online

#21 2021-03-03 17:17:37

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

V1del wrote:

I'd find it more likely that there's a regression in snd_usb_audio and the 5.11 kernel

It's probably best to aim to get sound output from ALSA alone before adding pulse.

@Tobknight
I would suggest creating /etc/modprobe.d/alsa-base.conf :

options snd_usb_audio index=0
options snd_hda_intel index=1,2

This sets the default card.
Reboot and post the output again of cat /proc/asound/modules

Last edited by d_fajardo (2021-03-03 17:20:14)

Offline

#22 2021-03-09 19:59:35

Tobknight
Member
Registered: 2020-10-30
Posts: 13

Re: USB DAC detected and looks like there is a output but not sound

d_fajardo wrote:
V1del wrote:

I'd find it more likely that there's a regression in snd_usb_audio and the 5.11 kernel

It's probably best to aim to get sound output from ALSA alone before adding pulse.

@Tobknight
I would suggest creating /etc/modprobe.d/alsa-base.conf :

options snd_usb_audio index=0
options snd_hda_intel index=1,2

This sets the default card.
Reboot and post the output again of cat /proc/asound/modules

Hi, Sorry for the late reply. Currently, I am on 5.11.4-arch1-1.

cat /proc/asound/modules
 0 snd_usb_audio
 1 snd_hda_intel
 2 snd_hda_intel
 3 snd_usb_audio

There is still no sound output from the USB device but the HDMI works well after setting up.

Last edited by Tobknight (2021-03-09 20:00:35)

Offline

#23 2021-03-09 20:49:37

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: USB DAC detected and looks like there is a output but not sound

Now that the default card is set, could you post the output again of:

killall pulseaudio
speaker-test -c 2

Offline

#24 2021-03-11 10:44:06

nzfadz
Member
Registered: 2021-03-11
Posts: 3

Re: USB DAC detected and looks like there is a output but not sound

i'm facing a similar issue:
got one F(*) USB DAC(1) and one S(*) USB DAC(2) and default HDMI output(3)

1) and 3) works perfectly but 2) has output without sound.

tested 2) with

speaker-test -D iec958:(2) -c 2 -r 192000

could see DAC got the stream and changed rate, but no sound could be heared.

Last edited by nzfadz (2021-03-11 10:48:59)

Offline

#25 2021-03-11 11:09:17

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

Re: USB DAC detected and looks like there is a output but not sound

If you see it physically on the DAC that it receives the signal then the issue is out of linux's control. Check your cables/physical volumes.

Online

Board footer

Powered by FluxBB