No graphical boot with 4.4.0-96 or -116 and NVIDIA GeForce 840M

Bug #1722269 reported by Yann Salmon
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

My computer (using XUbuntu 16.04) boots and works normally with kernel 4.4.0-92 but upgrading to 4.4.0-96 prevents lightdm from starting. In fact, the GPU detection service fails.

The problem also appears with proposed 4.4.0-97.

I tested with mainline kernel 4.13. It boots to lightdm but it is difficult to exactly tell what happens as some modules for my hardware were not found/compiled/installed (as a result, I cannot connect to wifi with this kernel).

GPU is GEForce 840M with proprietary nvidia 475 drivers (purged and reinstalled once).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-92-generic 4.4.0-92.115
ProcVersionSignature: Ubuntu 4.4.0-92.115-generic 4.4.76
Uname: Linux 4.4.0-92-generic x86_64
NonfreeKernelModules: wl nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: yann 1476 F.... pulseaudio
 /dev/snd/controlC0: yann 1476 F.... pulseaudio
CurrentDesktop: XFCE
Date: Mon Oct 9 15:40:16 2017
HibernationDevice: RESUME=UUID=d967f5cb-08d3-468b-b161-2e63743f0ccd
InstallationDate: Installed on 2016-07-18 (448 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude E7450
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=4ad8fadb-26cb-4b9c-9d08-ae6b7f41d91f ro
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-92-generic N/A
 linux-backports-modules-4.4.0-92-generic N/A
 linux-firmware 1.157.12
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/05/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0NC6G7
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd05/05/2017:svnDellInc.:pnLatitudeE7450:pvr:rvnDellInc.:rn0NC6G7:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E7450
dmi.sys.vendor: Dell Inc.
---
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: yann 1438 F.... pulseaudio
 /dev/snd/controlC1: yann 1438 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=d967f5cb-08d3-468b-b161-2e63743f0ccd
InstallationDate: Installed on 2016-07-18 (450 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude E7450
NonfreeKernelModules: wl
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic.efi.signed root=UUID=4ad8fadb-26cb-4b9c-9d08-ae6b7f41d91f ro
ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-97-generic N/A
 linux-backports-modules-4.4.0-97-generic N/A
 linux-firmware 1.157.12
Tags: xenial
Uname: Linux 4.4.0-97-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/05/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0NC6G7
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd05/05/2017:svnDellInc.:pnLatitudeE7450:pvr:rvnDellInc.:rn0NC6G7:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E7450
dmi.sys.vendor: Dell Inc.
---
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=d967f5cb-08d3-468b-b161-2e63743f0ccd
InstallationDate: Installed on 2016-07-18 (460 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude E7450
NonfreeKernelModules: nvidia_uvm wl nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-98-generic.efi.signed root=UUID=4ad8fadb-26cb-4b9c-9d08-ae6b7f41d91f ro
ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-98-generic N/A
 linux-backports-modules-4.4.0-98-generic N/A
 linux-firmware 1.157.13
Tags: xenial
Uname: Linux 4.4.0-98-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/05/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0NC6G7
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd05/05/2017:svnDellInc.:pnLatitudeE7450:pvr:rvnDellInc.:rn0NC6G7:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E7450
dmi.sys.vendor: Dell Inc.
---
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: yann 1654 F.... pulseaudio
 /dev/snd/controlC0: yann 1654 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=d967f5cb-08d3-468b-b161-2e63743f0ccd
InstallationDate: Installed on 2016-07-18 (460 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude E7450
NonfreeKernelModules: nvidia_drm nvidia_modeset nvidia wl
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=4ad8fadb-26cb-4b9c-9d08-ae6b7f41d91f ro
ProcVersionSignature: Ubuntu 4.4.0-92.115-generic 4.4.76
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-92-generic N/A
 linux-backports-modules-4.4.0-92-generic N/A
 linux-firmware 1.157.13
Tags: xenial
Uname: Linux 4.4.0-92-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/05/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0NC6G7
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd05/05/2017:svnDellInc.:pnLatitudeE7450:pvr:rvnDellInc.:rn0NC6G7:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E7450
dmi.sys.vendor: Dell Inc.

Revision history for this message
Yann Salmon (yannsalmon) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Yann Salmon (yannsalmon)
summary: - No graphical boot with 4.4.0-96 and NVIDIA 475
+ No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M

Do you know if this bug also happens with the nouveau driver?

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Yann Salmon (yannsalmon) wrote :

Following your suggestion, I switched to nouveau using the Ubuntu GUI.

To my dismay, I was then not able to boot graphically in -96 but also not in -92 and various earlier kernels. Same error message : the gpu-manager.service failed.

I installed the nouveau-firmware package and was then able to boot correctly in all of these kernel versions.

But still not using the nvidia driver in -96.

So apart from the nouveau-firmware not being installed by the Ubuntu drivers GUI glitch, no, this bug does not happen with nouveau.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you do `apport-collect 1722269` under 4.4.0-97?

Revision history for this message
Yann Salmon (yannsalmon) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Yann Salmon (yannsalmon) wrote : CRDA.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : IwConfig.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : JournalErrors.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lspci.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lsusb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcEnviron.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcModules.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : PulseList.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : RfKill.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : UdevDb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : WifiSyslog.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Re: No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M

Above is the result of apport-collect 1722269 under -97 with nouveau driver.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Why did you use nouveau instead of nvidia? The latter one is the one with problem, right?

Revision history for this message
Yann Salmon (yannsalmon) wrote :

When I use apport, it usually opens a tab in my web browser to ask me to authenticate and allow access. Since I do not get to a graphical interface with -97 and nvidia, I did not see how I could process.

How can I ?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I think text-based browser will do, e.g. w3m.

Revision history for this message
tbenst (tbenst) wrote :

I have the same problem on 4.4.0-97 and 4.4.0-96 with a Nvidia GTX 1070.

I've tried nvidia drivers 374, 384, 387, but none allow me to boot 4.4.0-97.

The only solution is to uninstall nvidia-* and then I can boot 4.4.0-97.

Revision history for this message
Yann Salmon (yannsalmon) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Yann Salmon (yannsalmon) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : CRDA.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : IwConfig.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : JournalErrors.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lspci.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lsusb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcModules.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : PulseList.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : RfKill.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : UdevDb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : WifiSyslog.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Re: No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M

ok, above is an apport information with nvidia driver and no graphical boot (due to updating kernel is now -98 but symptoms are the same)

Revision history for this message
Yann Salmon (yannsalmon) wrote :

I also tried with nvidia 387 (from graphics-drivers ppa) and updates from xorg-edgers to no avail (same symptoms).

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

bbswitch is not happy:
[ 4.379608] bbswitch: version 0.8
[ 4.379618] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 4.379627] bbswitch: Found discrete VGA device 0000:03:00.0: \_SB_.PCI0.RP05.D034
[ 4.379640] bbswitch: failed to evaluate \_SB_.PCI0.RP05.D034._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 4.379648] bbswitch: failed to evaluate \_SB_.PCI0.RP05.D034._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 4.379657] bbswitch: failed to evaluate \_SB_.PCI0.GFX0._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 4.379658] bbswitch: No suitable _DSM call found.

