VIA 集成显卡控制台帧缓冲驱动程序

平台

控制台帧缓冲驱动程序适用于 VIA UniChrome 系列(CLE266、PM800 / CN400 / CN300、P4M800CE / P4M800Pro / CN700 / VN800、CX700 / VX700、K8M890、P4M890、CN896 / P4M900、VX800、VX855)的显卡芯片

驱动程序功能

设备:CRT、LCD、DVI

支持 viafb_mode

CRT:
    640x480(60, 75, 85, 100, 120 Hz), 720x480(60 Hz),
    720x576(60 Hz), 800x600(60, 75, 85, 100, 120 Hz),
    848x480(60 Hz), 856x480(60 Hz), 1024x512(60 Hz),
    1024x768(60, 75, 85, 100 Hz), 1152x864(75 Hz),
    1280x768(60 Hz), 1280x960(60 Hz), 1280x1024(60, 75, 85 Hz),
    1440x1050(60 Hz), 1600x1200(60, 75 Hz), 1280x720(60 Hz),
    1920x1080(60 Hz), 1400x1050(60 Hz), 800x480(60 Hz)

颜色深度:支持 8 bpp、16 bpp、32 bpp。

支持 2D 硬件加速器。

使用 viafb 模块

使用默认设置启动 viafb

#modprobe viafb

使用用户选项启动 viafb

#modprobe viafb viafb_mode=800x600 viafb_bpp=16 viafb_refresh=60
          viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1
          viafb_mode1=1024x768 viafb_bpp=16 viafb_refresh1=60
          viafb_SAMM_ON=1
viafb_mode
  • 640x480(默认)

  • 720x480

  • 800x600

  • 1024x768

viafb_bpp
  • 8、16、32(默认:32)

viafb_refresh
  • 60、75、85、100、120(默认:60)

viafb_lcd_dsp_method
  • 0 : 扩展(默认)

  • 1 : 居中

viafb_lcd_mode

0 : 具有 LSB 数据格式输入的 LCD 面板(默认) 1 : 具有 MSB 数据格式输入的 LCD 面板

viafb_lcd_panel_id
  • 0 : 分辨率:640x480,通道:单通道,抖动:启用

  • 1 : 分辨率:800x600,通道:单通道,抖动:启用

  • 2 : 分辨率:1024x768,通道:单通道,抖动:启用(默认)

  • 3 : 分辨率:1280x768,通道:单通道,抖动:启用

  • 4 : 分辨率:1280x1024,通道:双通道,抖动:启用

  • 5 : 分辨率:1400x1050,通道:双通道,抖动:启用

  • 6 : 分辨率:1600x1200,通道:双通道,抖动:启用

  • 8 : 分辨率:800x480,通道:单通道,抖动:启用

  • 9 : 分辨率:1024x768,通道:双通道,抖动:启用

  • 10: 分辨率:1024x768,通道:单通道,抖动:禁用

  • 11: 分辨率:1024x768,通道:双通道,抖动:禁用

  • 12: 分辨率:1280x768,通道:单通道,抖动:禁用

  • 13: 分辨率:1280x1024,通道:双通道,抖动:禁用

  • 14: 分辨率:1400x1050,通道:双通道,抖动:禁用

  • 15: 分辨率:1600x1200,通道:双通道,抖动:禁用

  • 16: 分辨率:1366x768,通道:单通道,抖动:禁用

  • 17: 分辨率:1024x600,通道:单通道,抖动:启用

  • 18: 分辨率:1280x768,通道:双通道,抖动:启用

  • 19: 分辨率:1280x800,通道:单通道,抖动:启用

viafb_accel
  • 0 : 无 2D 硬件加速

  • 1 : 2D 硬件加速(默认)

viafb_SAMM_ON
  • 0 : viafb_SAMM_ON 禁用(默认)

  • 1 : viafb_SAMM_ON 启用

viafb_mode1:(辅助显示设备)
  • 640x480(默认)

  • 720x480

  • 800x600

  • 1024x768

viafb_bpp1:(辅助显示设备)
  • 8、16、32(默认:32)

viafb_refresh1:(辅助显示设备)
  • 60、75、85、100、120(默认:60)

viafb_active_dev

此选项用于指定活动设备。(CRT、DVI、CRT+LCD...)DVI 代表 DVI 或 HDMI。例如,如果要启用 HDMI,请设置 viafb_active_dev=DVI。在 SAMM 情况下,viafb_active_dev 的前一个是主设备,后一个是辅助设备。

例如

要仅启用一个设备,例如 DVI,我们可以使用

modprobe viafb viafb_active_dev=DVI

要启用两个设备,例如 CRT+DVI

modprobe viafb viafb_active_dev=CRT+DVI;

对于 DuoView 情况,我们可以使用

modprobe viafb viafb_active_dev=CRT+DVI

modprobe viafb viafb_active_dev=DVI+CRT...

对于 SAMM 情况

如果 CRT 是主设备,DVI 是辅助设备,我们应该使用

modprobe viafb viafb_active_dev=CRT+DVI viafb_SAMM_ON=1...

如果 DVI 是主设备,CRT 是辅助设备,我们应该使用

modprobe viafb viafb_active_dev=DVI+CRT viafb_SAMM_ON=1...
viafb_display_hardware_layout

此选项用于指定 CX700 芯片的显示硬件布局。

  • 1 : 仅限 LCD

  • 2 : 仅限 DVI

  • 3 : LCD+DVI(默认)

  • 4 : LCD1+LCD2(内部 + 内部)

  • 16: LCD1+ExternalLCD2(内部 + 外部)

viafb_second_size

此选项用于在 SAMM 情况下设置第二个设备的内存大小(MB)。最小大小为 16。

