我有一台台式机(运行Ubuntu13.10),有两个视频输出(都是nVidia):
是否有办法选择用于X服务器的哪一个服务器和用于CUDA的哪一个服务器,并使其永久化?
发布于 2014-02-24 01:55:35
我相信你可以遵循这个标题为:Linux 15 MATE上的多个视频卡和监视器的帖子中概述的方向。尽管细节是针对Linux的,但它们仍然适用,因为大部分的调整都是通过NVIDIA驱动程序完成的。
我假设您可以通过NVIDIA对话框或通过您的xorg.conf
文件这样做。
对话
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
然后,只需将显示分配给内部“设备”:
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
这只是为了给您提供一般的方法,请参阅这篇文章的更多细节。
https://unix.stackexchange.com/questions/116598
复制相似问题