Skip to content

Screen grabbing doesn't work in Wayland #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
justinkb opened this issue Apr 13, 2021 · 3 comments
Open

Screen grabbing doesn't work in Wayland #129

justinkb opened this issue Apr 13, 2021 · 3 comments

Comments

@justinkb
Copy link

Likely needs a desktop environment-specific implementation, in Gnome Shell you should call a Screenshot dbus method on /org/gnome/Shell/Screenshot with boolean,boolean,string parameters. On KDE you should look at this https://invent.kde.org/graphics/spectacle/-/tree/master/src/Platforms

I'll try to implement the Gnome thing, since that's what I use.

@supertriodo
Copy link
Owner

I'll check how QT adapt to it.

@fox091
Copy link

fox091 commented May 16, 2024

I'm running into this as well both with the native Linux build of Arena Tracker and using wine to run the Windows build.

For reference, here's my relevant system info:

OS: Arch Linux x86_64
Kernel: 6.8.9-zen1-2-zen
DE: Hyprland
CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz
GPU: NVIDIA GeForce RTX 4090
Memory: 8387MiB / 15930MiB

I'm not super familiar with how the card recognition works, but I'm curious if some generic Wayland-compatible tool would work, such as grim.

Are there plans to support Wayland going forward? If not, I might try to hack something together locally to get it working.

@fox091
Copy link

fox091 commented May 16, 2024

I just ran it from the command line and got the following logs. Thought they might be helpful.

Utility: Bad screen for opencv flan.
Utility: Bad screen for opencv flan.
14:42:36 - DraftHandler: Hearthstone arena screen not found. Retrying...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants