联想 T520 上的三头

cod*_*ape 7 display xorg intel-graphics nvidia-optimus

  • 联想 T520 集成 Intel HD 显卡 + NVidia 卡 (Optimus)
  • 计算机上的 Ubuntu 11.10。
  • 我想使用内置屏幕加两个外置屏幕。
  • 此 PDF表明最多可以将四个外部显示器连接到笔记本电脑。该信息仅适用于 Windows。
  • 我打算禁用 NVidia 卡,因为我读到 Linux 对 Optimus 的支持不好。

问题:

  • 有人在 NVidia 硬件上设置了三个显示器吗?
  • 有没有人使用 Intel HD 3000 设置三台显示器?
  • 我可以期待它开箱即用,还是需要注意一些技巧?

HNy*_*ard 7

在 BIOS 中启用 Optimus 和操作系统检测后,我有 2 个外部 DVI 连接的显示器(对接 - Nvidia 卡)和笔记本电脑 LCD(英特尔卡)可以工作。我也确实在坞站上安装了 VGA(英特尔卡),但无法将其用作笔记本电脑 LCD 的克隆。

这是我启用了 Xinerama 的 xorg 配置:

Section "ServerLayout"
    Identifier     "Layout0"

    Screen      0   "ScreenNvidia0" 0 0
    Screen      1   "ScreenNvidia1"  RightOf "ScreenNvidia0"
    Screen      2   "ScreenIntel"    RightOf "ScreenNvidia1"

    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "true"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "MonitorNvidia0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 63.0
    Option         "DPMS"
EndSection
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "MonitorNvidia1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 63.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "MonitorIntel"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 63.0
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "DeviceNvidia0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "1:0:0"
    Option         "RegistryDwords" "EnableBrightnessControl=1"
    Screen         0
EndSection
Section "Device"
    Identifier     "DeviceNvidia1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "1:0:0"
    Option         "RegistryDwords" "EnableBrightnessControl=1"
    Screen         1
EndSection

Section "Device"
    Identifier     "DeviceIntel"
    Driver         "intel"
    BusID          "0:2:0"

       Option          "monitor-VGA1"  "VGA1"
    Option          "monitor-TV"   "TV"
    Option          "monitor-LVCD1" "LVCD1"
Option "Clone" "off"
EndSection

Section "Monitor"
    Identifier      "VGA1"
EndSection

Section "Monitor"
    Identifier      "LVCD1"
    Option          "DPMS"
EndSection

Section "Monitor"
    Identifier      "TV"
    Option  "Ignore" "false"
EndSection

Section "Screen"
    Identifier  "ScreenNvidia0"
    Device      "DeviceNvidia0"
    Monitor     "MonitorNvidia0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier  "ScreenNvidia1"
    Device      "DeviceNvidia1"
    Monitor     "MonitorNvidia1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "ScreenIntel"
    Device         "DeviceIntel"
    Monitor        "MonitorIntel"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1900x1200"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1920x1200"
    EndSubSection

EndSection
Run Code Online (Sandbox Code Playgroud)

在“DeviceIntel”部分是我最后一次尝试在 Intel 卡上安装多个显示器。

这是我的“lspci”的摘录:

$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation Device 1057 (rev a1)
Run Code Online (Sandbox Code Playgroud)