0
1

More than 3 years have passed since last update.

Nvidia GPUをコンピューティング用途だけで使う

Last updated at Posted at 2021-04-06

やりたいこと

ノートPCでGPUのグラフィックスを画面表示に使っていると、GPUの計算とバッティングするのか不具合がよく起こる
例) モニターつなげても表示されない等
画面表示はIntel内蔵で十分だけど、nvidia-settingsでintelにしちゃうと計算にも使えなくなるので、いい感じにする

この手順を使う

ちらつきがあったら

sudo apt purge xserver-xorg-video-intel

/etc/X11/xorg.conf の設定例

モニタ名確認

xrandr

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0:2:0"
    Option "AccelMethod" "SNA"
    Option "monitor-HDMI" "HDMI-1"
    Option "TearFree" "true"
EndSection

Section "Monitor"
    Identifier "HDMI-1"
    Device "intel"
EndSection

Bus IDは以下で確認

lspci | egrep 'VGA|3D'
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1