← Back to team overview

kernel-packages team mailing list archive

[Bug 1559576] Re: Ubuntu GNOME boots to black screen when using proprietary Nvidia drivers on a laptop with Optimus

 

Phew! Just done all 48 of these tests...

Tests:

1. GDM starts
2. Lightdm starts
3. Can launch Gnome
4. Can launch Gnome Classic
5. External monitor with Lightdm
6. External monitor with Gdm
7. External monitor with Gnome
8. External monitor with Gnome Classic

Results: . is fine, E is error (caused hang), F is fail but not hang. S
is skipped, e.g. couldn't get to that test.

Variables:

- graphics driver
- prime select, one of:
  - intel (530 Skylake GT2)
  - NVIDIA Corporation GM107M [GeForce GTX 960M]

Results
---------------------------------------------------
Config Driver                      Prime   12345678
---------------------------------------------------
c1     361.42-0ubuntu2             intel   ....EF*F
c2     361.42-0ubuntu2             nvidia  F....FFF
c3     361.42-0ubuntu0~gpu16.04.1  intel   ....FFEE
c4     361.42-0ubuntu0~gpu16.04.1  nvidia  F....FFF
c5     364.19-0ubuntu0~gpu16.04.1  intel   .....FEE
c6     364.19-0ubuntu0~gpu16.04.1  nvidia  F.FF?SSS
---------------------------------------------------


## Config 1 ##

- 7:* Probably an E. I had it as a pass because when one monitor is ON it
  works, but having done the other tests I realised that the hang comes when
  two are turned on at once, which was not something I tested here.

- 5:E With monitor plugged in, working under Gnome, logging out to LightDm
  caused hang. Also booting to lightdm with hdmi monitor caused hang.

- 6:F. gdm goes blinky on laptop, unusable with external screen plugged in. See
  note below, seems to be the same problem: can't do two screens at once.
  Unplugging restores a working laptop screen.

- 8:F on test 8 first plugin of monitor caused blank screens. Unplug, replug gave
  an image on the external, laptop turned off. Nb. I had the 'Displays' config
  ui up the 2nd time I plugged in, not sure if this makes any difference. This
  is working. But trying to turn them both on at once resulted in a flashing
  unusable display on the laptop

## Config 2 ##

- 1:F gdm gives completely black screen. Can swap to tty, system not
dead.

- 7:F both screens blank, laptop one twitches a bit. Removing cable brought
  back system.

- 8:F as 7:F, but when unplugged needed to swap to tty and back to get
  functioning mouse/interface.

- 6:F as for 1:F

## Config 3 ##

- 5:F lightdm goes all black/flickery when external monitor plugged in.
  Recoverable, though.

- 6:F gdm like lightdm when external monitor plugged in.

- 7:E, 8:E **gnome works on one screen**, but selecting both on causes a
  complete hang.

## Config 4 ##

- 1:F black screen. Pressing power button does cause normal shutdown

- 7:F both go black. Recovered after unplug.

- 8:F as 7:F

## Config 5 ##

- 6:F flashy screen, mostly blank. Removing cable (quickly) brought
stability.

- 7:E, 8:E ext. monitor works but hang if 2 displays at once.


## Config 6 ##

Was all the same.


## Conclusions ##

- GDM: intel only across the three drivers.

- Gnome/Gnome classic behave the same.

- Two monitors:

  - both on: you just can't have it with gnome. (lightdm works, and previously
    I had Unity working, too)

  - one on: works with intel, not nvidia.



** Attachment added: "syslog and Xorg.* logs"
   https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1559576/+attachment/4650172/+files/syslog.tgz

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1559576

Title:
  Ubuntu GNOME boots to black screen when using proprietary Nvidia
  drivers on a laptop with Optimus

Status in gdm:
  New
Status in Ubuntu GNOME:
  New
Status in gdm3 package in Ubuntu:
  Triaged
Status in linux package in Ubuntu:
  Invalid
Status in gdm3 source package in Xenial:
  Triaged
Status in linux source package in Xenial:
  Invalid

Bug description:
  Using latest Ubuntu Gnome x64 daily build with all updates installed. 
  Lenovo Z70-80 laptop with Nvidia 840M, BIOS updated to latest version, secure boot and other potentially problematic BIOS settings disabled.

  Can only see a black screen instead of a log-in screen after boot completes when proprietary Nvidia drivers are installed.
  Regular Ubuntu works absolutely fine on the same machine with the same driver version. Attempting to use older drivers on Ubuntu Gnome made no difference.

  Bug is affecting more than just me. We were talking about workarounds
  in ubuntuforums. User fthx claims that switching to lightdm fixes the
  issue
  http://ubuntuforums.org/showthread.php?t=2317628&p=13457703#post13457703

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-14-generic 4.4.0-14.30
  ProcVersionSignature: Ubuntu 4.4.0-14.30-generic 4.4.5
  Uname: Linux 4.4.0-14-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Sat Mar 19 23:19:21 2016
  HibernationDevice: RESUME=UUID=4f8fb76c-f99d-4c54-8a67-eed0653d8eb6
  InstallationDate: Installed on 2016-03-19 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160318)
  MachineType: LENOVO 80FG
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-14-generic.efi.signed root=UUID=572a19f6-7324-4269-ad36-7ffc9919f7a2 ro noprompt persistent quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-14-generic N/A
   linux-backports-modules-4.4.0-14-generic  N/A
   linux-firmware                            1.156
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/22/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: ABCN96WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: Lenovo Z70-80
  dmi.board.vendor: LENOVO
  dmi.board.version: NO DPK
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Z70-80
  dmi.modalias: dmi:bvnLENOVO:bvrABCN96WW:bd09/22/2015:svnLENOVO:pn80FG:pvrLenovoZ70-80:rvnLENOVO:rnLenovoZ70-80:rvrNODPK:cvnLENOVO:ct10:cvrLenovoZ70-80:
  dmi.product.name: 80FG
  dmi.product.version: Lenovo Z70-80
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1559576/+subscriptions


References