mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #168] Redrawing when minimized #122
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CptPotato on GitHub (Sep 6, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/168
I recently saw that psst has noticable GPU usage when minimized. Taking a look with RenderDoc shows that, even if minimized, psst draws new frames while the UI is being updated (when playing for example).
Edit: OS is Win10 x64
@CptPotato commented on GitHub (Sep 6, 2021):
After updating it seems that psst only refreshes the UI once every second when idle / during playback now. This reduces the background GPU usage to practically zero for me, so this might not be very relevant anymore.
@jpochyla commented on GitHub (Sep 14, 2021):
I'd be still interested in any CPU/GPU optimizations, so if you'd be interested to work on this anyway, we could pause the rendering when the window is hidden.
@mottosso commented on GitHub (Nov 29, 2024):
I'm experiencing this as well with the latest release, also on Windows 10, seeing 3% utilisation of a RTX 3090 when minimized, same when maximised and about 30-40% when scrolling. I don't mind utilisation when in use, but my main reason for moving from the native Spotify UI was high CPU usage during idle and my GPU draws a lot more power.
@CptPotato commented on GitHub (Dec 3, 2024):
Keep in mind that Windows doesn't take the GPU's pstate/clock into account when calculating the utilization percentage, so it's a bad indicator for how high the utilization or power draw is compared to the GPU's maximum.
You can get a better idea by querying the driver, for example:
nvidia-smi --query-gpu pstate,clocks.gr,clocks.sm,clocks.mem,power.draw --format=csv@mottosso commented on GitHub (Dec 3, 2024):
Thanks, didn't know this command existed on Windows. Still seeing similar percentages though.
That said, the idle doesn't change when closing psst, so that can safely be ignored and considered baseline. Utilisation whilst manipulating the UI is something I'd expect and not a problem.
Here's the PowerShell command I used to monitor whilst interaction with psst.
@jacksongoode commented on GitHub (Dec 3, 2024):
This would definitely be an upstream issue to see if druid (or maybe piet) can handle https://github.com/linebender/druid