viafb_platform_epia_dvi

此选项用于在 EPIA - M 上启用 DVI

  • 0 : EPIA - M 上无 DVI(默认)

  • 1 : EPIA - M 上有 DVI

viafb_bus_width

当使用 24 位总线宽度数字接口时,应设置此选项。

  • 12: 12 位 LVDS 或 12 位 TMDS(默认)

  • 24: 24 位 LVDS 或 24 位 TMDS

viafb_device_lcd_dualedge

当使用双边面板时,应设置此选项。

  • 0 : 无双边面板(默认)

  • 1 : 双边面板

viafb_lcd_port

此选项用于指定 LCD 输出端口,可用值为 “DVP0” “DVP1” “DFP_HIGHLOW” “DFP_HIGH” “DFP_LOW”。

对于 CX700 上的外部 LCD + 外部 DVI(外部 LCD 在 DVP0 上),我们应该使用

modprobe viafb viafb_lcd_port=DVP0...
注意
  1. 在启用 DVI 过扫描的情况下,对于“640x480” PAL 模式下的 DuoView CRT 和 DVI 显示,CRT 可能无法正常显示。

  2. SAMM 代表单适配器多显示器。它与多头不同,因为 SAMM 在驱动程序层支持多显示器,因此 fbcon 层甚至不知道它;SAMM 的第二个屏幕没有设备节点文件,因此用户模式应用程序无法直接访问它。启用 SAMM 时,viafb_mode 和 viafb_mode1、viafb_bpp 和 viafb_bpp1、viafb_refresh 和 viafb_refresh1 可以不同。

  3. 当控制台依赖 viafbinfo1 时,动态更改分辨率和 bpp,需要调用 VIAFB 指定的 ioctl 接口 VIAFB_SET_DEVICE,而不是调用常见的 ioctl 函数 FBIOPUT_VSCREENINFO,因为 viafb 不支持多头,否则会导致屏幕崩溃。

使用 “fbset” 工具配置 viafb

“fbset” 是 Linux 的一个内置实用程序。

  1. 查询当前 viafb 信息,键入

    # fbset -i
    
  2. 设置各种分辨率和 viafb_refresh 速率

    # fbset <resolution-vertical_sync>
    

    示例

    # fbset "1024x768-75"
    

    # fbset -g 1024 768 1024 768 32
    

    检查文件“/etc/fb.modes”以查找可用的显示模式。

  3. 设置颜色深度

    # fbset -depth <value>
    

    示例

    # fbset -depth 16
    

通过 /proc 配置 viafb

以下文件存在于 /proc/viafb 中

supported_output_devices

此只读文件包含一个完整的以“,”分隔的列表,其中包含您平台上可能可用的所有输出设备。可能并非所有这些设备在您的硬件上都有连接器,但它应该提供一个很好的起点,以确定哪些名称与真实的连接器匹配。

示例

# cat /proc/viafb/supported_output_devices
iga1/output_devices, iga2/output_devices

这两个文件是可读写的。 iga1 和 iga2 是两个产生屏幕图像的独立单元。这些图像可以转发到一个或多个输出设备。读取这些文件是查询 iga 当前使用哪些输出设备的一种方法。

示例

# cat /proc/viafb/iga1/output_devices

如果未打印输出设备,则此 iga 的输出会丢失。例如,如果仅使用一个(另一个)iga,则会发生这种情况。写入这些文件允许在运行时调整输出设备。可以添加新设备、删除现有设备或在 iga 之间切换。本质上,您可以写入一个以“,”分隔的设备名称列表(或单个设备名称),格式与这些文件的输出相同。您可以添加“+”或“-”作为前缀,从而可以简单地添加和删除设备。因此,前缀“+”会将列表中的设备添加到现有设备中,“-”会从现有设备中删除列出的设备,如果没有给出前缀,则会用列出的设备替换所有现有设备。如果删除设备,则预期它们会关闭。如果您添加的设备已经是另一个 iga 的一部分,则它们会在那里被删除并添加到新设备中。

示例

将 CRT 作为输出设备添加到 iga1

# echo +CRT > /proc/viafb/iga1/output_devices

删除(关闭)iga2 的输出设备 DVP1 和 LVDS1

# echo -DVP1,LVDS1 > /proc/viafb/iga2/output_devices

用 CRT 替换所有 iga1 输出设备

# echo CRT > /proc/viafb/iga1/output_devices

使用 viafb 启动

将以下行添加到您的 grub.conf

append = "video=viafb:viafb_mode=1024x768,viafb_bpp=32,viafb_refresh=85"

VIA 帧缓冲模式

#
#
#   These data are based on the CRTC parameters in
#
#       VIA Integration Graphics Chip
#       (C) 2004 VIA Technologies Inc.
#

#
#   640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      640     480
#   Scan Frequency      31.469 kHz  59.94 Hz
#   Sync Width      3.813 us    0.064 ms
#               12 chars    2 lines
#   Front Porch     0.636 us    0.318  ms
#               2 chars     10 lines
#   Back Porch      1.907 us    1.048  ms
#               6 chars     33 lines
#   Active Time     25.422 us   15.253 ms
#               80 chars    480 lines
#   Blank Time      6.356 us    1.430 ms
#               20 chars    45 lines
#   Polarity        negative    negative
#

mode "640x480-60"
# D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz
    geometry 640 480 640 480 32
    timings 39722 48 16 33 10 96 2 endmode mode "480x640-60"
# D: 24.823 MHz, H: 39.780 kHz, V: 60.00 Hz
    geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode
