Bug 494453 - Missing Screen Recorder in Wayland with 22.04 base
Summary: Missing Screen Recorder in Wayland with 22.04 base
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 494443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-10 14:43 UTC by yamiyukisenpai
Modified: 2025-03-07 14:33 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 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 yamiyukisenpai 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
Comment 7 Ash 2024-10-28 07:16:05 UTC
I'm seeing this same problem (also using the 22.04-base Neon release).

The main issue this is causing me is I'm getting this same error when trying to screen share in MS Edge browser:
"Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1" 

We need to use MS Edge Browser for work, and our work distro is based on Ubuntu 22.04, so I can't yet upgrade to 24.04./

Is there a way to force kwin to not use Pipewire for screencasting? It worked fine in Plasma 6.1, but broke when upgraded to Plasma 6.2, and screensharing worked fine in Plasma 6.1, so surely there is a mechanism to capture the screen without newer pipewire?
Comment 8 yamiyukisenpai 2024-10-28 07:20:09 UTC
(In reply to Ash from comment #7)
> I'm seeing this same problem (also using the 22.04-base Neon release).
> 
> The main issue this is causing me is I'm getting this same error when trying
> to screen share in MS Edge browser:
> "Remember requesting the interface on your desktop file:
> X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1" 
> 
> We need to use MS Edge Browser for work, and our work distro is based on
> Ubuntu 22.04, so I can't yet upgrade to 24.04./
> 
> Is there a way to force kwin to not use Pipewire for screencasting? It
> worked fine in Plasma 6.1, but broke when upgraded to Plasma 6.2, and
> screensharing worked fine in Plasma 6.1, so surely there is a mechanism to
> capture the screen without newer pipewire?

What I did for mine is I added Tuxedo's Plasma repo, then downgraded certain packages to 6.1.5 (i.e. kwin, Plasma).

Spectacle's working again, though I haven't had the time to test it out.
Comment 9 Noah Davis 2024-10-28 13:54:57 UTC
(In reply to Ash from comment #7)
> Is there a way to force kwin to not use Pipewire for screencasting?
> It worked fine in Plasma 6.1, but broke when upgraded to Plasma 6.2,
> and screensharing worked fine in Plasma 6.1,
> so surely there is a mechanism to capture the screen without newer pipewire?

PipeWire is the only option for screen recording on Wayland, no matter which screen recorder you use.
The only way to avoid using a newer PipeWire is to use an older PipeWire.
Comment 10 Ash 2024-10-29 08:00:05 UTC
Okay, I just updated to Neon based on 24.04, but I'm using exactly the same pipewire version that I was using on 22.04, and the screen sharing is now working. Here are the facts.

Neon-22.04, Plasma 6.1, Wayland, Pipewire 1.0.7-3  =  Screen sharing works fine
Neon-22.04, Plasma 6.2, Wayland, Pipewire 1.0.7-3  =  Screen sharing is broken as per this issue thread
Neon-24.04, Plasma 6.2, Wayland, Pipewire 1.0.7-3  =  Screen sharing is fixed.

So I haven't upgraded to newer Pipewire, using exactly the same pipewire version (from the SOURAV DAS ppa).
So with exactly the same version of Pipewire, and same version of Plasma and Kwin (with wayland), the only thing thats different is using the kwin packaged for Neon-22.04 vs the kwin packaged for Neon-24.04.

I believe this was a packaging change in Plasma 6.2 for Neon-22.04, it disables screensharing support in wayland regardless of pipewire version.
Comment 11 Matias Barletta 2025-01-20 05:30:40 UTC
I am having the same issue `KWin Screencasting is not available.`  error. 
It used to work a few days ago, differenes are
1) Updated nvidia driver to 565 
2) Installed `apt install ffmpeg libavcodec-extra libavcodec-extra60 libavdevice60  libavfilter-extra  libavfilter-extra9 `

After that I can't record video.

Pipewire is 1.2 and Chrome, Firefox, OBS can record with pipewire, as well as vokoscreenrecorder.

I am out of ideas, anyone?
Comment 12 Nate Graham 2025-03-07 14:33:00 UTC
The original issue was specific to KDE neon 22.04 and appears to be fixed in the version based on 24.04; closing.

If you're not running KDE neon, please open a new bug report. Thanks!