https://bugs.kde.org/show_bug.cgi?id=469016
--- Comment #89 from pallaswept <pallasw...@proton.me> --- Created attachment 162904 --> https://bugs.kde.org/attachment.cgi?id=162904&action=edit Simple config file to demonstrate this issue exhibiting itself with audio rather than video I don't feel like this is truly fixed. The plasma panel lockup is a symptom of Plasma failing to create and destroy nodes (video nodes carrying the captured image from the application) in the pipewire graph. I don't see how the rendering loop is going to effect the same fault we're seeing with audio devices. It feels like a symptom has been avoided but the root cause has not been approached. Any sufficiently demanding audio environment will cause the same kind of lockups. You can easily replicate this fault with a simple config file to create a lot of virtual loopback devices. Steps to replicate: Start with a stock pipewire installation Put the attached file in ~/.config/pipewire/pipewire.conf.d/ Run systemctl --user restart pipew* Play some audio Open the volume control Enjoy your freezup. The devices created by plasma take a long time to be created, cause silence, and the volume control panel freezes up, and the devices will randomly fail to be destroyed when closing the volume dialog. See this pw-top output showing several volume monitor nodes, after the volume monitor has been closed, and the high count of errors (3349) on each of the devices which has the volume monitor attached: ``` S ID QUANT RATE WAIT BUSY W/Q B/Q ERR FORMAT NAME S 60 0 0 --- --- --- --- 0 Dummy-Driver S 61 0 0 --- --- --- --- 0 Freewheel-Driver S 179 0 0 --- --- --- --- 0 alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.pro-input-0 S 180 0 0 --- --- --- --- 0 alsa_input.usb-USB_Camera_USB_Camera_SN0001-02.pro-input-0 S 182 0 0 --- --- --- --- 0 alsa_output.pci-0000_09_00.4.pro-output-0 S 183 0 0 --- --- --- --- 0 alsa_output.pci-0000_09_00.4.pro-output-1 S 184 0 0 --- --- --- --- 0 alsa_output.pci-0000_09_00.4.pro-output-2 S 185 0 0 --- --- --- --- 0 alsa_input.pci-0000_09_00.4.pro-input-0 S 186 0 0 --- --- --- --- 0 alsa_input.pci-0000_09_00.4.pro-input-2 S 187 0 0 --- --- --- --- 0 Midi-Bridge S 207 0 0 --- --- --- --- 0 v4l2_input.pci-0000_02_00.0-usb-0_9.1.4_1.0 S 181 0 0 --- --- --- --- 0 alsa_output.pci-0000_07_00.1.pro-output-3 R 209 128 48000 113.9us 3.0us 0.04 0.00 3350 S32LE 6 48000 alsa_output.pci-0000_07_00.1.pro-output-7 R 68 0 0 50.9us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 1 Out R 69 0 0 18.4us 1.0us 0.01 0.00 1 F32P 6 0 + Test 1 In R 71 0 0 50.7us 1.2us 0.02 0.00 3349 F32P 6 0 + Test 2 Out R 72 0 0 20.0us 1.0us 0.01 0.00 1 F32P 6 0 + Test 2 In R 74 0 0 51.1us 1.0us 0.02 0.00 3349 F32P 6 0 + Test 3 Out R 75 0 0 21.5us 1.0us 0.01 0.00 1 F32P 6 0 + Test 3 In R 77 0 0 51.3us 1.0us 0.02 0.00 3349 F32P 6 0 + Test 4 Out R 78 0 0 23.0us 1.0us 0.01 0.00 1 F32P 6 0 + Test 4 In R 84 0 0 51.4us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 5 Out R 85 0 0 24.6us 1.1us 0.01 0.00 1 F32P 6 0 + Test 5 In R 87 0 0 51.5us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 6 Out R 88 0 0 26.2us 1.0us 0.01 0.00 1 F32P 6 0 + Test 6 In R 91 0 0 51.6us 1.0us 0.02 0.00 3349 F32P 6 0 + Test 7 Out R 92 0 0 27.6us 1.0us 0.01 0.00 1 F32P 6 0 + Test 7 In R 94 0 0 51.7us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 8 Out R 95 0 0 29.1us 1.0us 0.01 0.00 1 F32P 6 0 + Test 8 In R 97 0 0 51.9us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 9 Out R 98 0 0 30.7us 1.0us 0.01 0.00 1 F32P 6 0 + Test 9 In R 100 0 0 51.9us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 10 Out R 101 0 0 32.1us 1.0us 0.01 0.00 1 F32P 6 0 + Test 10 In R 103 0 0 51.8us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 11 Out R 104 0 0 33.6us 1.0us 0.01 0.00 1 F32P 6 0 + Test 11 In R 106 0 0 51.6us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 12 Out R 107 0 0 35.1us 1.0us 0.01 0.00 1 F32P 6 0 + Test 12 In R 109 0 0 51.5us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 13 Out R 110 0 0 36.7us 1.0us 0.01 0.00 1 F32P 6 0 + Test 13 In R 112 0 0 51.3us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 14 Out R 113 0 0 38.1us 1.0us 0.01 0.00 1 F32P 6 0 + Test 14 In R 115 0 0 51.0us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 15 Out R 116 0 0 39.7us 1.0us 0.01 0.00 1 F32P 6 0 + Test 15 In R 118 0 0 50.8us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 1 Out R 119 0 0 41.2us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 1 In R 121 0 0 50.6us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 2 Out R 122 0 0 42.6us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 2 In R 124 0 0 50.4us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 3 Out R 125 0 0 44.1us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 3 In R 128 0 0 50.3us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 4 Out R 129 0 0 45.6us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 4 In R 130 0 0 50.1us 0.9us 0.02 0.00 3349 F32P 6 0 + Test 2 5 Out R 131 0 0 47.1us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 5 In R 134 0 0 50.0us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 6 Out R 135 0 0 48.5us 1.4us 0.02 0.00 1 F32P 6 0 + Test 2 6 In R 137 0 0 49.3us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 7 Out R 138 0 0 50.5us 1.1us 0.02 0.00 1 F32P 6 0 + Test 2 7 In R 140 0 0 48.8us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 8 Out R 141 0 0 52.3us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 8 In R 143 0 0 48.2us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 9 Out R 144 0 0 54.1us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 9 In R 146 0 0 47.8us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 10 Out R 147 0 0 55.8us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 10 In R 149 0 0 47.2us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 11 Out R 150 0 0 57.7us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 11 In R 152 0 0 46.7us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 12 Out R 153 0 0 59.5us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 12 In R 154 0 0 46.1us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 13 Out R 155 0 0 61.4us 1.2us 0.02 0.00 1 F32P 6 0 + Test 2 13 In R 156 0 0 45.7us 0.7us 0.02 0.00 3349 F32P 6 0 + Test 2 14 Out R 157 0 0 63.1us 0.9us 0.02 0.00 1 F32P 6 0 + Test 2 14 In R 158 0 0 45.5us 0.8us 0.02 0.00 3349 F32P 6 0 + Test 2 15 Out R 159 0 0 64.6us 1.0us 0.02 0.00 1 F32P 6 0 + Test 2 15 In R 748 128 48000 20.3us 3.0us 0.01 0.00 1 F32LE 2 48000 + Firefox S 210 0 0 --- --- --- --- 0 alsa_output.pci-0000_07_00.1.pro-output-8 S 211 0 0 --- --- --- --- 0 alsa_output.pci-0000_07_00.1.pro-output-9 S 320 0 0 --- --- --- --- 0 v4l2_input._sys_devices_virtual_video4linux_video1 S 756 0 0 --- --- --- --- 0 Plasma PA S 757 0 0 --- --- --- --- 0 Plasma PA S 758 0 0 --- --- --- --- 0 Plasma PA S 759 0 0 --- --- --- --- 0 Plasma PA S 760 0 0 --- --- --- --- 0 Plasma PA S 761 0 0 --- --- --- --- 0 Plasma PA S 762 0 0 --- --- --- --- 0 Plasma PA S 763 0 0 --- --- --- --- 0 Plasma PA S 764 0 0 --- --- --- --- 0 Plasma PA S 765 0 0 --- --- --- --- 0 Plasma PA S 766 0 0 --- --- --- --- 0 Plasma PA S 767 0 0 --- --- --- --- 0 Plasma PA S 768 0 0 --- --- --- --- 0 Plasma PA S 769 0 0 --- --- --- --- 0 Plasma PA S 770 0 0 --- --- --- --- 0 Plasma PA S 771 0 0 --- --- --- --- 0 Plasma PA S 772 0 0 --- --- --- --- 0 Plasma PA S 773 0 0 --- --- --- --- 0 Plasma PA S 774 0 0 --- --- --- --- 0 Plasma PA S 775 0 0 --- --- --- --- 0 Plasma PA S 776 0 0 --- --- --- --- 0 Plasma PA S 777 0 0 --- --- --- --- 0 Plasma PA S 778 0 0 --- --- --- --- 0 Plasma PA S 779 0 0 --- --- --- --- 0 Plasma PA S 780 0 0 --- --- --- --- 0 Plasma PA S 781 0 0 --- --- --- --- 0 Plasma PA S 782 0 0 --- --- --- --- 0 Plasma PA S 783 0 0 --- --- --- --- 0 Plasma PA S 784 0 0 --- --- --- --- 0 Plasma PA S 785 0 0 --- --- --- --- 0 Plasma PA S 786 0 0 --- --- --- --- 0 Plasma PA S 787 0 0 --- --- --- --- 0 Plasma PA S 788 0 0 --- --- --- --- 0 Plasma PA S 789 0 0 --- --- --- --- 0 Plasma PA S 790 0 0 --- --- --- --- 0 Plasma PA S 791 0 0 --- --- --- --- 0 Plasma PA S 792 0 0 --- --- --- --- 0 Plasma PA S 793 0 0 --- --- --- --- 0 Plasma PA ``` It's a different symptom of the same problem and the renderer might avoid the symptom for video but not for audio. -- You are receiving this mail because: You are watching all bug changes.