How do I know if I have a gpu? if Freebsd is using it optimally?

It'd be cool to open a PC and surprisingly find a GPU :p (most of my stuff usually has Intel iGPUs)

If I'm not familiar with a computer, I boot it to a Linux LiveUSB and check lspci (prior to that I'd likely check Device Manager on pre-existing Windows or look-up the model number to see what it might have). Then glxinfo. If it looks good on Linux, it'll probably be good on FreeBSD :D

On FreeBSD I install a drm-kmod, xorg, and xfce pkgs, add a driver with kldload, then startx; Intel usually just-works (glxinfo on FreeBSD reports similar; glxgears similar FPS). I'd try "glxinfo | grep renderer" (should report anything other than llvmpipe), and "pciconf -lv | grep -B3 display" (iirc like lspci)
 
xrandr shows available resolutions and refresh rates. The maximum should comply with the max capability of the model.
 
Neat Videocard TOP

sysutils/nvtop does show you the utilisation of your GPU .

from the Package Dscription:

NVTOP stands for Neat Videocard TOP, a (h)top like task monitor for GPUs and
accelerators. It can handle multiple GPUs and print information about them
in a htop-familiar way.

Currently supported vendors are AMD (Linux amdgpu driver), Apple (limited M1
& M2 support), Huawei (Ascend), Intel (Linux i915/Xe drivers), NVIDIA (Linux
proprietary divers), Qualcomm Adreno (Linux MSM driver), Broadcom VideoCore
(Linux v3d driver), Rockchip, MetaX (MXSML driver), Enflame (Linux EFML
driver).
 
How do I know if I have a gpu?
If you have an image on your screen, you have a GPU. Basically any kind of graphics adapter is a GPU nowadays[*].

[*] With some exceptions; but those are typically only found on servers.
 
Back
Top