[problem help] usb 声卡linux 用起来有点缺陷,可能是驱动问题
Tofloor
poster avatar
王猛龙
deepin
2024-04-13 16:17
Author

问题:usb声卡模式在linux 下,无论是选择【模拟信号】还是【数字信号】声音都很小,还没有笔记本自带的3.5mm口输出的大呢,windows下就正常

设备信息如下:

  1. 电脑硬件:火影众颜U6 amd 7840h,

  2. 操作系统:deepin v23 beta3

  3. 系统内核:6.6.25

  4. 输出模式:usb 连接cd机器,cd开始pc 声卡模式,系统的声音中选择 模拟信号输出,
    如图:

    image.png

  5. cd信息:

    梦想碟机1.jpg

    梦想碟机2.jpg

    梦想碟机3.jpg

    梦想碟机4.jpg

    梦想碟机5.jpg

    梦想碟机6.jpg

    梦想碟机7.jpg

    梦想碟机8.jpg

  6. 耳机信息:

    耳机3.jpg

    耳机1.jpg

    我怀疑就是linux 对usb 声卡驱动支持不好导致的,我用 line-out 和 PO输出口都试过了,linux 里 声音都很小

    在windows 下就正常,甚至还能调整声音的采样率,搭配上微软商店的 dts x 软件,音质直接起飞了,如下设置:

    windows声音设置.png

    windows声音设置1.png
    windows声音设置2.png
    windows声音设置3.png
    windows声音设置4.png

Reply Favorite View the author
All Replies
王猛龙
deepin
2024-04-13 16:19
#1

系统声音系统默认的是这个:

image.png

Reply View the author
王猛龙
deepin
2024-04-13 16:19
#2

linux 下的 150% 还不如 windows下的 40% 呢,水的一批

Reply View the author
王猛龙
deepin
2024-04-13 17:25
#3

我用 u盘里的 ubuntu的 23.10 test 模式试过了,也一样但是比 deepin v23 好不少,也不用开150%

,100% 即可。

但是 我把 deepin 选择了 pipeWire 模式了 还是 一个样子,看来还是 deepin usb 声卡适配 有点问题的

image.png

Reply View the author
matrix
deepin
2024-04-13 20:53
#4

应该不是底层驱动的问题,物理通道是正常的,系统侧alsa组件的配置那块可以有优化的空间。

Reply View the author
王猛龙
deepin
2024-04-13 20:57
#5

最后我还是 使用了pulseaudio 引擎了,

修改了配置文件,让他支持采用 24位,192khz 采样率,但是还是声音小,

系统100% 音量 和 cd 100% 音量,也就才相当于 win11下的 40%音量而已

有60%的音量损失

以下是我的 /etc/pulse/daemon.conf 配置:

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see 
Reply View the author
matrix
deepin
2024-04-13 21:04
#6

pacmd list-cards 信息发下呢

也可以执行下alsa-info然后把信息发一下(默认会保存在/tmp目录下 alsa-info.txt.xxxx)。

最好把ubuntu下也发下。

Reply View the author
王猛龙
deepin
2024-04-13 21:05
#7
matrix

pacmd list-cards 信息发下呢

也可以执行下alsa-info然后把信息发一下(默认会保存在/tmp目录下 alsa-info.txt.xxxx)。

最好把ubuntu下也发下。

