Bug 506742 - X11 error when trying to record on Wayland
Summary: X11 error when trying to record on Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-08 03:12 UTC by sixty_taro9z
Modified: 2025-09-26 03:47 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 sixty_taro9z 2025-07-08 03:12:50 UTC
On Wayland, trying to record my screen using Spectacle results in an error dialog, which says:
```
An error occurred while attempting to record the screen.
Screen recording is not available on X11.
```

`kinfo` output:
```
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor 1: Mesa Intel® UHD Graphics
Graphics Processor 2: llvmpipe
```
Comment 1 TraceyC 2025-07-11 20:09:29 UTC
That's odd. I'm not able to reproduce this on git-master.

Can you verify what version shows up in Spectacle -> Help -> About Spectacle?

Thanks.
Comment 2 sixty_taro9z 2025-07-14 19:45:51 UTC
No idea why, but I'm now getting a completely different error dialog:
```
An error occurred while taking a screenshot.
KWin screenshot request failed:
The process is not authorized to take a screenshot
Potentially relevant information:
- Method: CaptureScreen
- Method specific arguments: "HDMI-A-1"
```
Comment 3 sixty_taro9z 2025-07-14 19:46:58 UTC
(In reply to TraceyC from comment #1)
> That's odd. I'm not able to reproduce this on git-master.
> 
> Can you verify what version shows up in Spectacle -> Help -> About Spectacle?
> 
> Thanks.
```
Spectacle: 6.4.2
KDE Frameworks: 6.16.0
Qt: Using 6.9.1 and built against 6.9.1
EndeavourOS (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.15.6-zen1-1-zen
```
Comment 4 Nate Graham 2025-08-27 16:59:45 UTC
Have you knowingly manually forced Spectacle (or anything else, or everything) to use XWayland?

Have you modified Spectacle's .desktop file at all? Is there anything for Spectacle in ~/.local/share/applications?

Does this happen in a new clean user account on the same computer?
Comment 5 Bug Janitor Service 2025-09-11 03:49:02 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-09-26 03:47:32 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.