#
#   640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      640     480
#   Scan Frequency      37.500 kHz  75.00 Hz
#   Sync Width      2.032 us    0.080 ms
#               8 chars     3 lines
#   Front Porch     0.508 us    0.027 ms
#               2 chars     1 lines
#   Back Porch      3.810 us    0.427 ms
#               15 chars    16 lines
#   Active Time     20.317 us   12.800 ms
#               80 chars    480 lines
#   Blank Time      6.349 us    0.533 ms
#               25 chars    20 lines
#   Polarity        negative    negative
#
    mode "640x480-75"
# D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz
    geometry 640 480 640 480 32 timings 31747 120 16 16 1 64 3 endmode
#
#   640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      640     480
#   Scan Frequency  43.269 kHz  85.00 Hz
#   Sync Width      1.556 us    0.069 ms
#               7 chars     3 lines
#   Front Porch     1.556 us    0.023 ms
#               7 chars     1 lines
#   Back Porch      2.222 us    0.578 ms
#               10 chars    25 lines
#   Active Time     17.778 us   11.093 ms
#               80 chars    480 lines
#   Blank Time      5.333 us    0.670 ms
#               24 chars    29 lines
#   Polarity        negative    negative
#
    mode "640x480-85"
# D: 36.000 MHz, H: 43.269 kHz, V: 85.00 Hz
    geometry 640 480 640 480 32 timings 27777 80 56 25 1 56 3 endmode
#
#   640x480, 100 Hz, Non-Interlaced (43.163 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      640     480
#   Scan Frequency      50.900 kHz  100.00 Hz
#   Sync Width      1.483 us    0.058 ms
#               8 chars     3 lines
#   Front Porch     0.927 us    0.019 ms
#               5 chars     1 lines
#   Back Porch      2.409 us    0.475 ms
#               13 chars    25 lines
#   Active Time     14.827 us   9.430 ms
#               80 chars    480 lines
#   Blank Time      4.819 us    0.570 ms
#               26 chars    29 lines
#   Polarity        positive    positive
#
    mode "640x480-100"
# D: 43.163 MHz, H: 50.900 kHz, V: 100.00 Hz
    geometry 640 480 640 480 32 timings 23168 104 40 25 1 64 3 endmode
#
#   640x480, 120 Hz, Non-Interlaced (52.406 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      640     480
#   Scan Frequency      61.800 kHz  120.00 Hz
#   Sync Width      1.221 us    0.048 ms
#               8 chars         3 lines
#   Front Porch     0.763 us    0.016 ms
#               5 chars     1 lines
#   Back Porch      1.984 us    0.496 ms
#               13 chars    31 lines
#   Active Time     12.212 us   7.767 ms
#               80 chars    480 lines
#   Blank Time      3.969 us    0.566 ms
#               26 chars    35 lines
#   Polarity        positive    positive
#
    mode "640x480-120"
# D: 52.406 MHz, H: 61.800 kHz, V: 120.00 Hz
    geometry 640 480 640 480 32 timings 19081 104 40 31 1 64 3 endmode
#
#   720x480, 60 Hz, Non-Interlaced (26.880 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      720     480
#   Scan Frequency      30.000 kHz  60.241 Hz
#   Sync Width      2.679 us    0.099 ms
#               9 chars     3 lines
#   Front Porch     0.595 us    0.033 ms
#               2 chars     1 lines
#   Back Porch      3.274 us    0.462 ms
#               11 chars    14 lines
#   Active Time     26.786 us   16.000 ms
#               90 chars    480 lines
#   Blank Time      6.548 us    0.600 ms
#               22 chars    18 lines
#   Polarity        positive    positive
#
    mode "720x480-60"
# D: 26.880 MHz, H: 30.000 kHz, V: 60.24 Hz
    geometry 720 480 720 480 32 timings 37202 88 16 14 1 72 3 endmode
#
#   800x480, 60 Hz, Non-Interlaced (29.581 MHz dotclock)
#
#               Horizontal    Vertical
#   Resolution      800         480
#   Scan Frequency  29.892 kHz  60.00 Hz
#   Sync Width      2.704 us    100.604 us
#                   10 chars    3 lines
#   Front Porch     0.541 us    33.535 us
#                   2 chars     1 lines
#   Back Porch      3.245 us    435.949 us
#                   12 chars    13 lines
#   Active Time     27.044 us   16.097 ms
#                   100 chars   480 lines
#   Blank Time      6.491 us    0.570 ms
#                   24 chars    17 lines
#   Polarity        positive    positive
#
    mode "800x480-60"
# D: 29.500 MHz, H: 29.738 kHz, V: 60.00 Hz
    geometry 800 480 800 480 32 timings 33805 96 24 10 3 72 7 endmode
#
#   720x576, 60 Hz, Non-Interlaced (32.668 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      720     576
#   Scan Frequency      35.820 kHz  60.00 Hz
#   Sync Width      2.204 us    0.083 ms
#               9 chars     3 lines
#   Front Porch     0.735 us    0.027 ms
#               3 chars     1 lines
#   Back Porch      2.939 us    0.459 ms
#               12 chars    17 lines
#   Active Time     22.040 us   16.080 ms
#               90 chars    476 lines
#   Blank Time      5.877 us    0.586 ms
#               24 chars    21 lines
#   Polarity        positive    positive
#
    mode "720x576-60"
# D: 32.668 MHz, H: 35.820 kHz, V: 60.00 Hz
    geometry 720 576 720 576 32 timings 30611 96 24 17 1 72 3 endmode
#
#   800x600, 60 Hz, Non-Interlaced (40.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      800     600
#   Scan Frequency      37.879 kHz  60.32 Hz
#   Sync Width      3.200 us    0.106 ms
#               16 chars    4 lines
#   Front Porch     1.000 us    0.026 ms
#               5 chars     1 lines
#   Back Porch      2.200 us    0.607 ms
#               11 chars    23 lines
#   Active Time     20.000 us   15.840 ms
#               100 chars   600 lines
#   Blank Time      6.400 us    0.739 ms
#               32 chars    28 lines
#   Polarity        positive    positive
#
    mode "800x600-60"
# D: 40.00 MHz, H: 37.879 kHz, V: 60.32 Hz
    geometry 800 600 800 600 32
    timings 25000 88 40 23 1 128 4 hsync high vsync high endmode
#
#   800x600, 75 Hz, Non-Interlaced (49.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      800     600
#   Scan Frequency      46.875 kHz  75.00 Hz
#   Sync Width      1.616 us    0.064 ms
#               10 chars    3 lines
#   Front Porch     0.323 us    0.021 ms
#               2 chars     1 lines
#   Back Porch      3.232 us    0.448 ms
#               20 chars    21 lines
#   Active Time     16.162 us   12.800 ms
#               100 chars   600 lines
#   Blank Time      5.172 us    0.533 ms
#               32 chars    25 lines
#   Polarity        positive    positive
#
    mode "800x600-75"
# D: 49.50 MHz, H: 46.875 kHz, V: 75.00 Hz
    geometry 800 600 800 600 32
    timings 20203 160 16 21 1 80 3 hsync high vsync high endmode
#
#   800x600, 85 Hz, Non-Interlaced (56.25 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      800     600
#   Scan Frequency      53.674 kHz  85.061 Hz
#   Sync Width      1.138 us    0.056 ms
#               8 chars     3 lines
#   Front Porch     0.569 us    0.019 ms
#               4 chars     1 lines
#   Back Porch      2.702 us    0.503 ms
#               19 chars    27 lines
#   Active Time     14.222 us   11.179 ms
#               100 chars   600 lines
#   Blank Time      4.409 us    0.578 ms
#               31 chars    31 lines
#   Polarity        positive    positive
#
    mode "800x600-85"
# D: 56.25 MHz, H: 53.674 kHz, V: 85.061 Hz
    geometry 800 600 800 600 32
    timings 17777 152 32 27 1 64 3 hsync high vsync high endmode
#
#   800x600, 100 Hz, Non-Interlaced (67.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      800     600
#   Scan Frequency      62.500 kHz  100.00 Hz
#   Sync Width      0.948 us    0.064 ms
#               8 chars     4 lines
#   Front Porch     0.000 us    0.112 ms
#               0 chars     7 lines
#   Back Porch      3.200 us    0.224 ms
#               27 chars    14 lines
#   Active Time     11.852 us   9.600 ms
#               100 chars   600 lines
#   Blank Time      4.148 us    0.400 ms
#               35 chars    25 lines
#   Polarity        positive    positive
#
    mode "800x600-100"
# D: 67.50 MHz, H: 62.500 kHz, V: 100.00 Hz
    geometry 800 600 800 600 32
    timings 14667 216 0 14 7 64 4 hsync high vsync high endmode
#
#   800x600, 120 Hz, Non-Interlaced (83.950 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      800     600
#   Scan Frequency  77.160 kHz  120.00 Hz
#   Sync Width      1.048 us    0.039 ms
#               11 chars    3 lines
#   Front Porch     0.667 us    0.013 ms
#               7 chars     1 lines
#   Back Porch      1.715 us    0.507 ms
#               18 chars    39 lines
#   Active Time     9.529 us    7.776 ms
#               100 chars   600 lines
#   Blank Time      3.431 us    0.557 ms
#               36 chars    43 lines
#   Polarity        positive    positive
#
    mode "800x600-120"
# D: 83.950 MHz, H: 77.160 kHz, V: 120.00 Hz
    geometry 800 600 800 600 32
    timings 11912 144 56 39 1 88 3 hsync high vsync high endmode
#
#   848x480, 60 Hz, Non-Interlaced (31.490 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      848     480
#   Scan Frequency  29.820 kHz  60.00 Hz
#   Sync Width      2.795 us    0.099 ms
#               11 chars    3 lines
#   Front Porch     0.508 us    0.033 ms
#               2 chars     1 lines
#   Back Porch      3.303 us    0.429 ms
#               13 chars    13 lines
#   Active Time     26.929 us   16.097 ms
#               106 chars   480 lines
#   Blank Time      6.605 us    0.570 ms
#               26 chars    17 lines
#   Polarity        positive    positive
#
    mode "848x480-60"
# D: 31.500 MHz, H: 29.830 kHz, V: 60.00 Hz
    geometry 848 480 848 480 32
    timings 31746 104 24 12 3 80 5 hsync high vsync high endmode
#
#   856x480, 60 Hz, Non-Interlaced (31.728 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      856     480
#   Scan Frequency  29.820 kHz  60.00 Hz
#   Sync Width      2.774 us    0.099 ms
#               11 chars    3 lines
#   Front Porch     0.504 us    0.033 ms
#               2 chars     1 lines
#   Back Porch      3.728 us    0.429 ms
#               13 chars    13 lines
#   Active Time     26.979 us   16.097 ms
#               107 chars   480 lines
#   Blank Time      6.556 us    0.570 ms
#               26 chars    17 lines
#   Polarity        positive    positive
#
    mode "856x480-60"
# D: 31.728 MHz, H: 29.820 kHz, V: 60.00 Hz
    geometry 856 480 856 480 32
    timings 31518 104 16 13 1 88 3
    hsync high vsync high endmode mode "960x600-60"
# D: 45.250 MHz, H: 37.212 kHz, V: 60.00 Hz
    geometry 960 600 960 600 32 timings 22099 128 32 15 3 96 6 endmode
