Eremius
Posts: 9
Joined: Mon Aug 29, 2011 1:07 pm

RPi3 b+ randomly won't boot GUI

Tue Nov 13, 2018 3:18 pm

I have had this issue constantly since I started working with this Pi.
Characteristics:
- I can image the SD card and the player comes back
- I can access the console via ALT+F<1-9>
- This does not seem to be tied to an improper shutdown. It occurs whether the system was shut down properly (reboot, halt -p) or turned off

I am happy to provide any additional information. This has been a quite frustrating experience. I have researched this as much as I have been able but it seems like all of the answers for the matching hits tend to be "you shut it down wrong, next!" which is not the case here.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: RPi3 b+ randomly won't boot GUI

Tue Nov 13, 2018 3:25 pm

Going to need a bit more to go on, not a lot of detail in your report.

So, when you reboot, sometimes the desktop does not appear? What appears instead? Are there any error messages? Does the desktop start but not work correctly?

Might be worth filling in this report template we use on github.

**Describe the bug**
Add a clear and concise description of what you think the bug is.

**To reproduce**
List the steps required to reproduce the issue.

**Expected behaviour**
Add a clear and concise description of what you expected to happen.

**Actual behaviour**
Add a clear and concise description of what actually happened.

**System**
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:

* Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW
* Which OS and version (`cat /etc/rpi-issue`)?
* Which firmware version (`vcgencmd version`)?
* Which kernel version (`uname -a`)?

**Logs**
If applicable, add the relevant output from `dmesg` or similar.

**Additional context**
Add any other relevant context for the problem.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Eremius
Posts: 9
Joined: Mon Aug 29, 2011 1:07 pm

Re: RPi3 b+ randomly won't boot GUI

Tue Nov 13, 2018 5:40 pm

**Describe the bug**
Randomly on reboot the screen will end up with a black screen and a blinking cursor

**To reproduce**
I have been unable to reliably reproduce this error.
While it happens frequently, I cannot narrow it down to a specific action or actions that cause the issue.

**Expected behaviour**
The OS boots to a GUI desktop.

**Actual behaviour**
The OS will boot and will be available via command line, SSH but the desktop will not start.

**System**
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:

* Which model of Raspberry Pi? Pi3B+
* Which OS and version (`cat /etc/rpi-issue`)?
Raspberry Pi reference 2018-10-09
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7b40fd11bc13d6496bb6bd1bc02f946b7e0ac7cb, stage4

* Which firmware version (`vcgencmd version`)?
Sep 21 2018 15:43:17
Copyright (c) 2012 Broadcom
version 07f57128b8491ffdefcdfd13f7b4961b3006d9a9 (clean) (release)

* Which kernel version (`uname -a`)?
Linux RSITEST01 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux

**Logs**



**Additional context**
I will add errors from /home/user/.xsession-errors the next time it happens.

Eremius
Posts: 9
Joined: Mon Aug 29, 2011 1:07 pm

Re: RPi3 b+ randomly won't boot GUI

Tue Nov 13, 2018 9:18 pm

Additional info to save time:
I have resized the SD card.

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        11G  2.8G  7.6G  27% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M  6.3M  458M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   44M   22M   22M  51% /boot
tmpfs            93M     0   93M   0% /run/user/1000
tmpfs            93M     0   93M   0% /run/user/1001
/var/log/Xorg.0.log

Code: Select all

X.Org X Server 1.19.2
Release Date: 2017-03-02
[     9.832] X Protocol Version 11, Revision 0
[     9.832] Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
[     9.832] Current Operating System: Linux RSITEST01 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l
[     9.832] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=c8226b06-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[     9.833] Build Date: 18 October 2017  04:55:30PM
[     9.833] xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
[     9.833] Current version of pixman: 0.34.0
[     9.833]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     9.833] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.833] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 13 15:42:51 2018
[     9.833] (==) Using config file: "/etc/X11/xorg.conf"
[     9.833] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.834] (==) No Layout section.  Using the first Screen section.
[     9.834] (**) |-->Screen "Default Screen" (0)
[     9.834] (**) |   |-->Monitor "Configured Monitor"
[     9.834] (**) |   |-->Device "Configured Video Device"
[     9.834] (**) |   |-->GPUDevice "Configured Video Device"
[     9.834] (==) Automatically adding devices
[     9.834] (==) Automatically enabling devices
[     9.834] (==) Automatically adding GPU devices
[     9.834] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.835] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     9.835]    Entry deleted from font path.
[     9.835] (==) FontPath set to:
        built-ins
[     9.835] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.835] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.835] (II) Loader magic: 0x1fbf40
[     9.835] (II) Module ABI versions:
[     9.835]    X.Org ANSI C Emulation: 0.4
[     9.835]    X.Org Video Driver: 23.0
[     9.835]    X.Org XInput driver : 24.1
[     9.835]    X.Org Server Extension : 10.0
[     9.836] (++) using VT number 7

[     9.837] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     9.837] (II) no primary bus or device found
[     9.837] (II) LoadModule: "glx"
[     9.837] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.841] (II) Module glx: vendor="X.Org Foundation"
[     9.841]    compiled for 1.19.2, module version = 1.0.0
[     9.842]    ABI class: X.Org Server Extension, version 10.0
[     9.842] (==) Matched modesetting as autoconfigured driver 0
[     9.842] (==) Matched fbdev as autoconfigured driver 1
[     9.842] (==) Assigned the driver to the xf86ConfigLayout
[     9.842] (II) LoadModule: "modesetting"
[     9.842] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     9.842] (II) Module modesetting: vendor="X.Org Foundation"
[     9.842]    compiled for 1.19.2, module version = 1.19.2
[     9.842]    Module class: X.Org Video Driver
[     9.842]    ABI class: X.Org Video Driver, version 23.0
[     9.842] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     9.843] (WW) Falling back to old probe method for modesetting
[     9.843] (EE) open /dev/dri/card0: No such file or directory
[     9.843] (EE) No devices detected.
[     9.843] (EE)
Fatal server error:
[     9.843] (EE) no screens found(EE)
[     9.843] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[     9.843] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     9.843] (EE)
[     9.860] (EE) Server terminated with error (1). Closing log file.

Return to “Troubleshooting”