Also vanilla 5.6.19 works but 5.6.0-1017-oem does not. I also checked that the nvidia_drm.modeset parameted was really disabled:
$ sudo cat /sys/module/nvidia_drm/parameters/modeset N -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879949 Title: NVIDIA GP104 [GeForce GTX 1070] [10de:1b81] Subsystem [19da:1445] Can not log in: Failed to acquire modesetting permission To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs