Graphics Card (GPU)
Graphics Processing Unit
Last updated
Graphics Processing Unit
Last updated
SpecProbe can probe GPU information by calling the HardwareProber.Video
property. This populates the following values in accordance to the available information:
VideoCardName
Unavailable on systems that don't have glxinfo
and NVIDIA Proprietary Drivers installed
This section describes how parsing works for the below systems:
GPU information can only be obtained by executing the glxinfo
command with the -B
switch, indicating that we only need basic GPU info. However, this is guaranteed to be fast.
Once the glxinfo
command output is piped to the string, SpecProbe looks for the OpenGL renderer string
line and gets the GPU name from this entry as appropriate.
For Windows systems, it calls the native Windows API function to get all the video cards installed on your system.
For macOS systems, it first checks to see if your application is set to run in a hardened macOS runtime.
If SpecProbe is told that your application is hardened, SpecProbe uses the CoreGraphics Quartz API to fetch the display information and get the model and the vendor numbers.
If SpecProbe is told that your application is not hardened, SpecProbe uses the system_profile
application to get information about the display. It gets the Device ID
and the Vendor ID
.
Finally, SpecProbe merges these two IDs to create a single video card name.