Skip to content
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

libwayshot outputting garbage on other monitors #118

Open
coffeeispower opened this issue May 26, 2024 · 8 comments · May be fixed by #90
Open

libwayshot outputting garbage on other monitors #118

coffeeispower opened this issue May 26, 2024 · 8 comments · May be fixed by #90

Comments

@coffeeispower
Copy link

I'm trying to port tsoding's boomer to wayland and i'm trying to use this library to take a screenshot of all screens, however only the first screen appears correctly and the other screen just has a bunch of garbage:

imagem

@CheerfulPianissimo
Copy link

Hi. A few questions I can think of:
Which version of the library are you using?
Have you tried replicating the issue with the dev branch at https://github.com/waycrate/wayshot/tree/freeze-feat-andreas ?
Which GPU and compositor is your system using?

@coffeeispower
Copy link
Author

@CheerfulPianissimo I'm using the latest version of libwayshot 0.3.0 with hyprland 0.38 with Intel Iris Plus Graphics G1 GPU
I've not tried using the dev branch, i'll try it out and see if it works

@coffeeispower
Copy link
Author

The dev branch fixed the issue.
It had some breaking changes bcs it returns a dynamic image instead of a image buffer but my code is pretty small anyway.
When you think that code will be merged?

@Shinyzenith
Copy link
Member

Hi, it should be merged in the coming weeks, it's a big rebase so we need to get smaller details correct along with the API design before merging it.

@coffeeispower
Copy link
Author

coffeeispower commented May 26, 2024

@Shinyzenith That's good to hear!

By the way if anyone is interested, i already uploaded the code of my project to github https://github.com/coffeeispower/woomer

@Shinyzenith
Copy link
Member

This is so cool!! I wanted to make this forever and someone finally did it!

How are you handling the zoom stuff? I presume egl?

@coffeeispower
Copy link
Author

coffeeispower commented May 26, 2024

@Shinyzenith I'm using raylib
Basically it uses this library (wayshot) to make a screenshot, loads into a texture and draws it on the screen on a full screen window using raylib, and it's all one single file ignoring the spotlight shader

@Shinyzenith
Copy link
Member

Looks good!

@Shinyzenith Shinyzenith linked a pull request May 27, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants