您尚未登录。

#1 2023-12-16 18:05:01

YuiY
会员
注册时间: 2023-11-18
帖子: 15

戴尔笔记本arch没有声音

❯ lspci | grep Audio
0000:00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)

❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
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

离线

#2 2023-12-16 18:27:43

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

看看: systemctl --user status pipewire-pulse pipewire wireplumber pulseaudio pipewire-media-session

离线

#3 2023-12-16 18:45:24

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

❯ systemctl --user status pipewire-pulse pipewire wireplumber pulseaudio pipewire-media-session
Unit wireplumber.service could not be found.
○ pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: e>
     Active: inactive (dead)
TriggeredBy: ○ pipewire-pulse.socket

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sat 2023-12-16 17:56:13 CST; 48min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1581 (pipewire)
      Tasks: 3 (limit: 18836)
     Memory: 2.1M (peak: 2.3M)
        CPU: 36ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.serv>
             └─1581 /usr/bin/pipewire

12月 16 17:56:13 xxy systemd[972]: Started PipeWire Multimedia Service.

● pulseaudio.service
     Loaded: not-found (Reason: Unit pulseaudio.service not found.)
     Active: active (running) since Sat 2023-12-16 17:56:13 CST; 48min ago
   Main PID: 1585 (pulseaudio)
        CPU: 8.009s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.se>
             ├─1585 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─1611 /usr/lib/pulse/gsettings-helper

12月 16 17:56:13 xxy systemd[972]: Starting Sound Service...
12月 16 17:56:13 xxy systemd[972]: Started Sound Service.
12月 16 17:56:13 xxy pulseaudio[1585]: GetManagedObjects() failed: org.freedesktop.sys>

● pipewire-media-session.service - PipeWire Media Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; pr>
     Active: active (running) since Sat 2023-12-16 17:56:13 CST; 48min ago
   Main PID: 1583 (pipewire-media-)
      Tasks: 3 (limit: 18836)
     Memory: 1.6M (peak: 2.1M)
        CPU: 15ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-medi>
             └─1583 /usr/bin/pipewire-media-session

12月 16 17:56:13 xxy systemd[972]: Started PipeWire Media Session Manager.
lines 19-43/43 (END)

离线

#4 2023-12-16 18:54:04

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

你到底是想要用 PipeWire 还是 PulseAudio?

离线

#5 2023-12-16 18:55:04

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

意思是这两个冲突了吗,那推荐卸哪个

离线

#6 2023-12-16 19:48:24

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

把 pulseaudio 和 pipewire-media-session 卸载,留下 pipewire-pulse wireplumber 它们。

离线

#7 2023-12-17 08:33:28

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

❯ pr pulseaudio pipewire-media-session
错误:未找到目标:pulseaudio

[xxy@xxy] ~  
❯ sudo pacman -Qs pulseaudio                                                         ⏎
local/pavucontrol 1:5.0+r64+geba9ca6-1
    PulseAudio Volume Control
local/pipewire-pulse 1:1.0.0-2
    Low-latency audio/video router and processor - PulseAudio replacement
local/pulseaudio-alsa 1:1.2.7.1-2
    ALSA Configuration for PulseAudio

[xxy@xxy] ~  
❯ pr pulseaudio-alsa pipewire-media-session 
正在检查依赖关系...
错误:无法准备事务处理 (无法满足依赖关系)
:: 删除 pipewire-media-session 破坏依赖 'pipewire-session-manager' (gst-plugin-pipewire 需要)
:: 删除 pipewire-media-session 破坏依赖 'pipewire-session-manager' (pipewire-pulse 需要)

[xxy@xxy] ~  
❯ pr pulseaudio-alsa pipewire-media-session pipewire-pulse                           ⏎
正在检查依赖关系...
错误:无法准备事务处理 (无法满足依赖关系)
:: 删除 pipewire-pulse 破坏依赖 'pulse-native-provider' (gnome-settings-daemon 需要)
:: 删除 pipewire-media-session 破坏依赖 'pipewire-session-manager' (gst-plugin-pipewire 需要)

离线

#8 2023-12-17 11:28:09

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

谁让你删 pipewire-pulse 啦。
把 pulseaudio-alsa 换成 pipewire-alsa。

离线

#9 2023-12-17 11:28:27

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

另外,sof-firmware 装了没?

离线

#10 2023-12-17 19:56:38

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

❯ pr pipewire-alsa pipewire-media-session
错误:未找到目标:pipewire-alsa

[xxy@xxy] ~  
❯ pr pipewire-media-session                                                          ⏎
正在检查依赖关系...
错误:无法准备事务处理 (无法满足依赖关系)
:: 删除 pipewire-media-session 破坏依赖 'pipewire-session-manager' (gst-plugin-pipewire 需要)
:: 删除 pipewire-media-session 破坏依赖 'pipewire-session-manager' (pipewire-pulse 需要)

这和pipewire-pulse是依赖的,我也没办法,sof-firmware已经安装了

离线

