Pipewire 脉冲运行不正常

Pipewire 脉冲运行不正常

我第一次登录电脑时,没有检测到音频输出设备。当我pipewire-pulse在终端中运行时,它给出以下输出

[W][00099.552106] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.InvalidArgs
[W][00099.552312] mod.rt       | [     module-rt.c:  622 set_nice()] could not set nice-level to -11: Input/output error
[W][00099.555247] mod.protocol-pulse | [        server.c:  612 start_unix_server()] server 0x557ecf5b0d70: unlinking stale socket '/run/user/1000/pulse/native'
536870912

然后它开始检测 hdmi 输出。但是当我关闭终端时,它停止检测 hdmi。

当我运行systemctl --user status pipewire pipewire-session-manager它时输出这个

    ● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/local/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-03-07 18:18:04 CST; 28min ago
TriggeredBy: ● pipewire.socket
   Main PID: 2446 (pipewire)
      Tasks: 2 (limit: 38364)
     Memory: 6.7M
        CPU: 11.317s
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
             └─2446 /usr/local/bin/pipewire
Mar 07 18:18:04 benboybb-Inspiron-3656 pipewire[2446]: [W][00018.341540] mod.rt       | [     module-rt.c:  278 pw_rtkit_check_xdg_portal()] Can't find xdg-portal: (null)
Mar 07 18:18:04 benboybb-Inspiron-3656 pipewire[2446]: [W][00018.341579] mod.rt       | [     module-rt.c:  991 pipewire__module_init()] found session bus but no portal
Mar 07 18:18:04 benboybb-Inspiron-3656 systemd[2438]: Started PipeWire Multimedia Service.
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-03-07 18:18:04 CST; 28min ago
   Main PID: 2449 (wireplumber)
      Tasks: 4 (limit: 38364)
     Memory: 6.4M
        CPU: 446ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/wireplumber.service

我尝试在谷歌上单独搜索所有警告,但找不到遇到与我完全相同的问题的人。

我正在使用 Ubuntu 22.04.2 LTS,如果有帮助的话

相关内容