Ubuntu 18.10、Thinkpad X1 Carbon 5th、Intel Corporation Sunrise Point-LP HD Audio、CX8200 上的声音问题

Ubuntu 18.10、Thinkpad X1 Carbon 5th、Intel Corporation Sunrise Point-LP HD Audio、CX8200 上的声音问题

系统配置:

  • Thinkpad X1 Carbon 第五代
  • Ubuntu 18.10
  • 声卡:Intel Corporation Sunrise Point-LP HD Audio,CX8200
  • 内核:4.18.0-15-generic

问题:

播放音频(任何来源,Youtube、Spotify 等...)时,音频一开始听起来不错(可能持续几分钟,有时甚至一个小时),然后突然声音变得刺耳、遥远、混乱和失真。这种情况发生在我的耳机直接连接到笔记本电脑或通过 Thinkpad USB-C 底座播放时,直接通过扬声器播放是不可能的,因为我在开放式办公室。

我尝试了以下操作但没有成功:

  • 使用以下命令修改 default.pa/system.pa:load-module module-udev-detect tsched=0
  • 尝试过不使用 pulseaudio 直接在 Alsa 上播放
  • 尝试调高或调低音量等等...(有时会有帮助,但过一会儿又会搞砸)
  • 尝试将 daemon.conf 中的采样率修改为其他值。

重启有帮助,但几分钟后声音又会失真。这让我在这个硬件上听音频完全没用。总的来说,与 Windows 相比,整个音频体验要差很多 :(

关于我的系统的一些查询:

root:~# uname -r
4.18.0-15-generic

root:~# dmesg | grep audio
[    3.250359] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.351782] snd_hda_codec_conexant hdaudioC0D0: CX8200: BIOS auto-probing.
[    3.352919] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8200: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    3.352921] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.352923] snd_hda_codec_conexant hdaudioC0D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
[    3.352924] snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
[    3.352925] snd_hda_codec_conexant hdaudioC0D0:    inputs:
[    3.352927] snd_hda_codec_conexant hdaudioC0D0:      Internal Mic=0x1a
[    3.352929] snd_hda_codec_conexant hdaudioC0D0:      Mic=0x19
[    3.356819] snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
[    5.292555] usbcore: registered new interface driver snd-usb-audio

root:~# lspci -v | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    Subsystem: Lenovo Sunrise Point-LP HD Audio

    root:~# pacmd list-sinks
2 sink(s) available.
  * index: 0
    name: <alsa_output.usb-Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000-00.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY 
    state: IDLE
    suspend cause: (none)
    priority: 9049
    volume: front-left: 11106 /  17%,   front-right: 11106 /  17%
            balance 0.00
    base volume: 65536 / 100%
    volume steps: 51
    muted: no
    current latency: 102.52 ms
    max request: 18 KiB
    max rewind: 18 KiB
    monitor source: 0
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 1
    fixed latency: 100.00 ms
    card: 0 <alsa_card.usb-Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000-00>
    module: 7
    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 = "1"
        alsa.card_name = "ThinkPad USB-C Dock Audio"
        alsa.long_card_name = "Lenovo ThinkPad USB-C Dock Audio at usb-0000:3c:00.0-1.4.2.3, full speed"
        alsa.driver_name = "snd_usb_audio"
        device.bus_path = "pci-0000:3c:00.0-usb-0:1.4.2.3:1.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-1/3-1.4/3-1.4.2/3-1.4.2.3/3-1.4.2.3:1.0/sound/card1"
        udev.id = "usb-Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000-00"
        device.bus = "usb"
        device.vendor.id = "17ef"
        device.vendor.name = "Lenovo"
        device.product.id = "3063"
        device.product.name = "ThinkPad USB-C Dock Audio"
        device.serial = "Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000"
        device.string = "front:1"
        device.buffering.buffer_size = "19200"
        device.buffering.fragment_size = "4800"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "ThinkPad USB-C Dock Audio Analog Stereo"
        alsa.mixer_name = "USB Mixer"
        alsa.components = "USB17ef:3063"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-usb"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:

    active port: <analog-output>
    index: 1
    name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY 
    state: RUNNING
    suspend cause: (none)
    priority: 9039
    volume: front-left: 63624 /  97%,   front-right: 63624 /  97%
            balance 0.00
    base volume: 65536 / 100%
    volume steps: 75
    muted: no
    current latency: 100.90 ms
    max request: 18 KiB
    max rewind: 18 KiB
    monitor source: 2
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    used by: 1
    linked by: 3
    fixed latency: 100.00 ms
    card: 1 <alsa_card.pci-0000_00_1f.3>
    module: 8
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "CX8200 Analog"
        alsa.id = "CX8200 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xec340000 irq 134"
        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 = "9d71"
        device.product.name = "Sunrise Point-LP HD Audio"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "19200"
        device.buffering.fragment_size = "4800"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Conexant CX8200"
        alsa.components = "HDA:14f12008,17aa224f,00100103 HDA:8086280b,80860101,00100000"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-speakers"
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-headphones>

我尝试在互联网上查找所有信息但一无所获。

救命!有人有线索吗?

答案1

好吧,就愚蠢而言 - 问题在于我的耳机的物理电缆连接器故障!:),因此请务必先检查明显的问题!!! 更换电缆后,一切恢复正常。

相关内容