Purple screen hangup during boot

Bug #1829402 reported by Jackneill on 2019-05-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

Ubuntu 19.04 fresh install, everything updated
Firmware is latest (Bios version 300)
Asus vivobook s14
LVM disk encryption

Steps to reproduce:
- Install ubuntu 19.04/18.10
- Reboot
- Purple screen indefinitely

Setting kernel cmdline args only to ro nomodeset seems solves it.

After some debugging session with #ubuntu with different cmdline args, it seems now the default one works too. I have not edited anything, but now i am unable to reproduce it.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-5.0.0-15-generic 5.0.0-15.16
ProcVersionSignature: Ubuntu 5.0.0-15.16-generic 5.0.6
Uname: Linux 5.0.0-15-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
 /dev/snd/controlC0: markbartos 1778 F.... pulseaudio
Date: Thu May 16 17:15:07 2019
InstallationDate: Installed on 2019-05-16 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 13d3:3526 IMC Networks
 Bus 001 Device 002: ID 13d3:56c1 IMC Networks
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop X430FA_S430FA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.0.0-15-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
 linux-restricted-modules-5.0.0-15-generic N/A
 linux-backports-modules-5.0.0-15-generic N/A
 linux-firmware 1.178.1
SourcePackage: linux
StagingDrivers: r8822be
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/22/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X430FA.300
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X430FA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX430FA.300:bd11/22/2018:svnASUSTeKCOMPUTERINC.:pnVivoBook_ASUSLaptopX430FA_S430FA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX430FA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: VivoBook
dmi.product.name: VivoBook_ASUSLaptop X430FA_S430FA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Jackneill (jackneill1000) wrote :
Jackneill (jackneill1000) wrote :

I should add that it was/seemed quite non-deterministic.
kernel args (only nomodeset) which seemed to work sometimes did not.

To edit kernel args, i went to bios to escape so as to get grub.

Jackneill (jackneill1000) wrote :

The laptop is brand new.

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Tom Reynolds (tomreyn) wrote :

Thanks for filing this bug report, Jack.
I'm one of the IRC support volunteers who tried to help here, but I'm mostly out of ideas.
As suggested on IRC, trying a mainline kernel may be a good idea (only if you can still reproduce the issue).

I should mention that a "USB-C Triple-4K Dock" (SerialNumber: DGWC0011000xxxxx) was connected to this system initially:
But from what I understood, the issue continued after this was disconnected.

Jackneill (jackneill1000) wrote :

Pressing ESC or F1 does nothing in the hanging purple screen. (I now got the error again.)

Editing the grub "ubuntu" menu entry to ro nomodeset did nothing, altough doing the same for a recovery entry did the job of getting to boot properly.

Jackneill (jackneill1000) wrote :

I should probably add that i installed guix (the distro) for a brief moment, and it rebooted correctly. Everything with guix was successful, altough as I remember it was not more than 1-2 reboots, and maybe a power off, and start.

TJ (tj) wrote :

Can we collect more information about the circumstances in which this happens, since these can often be crucial in narrowing down the possibilities and identifying a solution?

1. Does the problem occur if the system is completely powered off between reboots (as opposed to what is called a 'warm' reboot) ?

2. Can 'journalctl --list-boots' be used to identify logs of a *failed* boot and use 'journalctl -b X' to grab the log file of the failed boot?

3. has 'GRUB_TERMINAL=console' in /etc/default/grub been tried (edit file to include that string without a leading # [comment prefix] then "sudo update-grub" and reboot to test)

Jackneill (jackneill1000) wrote :

>1. Does the problem occur if the system is completely powered off between reboots (as opposed to what >is called a 'warm' reboot) ?


>2. Can 'journalctl --list-boots' be used to identify logs of a *failed* boot and use 'journalctl -b X' to grab the log file of the failed boot?


boot -1: (cold powered off state, been powered off for some hours)
This was a successful boot without doing anything.
https://termbin.com/sp9t (boot_m1.txt)

<There was a purple screen hangup boot but i guess that was not recorded>

boot 0: (powered off by long press power button, get to bios, esc to get grub, edit a recovery menu entry, delete 'recovery' add 'nomodeset', to be able to boot)
https://termbin.com/fdwb (boot0.txt)

Jackneill (jackneill1000) wrote :

Attachment: boot_m1.txt

Jackneill (jackneill1000) wrote :

>2. Can 'journalctl --list-boots' be used to identify logs of a *failed* boot and use 'journalctl -b X' to grab the log file of the failed boot?

No. As inferred from the above comment. (Sorry i have mistakenly wrote 'yes'.

Jackneill (jackneill1000) wrote :

>3. has 'GRUB_TERMINAL=console' in /etc/default/grub been tried (edit file to include that string without a leading # [comment prefix] then "sudo update-grub" and reboot to test)

When I have a successful boot 2 error lines appear for a brief moment then everything proceeds.

When I get the hanging screen (this time black) i can read those lines:

error: no video mode activated.
error: can't find command `hwmatch`.

TJ (tj) wrote :

15:38 <Jackneill> TJ-, for a brief moment i saw 2-3 lines of text, first line is "error: no video mode activated"
15:38 <Jackneill> was unable to see more.
15:38 <Jackneill> but this is a successful boot no purple screen this time
15:38 <TJ-> Jackneill: so, GRUB_TERMINAL=console was successfully booted to desktop?
15:39 <Jackneill> TJ-, yes, but its non-determinitsitc so its hard to tell
15:39 <Jackneill> if the error still exists or not
15:39 <Jackneill> requires many boots.
15:43 <Jackneill> TJ-, i got a bad boot this time.
15:43 <Jackneill> TJ-, hanging black screen with 2 lines: first is what i said above, second: 'error: can't find command `hwmatch`'
15:45 <TJ-> Jackneill: the fact you can see the text is a good thing, as it may point to the issue not being video at all, but possibly something else that is hanging the entire system
15:49 <TJ-> Jackneill: "hwmatch" is part of the GRUB boot-loader, and (is supposed) to be executed by GRUB at boot-time to check if the GPU is included in a blacklist: "/boot/grub/grub.cfg:122: if hwmatch ${prefix}/gfxblacklist.txt 3; then ..." - so it appears the hand-over from GRUB to Linux kernel is failing

So, in GRUB GFX mode, which sets the background colour to the Ubuntu themed 'purple' mentioned in this bug, the display is cleared when GRUB hands over to the Linux kernel. If the kernel is not starting for some reason that purple screen is all the user will see.

With GRUB_TERMINAL=console the display is not in a GFX mode, but text only, so we get to see some clue at least!

Tom Reynolds (tomreyn) wrote :

Possibly related to bug 699802. See comments 24 and 101 for potential workarounds.

If you'll test these, please test them thoroughly, doing multiple warm and cold boots with each changed setting, since successful boots are currently non-deterministic.

Tom Reynolds (tomreyn) wrote :

Also, before you do the testing, please attach your current
files to this bug report. Thanks.

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

Other bug subscribers