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

share-picker: high cpu and gpu usage #198

Open
bvr-yr opened this issue Mar 7, 2024 · 3 comments
Open

share-picker: high cpu and gpu usage #198

bvr-yr opened this issue Mar 7, 2024 · 3 comments

Comments

@bvr-yr
Copy link

bvr-yr commented Mar 7, 2024

when share-picker window opened, one cpu core goes crazy and gpu loaded ~20%

portal 2d2fb54
hyprland hyprwm/Hyprland@77161fd

issue is old enough, and firstly i noticed it in this cute thing (also affected), so probably late december.
i was just bit lazy to report

if I maximize/fullscreen picker-window, all ok
i tried adding executable to qt6ct ingore-list to exclude theming issue, but behaviour is the same

WAYLAND_DEBUG=1 /usr/bin/hyprland-share-picker

constantly spamming

[1466754.237] wl_buffer@51.release()
[1466754.243] xdg_toplevel@36.configure(500, 290, array[24])
[1466754.247] xdg_surface@35.configure(922451)
[1466754.266]  -> wp_viewport@38.set_destination(500, 290)
[1466754.272]  -> xdg_surface@35.set_window_geometry(0, 0, 500, 290)
[1466754.276]  -> xdg_surface@35.ack_configure(922451)
[1466754.285]  -> wl_surface@33.attach(wl_buffer@51, 0, 0)
[1466754.289]  -> wl_surface@33.damage_buffer(0, 0, 500, 290)
[1466754.292]  -> wl_surface@33.commit()

with only change in (922451) number

other qt5/6 apps are not affected

@vaxerski
Copy link
Member

vaxerski commented Mar 7, 2024

odd, it uses suspiciously high amounts of cpu for me too, tho not 100%, like 15%.

Feel free to investigate, this is odd. Both apps are small and should be easy to debug

@bvr-yr
Copy link
Author

bvr-yr commented Mar 7, 2024

tho not 100%, like 15%.

ye, only one core goes 100%

Feel free to investigate, this is odd. Both apps are small and should be easy to debug

sure I'll try, except that i am cpp nub, few months ago i didn't even know wtf is .hpp or .cpp :D

@bvr-yr
Copy link
Author

bvr-yr commented Mar 7, 2024

well that's not happening on sway
launched floated to match, maybe this could help
sway-wldebug.log
hypr-wldebug-head.log

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

2 participants