Ubuntu 22.04 上的扬声器/声音无法正常工作

Ubuntu 22.04 上的扬声器/声音无法正常工作

Windows 上的扬声器工作正常,但在 Ubuntu (22.04) 上却不行。此外,有线耳机可以使用,但无法通过蓝牙连接无线耳机。来自ubuntu16.04 无法连接蓝牙耳机我认为问题可能出在pulseaudio,但提出的解决方案对我来说不起作用。

我尝试清除 pulseaudio 并重新安装,尝试切换 alsamixer 选项,编辑 /etc/modprobe.d/alsa-base.conf,并sudo setfacl -m u:$USER:rw /dev/snd/*按照其他帖子中的建议操作。但似乎对我都不起作用。

我不确定这是否相关,但每次我从 Windows 切换到 Ubuntu 时,我都必须将 SATA 配置更改为 AHCI。

以下是一些更多信息:

声音设置

$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  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 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /proc/asound/modules

0 snd_hda_intel
1 snd_hda_intel

$ lspci -v | grep -A7 -i "audio"

00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS (prog-if 80)
    Subsystem: ASUSTeK Computer Inc. Comet Lake PCH cAVS
    Flags: bus master, fast devsel, latency 32, IRQ 166
    Memory at c5418000 (64-bit, non-prefetchable) [size=16K]
    Memory at c5100000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
--
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
    Subsystem: ASUSTeK Computer Inc. TU106 High Definition Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at c5080000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])

$ systemctl --user status pipewire-session-manager.service

 pipewire-media-session.service - PipeWire Media Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-08-22 23:29:24 CEST; 9min ago
   Main PID: 2027 (pipewire-media-)
      Tasks: 2 (limit: 18837)
     Memory: 4.2M
        CPU: 84ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire-media-session.service
             └─2027 /usr/bin/pipewire-media-session

Started PipeWire Media Session Manager.
ms.core: error id:25 seq:292 res:-16 (Device or resource busy): can't create node: Device or resource busy

相关内容