Random blank screens on boot after grub

Post this ^^^

it returns me nothing.

from your lightdm.log
Check mkinitcpio, please, to confirm.

I checked there is no plymouth in the conf file.

Here it is if you want :

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems fsck"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

Unless we find some “usable” error, it is difficult to troubleshoot this random success (since it’s 1 to 5 times :wink: ).
Let’s start from scratch:

inxi -Fxxxz
ls /var/log/Xorg*
journalctl -p 3

After ls we may need some of them…

inxi

System:    Host: isos-pc Kernel: 4.14.52-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.1.1 Desktop: i3 4.15.0.1 
           dm: lightdm 1.26.0 Distro: Manjaro Linux 17.1.11 Hakoila 
Machine:   Type: Laptop System: HP product: HP EliteBook 840 G3 v: N/A serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: HP model: 8079 v: KBC Version 85.6F serial: <filter> UEFI: HP v: N75 Ver. 01.10 
           date: 07/31/2016 
Battery:   ID-1: BAT0 charge: 17.6 Wh condition: 37.5/37.5 Wh (100%) volts: 11.2/11.4 
           model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake rev: 3 
           L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20744 
           Speed: 500 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500 
Graphics:  Card-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:1916 
           Display: x11 server: X.Org 1.19.6 driver: intel unloaded: fbdev,modesetting,vesa compositor: compton 
           tty: N/A 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v: 4.5 Mesa 18.1.3 compat-v: 3.0 
           direct render: Yes 
Audio:     Card-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:9d70 
           Sound Server: ALSA v: k4.14.52-1-MANJARO 
Network:   Card-1: Intel Ethernet Connection I219-V driver: e1000e v: 3.2.6-k port: N/A bus ID: 00:1f.6 
           chip ID: 8086:1570 
           IF: enp0s31f6 state: down mac: <filter> 
           Card-2: Intel Wireless 8260 driver: iwlwifi v: kernel bus ID: 02:00.0 chip ID: 8086:24f3 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    HDD Total Size: 476.94 GiB used: 34.73 GiB (7.3%) 
           ID-1: /dev/sda vendor: Samsung model: MZNLN512HCJH-000H1 size: 476.94 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 2H0Q scheme: GPT 
Partition: ID-1: / size: 146.96 GiB used: 21.86 GiB (14.9%) fs: ext4 dev: /dev/sda7 
           ID-2: /home size: 136.50 GiB used: 12.84 GiB (9.4%) fs: ext4 dev: /dev/sda8 
           ID-3: swap-1 size: 2.01 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 35.0 C mobo: 0.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 170 Uptime: 4h 24m Memory: 7.68 GiB used: 2.18 GiB (28.4%) Init: systemd v: 239 
           Compilers: gcc: 8.1.1 Shell: zsh v: 5.5.1 running in: urxvtd inxi: 3.0.12 

ls /var/log/Xorg*

/var/log/Xorg.0.log /var/log/Xorg.0.log.old

Is it possible to upload the log file directly ? it’s really long :sweat_smile:

I should have added -a to check dates. :disappointed_relieved:
Only one file and .old? You have to find the standard, unless it 's what you posted (not so long).
I respect your need for privacy by all means, but, during troubleshooting, when you omit/edit some output, at least inform the forum. It may get misleading…

You can upload lengthy text on some pastbin, or use wgetpaste

1 Like

Please run a full update on your system before anything else and reboot.

Sorry i didn’t understand what you mean about the misleading, i didn’t edit the outputs i posted, i have just copy-past.
The first outpout of xorg i posted was the old, which is the one when Xorg was supposed to fail.

Ok i update and i will let you know.

Xorg.0.log

The command should have returned also Xorg.0.log, so 2 files. I thought something was really weird on your system, until I remembered your Xorg previous upload.
It is dislocating my mind (it’s a personal difficulty, not your fault).:joy:

haha, Ok :slight_smile:

So i updated my system, and i got 4/8 failed boot.

$ inxi -Fxxxz

