0

I have upgraded my system from 15.10 to 16.04 and the container from 14.04 to 16.04.

I have used the default cuda/nvidia driver in both. cuda 7.5 and nvidia 361.42

When I start the container I get the lightdm DM. I cannot move the mouse or use the keyboard. 16.04 is missing the kbd and mouse modules. Any ideas how to fix that.

Thanks

user63726
  • 764

2 Answers2

1

The proprietary NVIDIA driver that comes with 16.04 seems to be problematic. I had problems with it, and I've seen at least one other question complaining of problems. This is what I did to solve my issue; it should work for you.

  1. Enter a TTY by pressing Ctrl+Alt+F1.
  2. Log in with your username and password.
  3. Run sudo apt-get purge nvidia-* and confirm any prompts.
  4. Run sudo apt-add repository ppa:graphics-drivers/ppa and then sudo apt-get update.
  5. Run sudo apt-get install nvidia-364.

This will install the latest driver from that repository/PPA. It is a newer version than the one that comes with Ubuntu (361.42 vs. 364.15) and seems to be a bit more stable. It's also open source, so that's a plus ;-).

If you have any problems, or are confused by these instructions, leave a comment.

TheWanderer
  • 19,525
  • 12
  • 52
  • 65
0

This could happen because xorg inputs in your container where configured using xserver-xorg-input-kbd, which is dropped in 16.04. In this case you could solve this by reconfiguring the inputs using evdev. You can find, more information in this answer.