pop-os / cosmic-workspaces-epoch

GNU General Public License v3.0
17 stars 11 forks source link

Not showing right background on all monitors; unresponsive, runs out of gpu memory with cosmic-bg not running #44

Open ids1024 opened 1 month ago

ids1024 commented 1 month ago

I've noticed a weird slowness and crash, and it seems the issue was I didn't have cosmic-bg running...

Two issues here:

ids1024 commented 1 month ago

I'm also seeing this with the no-subsurfaces feature. Not sure what made this start happening. That used to work.

ids1024 commented 1 month ago

https://github.com/iced-rs/iced/pull/2425 sounds related.

WatchMkr commented 1 month ago

I noticed performance becomes really poor when wallpapers are set separately for each display.

ids1024 commented 1 month ago

Yeah, I think that's the same issue. When I saw this, one output had the right background. I guess I hadn't had external monitors connected when I last ran cosmic-bg at the time.

Probably if we apply https://github.com/iced-rs/iced/pull/2425 and resolve conflicts (or update our Iced) it will fixed it.

If the same image is used for all monitors, it's fine. But otherwise, it's being evicted from the cache when the next monitor is rendered. So it has to uploaded to GPU every frame.

The fact I saw this running out of GPU memory, though, suggests wgpu or iced_wgpu is also leaking buffers somewhere...