System:    Host: isos-pc Kernel: 4.14.67-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.0 Desktop: i3 4.15.0.1 
           info: polybar dm: lightdm 1.26.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: HP product: HP EliteBook 840 G3 v: N/A serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: HP model: 8079 v: KBC Version 85.6F serial: <filter> UEFI: HP v: N75 Ver. 01.10 
           date: 07/31/2016 
Battery:   ID-1: BAT0 charge: 34.5 Wh condition: 37.5/37.5 Wh (100%) volts: 13.0/11.4 
           model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Charging 
CPU:       Topology: Dual Core model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake rev: 3 
           L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20744 
           Speed: 500 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:1916 
           Display: x11 server: X.Org 1.20.1 driver: intel unloaded: modesetting alternate: fbdev,vesa 
           compositor: compton tty: N/A 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v: 4.5 Mesa 18.1.7 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:9d70 
           Sound Server: ALSA v: k4.14.67-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V driver: e1000e v: 3.2.6-k port: N/A bus ID: 00:1f.6 
           chip ID: 8086:1570 
           IF: enp0s31f6 state: down mac: <filter> 
           Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel bus ID: 02:00 chip ID: 8086:24f3 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 35.55 GiB (7.5%) 
           ID-1: /dev/sda vendor: Samsung model: MZNLN512HCJH-000H1 size: 476.94 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 2H0Q scheme: GPT 
Partition: ID-1: / size: 146.96 GiB used: 22.69 GiB (15.4%) fs: ext4 dev: /dev/sda7 
           ID-2: /home size: 136.50 GiB used: 12.84 GiB (9.4%) fs: ext4 dev: /dev/sda8 
           ID-3: swap-1 size: 2.01 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 46.0 C mobo: 0.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 174 Uptime: 16m Memory: 7.68 GiB used: 2.00 GiB (26.1%) Init: systemd v: 239 Compilers: 
           gcc: 8.2.0 Shell: zsh v: 5.5.1 running in: urxvtd inxi: 3.0.21 

journalctl -p 3

And i don’t know why, the .old xorg log and lightdm log is empty :face_with_raised_eyebrow:

The journal doesn’t have something obvious wrong. Only some differences about bluetooth. Do you have a USB BT? Do you plug/unplug during reboots?

Empty or absent?
I don;t know of i3, may it save Xorg logs somewhere else (~/.local/share/xorg/ ?).

Do you have autologin enabled?

I suggest you boot to the fallback options, also on other kernels (4.18, 4.17)

No i don’t have USB BT, i just use my wireless headphone.

No

Empty, the file is still there, but noting inside. and there is no log of Xorg in ~/.local/share.

No i don’t.

I already tried for the fallback option (before the update) and i have the same behavior. I will try with the other kernels.

Check lightdm

pacman -Qs lightdm
cat /etc/lightdm/lightdm*.conf | grep -v ^#

$ pacman -Qs lightdm

local/lightdm 1:1.26.0-2
    A lightweight display manager
local/lightdm-slick-greeter 1.2.2-1
    A slick-looking LightDM greeter

$ cat /etc/lightdm/lightdm*.conf | grep -v ^#

[LightDM]
run-directory=/run/lightdm

[Seat:*]
greeter-session=lightdm-slick-greeter
user-session=i3
session-wrapper=/etc/lightdm/Xsession

[XDMCPServer]

[VNCServer]

So, i tried the kernels 4.17, 4.18 and 4.19.
And 4.18 is the winner :sweat_smile:. (well… for 10 successive boots)
4.17 was the same as before, except sometimes i have the login screen but not with a good resolution, like it didn’t use the driver.
4.19 never failed on boot, but doesn’t get also a good resolution sometimes.
So… why the bug is present on the other kernels ? i don’t know, i didn’t found someone with the same problem i had on forums…
For now my problem is resolved.
Ty for your help :wink: @AgentS

1 Like

That’s great. Now my check, please!.. :joy:

I guess I deserve to get a bonus!.. I marked my post as a solution!

PS: The way this forum works is, you mark the post that gave the final solution 1st (when possible). So it 's not a steal :sunglasses:

I marked the solution for you @AgentS as users often forget to give proper credit to who assisted in finding the solution. :+1:

1 Like

Ok, sorry about that :sweat_smile:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by