linux查看显示器信息
- 参考:
linux查看显示器信息
-
看看有那些显示端口
1 2 3
root@dark:~# ls /sys/class/drm/ card0 card0-DP-2 card0-eDP-1 card0-HDMI-A-2 card0-VGA-1 version card0-DP-1 card0-DP-3 card0-HDMI-A-1 card0-HDMI-A-3 controlD64
-
检查是那个端口正在使用
1 2 3 4
root@dark:/sys/class/drm# cat card0-HDMI-A-2/enabled enabled root@dark:/sys/class/drm# cat card0-HDMI-A-3/enabled disabled
-
打印出显示信息
1
/sys/class/drm# cat card0-HDMI-A-1/edid | edid-decode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
edid-decode (hex): 00 ff ff ff ff ff ff 00 10 ac f4 40 42 4c 37 32 13 1a 01 03 80 33 1d 78 ea eb f5 a6 56 51 9c 26 10 50 54 a5 4b 00 71 4f 81 80 a9 c0 d1 c0 01 01 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 00 fd 1e 11 00 00 1e 00 00 00 ff 00 32 4a 30 36 52 36 35 35 32 37 4c 42 0a 00 00 00 fc 00 44 45 4c 4c 20 50 32 33 31 37 48 0a 20 00 00 00 fd 00 38 4c 1e 53 11 00 0a 20 20 20 20 20 20 01 fb 02 03 17 b1 4c 90 05 04 03 02 07 16 01 14 1f 12 13 65 03 0c 00 10 00 02 3a 80 18 71 38 2d 40 58 2c 45 00 fd 1e 11 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 fd 1e 11 00 00 9e 01 1d 00 72 51 d0 1e 20 6e 28 55 00 fd 1e 11 00 00 1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 fd 1e 11 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ed ---------------- Block 0, Base EDID: EDID Structure Version & Revision: 1.3 Vendor & Product Identification: Manufacturer: DEL Model: 16628 Serial Number: 842484802 Made in: week 19 of 2016 Basic Display Parameters & Features: Digital display Maximum image size: 51 cm x 29 cm Gamma: 2.20 DPMS levels: Standby Suspend Off RGB color display First detailed timing is the preferred timing Color Characteristics: Red : 0.6513, 0.3378 Green: 0.3183, 0.6123 Blue : 0.1513, 0.0654 White: 0.3134, 0.3291 Established Timings I & II: IBM : 720x400 70.082 Hz 9:5 31.467 kHz 28.320 MHz DMT 0x04: 640x480 59.940 Hz 4:3 31.469 kHz 25.175 MHz DMT 0x06: 640x480 75.000 Hz 4:3 37.500 kHz 31.500 MHz DMT 0x09: 800x600 60.317 Hz 4:3 37.879 kHz 40.000 MHz DMT 0x0b: 800x600 75.000 Hz 4:3 46.875 kHz 49.500 MHz DMT 0x10: 1024x768 60.004 Hz 4:3 48.363 kHz 65.000 MHz DMT 0x12: 1024x768 75.029 Hz 4:3 60.023 kHz 78.750 MHz DMT 0x24: 1280x1024 75.025 Hz 5:4 79.976 kHz 135.000 MHz Standard Timings: DMT 0x15: 1152x864 75.000 Hz 4:3 67.500 kHz 108.000 MHz DMT 0x23: 1280x1024 60.020 Hz 5:4 63.981 kHz 108.000 MHz DMT 0x53: 1600x900 60.000 Hz 16:9 60.000 kHz 108.000 MHz (RB) DMT 0x52: 1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz Detailed Timing Descriptors: DTD 1: 1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz (509 mm x 286 mm) Hfront 88 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P Display Product Serial Number: '2J06R65527LB' Display Product Name: 'DELL P2317H' Display Range Limits: Monitor ranges (GTF): 56-76 Hz V, 30-83 kHz H, max dotclock 170 MHz Extension blocks: 1 Checksum: 0xfb ---------------- Block 1, CTA-861 Extension Block: Revision: 3 Underscans IT Video Formats by default Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 Native detailed modes: 1 Video Data Block: VIC 16: 1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz (native) VIC 5: 1920x1080i 60.000 Hz 16:9 33.750 kHz 74.250 MHz VIC 4: 1280x720 60.000 Hz 16:9 45.000 kHz 74.250 MHz VIC 3: 720x480 59.940 Hz 16:9 31.469 kHz 27.000 MHz VIC 2: 720x480 59.940 Hz 4:3 31.469 kHz 27.000 MHz VIC 7: 1440x480i 59.940 Hz 16:9 15.734 kHz 27.000 MHz VIC 22: 1440x576i 50.000 Hz 16:9 15.625 kHz 27.000 MHz VIC 1: 640x480 59.940 Hz 4:3 31.469 kHz 25.175 MHz VIC 20: 1920x1080i 50.000 Hz 16:9 28.125 kHz 74.250 MHz VIC 31: 1920x1080 50.000 Hz 16:9 56.250 kHz 148.500 MHz VIC 18: 720x576 50.000 Hz 16:9 31.250 kHz 27.000 MHz VIC 19: 1280x720 50.000 Hz 16:9 37.500 kHz 74.250 MHz Vendor-Specific Data Block (HDMI), OUI 00-0C-03: Source physical address: 1.0.0.0 Detailed Timing Descriptors: DTD 2: 1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz (509 mm x 286 mm) Hfront 88 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P DTD 3: 1920x1080i 60.000 Hz 16:9 33.750 kHz 74.250 MHz (509 mm x 286 mm) Hfront 88 Hsync 44 Hback 148 Hpol P Vfront 2 Vsync 5 Vback 15 Vpol P Vfront +0.5 Odd Field Vfront 2 Vsync 5 Vback 15 Vpol P Vback +0.5 Even Field DTD 4: 1280x720 60.000 Hz 16:9 45.000 kHz 74.250 MHz (509 mm x 286 mm) Hfront 110 Hsync 40 Hback 220 Hpol P Vfront 5 Vsync 5 Vback 20 Vpol P DTD 5: 720x480 59.940 Hz 3:2 31.469 kHz 27.000 MHz (509 mm x 286 mm) Hfront 16 Hsync 62 Hback 60 Hpol N Vfront 9 Vsync 6 Vback 30 Vpol N Checksum: 0xed
manjaro 安装 edid-decode
1 | sudo pacman -S edid-decode |