prime-select による GPU の切り替えの問題 (nvidia と intel)

prime-select による GPU の切り替えの問題 (nvidia と intel)

私は Linux の初心者で、プライムセレクト プログラムを使用して、Dell XPS 9570 の統合型 Intel GPU と専用 Nvidia (1050 Ti) GPU の両方を動作させようとしていますが、問題が発生しています。

生成された 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

私のインテル グラフィックは問題なく動作しますが、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 GPU は動作しますが、Intel GPU は起動時に黒い画面が表示されます。

これを修正するアイデアはありますか? NVIDIA を (通常のパイプラインとして) 何度も削除して再インストールしましたが、エラーは続きます。

ありがとう。

編集:

この xorg.conf では:

Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection
enter code here

両方の GPU で黒い画面なしで起動できますが、NVIDIA の GPU は死んでいます。つまり、nvidia-smi使用済みメモリも実行中のタスクもまったく表示されません。何かアイデアはありますか?

関連情報