質問: modalias : pci:v000010ded0000139bsv00001462sd00001150bbco3sc02i00 vendor : nvidia corporation model : gm107m [geforce gtx 960m] driver : nvidia-driver-390 - third-party free driver : nvidia-driver-396 - third-party free recommended driver : xserver-xorg-video-nouveau - distro free builtin フリーズ#2[ ok ] started daily apt download activities. [ ok ] listening on uuid daemon activation socket. [ ok ] started discard unused blocks once a week. starting socket activation for snappy daemon. [ ok ] started cups scheduler. [ ok ] listening on acpid listen socket. [ ok ] started message of the day. [ ok ] started daily apt upgrade and clean activities [ ok ] started acpi events check. [ ok ] reached target paths. [ ok ] started trigger anacron every hour. [ ok ] listening on cups scheduler. [ ok ] reached target timers. [ ok ] listening on d-bus system message bus socket. [ ok ] listening on socket activation for snappy daemon. [ ok ] reached target sockets. [ ok ] reached target basic system. starting system logging service... starting lsb: record successful boot for grub... starting thermal daemon service... starting lsb: speech dispatcher... [ ok ] started d-bus system message bus. [ ok ] reached target login prompts. starting accounts service... starting login service... starting avahi mdns/dns-sd stack... [ ok ] started run anacron jobs. [ ok ] started cups scheduler. starting rng-tools.service... starting wpa supplicant... starting lsb: automatic crash report generation... starting network manager... starting restore /etc/resolv.conf if the system crashed before the ppp link was shut down... [ ok ] started irqbalance daemon. starting dispatcher daemon for systemd-networkd... starting detect the available gpus and deal with any system changes... [ ok ] started set the cpu frequency scaling governor. starting bluetooth service... [ ok ] started regular background program processing daemon. starting disk manager... [ ok ] started acpi event daemon. starting save/restore sound card state... starting modem manager... starting snappy daemon... [ ok ] started system logging service. [ ok ] started restore /etc/resolv.conf if the system crashed before the ppp link was shut down. [ ok ] started save/restore sound card state. [ ok ] started thermal daemon service. [ ok ] started login service. [ ok ] started lsb: speech dispatcher. [ ok ] started lsb: automatic crash report generation. [ ok ] started rng-tools.service. starting authorization manager... [ ok ] started detect the available gpus and deal with any system changes. [ ok ] started bluetooth service. [ ok ] reached target bluetooth. [ ok ] started avahi mdns/dns-sd stack. [ ok ] started make remote cups printers available locally. starting hostname service... [ ok ] started lsb: record successful boot for grub. [ ok ] started authorization manager. [ ok ] started raise network interfaces. [ ok ] started accounts service. [ ok ] started modem manager. [ ok ] started hostname service. [ ok ] started disk manager. nvidia-smi/uname -r>nvidia-smi sat aug 11 23:01:59 2018 +-----------------------------------------------------------------------------+ | nvidia-smi 396.51 driver version: 396.51 | |-----------------------------------------------------------------------------+ | gpu name persistence-m| bus-id disp.a | volatile uncorr. ecc | | fan temp perf pwr:usage/cap| memory-usage | gpu-util compute m. | |===============================+======================+======================| | 0 geforce gtx 960m off | 00000000:01:00.0 off | n/a | | n/a 49c p8 n/a / n/a | 13mib / 2004mib | 0% default | +-----------------------------------------------------------------------------+ +-----------------------------------------------------------------------------+ | processes: gpu memory | | gpu pid type process name usage | |=============================================================================| | 0 1164 g /usr/lib/xorg/xorg 7mib | | 0 2023 g /usr/bin/gnome-shell 5mib | +-----------------------------------------------------------------------------+ >uname -r 4.15.0-30-generic lspci>lspci -knn | grep vga -a3 00:02.0 vga compatible controller [0300]: intel corporation hd graphics 530 [8086:191b] (rev 06) subsystem: micro-star international co., ltd. [msi] hd graphics 530 [1462:115b] kernel modules: i915 00:14.0 usb controller [0c03]: intel corporation sunrise point-h usb 3.0 xhci controller [8086:a12f] (rev 31) 前もって感謝します、リディア
回答: 最初にnvidiaドライバーを削除します。sudo apt purge nvidia-* 次に、ubuntuが推奨の396ドライバーをインストールできるようにします。sudo ubuntu-drivers autoinstall ラップトップを再起動します。sudo reboot ubuntu 18.04が使用されているため、デフォルトでグラフィカル環境を有効にします。sudo systemctl set-default graphical.target guiを使用せずに現在のセッションからgnomeデスクトップを起動する場合(マルチユーザー環境)、次のコマンドを実行します。sudo systemctl start gdm3.service 更新ハイブリッドグラフィックスが使用されているため、nvidia-primeをインストールして、intelとnvidiaグラフィックスを切り替えます(すでにインストールされている場合があります)。sudo apt install nvidia-prime 使用されているグラフィックカードを確認します。prime-select query コマンドの出力としてintelまたはnvidiaを確認できます。 intelが表示された場合は、nvidiaに切り替えます。sudo prime-select nvidia 再起動して、グラフィックが正常に機能するかどうかを確認します。 prime-select queryがnvidiaを返す場合は、intelに切り替えてみてください。sudo prime-select intel 再起動して、すべてが正常かどうかを確認します。何も役に立たない場合は、コマンドの質問出力のテキストに投稿してください。sudo lshw -c display