Bug 495353

Summary: Out-of-process screencasting is broken with today's git master due to pipewire dependency version bump
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: screencastingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: isma.af, kde
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2024-10-25 17:34:22 UTC
Symptoms:
- Hovering over Task Manager Tasks shows a popup with no window thumbnail; after a moment, the placeholder app icon appears
- Meta+R to record the screen fails with the error message "An error occurred while attempting to record the screen. KWin Screencasting is not available."

Window thumbnails in Overview work, I guess because it's in-process?
Comment 1 Ismael Asensio 2024-10-26 09:03:13 UTC
I cannot reproduce it with Plasma's and Qt's master as of a few hours ago

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1 (master 6.8 branch)
Kernel Version: 6.11.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 2 Nate Graham 2024-10-26 14:06:45 UTC
I'm reproducing it now on another machine running git master, notably also with Qt 6.7.2

Notably, on my KDE Linux machines which build from master but have Qt 6.8, I don't see it. Perhaps it's an issue that only affects Qt 6.7?
Comment 3 David Edmundson 2024-10-27 18:31:05 UTC
Can you read the cmake output.

You should *not* get:

-- The following features have been disabled:

 * PipeWire, Required for Wayland screencasting

Updating to Fedora 41 and it should work again
Comment 4 Nate Graham 2024-10-28 15:03:10 UTC
Yep.