如何选择使用哪种显卡?

The*_*tor 6 linux graphics

我有一台带有两个视频输出(均为 nVidia)的台式机(运行 Ubuntu 13.10):

  1. 一个集成显卡,我想用于我的桌面显示器,以及
  2. 一个 PCI 显卡,我想用于基于 CUDA 的任务。

有没有办法选择哪个用于 X 服务器,哪个用于 CUDA,并使其永久化?

slm*_*slm 3

我相信您可以按照标题为: Linux Mint 15 MATE 上的多个 Nvidia 显卡和显示器的文章中概述的说明进行操作。尽管细节是针对 Linux Mint 的,但它们应该仍然适用,因为大部分调整是通过 NVIDIA 驱动程序完成的。

我假设您可以通过 NVIDIA 对话框或通过您的xorg.conf文件来执行此操作。

对话框

   SS #1

xorg.conf 文件

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 610"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
    BusID          "PCI:5:4:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 610"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection
Run Code Online (Sandbox Code Playgroud)

然后只需将显示器分配给内部“设备”:

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Run Code Online (Sandbox Code Playgroud)

这只是为您提供一般方法,请参阅文章了解更多详细信息。

  • 嘿嘿,这就是我的文章!我出名了,哇!:D 当你查看当天的引荐来源日志时,你会发现令人惊奇的发现,是吗? (3认同)
  • 链接已失效。回程机万岁!https://web.archive.org/web/20140922055121/http://www.mysolutions.it/multiple-nvidia-video-cards-monitors-linux-mint-15-mate (2认同)