[Bug 282308] nvidia-driver: NVIDIA MEM resource alloc failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Oct 2024 16:29:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282308

--- Comment #8 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to christian from comment #5)
My quite wild prediction was that GSP firmware, which were introduced starting
from 560 series of drivers, could manage resources used for GPUs, and your GPU
is new enough to have GSP in it.
GSP firmwares are contained in x11/nvidia-driver and should be automatically
loaded for supported GPUs. (My Pascal generation of GPU is too old to even test
it, as it does not contain GSP in it.)

Other possibilities I can think of for now:
 *If possible, disable iGPU (in CPU) via UEFI firmware (or legacy BIOS if
applicable).
 *Disable devices you don't actually need via UEFI firmware / legacy BIOS.
 *Change VRAM size configured in UEFI firmware / legacy BIOS.

And if you're using graphics/nvidia-drm-[510|515|61]-kmod in conjunction with
x11/nvidia-driver, legacy way for overriding driver version is insufficient.
Both Austin Shafer (the developer of the nvidia DRM ports) and me couldn't
determine why, but graphics/nvidia-drm-[510|515|61]-kmod ports requires
x11/nvidia-driver/Makefile.version to be edited for the version you want (here,
565.57.01).
Without it, /dev/dri/* would not appear on boot and DRM driver shouldn't work.

-- 
You are receiving this mail because:
You are the assignee for the bug.