You are not logged in.

#1 2021-01-11 02:17:37

Aqulaane
Member
Registered: 2020-02-04
Posts: 16

Boot occasionally hangs

I've got Arch Linux setup on my laptop and the boot will occasionally hang on a flashing underscore.

Running Gnome with GDM.

Here is my journalctl for one of the boots that hangs.

https://pastebin.com/UyAbVG3r

Usually I just force power off and turn back on and it'll boot just fine.

I'm thinking it may have something to do with it not finding the correct graphics card to display sometimes?

This laptop has both a intel built in graphics and nvidia graphics card. Not sure if that may be causing some of the confusion. I've tried many things doing my research but none have worked so far. Any insight is greatly appreciated.

Offline

#2 2021-01-11 08:26:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,626

Re: Boot occasionally hangs

Jan 10 16:56:47 archstrix /usr/lib/gdm-x-session[834]: (EE) Device(s) detected, but none match those in the config file.

Please post the output of

ls -lR /{etc,usr/share}/X11/xorg.conf*

and also see
https://wiki.archlinux.org/index.php/Optimus (mandatory read for your system)
https://wiki.archlinux.org/index.php/Ke … de_setting (symptom sounds like race condition where the desired GPU isn't up fast enough)
and https://wiki.archlinux.org/index.php/GD … rg_backend

Sidenote:

Jan 10 16:56:47 archstrix /usr/lib/gdm-x-session[834]: (II) VESA: driver for VESA chipsets: vesa

remove xf86-video-vesa. You do not want to use the vesa driver. If fyou think you need it to make stuff work, there's a different issue to be fixed properly, but the vesa driver is not what you want.

Offline

#3 2021-01-11 09:05:54

Aqulaane
Member
Registered: 2020-02-04
Posts: 16

Re: Boot occasionally hangs

/etc/X11/xorg.conf.d:
total 0

/usr/share/X11/xorg.conf.d:
total 12
-rw-r--r-- 1 root root  227 Jan  7 07:05 10-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1350 Dec 14 03:10 10-quirks.conf
-rw-r--r-- 1 root root 1429 May 19  2020 40-libinput.conf

I went through all of your links and am currently catching up on them now. I appreciate the information. I removed vesa.

I just got nvidia-prime up and running. I also just set Xorg backend to be the default. We will see if that resolves the issue.

I read on another thread when researching this about the early KMS start. I went ahead and enabled DRM kernel mode setting through nvidia. I see a note stating that using DRM causes gnome to boot into wayland, but seeing as I just changed the default to Xorg I hope that wont cause any issues?

Thanks again for your time and input.

Edit:
Seems that setting the Xorg backend to default my computer wouldn't boot whatsoever. I since then removed that (Wayland is now the default) and still have DRM kernel enabled.

Last edited by Aqulaane (2021-01-11 09:25:14)

Offline

#4 2021-01-11 09:36:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,626

Re: Boot occasionally hangs

The kernel parameter is *not* an early KMS setup - the latter means that you add the kernel modules for your GPU (likely intel/i915) to the initramfs.
Afaik optimus/prime doesn't work w/ wayland (yet)

Offline

Board footer

Powered by FluxBB