Files
effectcraft/crates/gpu
vangel76 a987ed1216 Read NVIDIA video memory with nvidia-smi when the OS does not report it
The proprietary NVIDIA driver on Linux has no sysfs file for the card's
memory, so the upload budget stayed at 1.5 GiB there. When the adapter is
NVIDIA and nothing else reported its memory, run nvidia-smi once (no console
window, 3 s timeout, cached) and take the line of the adapter's PCI address,
else of its device id, else the smallest card.
2026-11-18 15:29:51 +01:00
..