$ pacmd list-cards
3 card(s) available.
    index: 0
        name: 
        driver: 
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xa0588000 irq 69"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "1640"
                device.product.name = "Rembrandt Radeon High Definition Audio Controller"
                device.string = "1"
                device.description = "Rembrandt Radeon High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) 输出 (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) 输出 (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) 输出 (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) 输出 (priority 38468, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) 输出 (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) 输出 (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) 输出 (priority 600, available: no)
                off: 关 (priority 0, available: unknown)
        active profile: 
        sinks:
                alsa_output.pci-0000_05_00.1.hdmi-stereo-extra1/#0: Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI 2)
        sources:
                alsa_output.pci-0000_05_00.1.hdmi-stereo-extra1.monitor/#0: Monitor of Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI 2)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "24X1Q"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: 
        driver: 
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "Discdream"
                alsa.long_card_name = "MOONDROP Discdream at usb-0000:05:00.3-1, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:05:00.3-usb-0:1:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-1/1-1:1.0/sound/card0"
                udev.id = "usb-MOONDROP_Discdream_Discdream-00"
                device.bus = "usb"
                device.vendor.id = "2fc6"
                device.vendor.name = "Comtrue Inc."
                device.product.id = "f06c"
                device.product.name = "Discdream"
                device.serial = "MOONDROP_Discdream_Discdream"
                device.string = "0"
                device.description = "Discdream"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                output:analog-stereo: 模拟立体声 输出 (priority 6500, available: unknown)
                output:iec958-stereo: 数字立体声(IEC958) 输出 (priority 5500, available: unknown)
                output:iec958-ac3-surround-51: 数字环绕 5.1(IEC958/AC3) 输出 (priority 300, available: unknown)
                off: 关 (priority 0, available: unknown)
        active profile: 
        sinks:
                alsa_output.usb-MOONDROP_Discdream_Discdream-00.iec958-stereo/#1: Discdream 数字立体声(IEC958)
        sources:
                alsa_output.usb-MOONDROP_Discdream_Discdream-00.iec958-stereo.monitor/#1: Monitor of Discdream 数字立体声(IEC958)
        ports:
                analog-output: Analog Output (priority 2000, latency offset 0 usec, available: unknown)
                        properties:

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

    index: 2
        name: 
        driver: 
        owner module: 8
        properties:
                alsa.card = "2"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xa0580000 irq 70"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.6"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "15e3"
                device.product.name = "Family 17h/19h HD Audio Controller"
                device.string = "2"
                device.description = "Family 17h/19h HD Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: 模拟立体声 输入 (priority 32833, available: unknown)
                output:analog-stereo: 模拟立体声 输出 (priority 39268, available: unknown)
                output:analog-stereo+input:analog-stereo: 模拟立体声双工 (priority 39333, available: unknown)
                off: 关 (priority 0, available: unknown)
        active profile: 
        sinks:
                alsa_output.pci-0000_05_00.6.analog-stereo/#2: Family 17h/19h HD Audio Controller 模拟立体声
        sources:
                alsa_output.pci-0000_05_00.6.analog-stereo.monitor/#2: Monitor of Family 17h/19h HD Audio Controller 模拟立体声
                alsa_input.pci-0000_05_00.6.analog-stereo/#3: Family 17h/19h HD Audio Controller 模拟立体声
        ports:
                analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"


Reply View the author
王猛龙
deepin
2024-04-13 21:08
#8
matrix

pacmd list-cards 信息发下呢

也可以执行下alsa-info然后把信息发一下(默认会保存在/tmp目录下 alsa-info.txt.xxxx)。

最好把ubuntu下也发下。

alsa-info 看附件把,太多了 超过字数了

alsa-info.txt.zip

Reply View the author
昨夜的星辰
deepin
2024-04-13 21:10
#9

flat-volumes = yes 这一行没事还是注释掉吧

高采样率一般改一下默认采样位深,采样率和次选采样率就可以了

default-sample-format = s32le
default-sample-rate = 192000
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right

最下面两行没必要放出来,注释掉好了

另外,如果解码芯片不是特别强悍,不建议32位采样深度,芯片压力大,相当于处理器烤机?

24位足够足够了,绝绝绝大部分人听不出区别

Reply View the author
王猛龙
deepin
2024-04-16 11:43
#10

我试了一下 用 30欧的 耳机,推理能推得动

看来 linux 下 这个 cd 耳放模式,推不动500欧的耳机

Reply View the author