use*_*525 5 linux xorg kernel-modules x11 edid
我只是尝试使用 read-edid util 提取 EDID 文件数据;事情是输出显示:
$sudo get-edid | decode-edid
...
Manufacturer: AUO Model 20ec Serial Number 0
Made week 0 of 2013
EDID version: 1.4
Digital display
6 bits per primary color channel
Digital interface is not defined
Maximum image size: 34 cm x 19 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 77.000 MHz, 344 mm x 193 mm
1366 1382 1398 1628 hborder 0
768 771 785 788 vborder 0
-hsync -vsync
Manufacturer-specified data, tag 15
ASCII string: AUO
ASCII string: ***
...
Run Code Online (Sandbox Code Playgroud)
我检查了 xrandr 并输出:
$xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.02*+
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
...
Run Code Online (Sandbox Code Playgroud)
它显示我有 60.02 或类似的刷新率,这是不正确的?...
作为测试,根据 EDID 我创建了 /etc/X11/xorg.conf.d/90-monitor.conf 文件,内容为:
Section "Monitor"
Identifier "<default monitor>"
DisplaySize 344 193
EndSection
Run Code Online (Sandbox Code Playgroud)
...如您所见,xrandr 输出启用了 344x193 显示尺寸,但我仍然不确定 344x193 是否是正确的值?根据“最大图像尺寸:34 厘米 x 19 厘米”的值,它应该是 344x193 还是 340x190?
此外,EDID 显示我的笔记本具有 77.000MHz 刷新率(应该是),但 xrandr 输出(见上文)我有 60.000MHz,因为我可以得到它;所以这让我很困惑 xorg 真正应该使用哪些值?如果我需要运行非标准刷新率,我应该(在 linux .config 中)PWM 作为 y 或 m 吗?
所以我的问题是...如何使用正确的 DPI 和 EDID 刷新值将它们设置到 /etc/X11/xorg.conf.d/90-monitor.conf 文件中并使它们有效?
ps
小智 5
77MHz 是像素时钟,不是垂直刷新率。垂直刷新率的单位是赫兹,而不是兆赫。
看一下模式:
Clock 77.000 MHz, 344 mm x 193 mm
1366 1382 1398 1628 hborder 0
768 771 785 788 vborder 0
Run Code Online (Sandbox Code Playgroud)
1366是每行“活动”像素768的数量, 是“活动”行的数量。这些是您看到的像素。还有“消隐”像素和线条以及“边框”像素和线条被插入以平衡时钟。
看到一个指标1628x788吗?这是一种包括所有活动、消隐和边框像素的像素。如果将 77MHz(或 77,000,000Hz)除以 (1628 * 788),您将看到大约为 60.02 Hz。