Использовал Intel GPU + Nvidia with 1 монитор on в desktop system

гm planning on running в desktop system with 2 GPщs on one монитор: am I correct that GPU switching is not available in this scenario? So гll have to boot either using the Intel GPU (but гll be able to использовал the Nvidia for CUDA stuff/rendering or VGA pass-through to VM) or using the Nvidia GPU (for Steam)?

Or is Optimus/Bumblebee also available on the desktop, driving the монитор using one кабель with the cards "automagically" aware of one another?

What пахал your set-ups/experiences?

0
задан 9 January 2016 в 01:26

1 ответ

Я просто хочу закрыть этот вопрос путем добавления, что произошло в конце.

Я установил драйвер Nvidia с помощью дополнительного параметра конфигурации драйверов, для проверки, любой вуду, который мог бы делать, сделан. Затем я установил шмеля и главный Nvidia. Я начал с nvidia-361 на 16,04, но использую nvidia-367 на 16,10 в данный момент.

Файлы конфигурации должны быть адаптированы вручную в/etc/bumblebee. Я использую следующее для драйвера Nvidia:

В bumblebee.conf:

[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-367
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-367:/usr/lib32/nvidia-367
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-367/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

xorg.conf.nvidia файл:

xorg.conf.nvidia 
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Необходимо удостовериться, что версия драйвера соответствует тому, что Вы имеете, и BusID важен также.

Это в основном позволяет мне переключаться, GPU с помощью приложения настроек Nvidia (требует выходить из системы, и въезжайте задним ходом), или запускающиеся приложения на определенном GPU с помощью "optirun-b primus", который я добавляю к Паровым играм в настройках запуска, и работал безупречно на меня с тех пор.

0
ответ дан 29 September 2019 в 14:33

Другие вопросы по тегам:

Похожие вопросы: