Recent

Author Topic: Get GPU name  (Read 663 times)

cpalx

  • Hero Member
  • *****
  • Posts: 647
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: 10684
Re: Get GPU name
« Reply #1 on: February 06, 2020, 05:36:13 pm »
It is in the registry, but I forgot the key.

JernejL

  • Jr. Member
  • **
  • Posts: 90
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: 2116
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