GPD Win 2 randomly boots to black screen on Kernels newer than 5.4

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=550c15ed-2b7b-44ed-bfd0-b50697230d51 udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

interesting, it looks ok, there is no rw there…
open this file:
sudo nano /etc/mkinitcpio.conf
and edit the modules section to look like this:
MODULES=(i915)
then press ctrl+x to save it
and run this:
sudo mkinitcpio -P
now run this:
sudo systemctl edit gdm
edit the service to:

[Service]
ExecStartPre=/bin/sleep 1

save the file, reboot and test

Didn’t work unfortunately

so go to etc/default/grub and add to this line GRUB_CMDLINE_LINUX_DEFAULT
this parameter:
random.trust_cpu=on
it should look like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=550c15ed-2b7b-44ed-bfd0-b50697230d51 udev.log_priority=3 random.trust_cpu=on"

save the file, run this:
sudo update-grub
reboot and test

Didn’t work either

so remove the parameter and also remove this parameter: quiet
run again:
sudo update-grub
without quiet it will show logs, so check where it is stuck

The forum won’t let me attach photos or links, so on boot it freezes at:

[Ok] Started Accounts Service
[5.073963] pci 0000:01:00.0: can’t change power state from D3cold to D0 (config space inaccessible)
[ 5.075998] pcieport 0000:00:1d.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 5.076111] pcieport 0000:00:1d.0: device [8086:9d18] error status/mask=00100000/00010000
[ 5.0762271] pcieport 0000:00:1d.0: [20] UnsupReq (First)
[ 5.076293] pcieport 0000:00:1d.0: AER: TLP Header: 34000000 01001f10 00000000 00000000

And I just tried another time and while the log was running on boot the screen went black before it could finish unlike the one above.

it looks like you have this:
pcieport 0000:00:1d.0: PCIe Bus Error: severity=Uncorrected
this is very likely what causes the black screen… its very likely that this issue is not present with the 5.4 kernel
what is the output from this:
journalctl --disk-usage
lscpi

This may not be directly related, but I got rid of ACPI bios errors by installing ACPI Linux so that the system uses that instead of the bios.

    ~  journalctl --disk-usage                                          ✔ 
Archived and active journals take up 2.6G in the file system.
    ~  lspci                                                            ✔ 
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 615 (rev 02)
00:05.0 Multimedia controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit (rev 01)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:14.3 Multimedia controller: Intel Corporation CSI-2 Host Controller (rev 01)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1e.6 SD Host controller: Intel Corporation Sunrise Point-LP Secure Digital IO Controller (rev 21)
00:1f.0 ISA bridge: Intel Corporation Device 9d4b (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

Hello derobets1,
Forgive me for my ignorance but is acpi linux a package? I already have a package labeled acpi installed on my system, unless there is a setting I need to choose in Manjaro or the bios.

its the wifi that causes the issue, i have the same issue, and you cant boot gnome with these pci/aer issues, you can boot kde/xfce… so lets try to fix it…
edit again you grub and add there this parameter:
pci=nomsi
run:
sudo update-grub
reboot and test

Added what is suggested in this format:

GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=550c15ed-2b7b-44ed-bfd0-b50697230d51 udev.log_priority=3 pci=nomsi"

Unfortunately, it didn’t work, still getting stalled boots at the “can’t change power state from D3cold to D0 (config space inaccessible)” or the screen goes black before the log itself can even stop/freeze.

there are several parameters as a possible fix, and i dont know which one will be working with your system…
so replace the pci=nomsi with this one:
pci=nommconf
update grub:
sudo update-grub
reboot and test

Tested several times and this is the solution! Thank you so much!!!

so test some more time, just to be sure …
also you have to add this parameter into the live usb grub so that you are able to even boot it … here is a link on how to do it
you also need to add it again in the installation
and clear your logs, you have almost 3Gb of them because of this issue:
sudo journalctl --rotate
sudo journalctl -m --vacuum-time=1s
and add the quiet parameter back into the grub
run:
sudo update-grub

Ok good. I believe what you need to do now is to make sure there is a boot up switch in grub that reads acpi=linux. It has been a while so my memory may not exactly right.

Got a live usb of manjaro to boot with pci=nommconf. First time I put it in the incorrect spot, but second time I put it in the correct spot and it booted correctly. I also did what you suggested and cleaned up the old journals. Thanks

1 Like

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