Help us understand the problem. What is going on with this article?

Ubuntu17.10でGenymotionが落ちる

More than 1 year has passed since last update.

GenymotionとVirtualBoxをインストールしたところまでは問題はなく、エミュレータを起動すると端末が落ちる、もしくはOSごとフリーズする現象が起きた

調べてみると古い記事でNVIDIAのドライバーが原因とある
http://www.devlog.alt-area.org/?p=3072

試してみたら解決したので備忘として残す

1. 対応しているGPUのドライバーバージョンを調べる

以下に条件を入力して検索すると最新のドライバーのバージョンを知ることができる

http://www.nvidia.co.jp/Download/index.aspx?lang=jp

2. ドライバーのインストール

私の場合、上記で調べた最新のドライバーは391であったが、以下の手順で存在しなかったため、384をインストールしたところ問題なく動作した

$ sudo add-apt-repository ppa:xorg-edgers/ppa
$ sudo apt-get update
$ apt-cache search 'nvidia-[0-9]+$'
nvidia-304 - NVIDIA legacy binary driver - version 304.137
nvidia-331 - Transitional package for nvidia-331
nvidia-340 - NVIDIA binary driver - version 340.104
nvidia-346 - Transitional package for nvidia-346
nvidia-352 - Transitional package for nvidia-361
nvidia-361 - Transitional package for nvidia-367
nvidia-367 - Transitional package for nvidia-375
nvidia-375 - Transitional package for nvidia-384
nvidia-384 - NVIDIA binary driver - version 384.111
$ sudo apt-get install nvidia-384

3. 再起動

インストールしただけでは動作しない

$ sudo reboot

...

$ nvidia-smi
Thu Mar 15 20:00:07 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111                Driver Version: 384.111                   |
|-------------------------------+----------------------+----------------------+
| 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 980     Off  | 00000000:01:00.0  On |                  N/A |
| 33%   38C    P8    12W / 210W |    351MiB /  4036MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       951      G   /usr/lib/xorg/Xorg                            16MiB |
|    0      1005      G   /usr/bin/gnome-shell                          50MiB |
|    0      1293      G   /usr/lib/xorg/Xorg                           101MiB |
|    0      1420      G   /usr/bin/gnome-shell                          75MiB |
|    0      1821      G   ...-token=102C8F3B873A53AFFDF97039DB8EEA6E   104MiB |
+-----------------------------------------------------------------------------+
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
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  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