Bug 508892 - Pipewire error log flood under Wayland
Summary: Pipewire error log flood under Wayland
Status: REPORTED
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: efficiency-and-performance, regression
Depends on:
Blocks:
 
Reported: 2025-08-29 10:42 UTC by alerikaisattera
Modified: 2025-09-25 17:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alerikaisattera 2025-08-29 10:42:52 UTC
SUMMARY
System log is flooded with Pipewire errors when running a KDE Wayland session

STEPS TO REPRODUCE
1. Run a KDE Wayland session

OBSERVED RESULT
System log is flooded with Pipewire error messages

EXPECTED RESULT
No log flood

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Errors look like this:

```
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context: Object: size 336, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 2        (Spa:Enum:MediaType:video)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 10       (Spa:Enum:VideoFormat:xBGR)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 1x1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 1x1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 4294967295x4294967295
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 0/1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 0/1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 1200/1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Choice: type Spa:Enum:Choice:Enum, flags 00000000 128 8
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099856
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099856
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099857
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099858
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099859
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099860
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782120099861
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496656
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496657
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496658
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496659
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496660
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 216172782128496661
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Long 72057594037927935
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context: Object: size 192, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 2        (Spa:Enum:MediaType:video)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 1        (Spa:Enum:MediaSubtype:raw)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Id 10       (Spa:Enum:VideoFormat:xBGR)
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 1x1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 1x1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Rectangle 4294967295x4294967295
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:   Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 0/1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 0/1
Aug 29 16:35:02 aleri-pc pipewire[1226]: pw.context:       Fraction 1200/1
```

A few warnings also appear:

```
Aug 29 16:35:42 aleri-pc plasmashell[1309]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 4 op:4
Aug 29 16:35:42 aleri-pc plasmashell[1309]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 4 op:7
```
Comment 1 alerikaisattera 2025-08-30 18:25:53 UTC
Might be related or not, but at some point Pipewire started using 100% of 1 CPU core
Comment 2 TraceyC 2025-09-03 20:33:32 UTC
This looks a lot like bug 478309, which had a fix merged in 6.0
Are you seeing any symptoms in the UI, aside from the high CPU usage? In the previous report, content preview windows from the task manager were empty

Sending to KPipeWire
Comment 3 alerikaisattera 2025-09-04 06:07:53 UTC
There are no obvious problem in UI, but screen recording software, which supposedly requires Pipewire under Wayland, does not work
Comment 4 TraceyC 2025-09-04 18:12:10 UTC
Thanks, that's helpful information. I'll let those more familiar with the pipewire integration take it from here.