26
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu, NVIDIAディスプレイドライバで困ったときに使うコマンド

Last updated at Posted at 2016-04-16

GPU搭載のノートPCにCUDAを入れようとして、ディスプレイドライバの問題でハマりまくって、何度もUbuntu再インストールしなおしてるので、メモとしてまとめた。

デバイス等の確認

$ lspci |grep -i nvidia

ドライバ等確認

$ dpkg -l |grep nvidia

X serverのログを見るとき

$ tail /var/log/Xorg.0.log

X server の停止、開始

# 停止
$ sudo stop lightdm
# 開始
$ sudo start lightdm

簡単な見方
http://www.garunimo.com/program/linux/corumn-linux3.xhtml

起動時、GUI→CUIへ切り替え

CTRL + ALT + F1

CUI→GUIへ切り替え

ALT + F7

全体のログを見る

$ tail /var/log/syslog
26
27
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
26
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?