Recent

Author Topic: Get GPU name  (Read 1302 times)

cpalx

  • Hero Member
  • *****
  • Posts: 753
Get GPU name
« on: February 06, 2020, 05:09:34 pm »
Hello i need to know the GPU of the graphic card name (colud be only windows)

thanks
« Last Edit: February 06, 2020, 06:38:59 pm by cpalx »

Thaddy

  • Hero Member
  • *****
  • Posts: 14385
  • Sensorship about opinions does not belong here.
Re: Get GPU name
« Reply #1 on: February 06, 2020, 05:36:13 pm »
It is in the registry, but I forgot the key.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

JernejL

  • Jr. Member
  • **
  • Posts: 92
Re: Get GPU name
« Reply #2 on: February 06, 2020, 05:41:38 pm »
You can initialize a opengl context and call info.
 
glGetString(GL_RENDERER);

In my case it will return 'Device: Radeon RX 550 Series'
 

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Get GPU name
« Reply #3 on: February 06, 2020, 05:49:32 pm »
Hi!

With the help of WMIC = Windows Management Interface Command

At the commandline enter:

wmic path win32_VideoController get name

You get model name,  company and path of the driver.

From fpc:  start wmic from a process and read the output.

Winni

 

TinyPortal © 2005-2018