#
#   1000x600, 60 Hz, Non-Interlaced (48.068 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1000     600
#   Scan Frequency  37.320 kHz  60.00 Hz
#   Sync Width      2.164 us    0.080 ms
#               13 chars    3 lines
#   Front Porch     0.832 us    0.027 ms
#               5 chars     1 lines
#   Back Porch      2.996 us    0.483 ms
#               18 chars    18 lines
#   Active Time     20.804 us   16.077 ms
#               125 chars   600 lines
#   Blank Time      5.991 us    0.589 ms
#               36 chars    22 lines
#   Polarity        negative    positive
#
    mode "1000x600-60"
# D: 48.068 MHz, H: 37.320 kHz, V: 60.00 Hz
    geometry 1000 600 1000 600 32
    timings 20834 144 40 18 1 104 3 endmode mode "1024x576-60"
# D: 46.996 MHz, H: 35.820 kHz, V: 60.00 Hz
    geometry 1024 576 1024 576 32
    timings 21278 144 40 17 1 104 3 endmode mode "1024x600-60"
# D: 48.964 MHz, H: 37.320 kHz, V: 60.00 Hz
    geometry 1024 600 1024 600 32
    timings 20461 144 40 18 1 104 3 endmode mode "1088x612-60"
# D: 52.952 MHz, H: 38.040 kHz, V: 60.00 Hz
    geometry 1088 612 1088 612 32 timings 18877 152 48 16 3 104 5 endmode
#
#   1024x512, 60 Hz, Non-Interlaced (41.291 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1024    512
#   Scan Frequency  31.860 kHz  60.00 Hz
#   Sync Width      2.519 us    0.094 ms
#               13 chars    3 lines
#   Front Porch     0.775 us    0.031 ms
#               4 chars     1 lines
#   Back Porch      3.294 us    0.465 ms
#               17 chars    15 lines
#   Active Time     24.800 us   16.070 ms
#               128 chars   512 lines
#   Blank Time      6.587 us    0.596 ms
#               34 chars    19 lines
#   Polarity        positive    positive
#
    mode "1024x512-60"
# D: 41.291 MHz, H: 31.860 kHz, V: 60.00 Hz
    geometry 1024 512 1024 512 32
    timings 24218 126 32 15 1 104 3 hsync high vsync high endmode
#
#   1024x600, 60 Hz, Non-Interlaced (48.875 MHz dotclock)
#
#                     Horizontal  Vertical
#   Resolution          1024        768
#   Scan Frequency      37.252 kHz  60.00 Hz
#   Sync Width          2.128 us    80.532us
#                       13 chars    3 lines
#   Front Porch        0.818 us     26.844 us
#                       5 chars     1 lines
#   Back Porch          2.946 us    483.192 us
#                       18 chars    18 lines
#   Active Time         20.951 us   16.697 ms
#                       128 chars   622 lines
#   Blank Time          5.893 us    0.591 ms
#                       36 chars    22 lines
#   Polarity            negative    positive
#
#mode "1024x600-60"
#     # D: 48.875 MHz, H: 37.252 kHz, V: 60.00 Hz
#     geometry 1024 600 1024 600 32
#    timings 20460  144 40 18 1 104  3
# endmode
#
#   1024x768, 60 Hz, Non-Interlaced (65.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1024        768
#   Scan Frequency      48.363 kHz  60.00 Hz
#   Sync Width      2.092 us    0.124 ms
#               17 chars    6 lines
#   Front Porch     0.369 us    0.062 ms
#               3 chars     3 lines
#   Back Porch      2.462 us    0.601 ms
#               20 chars    29 lines
#   Active Time     15.754 us   15.880 ms
#               128 chars   768 lines
#   Blank Time      4.923 us    0.786 ms
#               40 chars    38 lines
#   Polarity        negative    negative
#
    mode "1024x768-60"
# D: 65.00 MHz, H: 48.363 kHz, V: 60.00 Hz
    geometry 1024 768 1024 768 32 timings 15385 160 24 29 3 136 6 endmode
#
#   1024x768, 75 Hz, Non-Interlaced (78.75 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1024        768
#   Scan Frequency      60.023 kHz  75.03 Hz
#   Sync Width      1.219 us    0.050 ms
#               12 chars    3 lines
#   Front Porch     0.203 us    0.017 ms
#               2 chars     1 lines
#   Back Porch      2.235 us    0.466 ms
#               22 chars    28 lines
#   Active Time     13.003 us   12.795 ms
#               128 chars   768 lines
#   Blank Time      3.657 us    0.533 ms
#               36 chars    32 lines
#   Polarity        positive    positive
#
    mode "1024x768-75"
# D: 78.75 MHz, H: 60.023 kHz, V: 75.03 Hz
    geometry 1024 768 1024 768 32
    timings 12699 176 16 28 1 96 3 hsync high vsync high endmode
#
#   1024x768, 85 Hz, Non-Interlaced (94.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1024        768
#   Scan Frequency  68.677 kHz  85.00 Hz
#   Sync Width      1.016 us    0.044 ms
#               12 chars    3 lines
#   Front Porch     0.508 us    0.015 ms
#               6 chars     1 lines
#   Back Porch      2.201 us    0.524 ms
#               26 chars    36 lines
#   Active Time     10.836 us   11.183 ms
#               128 chars   768 lines
#   Blank Time      3.725 us    0.582 ms
#               44 chars    40 lines
#   Polarity        positive    positive
#
    mode "1024x768-85"
# D: 94.50 MHz, H: 68.677 kHz, V: 85.00 Hz
    geometry 1024 768 1024 768 32
    timings 10582 208 48 36 1 96 3 hsync high vsync high endmode