Can you try to boot under 4.4.0-92?
Probably a cpu-manager/bbswitch issue instead of a kernel one.

Revision history for this message
Yann Salmon (yannsalmon) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Yann Salmon (yannsalmon) wrote : CRDA.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : IwConfig.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : JournalErrors.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lspci.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Lsusb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcEnviron.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : ProcModules.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : PulseList.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : RfKill.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : UdevDb.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : WifiSyslog.txt

apport information

Revision history for this message
Yann Salmon (yannsalmon) wrote : Re: No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M

Here is apport information for -92 kernel with NVIDIA 387 ; this boots normally and the driver works.

BTW here is dkms status :
bbswitch, 0.8, 4.13.0-041300-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-63-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-77-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-79-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-87-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-89-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-91-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-92-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-96-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-97-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-98-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-63-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-77-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-79-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-87-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-89-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-91-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-92-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-96-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-97-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.4.0-98-generic, x86_64: installed
nvidia-387, 387.12, 4.13.0-041300-generic, x86_64: installed
nvidia-387, 387.12, 4.4.0-92-generic, x86_64: installed
nvidia-387, 387.12, 4.4.0-98-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-77-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-79-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-87-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-89-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-91-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-92-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-96-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-97-generic, x86_64: installed
virtualbox, 5.0.40, 4.4.0-98-generic, x86_64: installed

Revision history for this message
Yann Salmon (yannsalmon) wrote :

This is still happening with 4.4.0-116 !!

Here is the status of gpu-manager.service :

● gpu-manager.service - Detect the available GPUs and deal with any system changes
   Loaded: loaded (/lib/systemd/system/gpu-manager.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since mar. 2018-03-06 17:24:02 CET; 2min 43s ago
  Process: 1400 ExecStart=/usr/bin/gpu-manager --log /var/log/gpu-manager.log (code=exited, status=0/SUCCESS)
 Main PID: 1400 (code=exited, status=0/SUCCESS)

mars 06 17:24:02 ysalm gpu-manager[1400]: /etc/modprobe.d is not a file
mars 06 17:24:02 ysalm gpu-manager[1400]: /etc/modprobe.d is not a file
mars 06 17:24:02 ysalm gpu-manager[1400]: /etc/modprobe.d is not a file
mars 06 17:24:02 ysalm gpu-manager[1400]: /etc/modprobe.d is not a file
mars 06 17:24:02 ysalm gpu-manager[1400]: update-alternatives: erreur: pas d'alternatives pour x86_64-linux-gnu_gfxcore_conf
mars 06 17:24:02 ysalm gpu-manager[1400]: modprobe: ERROR: could not insert 'bbswitch': No such device
mars 06 17:24:02 ysalm gpu-manager[1400]: modprobe: ERROR: could not insert 'bbswitch': No such device
mars 06 17:24:02 ysalm systemd[1]: Started Detect the available GPUs and deal with any system changes.
mars 06 17:24:03 ysalm systemd[1]: gpu-manager.service: Start request repeated too quickly.
mars 06 17:24:03 ysalm systemd[1]: Failed to start Detect the available GPUs and deal with any system changes.

summary: - No graphical boot with 4.4.0-96 and NVIDIA GeForce 840M
+ No graphical boot with 4.4.0-96 or -116 and NVIDIA GeForce 840M
Revision history for this message
Yann Salmon (yannsalmon) wrote :

I gave it a new try today with kernel 4.4.0-121 and the new NVIDIA 390.48 and... it works !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.