Intel Gop 测试工具

最近在调试 GOP 相关问题,偶然间发现 Intel 测试 GOP 的正式工具:Intel Gop Tester。

这是一款运行于 UEFI Shell 下的工具,基本的功能如下:

USAGE : IntelGopTester.efi [-b] [-i] [-m <mode number>] [-l <Log file name>] [-s <handle>] [-e <handle>] [-r <brightness>] [-g] [-v <vbt file name>]
[-b] : Enables page break
[-i] : Displays information about the driver
[-m <mode number>] : Sets the specified mode number
[-r <brightness>] : set the brightness level for LFP displays <brightness value (Range: 0 - 255 )>
[-g] : get the current brightness value for Lfp displays
[-e <handle>] : Get EDID data for the child controller if present
[-l <Log file name>] : Specifies the log file
[-s <handle>] : Performs display switch to the child device specified by handle number
[-v <Vbt File name>] : Dumps vbt in the specified log file

我选择了几个常用的功能做了简单测试。

1.显示当前 GOP 基本信息:

IntelGopTester -i

在 ADL-M 平台上显示结果如下:

IntelGopTester Version: 1.0.1005

Driver Name using EFI_COMPONENT_NAME2_PROTOCOL:
[C5]: Intel(R) GOP Driver [21.0.1054]
Driver Name using EFI_COMPONENT_NAME2_EX_PROTOCOL:
[C5]: Intel(R) GOP Driver [21.0.1054]
Driver Version using EFI_COMPONENT_NAME2_EX_PROTOCOL:
[C5]: 21.0.1054

Controller Name:
[132]: Intel(R) Graphics Controller

Child Handles [1]:
[14A]: DP1[ACTIVE] [Active]

--------------------------
Graphics Mode details
--------------------------
Number of modes supported  : 7

CURRENT MODE               : 2

Mode number              : 0
Horizontal resolution    : 1920
Vertical resolution      : 1200
Pixels Per Scan Line     : 1920
Pixel format             : BGRX

Mode number              : 1
Horizontal resolution    : 640
Vertical resolution      : 480
Pixels Per Scan Line     : 640
Pixel format             : BGRX

Mode number              : 2
Horizontal resolution    : 800
Vertical resolution      : 600
Pixels Per Scan Line     : 800
Pixel format             : BGRX

Mode number              : 3
Horizontal resolution    : 1024
Vertical resolution      : 768
Pixels Per Scan Line     : 1024
Pixel format             : BGRX

Mode number              : 4
Horizontal resolution    : 1280
Vertical resolution      : 1024
Pixels Per Scan Line     : 1280
Pixel format             : BGRX

Mode number              : 5
Horizontal resolution    : 1600
Vertical resolution      : 1200
Pixels Per Scan Line     : 1600
Pixel format             : BGRX

Mode number              : 6
Horizontal resolution    : 1920
Vertical resolution      : 1080
Pixels Per Scan Line     : 1920
Pixel format             : BGRX


--------------------------
Platform GOP Policy Info
--------------------------
Platform GOP Policy Revision: 3

Platform Lid Status: Lid is open

2.保存系统当前的 VBT

IntelGopTester -v 文件名

3.读取当前的 EDID。其中的handle参数来自前面 -i 取得的handle。

IntelGopTester -v 14a
Size of EDID :        256 
Raw EDID Data : 

00 FF FF FF FF FF FF 00 22 F0 54 29 00 00 00 00 
26 16 01 04 A5 34 20 78 23 FC 81 A4 55 4D 9D 25 
12 50 54 21 08 00 D1 C0 81 C0 81 40 81 80 95 00 
A9 40 B3 00 01 01 28 3C 80 A0 70 B0 23 40 30 20 
36 00 06 44 21 00 00 1A 00 00 00 FD 00 18 3C 18 
50 11 00 0A 20 20 20 20 20 20 00 00 00 FC 00 48 
50 20 5A 52 32 34 34 30 77 0A 20 20 00 00 00 FF 
00 43 4E 34 32 33 38 30 4B 53 53 0A 20 20 01 19 
02 03 19 C1 4C 90 1F 05 14 04 13 03 02 07 06 12 
01 23 09 07 07 83 01 00 00 02 3A 80 18 71 38 2D 
40 58 2C 45 00 06 44 21 00 00 1E 02 3A 80 D0 72 
38 2D 40 10 2C 45 80 06 44 21 00 00 1E 01 1D 00 
72 51 D0 1E 20 6E 28 55 00 06 44 21 00 00 1E 01 
1D 00 BC 52 D0 1E 20 B8 28 55 40 06 44 21 00 00 
1E 8C 0A D0 8A 20 E0 2D 10 10 3E 96 00 06 44 21 
00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 7B 

Detailed EDID data:
Manufacturer name : HWP 
Product ID : 2954
Monitor name : HP ZR2440w
  
********** Standard timings info ***********
1920 X 1080 @ 60 Hz
1280 X 720 @ 60 Hz
1280 X 960 @ 60 Hz
1280 X 1024 @ 60 Hz
1440 X 900 @ 60 Hz
1600 X 1200 @ 60 Hz
1680 X 1050 @ 60 Hz
********** Established timings I ***********
800 x 600 @ 60 Hz
640 x 480 @ 60 Hz
********** Established timings II ***********
1024 x 768 @ 60 Hz
********** Established timings III ***********
********** Native mode info ***********
Pixel clock : 15400
1920 X 1200 @  59 Hz

有兴趣的朋友可以在 Intel 平台上下载这个工具进行实验。

《Intel Gop 测试工具》有2个想法

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

CAPTCHAis initialing...