How can display driver version be obtained on the Mac?

不问归期 提交于 2019-12-13 15:25:51

问题


How can the display driver version be programatically obtained on the Mac?


Related:

  • Programmatically get processor details from Mac OS X

回答1:


Look a IOKit and the IORegistryExplorer application.

Specifically, you'll want to search IOKit for devices with a name of 'display' and you'll get the device node from which you can pull data. Use the IORegistryExplorer application to see what sort of attributes are available from that object, and what types of data they are, etc.




回答2:


Apple -> About This Mac -> More Info

Expand the Hardware drop-down and click on the Graphics/Display option

This will display all the information about the current video card and driver info.




回答3:


From the command line run system_profiler. Get the same data as the GUI based answer.



来源:https://stackoverflow.com/questions/821133/how-can-display-driver-version-be-obtained-on-the-mac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!