#
#   1024x768, 100 Hz, Non-Interlaced (110.0 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1024        768
#   Scan Frequency      79.023 kHz  99.78 Hz
#   Sync Width      0.800 us    0.101 ms
#               11 chars    8 lines
#   Front Porch     0.000 us    0.000 ms
#               0 chars     0 lines
#   Back Porch      2.545 us    0.202 ms
#               35 chars    16 lines
#   Active Time     9.309 us    9.719 ms
#               128 chars   768 lines
#   Blank Time      3.345 us    0.304 ms
#               46 chars    24 lines
#   Polarity        negative    negative
#
    mode "1024x768-100"
# D: 113.3 MHz, H: 79.023 kHz, V: 99.78 Hz
    geometry 1024 768 1024 768 32
    timings 8825 280 0 16 0 88 8 endmode mode "1152x720-60"
# D: 66.750 MHz, H: 44.859 kHz, V: 60.00 Hz
    geometry 1152 720 1152 720 32 timings 14981 168 56 19 3 112 6 endmode
#
#   1152x864, 75 Hz, Non-Interlaced (110.0 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1152        864
#   Scan Frequency      75.137 kHz  74.99 Hz
#   Sync Width      1.309 us    0.106 ms
#               18 chars    8 lines
#   Front Porch     0.245 us    0.599 ms
#               3 chars     45 lines
#   Back Porch      1.282 us    1.132 ms
#               18 chars    85 lines
#   Active Time     10.473 us   11.499 ms
#               144 chars   864 lines
#   Blank Time      2.836 us    1.837 ms
#               39 chars    138 lines
#   Polarity        positive    positive
#
    mode "1152x864-75"
# D: 110.0 MHz, H: 75.137 kHz, V: 74.99 Hz
    geometry 1152 864 1152 864 32
    timings 9259 144 24 85 45 144 8
    hsync high vsync high endmode mode "1200x720-60"
# D: 70.184 MHz, H: 44.760 kHz, V: 60.00 Hz
    geometry 1200 720 1200 720 32
    timings 14253 184 28 22 1 128 3 endmode mode "1280x600-60"
# D: 61.503 MHz, H: 37.320 kHz, V: 60.00 Hz
    geometry 1280 600 1280 600 32
    timings 16260 184 28 18 1 128 3 endmode mode "1280x720-50"
# D: 60.466 MHz, H: 37.050 kHz, V: 50.00 Hz
    geometry 1280 720 1280 720 32
    timings 16538 176 48 17 1 128 3 endmode mode "1280x768-50"
# D: 65.178 MHz, H: 39.550 kHz, V: 50.00 Hz
    geometry 1280 768 1280 768 32 timings 15342 184 28 19 1 128 3 endmode
#
#   1280x768, 60 Hz, Non-Interlaced (80.136 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280    768
#   Scan Frequency  47.700 kHz  60.00 Hz
#   Sync Width      1.697 us    0.063 ms
#               17 chars    3 lines
#   Front Porch     0.799 us    0.021 ms
#               8 chars     1 lines
#   Back Porch      2.496 us    0.483 ms
#               25 chars    23 lines
#   Active Time     15.973 us   16.101 ms
#               160 chars   768 lines
#   Blank Time      4.992 us    0.566 ms
#               50 chars    27 lines
#   Polarity        positive    positive
#
    mode "1280x768-60"
# D: 80.13 MHz, H: 47.700 kHz, V: 60.00 Hz
    geometry 1280 768 1280 768 32
    timings 12480 200 48 23 1 126 3 hsync high vsync high endmode
#
#   1280x800, 60 Hz, Non-Interlaced (83.375 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280    800
#   Scan Frequency  49.628 kHz  60.00 Hz
#   Sync Width      1.631 us    60.450 us
#                   17 chars    3 lines
#   Front Porch     0.768 us    20.15 us
#                   8 chars     1 lines
#   Back Porch      2.399 us    0.483 ms
#                   25 chars    24 lines
#   Active Time     15.352 us   16.120 ms
#                   160 chars   800 lines
#   Blank Time      4.798 us    0.564 ms
#                   50 chars    28 lines
#   Polarity        negative    positive
#
    mode "1280x800-60"
# D: 83.500 MHz, H: 49.702 kHz, V: 60.00 Hz
    geometry 1280 800 1280 800 32 timings 11994 200 72 22 3 128 6 endmode
#
#   1280x960, 60 Hz, Non-Interlaced (108.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280    960
#   Scan Frequency  60.000 kHz  60.00 Hz
#   Sync Width      1.037 us    0.050 ms
#               14 chars    3 lines
#   Front Porch     0.889 us    0.017 ms
#               12 chars    1 lines
#   Back Porch      2.889 us    0.600 ms
#               39 chars    36 lines
#   Active Time     11.852 us   16.000 ms
#               160 chars   960 lines
#   Blank Time      4.815 us    0.667 ms
#               65 chars    40 lines
#   Polarity        positive    positive
#
    mode "1280x960-60"
# D: 108.00 MHz, H: 60.000 kHz, V: 60.00 Hz
    geometry 1280 960 1280 960 32
    timings 9259 312 96 36 1 112 3 hsync high vsync high endmode
#
#   1280x1024, 60 Hz, Non-Interlaced (108.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280        1024
#   Scan Frequency      63.981 kHz  60.02 Hz
#   Sync Width      1.037 us    0.047 ms
#               14 chars    3 lines
#   Front Porch     0.444 us    0.015 ms
#               6 chars     1 lines
#   Back Porch      2.297 us    0.594 ms
#               31 chars    38 lines
#   Active Time     11.852 us   16.005 ms
#               160 chars   1024 lines
#   Blank Time      3.778 us    0.656 ms
#               51 chars    42 lines
#   Polarity        positive    positive
#
    mode "1280x1024-60"
