Bug 500952

Summary: Total GPU VRAM sensor reports value for NVIDIA GPU that differs from what nvidia-smi reports
Product: [Frameworks and Libraries] ksystemstats Reporter: euler <asudox+7frg23vcr>
Component: GeneralAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, john.kizer, kde, nate, plasma-bugs
Priority: NOR    
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: nvidia-smi --query results

Description euler 2025-03-02 11:20:48 UTC
SUMMARY
The systemmonitor reports the wrong total VRAM value (14GB) for my discrete GPU (6GB). 
nvidia-smi reports the correct value.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 1 John Kizer 2025-03-18 04:15:34 UTC
Hi - I can reproduce this on my Fedora KDE 41 device with Plasma 6.3.3. nvidia-smi reports ~12.3GiB, while System Monitor reports 28.0GiB.

Thanks!
Comment 2 David Redondo 2025-04-16 13:55:56 UTC
Please attach 

output of nvidia-smi --query
Comment 3 John Kizer 2025-04-16 18:05:17 UTC
Created attachment 180323 [details]
nvidia-smi --query results

Nice call, I think that's it - it looks like the FB and BAR1 Memory Usage numbers are being summed together, although from my very limited understanding (https://man.archlinux.org/man/nvidia-smi.1.en), they are two different ways of mapping the same actual memory?
Comment 4 John Kizer 2025-04-16 18:05:58 UTC
Sorry for the multiple emails, mis-click on my end on the status!