.png)
Я новичок в Linux и пытаюсь заставить работать как интегрированную видеокарту Intel, так и дискретную видеокарту Nvidia (1050 Ti) в моем Dell XPS 9570 с помощью программы Prime-Select, но у меня возникли проблемы.
Если я не трогаю xorg.conf, сгенерированный с помощью nvidia-xconfig
:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 430.50
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
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"
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
Моя графика Intel работает отлично, но с NVIDIA появляется черный экран.
Если я использую этот xorg.conf (я взял его на форуме nvidia):
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "None"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
BusID "PCI:1@0:0:0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConstrainCursor" "off"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
Видеокарта NVIDIA работает, но при загрузке Intel появляется черный экран.
Есть идеи, как это исправить? Я много раз очищал и переустанавливал nvidia (как обычно pipeline), но ошибка осталась.
Спасибо.
РЕДАКТИРОВАТЬ:
С помощью этого xorg.conf:
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
enter code here
Я могу загрузиться с обоими GPU без черных экранов, но Nvidia выглядит ужасно. Я имею в виду, nvidia-smi
не показывает никакой используемой памяти и запущенных задач. Есть идеи?