# D: 108.00 MHz, H: 63.981 kHz, V: 60.02 Hz
    geometry 1280 1024 1280 1024 32
    timings 9260 248 48 38 1 112 3 hsync high vsync high endmode
#
#   1280x1024, 75 Hz, Non-Interlaced (135.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280        1024
#   Scan Frequency      79.976 kHz  75.02 Hz
#   Sync Width      1.067 us    0.038 ms
#               18 chars    3 lines
#   Front Porch     0.119 us    0.012 ms
#               2 chars     1 lines
#   Back Porch      1.837 us    0.475 ms
#               31 chars    38 lines
#   Active Time     9.481 us    12.804 ms
#               160 chars   1024 lines
#   Blank Time      3.022 us    0.525 ms
#               51 chars    42 lines
#   Polarity        positive    positive
#
    mode "1280x1024-75"
# D: 135.00 MHz, H: 79.976 kHz, V: 75.02 Hz
    geometry 1280 1024 1280 1024 32
    timings 7408 248 16 38 1 144 3 hsync high vsync high endmode
#
#   1280x1024, 85 Hz, Non-Interlaced (157.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280        1024
#   Scan Frequency  91.146 kHz  85.02 Hz
#   Sync Width      1.016 us    0.033 ms
#               20 chars    3 lines
#   Front Porch     0.406 us    0.011 ms
#               8 chars     1 lines
#   Back Porch      1.422 us    0.483 ms
#               28 chars    44 lines
#   Active Time     8.127 us    11.235 ms
#               160 chars   1024 lines
#   Blank Time      2.844 us    0.527 ms
#               56 chars    48 lines
#   Polarity        positive    positive
#
    mode "1280x1024-85"
# D: 157.50 MHz, H: 91.146 kHz, V: 85.02 Hz
    geometry 1280 1024 1280 1024 32
    timings 6349 224 64 44 1 160 3
    hsync high vsync high endmode mode "1440x900-60"
# D: 106.500 MHz, H: 55.935 kHz, V: 60.00 Hz
    geometry 1440 900 1440 900 32
    timings 9390 232 80 25 3 152 6
    hsync high vsync high endmode mode "1440x900-75"
# D: 136.750 MHz, H: 70.635 kHz, V: 75.00 Hz
    geometry 1440 900 1440 900 32
    timings 7315 248 96 33 3 152 6 hsync high vsync high endmode
#
#   1440x1050, 60 Hz, Non-Interlaced (125.10 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1440        1050
#   Scan Frequency      65.220 kHz  60.00 Hz
#   Sync Width      1.204 us    0.046 ms
#               19 chars    3 lines
#   Front Porch     0.760 us    0.015 ms
#               12 chars    1 lines
#   Back Porch      1.964 us    0.495 ms
#               31 chars    33 lines
#   Active Time     11.405 us   16.099 ms
#               180 chars   1050 lines
#   Blank Time      3.928 us    0.567 ms
#               62 chars    37 lines
#   Polarity        positive    positive
#
    mode "1440x1050-60"
# D: 125.10 MHz, H: 65.220 kHz, V: 60.00 Hz
    geometry 1440 1050 1440 1050 32
    timings 7993 248 96 33 1 152 3
    hsync high vsync high endmode mode "1600x900-60"
# D: 118.250 MHz, H: 55.990 kHz, V: 60.00 Hz
    geometry 1600 900 1600 900 32
    timings 8415 256 88 26 3 168 5 endmode mode "1600x1024-60"
# D: 136.358 MHz, H: 63.600 kHz, V: 60.00 Hz
    geometry 1600 1024 1600 1024 32 timings 7315 272 104 32 1 168 3 endmode
#
#   1600x1200, 60 Hz, Non-Interlaced (156.00 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1600        1200
#   Scan Frequency      76.200 kHz  60.00 Hz
#   Sync Width      1.026 us    0.105 ms
#               20 chars    8 lines
#   Front Porch     0.205 us    0.131 ms
#               4 chars     10 lines
#   Back Porch      1.636 us    0.682 ms
#               32 chars    52 lines
#   Active Time     10.256 us   15.748 ms
#               200 chars   1200 lines
#   Blank Time      2.872 us    0.866 ms
#               56 chars    66 lines
#   Polarity        negative    negative
#
    mode "1600x1200-60"
# D: 156.00 MHz, H: 76.200 kHz, V: 60.00 Hz
    geometry 1600 1200 1600 1200 32 timings 6172 256 32 52 10 160 8 endmode
#
#   1600x1200, 75 Hz, Non-Interlaced (202.50 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1600        1200
#   Scan Frequency  93.750 kHz  75.00 Hz
#   Sync Width      0.948 us    0.032 ms
#               24 chars    3 lines
#   Front Porch     0.316 us    0.011 ms
#               8 chars     1 lines
#   Back Porch      1.501 us    0.491 ms
#               38 chars    46 lines
#   Active Time     7.901 us    12.800 ms
#               200 chars   1200 lines
#   Blank Time      2.765 us    0.533 ms
#               70 chars    50 lines
#   Polarity    positive    positive
#
    mode "1600x1200-75"
# D: 202.50 MHz, H: 93.750 kHz, V: 75.00 Hz
    geometry 1600 1200 1600 1200 32
    timings 4938 304 64 46 1 192 3
    hsync high vsync high endmode mode "1680x1050-60"
# D: 146.250 MHz, H: 65.290 kHz, V: 59.954 Hz
    geometry 1680 1050 1680 1050 32
    timings 6814 280 104 30 3 176 6
    hsync high vsync high endmode mode "1680x1050-75"
# D: 187.000 MHz, H: 82.306 kHz, V: 74.892 Hz
    geometry 1680 1050 1680 1050 32
    timings 5348 296 120 40 3 176 6
    hsync high vsync high endmode mode "1792x1344-60"
# D: 202.975 MHz, H: 83.460 kHz, V: 60.00 Hz
    geometry 1792 1344 1792 1344 32
    timings 4902 320 128 43 1 192 3
    hsync high vsync high endmode mode "1856x1392-60"
# D: 218.571 MHz, H: 86.460 kHz, V: 60.00 Hz
    geometry 1856 1392 1856 1392 32
    timings 4577 336 136 45 1 200 3
    hsync high vsync high endmode mode "1920x1200-60"
# D: 193.250 MHz, H: 74.556 kHz, V: 60.00 Hz
    geometry 1920 1200 1920 1200 32
    timings 5173 336 136 36 3 200 6
    hsync high vsync high endmode mode "1920x1440-60"
# D: 234.000 MHz, H:90.000 kHz, V: 60.00 Hz
    geometry 1920 1440 1920 1440 32
    timings 4274 344 128 56 1 208 3
    hsync high vsync high endmode mode "1920x1440-75"
# D: 297.000 MHz, H:112.500 kHz, V: 75.00 Hz
    geometry 1920 1440 1920 1440 32
    timings 3367 352 144 56 1 224 3
    hsync high vsync high endmode mode "2048x1536-60"
# D: 267.250 MHz, H: 95.446 kHz, V: 60.00 Hz
    geometry 2048 1536 2048 1536 32
    timings 3742 376 152 49 3 224 4 hsync high vsync high endmode
#
#   1280x720, 60 Hz, Non-Interlaced (74.481 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1280        720
#   Scan Frequency      44.760 kHz  60.00 Hz
#   Sync Width      1.826 us    67.024 ms
#               17 chars    3 lines
#   Front Porch     0.752 us    22.341 ms
#               7 chars     1 lines
#   Back Porch      2.578 us    491.510 ms
#               24 chars    22 lines
#   Active Time     17.186 us   16.086 ms
#               160 chars   720 lines
#   Blank Time      5.156 us    0.581 ms
#               48 chars    26 lines
#   Polarity        negative    negative
#
    mode "1280x720-60"
# D: 74.481 MHz, H: 44.760 kHz, V: 60.00 Hz
    geometry 1280 720 1280 720 32 timings 13426 192 64 22 1 136 3 endmode
#
#   1920x1080, 60 Hz, Non-Interlaced (172.798 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1920        1080
#   Scan Frequency      67.080 kHz  60.00 Hz
#   Sync Width      1.204 us    44.723 ms
#               26 chars    3 lines
#   Front Porch     0.694 us    14.908 ms
#               15 chars     1 lines
#   Back Porch      1.898 us    506.857 ms
#               41 chars    34 lines
#   Active Time     11.111 us   16.100 ms
#               240 chars   1080 lines
#   Blank Time      3.796 us    0.566 ms
#               82 chars    38 lines
#   Polarity        negative    negative
#
    mode "1920x1080-60"
# D: 74.481 MHz, H: 67.080 kHz, V: 60.00 Hz
    geometry 1920 1080 1920 1080 32 timings 5787 328 120 34 1 208 3 endmode
#
#   1400x1050, 60 Hz, Non-Interlaced (122.61 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1400        1050
#   Scan Frequency      65.218 kHz  59.99 Hz
#   Sync Width      1.037 us    0.047 ms
#               19 chars    3 lines
#   Front Porch     0.444 us    0.015 ms
#               11 chars     1 lines
#   Back Porch      1.185 us    0.188 ms
#               30 chars    33 lines
#   Active Time     12.963 us   16.411 ms
#               175 chars   1050 lines
#   Blank Time      2.667 us    0.250 ms
#               60 chars    37 lines
#   Polarity        negative    positive
#
    mode "1400x1050-60"
# D: 122.750 MHz, H: 65.317 kHz, V: 59.99 Hz
    geometry 1400 1050 1408 1050 32
    timings 8214 232 88 32 3 144 4 endmode mode "1400x1050-75"
# D: 156.000 MHz, H: 82.278 kHz, V: 74.867 Hz
    geometry 1400 1050 1408 1050 32 timings 6410 248 104 42 3 144 4 endmode
#
#   1366x768, 60 Hz, Non-Interlaced (85.86 MHz dotclock)
#
#               Horizontal  Vertical
#   Resolution      1366        768
#   Scan Frequency      47.700 kHz  60.00 Hz
#   Sync Width      1.677 us    0.063 ms
#               18 chars    3 lines
#   Front Porch     0.839 us    0.021 ms
#               9 chars     1 lines
#   Back Porch      2.516 us    0.482 ms
#               27 chars    23 lines
#   Active Time     15.933 us   16.101 ms
#               171 chars   768 lines
#   Blank Time      5.031 us    0.566 ms
#               54 chars    27 lines
#   Polarity        negative    positive
#
    mode "1360x768-60"
# D: 84.750 MHz, H: 47.720 kHz, V: 60.00 Hz
    geometry 1360 768 1360 768 32
    timings 11799 208 72 22 3 136 5 endmode mode "1366x768-60"
# D: 85.86 MHz, H: 47.700 kHz, V: 60.00 Hz
    geometry 1366 768 1366 768 32
    timings 11647 216 72 23 1 144 3 endmode mode "1366x768-50"
# D: 69,924 MHz, H: 39.550 kHz, V: 50.00 Hz
    geometry 1366 768 1366 768 32 timings 14301 200 56 19 1 144 3 endmode