EndeavourOS hangs on boot (display drvr)

:point_up_2:

Did you install the free drivers first?

1 Like

So the intel is working but the Nvidia isn’t installed by the looks of it.

If you install the following it will give you better info with this command. (inxi -Ga)

yay -S mesa-demos
yay -S dmidecode
yay -S xorg-xdpyinfo

Graphics:
  Device-1: Intel HD Graphics 530 vendor: Dell driver: N/A alternate: i915 
  bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300 
  Device-2: NVIDIA GM107GLM [Quadro M1000M] driver: N/A 
  alternate: nouveau, nvidia_drm, nvidia bus-ID: 01:00.0 chip-ID: 10de:13b1 
  class-ID: 0302 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 1-12:3 chip-ID: 0c45:6713 class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: picom v: git-dac85 driver: 
  loaded: intel,vesa unloaded: fbdev,modesetting display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: default res: 1920x1080 hz: 77 
  OpenGL: renderer: llvmpipe (LLVM 11.1.0 256 bits) v: 4.5 Mesa 21.1.1 
  compat-v: 3.1 direct render: Yes 

First driver I installed after OS installation was using installer here:

I’m not sure how that intel-driver ended up there

What option did you choose when starting the live USB? Free driver or non free (Nvidia).

Hmm. I’m not quite so sure whether it asked about drivers?

It does and it is very important. It looks like you loaded the free drivers when you installed and are now trying to install nvidia drivers on top of that.

Right here…

image

Now I understand what you mean. I just checked what happens when I boot from liveusb. For me the selection screen flashes so quickly that I missed this during installation. It’s definately less than 1 second.

Well it seems my installation was done using UEFI default I guess? Even if Nvidia is “selected” as default.

It is not. Yes you installed using the free drivers and are now using the integrated GPU on you CPU. This is why I said earlier on that “something” was missing. It doesn’t look like you have successfully loaded the nvidia drivers.

Ok, so no I have fresh installation with same hardware. Nvidia selected from boot. This is inxi -Ga

How can I know whether display driver “mode” I have is Intel/Nvidia/Hybrid ?

Graphics:
  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel 
  bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300 
  Device-2: NVIDIA GM107GLM [Quadro M1000M] vendor: Dell driver: nvidia 
  v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:13b1 
  class-ID: 0302 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 1-12:3 chip-ID: 0c45:6713 class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: intel,modesetting unloaded: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 139 size: 350x190mm (13.8x7.5") 
  diag: 398mm (15.7") 
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.1.1 
  direct render: Yes 
1 Like

It’s all correct. Currently running on Intel. The nvidia drivers are installed. Does it boot to the desktop correctly?

Edit: If you look at the output of inxi -Ga you will see. Driver is Intel i915 kernel driver (modesetting). Nvidia Version 465.31. The alternate driver is the opensource nouveau. kwin_x11 driver intel, modesetting. The openGL renderer is Intel

So it’s running on intel and you have to switch to nvidia using one of the available methods. optimus-manager is what i would use.

Well now, thanks for tip. Optimus manager is now installed without problems. Current inxi -Ga with hybrid and Nvidia-setting down below. I’m not sure whether switching works, I have to check later.

Nevertheless booting to desktop works without problems. I now have KDE instead of i3 since I’m planning to try out awesome anyway.

Thanks to everyone for all the help. I must say the advertisement on EndeavourOS front page about friendly community is true. Maybe the Arch horror-stories are true as well :laughing:

Graphics:
  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:191b class-ID: 0300 
  Device-2: NVIDIA GM107GLM [Quadro M1000M] vendor: Dell driver: nvidia v: 465.31 
  alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:13b1 class-ID: 0302 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-12:3 
  chip-ID: 0c45:6713 class-ID: 0e02 
  Display: server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: modesetting,nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 141 size: 346x194mm (13.6x7.6") 
  diag: 397mm (15.6") 
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.1.1 
  direct render: Yes 
Graphics:  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:191b 
           class-ID: 0300 
           Device-2: NVIDIA GM107GLM [Quadro M1000M] vendor: Dell driver: nvidia v: 465.31 alternate: nouveau,nvidia_drm 
           bus-ID: 01:00.0 chip-ID: 10de:13b1 class-ID: 0302 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-12:3 chip-ID: 0c45:6713 class-ID: 0e02 
           Display: server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: modesetting,nvidia display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1-1 res: 1920x1080 hz: 60 dpi: 141 size: 346x194mm (13.6x7.6") diag: 397mm (15.6") 
           OpenGL: renderer: NVIDIA Quadro M1000M/PCIe/SSE2 v: 4.6.0 NVIDIA 465.31 direct render: Yes 

2 Likes

Just to add - if I had one wish it would be longer boot timer

Not sure what you mean by longer boot time. But anyway if you installed optimus-manager and you installed it according to the wiki with optimus-manager-qt also then on kde there should be a tray icon somewhere and or you can switch in the terminal using commands as per the wiki.

So it’s working and booting to the desktop?

Not sure what you mean here - but if you would like grub to wait longer before launching the system, then an edit of /etc/default/grub so that this line changed to your choice GRUB_TIMEOUT=5 - followed by generating the grub files again should do what you want. I don’t have the update grub command at hand as I don’t use grub (!) but it is easy to find…

BTW - the file needs to be edited with root permissions - so easiest is sudo nano /etc/default/grub - if you happened not to know that!

The update grub command for you. :wink:

sudo grub-mkconfig -o /boot/grub/grub.cfg

I mean live-usb selection time

Yap, boots to desktop - everything works. Thanks!