I've been working on adding video card memory usage tracking to my System Monitor, and I noticed that it shows my GPU having 16GB of RAM instead of the actual 8GB. While I'd love to believe Linux could magically increase my RAM, I doubt that's the case. I could hard code the max value for the tracker, but I'm worried that some applications might also see 16GB and try to use that amount, which could lead to problems. I should have the official Nvidia drivers installed, but something seems off. I'm using Kubuntu, by the way.
1 Answer
You might want to check if Nvidia provides the /sys/class/drm/card*/device/mem_info_vram_total file like AMD does. That could give you insight into the VRAM total setup. There’s also a mem_info_vis_vram_total that might be useful, although it could show differently on your system.

I found both files for card2, but not card1, which I think is the integrated GPU. They both return 536870912 bytes, which would mean 0.5 GB of VRAM, and that can't be right!