Bug 489321 - Total VRAM is reported incorrectly with resizeable BAR enabled
Summary: Total VRAM is reported incorrectly with resizeable BAR enabled
Status: REPORTED
Alias: None
Product: ksystemstats
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 16:19 UTC by dirleyjordan
Modified: 2024-07-03 21:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dirleyjordan 2024-06-27 16:19:22 UTC
SUMMARY
The GPU "Total Video Memory" sensor reports the sum of the VRAM and system RAM when resizeable BAR is enabled.
For example, my desktop has 32GB of RAM and a GPU with 24GB VRAM. I expected the "Total Video Memory" sensor to report 24GB but it instead reports 56GB.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: CachyOS
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Nvidia proprietary drivers.
Comment 1 Arjen Hiemstra 2024-06-28 07:56:06 UTC
For NVidia, we rely on data from `nvidia-smi` for these values. You may want to run that directly to see what it reports, but presumably that reports the total memory incorrectly.
Comment 2 dirleyjordan 2024-06-28 09:56:16 UTC
(In reply to Arjen Hiemstra from comment #1)
> For NVidia, we rely on data from `nvidia-smi` for these values. You may want
> to run that directly to see what it reports, but presumably that reports the
> total memory incorrectly.

I thought that was the case but nvidia-smi actually does report it correctly oddly enough.