https://bugs.kde.org/show_bug.cgi?id=499560

--- Comment #6 from Kai Krakow <k...@kaishome.de> ---
So I've watched plasmashell with `nvidia-smi pmon -s m`, and each time I turn a
monitor off and back on, it adds about 500-1500 MB of VRAM allocations to
plasmashell. The actual value is not consistent and fluctuates. There's
probably some garbage collection going on in the driver in the background which
can also be observed by waiting for some minutes and checking again and the
VRAM allocation goes slowly down again.

But the amount of VRAM allocated - even temporarily - could be (and actually
is) quite disruptive to whatever is currently also running. As an example, if
my TV goes into deep sleep (which happens some hours after turning it off), it
disconnects from the HDMI port and causes severe stutters for 20-30s in games,
and some games eventually even do not properly recover because some allocations
may stay in system memory.

While we can probably say that the driver should manage memory in a smarter way
and should be able to migrate memory back from system to VRAM, I'm still
wondering why plasmashell allocated such a huge amount of VRAM when a monitor
is disconnected or reconnected. This probably shouldn't happen in the first
place.

I cannot quite follow the argument how this huge allocation should be an issue
with the driver, whether it's a beta driver or not. In the end, plasmashell is
probably the one asking for VRAM. How the driver cleans up is a completely
different case.

If this issue persists with the stable driver, I'm going to request to reopen
this report.

For now, I'm adjusting the title to better reflect what is happening.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to