macos 在Mac上如何获取显示驱动版本?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/821133/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:07:57  来源:igfitidea点击:

How can display driver version be obtained on the Mac?

macosdriver

提问by

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

如何在Mac上以编程方式获取显示驱动版本?



Related:

有关的:

回答by Jim Dovey

Look a IOKit and the IORegistryExplorer application.

查看 IOKit 和 IORegistryExplorer 应用程序。

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.

具体来说,您需要在 IOKit 中搜索名称为“display”的设备,然后您将获得可以从中提取数据的设备节点。使用 IORegistryExplorer 应用程序查看该对象提供的属性类型,以及它们是什么类型的数据等。

回答by jdiaz

Apple-> About This Mac-> More Info

Apple->关于这台 Mac->更多信息

Expand the Hardwaredrop-down and click on the Graphics/Displayoption

展开硬件下拉菜单并单击图形/显示选项

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

这将显示有关当前视频卡和驱动程序信息的所有信息。

回答by dmckee --- ex-moderator kitten

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

从命令行运行system_profiler. 获取与基于 GUI 的答案相同的数据。