Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
27
Help us understand the problem. What is going on with this article?
@bohemian916

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

More than 1 year has passed since last update.

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
27
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
bohemian916
研究機関で働く研究技術員になりました。 技術だけのものはQiitaに ネタを含むものはこっちに書いてます http://bohemia.hatenablog.com/

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
27
Help us understand the problem. What is going on with this article?