*** This bug is a duplicate of bug 969489 *** https://bugs.launchpad.net/bugs/969489
This bug hit me after an upgrade from 14.04 to 16.04.1. Strangely I was not affected earlier. Maybe a reinstall might fix this issue? Two out of three reboots lead to failsafe X. Sleep command improved the situation but still 50%... Other solutions like restart in rc.local somehow did not work. Maybe systemd is ignoring it or it is executed way to early. Sleep in /etc/init/lightdm.conf improved the situation but did not fix it. $ lspci -nnvv 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller [8086:041e] (rev 06) (prog-if 00 [VGA controller]) DeviceName: Onboard IGD Subsystem: ASUSTeK Computer Inc. 4th Generation Core Processor Family Integrated Graphics Controller [1043:8534] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 44 Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at f000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0100c Data: 41e1 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: i915 Kernel modules: i915 CPU: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz Symptoms: /var/log/Xorg.0.log [ 67.571] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13]. [ 67.571] (II) intel(0): [drm] Contents of '/sys/kernel/debug/dri/0/clients': [ 67.571] (II) intel(0): [drm] a dev pid uid magic ioctls [ 67.571] (II) intel(0): [drm] [ 67.571] (II) intel(0): [drm] y 0 2571 0 0 2004 [ 67.571] (II) intel(0): [drm] y 0 179 0 0 20 [ 67.571] (II) intel(0): [drm] y 0 179 0 0 19 [ 67.571] (II) intel(0): [drm] y 0 179 0 0 19 [ 67.571] (II) intel(0): [drm] y 0 179 0 0 116 [ 67.571] (EE) intel(0): Failed to claim DRM device. ## xdiagnose process running after start root 3073 0.0 0.0 7008 1560 ? S 10:16 0:00 /bin/bash /usr/share/xdiagnose/failsafeXinit /etc/X11/xorg.conf.failsafe ## root 2986 0.0 0.0 7108 1544 ? Ss 10:16 0:00 /bin/bash /usr/share/xdiagnose/failsafeXServer root 3001 0.0 0.0 3748 656 ? S 10:16 0:00 xinit /usr/share/xdiagnose/failsafeXinit /etc/X11/xorg.conf.failsafe -- /usr/bin/X -br -once -config /etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log root 3002 0.0 0.6 187192 25856 tty2 S<sl+ 10:16 0:00 /usr/lib/xorg/Xorg :0 -br -once -config /etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log root 3073 0.0 0.0 7008 1560 ? S 10:16 0:00 /bin/bash /usr/share/xdiagnose/failsafeXinit /etc/X11/xorg.conf.failsafe gdm3 currently only comes up with a black screen and a mouse cursor and no error in the logs... sddm is working fine but the lockscreen locks the terminal permanently, only killing the process on tty1 unlocked it. Current workaround: $ cat /etc/systemd/system/lightdmrestart.service [Unit] Description=Restart lightdm After=graphical.target Wants=lightdm.service accounts-daemon.service [Service] Type=oneshot ExecStart=/usr/local/sbin/restartlightdm.sh [Install] WantedBy=default.target $ cat/usr/local/sbin/restartlightdm.sh #!/bin/bash sleep 2 CHECK=$(ps axu | grep "/bin/bash /usr/share/xdiagnose/failsafe[X]init /etc/X11/xorg.conf.failsafe") if [ ! -z "$CHECK" ]; then ps axu | grep "/bin/bash /usr/share/xdiagnose/failsafe[X]init /etc/X11/xorg.conf.failsafe" | awk '{print $2}' | xargs kill sleep 2 systemctl restart lightdm else exit 0 fi systemctl enable lightdmrestart systemctl reboot Currently working without an issue. Hope it helps if someone else is still affected and needs a quick fix. -- 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/1070150 Title: Intermittent black screen or low graphics mode message Status in Light Display Manager: New Status in linux package in Ubuntu: Fix Released Bug description: Update - 01.19.13 Some systems are intermittently booting to a black screen or message about low graphics mode but a graphical login display never loads. Multiple GPU's are affected. Intel HD graphics driver and ATI open source driver are confirmed to have the issue. Nvidia binary driver and Nouveau driver still unconfirmed. Multiple users are affected here: http://ubuntuforums.org/showthread.php?t=2073483 There are currently three known workarounds to this issue: 1) Log in with CTRL+ALT+F1 and issue command "sudo service lightdm restart" 2) Add some sleep to /etc/init/lightdm.conf 3) Install and use GDM instead of lightdm lsb_release -rd Description: Ubuntu 12.10 Release: 12.10 uname -a Linux matt-pc 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: linux-image-3.5.0-17-generic 3.5.0-17.28 ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5 Uname: Linux 3.5.0-17-generic x86_64 ApportVersion: 2.6.1-0ubuntu3 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: matt 2002 F.... pulseaudio Date: Mon Oct 22 20:55:29 2012 HibernationDevice: RESUME=UUID=d9a43e39-0d27-4a5b-90ca-79dc0278afa2 InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5) MachineType: System manufacturer System Product Name ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=85247ab4-6b7d-4d5a-a265-73b485861e24 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.5.0-17-generic N/A linux-backports-modules-3.5.0-17-generic N/A linux-firmware 1.95 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/16/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1606 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8Z77-V dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1606:bd08/16/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-V:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1070150/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp