やりたいこと
ノート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'