为 nvidia 信箱模式设置 xorg.conf 元模式

为 nvidia 信箱模式设置 xorg.conf 元模式

我目前正在尝试将我的屏幕分辨率配置xorg.conf为小于显示器原始分辨率(1680x1050)的信箱模式,以便我可以全屏播放旧游戏而不会失真。我发现有一种方法可以做到这一点,即向 中添加元模式xorg.conf,但文档很少,所以我有点害怕在xorg.conf没有进一步输入的情况下开始乱搞。举个例子,假设我有一个以 的原始分辨率运行的游戏1024x768。我要添加什么才能使其居中并显示信箱模式?

这是我的xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

以下几个链接可能会有用:

类似的问题:http://www.nvnews.net/vbulletin/showthread.php?t=184968

文档:http://us.download.nvidia.com/XFree86/Linux-x86_64/302.17/README/configtwinview.html#metamodes

谢谢!

相关内容