pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.48k stars 87 forks source link

wireplumber hight cpu usage #3356

Open alexfrostdev opened 3 months ago

alexfrostdev commented 3 months ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

apt policy pipewire*
pipewire-media-session:
  Installed: (none)
  Candidate: 0.4.1-2ubuntu1
  Version table:
     0.4.1-2ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages
pipewire-pulse:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/universe amd64 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/universe amd64 Packages
pipewire-audio-client-libraries:
  Installed: (none)
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
     1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/universe amd64 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/universe amd64 Packages
pipewire:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages
pipewire-tests:
  Installed: (none)
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
     1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/universe amd64 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/universe amd64 Packages
pipewire-v4l2:
  Installed: (none)
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
     1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
pipewire-jack:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
pipewire-avb:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
pipewire-bin:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages
pipewire-doc:
  Installed: (none)
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
     1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
     0.3.48-1ubuntu3 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
        500 http://apt.pop-os.org/ubuntu jammy-updates/main i386 Packages
     0.3.48-1ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages
        500 http://apt.pop-os.org/ubuntu jammy/main i386 Packages
pipewire-aes67:
  Installed: (none)
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
     1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
pipewire-aes76:
  Installed: (none)
  Candidate: (none)
  Version table:
pipewire-alsa:
  Installed: 1.0.2~1707732619~22.04~b8b871b
  Candidate: 1.0.2~1707732619~22.04~b8b871b
  Version table:
 *** 1.0.2~1707732619~22.04~b8b871b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Issue/Bug Description:

wireplumber use a lot of cpu without no reason

top
   2789 alex      11  -9  347424  18816  13440 R  90.1   0.2   9:57.95 wireplumber                                                
   2950 alex      17  -3 3979304 287440 124884 R  27.2   2.4   2:58.92 gnome-shell                                                
   2790 alex     -50 -15  118084  11428   8008 S  23.5   0.1   2:12.66 pipewire-pulse                                             
   3112 alex      29   9  536076  31324  21840 S  12.3   0.3   1:14.11 gsd-media-keys                                             
   2787 alex     -50 -15  127840  14000   9264 S   9.6   0.1   0:55.21 pipewire      
journalctl -r

full of endless

Aug 14  alex gsd-media-keys[3112]: Unable to get default source

Steps to reproduce (if you know):

Turn on laptop run top at terminal without open any apps

Expected behavior:

wireplumber does not use a lot of cpu

Other Notes: