Bug 494453

Summary: Missing Screen Recorder in Wayland
Product: [Applications] Spectacle Reporter: techxgames
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: REPORTED ---    
Severity: major CC: emp74ark, kde, nicolas.fella, tchiot.ludo
Priority: NOR    
Version: 24.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description techxgames 2024-10-10 14:43:24 UTC
SUMMARY
Screen recorder is missing in Spectacle

STEPS TO REPRODUCE
1. Launch Spectacle
2. 
3. 

OBSERVED RESULT
Screen recorder is missing

EXPECTED RESULT
Screen recorder can be used on Wayland

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-102007-tuxedo (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 30.9 GiB of RAM
Graphics Processor: AMD Radeon RX Vega

ADDITIONAL INFORMATION
Possibly related to Plasma 6.2 update
Comment 1 emp74ark 2024-10-10 18:54:13 UTC
The same.
I don't have too much debug info, but this what I see in console:
```
$ spectacle 
Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 () in use for device "/dev/dri/renderD128"
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 13 is not supported by the device "/dev/dri/renderD128"
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 14 is not supported by the device "/dev/dri/renderD128"
kpipewire_vaapi_logging: VAAPI: entrypoint 8 of profile 14 is not supported by the device "/dev/dri/renderD128"
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 6 is not supported by the device "/dev/dri/renderD128"
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 13 is not supported by the device "/dev/dri/renderD128"
```
Comment 2 Nicolas Fella 2024-10-10 21:39:21 UTC
> Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1

This seems relevant. The screencast protocol fails to initialize
Comment 3 Nicolas Fella 2024-10-10 22:19:28 UTC
*** Bug 494443 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2024-10-10 22:21:21 UTC
The problem is that Neon's pipewire package is too old for screencast support in KWin.

Please update your Neon to the newly release 24.04 base where it will work
Comment 5 emp74ark 2024-10-10 22:30:19 UTC
(In reply to Nicolas Fella from comment #4)
> The problem is that Neon's pipewire package is too old for screencast
> support in KWin.
> 
> Please update your Neon to the newly release 24.04 base where it will work

Pipewire version is 1.0.7-3~ubuntu22.04.
Comment 6 techxgames 2024-10-11 13:09:40 UTC
(In reply to Nicolas Fella from comment #4)
> The problem is that Neon's pipewire package is too old for screencast
> support in KWin.
> 
> Please update your Neon to the newly release 24.04 base where it will work

I unfortunately can't because the software I need for work, HP Anyware, doesn't support 24.04 yet.

$ apt list pipewire
Listing... Done
pipewire/tuxedo,now 1.2.0-1tux1 amd64 [installed,automatic]

This is my Pipewire using the one from Tuxedo's repo