#11 2023-12-17 21:20:28

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

pacman -S pipewire-alsa wireplumber

离线

#12 2023-12-23 16:24:06

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

原本是有的,但是重启后就没有声音了,我也不知道我是不是删错了什么

❯ systemctl --user status pipewire-pulse pipewire wireplumber pulseaudio pipewire-media-session                                                                                                                                             ⏎
Unit pulseaudio.service could not be found.
Unit pipewire-media-session.service could not be found.
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-12-23 17:52:37 CST; 41s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1002 (pipewire-pulse)
      Tasks: 3 (limit: 18836)
     Memory: 3.0M (peak: 3.6M)
        CPU: 29ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1002 /usr/bin/pipewire-pulse

12月 23 17:52:37 xxy systemd[988]: Started PipeWire PulseAudio.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-12-23 17:52:37 CST; 41s ago
TriggeredBy: ● pipewire.socket
   Main PID: 1000 (pipewire)
      Tasks: 3 (limit: 18836)
     Memory: 4.8M (peak: 5.9M)
        CPU: 40ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1000 /usr/bin/pipewire

12月 23 17:52:37 xxy systemd[988]: Started PipeWire Multimedia Service.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-12-23 17:52:37 CST; 41s ago
   Main PID: 1001 (wireplumber)
      Tasks: 7 (limit: 18836)
     Memory: 8.7M (peak: 9.3M)
        CPU: 96ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1001 /usr/bin/wireplumber

12月 23 17:52:37 xxy systemd[988]: Started Multimedia Service Session Manager.
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.462724496] [1001] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.462737861] [1001] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.462757035] [1001]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.463516015] [1032] ERROR MediaDevice media_device.cpp:483 /dev/media0[]: Failed to open media device at /dev/media0: 权限不够
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.463531033] [1032]  INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media0 (权限不够), skipping
12月 23 17:52:37 xxy wireplumber[1001]: [0:00:13.463534624] [1032]  WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/media0', skipping
12月 23 17:52:38 xxy wireplumber[1001]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

最近编辑记录 YuiY (2023-12-23 17:54:01)

离线

#13 2023-12-23 18:33:18

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,942
个人网站

Re: 戴尔笔记本arch没有声音

怎么有个叫 /dev/media0 的设备?

离线

#14 2023-12-23 18:35:00

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

我也不知道

离线

#15 2023-12-30 17:19:00

YuiY
会员
注册时间: 2023-11-18
帖子: 15

Re: 戴尔笔记本arch没有声音

[xxy@xxy paru]$ systemctl --user status pipewire-pulse pipewire wireplumber pulseaudio pipewire-media-session 
Unit pulseaudio.service could not be found.
Unit pipewire-media-session.service could not be found.
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Sat 2023-12-30 17:06:16 CST; 11min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1539 (pipewire-pulse)
      Tasks: 3 (limit: 18836)
     Memory: 12.5M (peak: 14.0M)
        CPU: 120ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1539 /usr/bin/pipewire-pulse

12月 30 17:06:16 xxy systemd[978]: Started PipeWire PulseAudio.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sat 2023-12-30 17:06:16 CST; 11min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1531 (pipewire)
      Tasks: 4 (limit: 18836)
     Memory: 8.9M (peak: 10.0M)
        CPU: 102ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1531 /usr/bin/pipewire

12月 30 17:06:16 xxy systemd[978]: Started PipeWire Multimedia Service.
12月 30 17:06:17 xxy pipewire[1531]: [0:00:15.884217033] [1531] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
12月 30 17:06:17 xxy pipewire[1531]: [0:00:15.884231318] [1531] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
12月 30 17:06:17 xxy pipewire[1531]: [0:00:15.884254239] [1531]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-12-30 17:06:16 CST; 11min ago
   Main PID: 1536 (wireplumber)
      Tasks: 7 (limit: 18836)
     Memory: 7.8M (peak: 9.7M)
        CPU: 292ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1536 /usr/bin/wireplumber

12月 30 17:06:16 xxy systemd[978]: Started Multimedia Service Session Manager.
12月 30 17:06:16 xxy wireplumber[1536]: [0:00:15.719600763] [1536] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
12月 30 17:06:16 xxy wireplumber[1536]: [0:00:15.719623022] [1536] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
12月 30 17:06:16 xxy wireplumber[1536]: [0:00:15.719652328] [1536]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
12月 30 17:06:16 xxy wireplumber[1536]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
12月 30 17:06:17 xxy wireplumber[1536]: <WpPortalPermissionStorePlugin:0x55eab0401670> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
12月 30 17:06:17 xxy wireplumber[1536]: <WpPortalPermissionStorePlugin:0x55eab0401670> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
12月 30 17:09:29 xxy wireplumber[1536]: can't open control for card hw:0: No such file or directory
12月 30 17:09:39 xxy wireplumber[1536]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
12月 30 17:09:39 xxy wireplumber[1536]: <WpPortalPermissionStorePlugin:0x55eab0401670> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

离线

页脚