Black Screen on boot after Nvidia Driver Installation

Wow ok. Thanks everyone in this thread! It just boot up like it was nothing! Now install i3-gaps and seeing what that does for me.

1 Like

If you install i3 and boot on Xfce you should be able to change at the login to i3 before you log in. I think it’s at top right one of the icons.

1 Like

Yes! Actually, I happened to like some of EOS’s defaults, it just set-up some stuff on i3 that I liked and neglected to set up myself. What I did was clone this and followed the instructions. I just replaced i3-wm with i3-gaps in packages-repository.txt so I could get those sexy rice gaps between my windows, and everything just worked~ Awesome!

I’m going to uninstall xfce now since I don’t plan on using it, then everything should be good.

Again, thanks for all the help. I’m going to write up a single all encompassing solution comment that talks about the trials and tribulations found in this thread, and hopefully it will help someone else in the future.

1 Like

Did you get the commands to uninstall xfce?

1 Like

I did not, mind sharing?

1 Like

It’s something along the lines of this

pacman -Rnsdd xfce4 xfce4-goodies

Edit:
Just double check before using this. Don’t want it to remove anything you need? Normally i would use this and then install i3

2 Likes

Which is kinda what I did.

sudo pacman -Rnsdd xfce4 xfce4-goodies
sudo pacman -S --needed - < packages-repository.txt 

Where packages-repository.txt came from the EOS i3 repository. No issues on bootup

2 Likes

What does this one do?

1 Like

packages-repository.txt is a list of all the packages needed for the default i3 config on EOS. So, I just re-installed whatever was incorrectly blown away by sudo pacman -Rnsdd xfce4 xfce4-goodies There are instructions here: https://github.com/endeavouros-team/i3-EndeavourOS

1 Like

Oh i see what you are doing. :wink:

Edit: Then you are installing i3 gaps?

1 Like

Yes! I did. The first package is i3-wm which was replaced i3-gaps at this point. That was always my intention once the system was up and running, I just didn’t do it until now.

1 Like

So it’s all working then?

1 Like

Yes! Totally working. Again, thanks for the surplus help

2 Likes

This is a long thread. This answer is meant to compile all the knowledge that contributed to the solution. My laptop is a Dell Inspiron 7580. Here is the output to inxi -Fxxxa --no-host

System:    Kernel: 5.9.2-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=53c54b8c-e290-47cb-8f68-4db61e0db4af rw 
           "acpi_osi=Windows 2018" resume=UUID=e85efed0-5a4b-42ad-9746-a276a48be4e9 loglevel=3 nowatchdog 
           Desktop: i3 4.18.3 info: i3bar dm: LightDM 1.30.0 Distro: EndeavourOS 
Machine:   Type: Laptop System: Dell product: Inspiron 7580 v: N/A serial: <superuser/root required> Chassis: 
           type: 10 serial: <superuser/root required> 
           Mobo: Dell model: 04K0W3 v: A00 serial: <superuser/root required> UEFI: Dell v: 1.6.0 
           date: 03/24/2019 
Battery:   ID-1: BAT0 charge: 27.5 Wh condition: 40.1/42.0 Wh (96%) volts: 11.1/11.4 model: SMP DELL Y3F7Y6B 
           type: Li-ion serial: 19118 status: Charging 
CPU:       Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake family: 6 
           model-id: 8E (142) stepping: B (11) microcode: D6 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 32012 
           Speed: 900 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 
           7: 901 8: 900 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3ea0 
           Device-2: NVIDIA GP108M [GeForce MX250] vendor: Dell driver: nvidia v: 455.38 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1d13 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-6:4 chip ID: 0c45:671f 
           Display: x11 server: X.org 1.20.9 compositor: xcompmgr driver: modesetting,nvidia 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: GeForce MX250/PCIe/SSE2 v: 4.6.0 NVIDIA 455.38 direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.9.2-arch1-1 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 
           v: kernel modules: r8168 port: 3000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: 6c:2b:59:70:7c:d0 
           Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: 3000 bus ID: 03:00.0 
           chip ID: 8086:2526 
           IF: wlan0 state: down mac: c6:e8:d1:69:32:52 
           Device-3: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb bus ID: 1-10:5 
           chip ID: 8087:0025 
Drives:    Local Storage: total: 535.67 GiB used: 7.18 GiB (1.3%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 model: PC SN520 NVMe WDC 512GB size: 476.94 GiB block size: physical: 512 B 
           logical: 512 B speed: 15.8 Gb/s lanes: 2 serial: 184353447702 rev: 20200012 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: SanDisk model: Cruzer Glide size: 58.73 GiB block size: 
           physical: 512 B logical: 512 B serial: 4C530000091008117410 rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 467.84 GiB size: 459.50 GiB (98.22%) used: 7.18 GiB (1.6%) fs: ext4 
           dev: /dev/nvme0n1p2 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 60.0 C mobo: N/A gpu: nvidia temp: 62 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 228 Uptime: 2h 15m Memory: 7.49 GiB used: 1.74 GiB (23.3%) Init: systemd v: 246 
           Compilers: gcc: 10.2.0 Packages: pacman: 826 lib: 244 Shell: Bash v: 5.0.18 
           running in: xfce4-terminal inxi: 3.1.08 

To filter out the graphics settings, I’ll seperately run inxi -Gxxxa

Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3ea0 
           Device-2: NVIDIA GP108M [GeForce MX250] vendor: Dell driver: nvidia v: 455.38 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1d13 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-6:4 chip ID: 0c45:671f 
           Display: x11 server: X.org 1.20.9 compositor: xcompmgr driver: modesetting,nvidia 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: GeForce MX250/PCIe/SSE2 v: 4.6.0 NVIDIA 455.38 direct render: Yes 

My system has a hybrid card, namely the Intel UHD Graphics 620 and NVIDIA GP108M. This hybrid is heart of a lot of anguish, and stopped a simple install of the nvidia drivers from working.

Solution:

  • Re-install EndeavourOS w/ XFCE and Nvidia tools. Do not reboot!
  • Run lsblk -p to find the home parition. In my case, that partition was /dev/nvme0n1p2. Mount that partition using sudo mount /dev/nvme0n1p2 /mnt and sudo arch-chroot /mnt.
  • Install Optimus-Switch for your display manager. I installed XFCE, which defaulted to LightDM. The guide can be found here. Note: I did not do the steps for the Powering down the nVidia card in Intel Mode or Installing the GUI Indicator/ Switcher Optimus-Indicator as these are for quality of life. I plan on doing these later.
  • Run sudo nano /etc/default/grub. Find the line that says GRUB_CMDLINE_LINUX_DEFAULT. On that line, replace quiet with apci_osi='Windows 2018'. Note: The single ticks on this line are important!
  • Reboot.

While I did these steps with EOS’s default install of XFCE, I do not know how critical that step is; this is the setup that worked for me. After that, I installed i3-gaps and everything was working well.

2 Likes

A note to anyone still watching this thread, I would appreciate a once over on my solution. Please let me know if theres any important information that I missed and I’ll edit the post to include it.

Again, Thanks for all your help. I’m excited to use my laptop again.

Cheers~

2 Likes

You need to post a screen shot now in share your desktop in the Lounge.

1 Like

I can do that :smiley: You should see my post there tomorrow morning

1 Like

@GeekTea Awesome! I am ecstatic that your system is now working properly. I wish I could have been on your initial posting about it working, but fscking time zones. If I wanted to see it, sleep would not have been an option. I would now do a Timeshift (or what ever you use) back up. Write down the steps you did and keep it somewhere safe. That way, if you ever have to re-install, you know what you did to get everything working.

If you are never going to run your system in Intel mode, then you really do not need to do it. Personally, I would. That way you have it ready for when you need battery life.

Good luck and enjoy your laptop!

Hey @linesma, Thanks for all the help. I’m in the honey-moon phase where I get to customize and rice everything. TBH it felt a little anti-climatic. I did all the steps, and on first boot-up, it just… worked. No strings attached. I thought there’d be confetti or something :laughing:

I’ll set up the indicator, cause it would be convenient to have that set up when I get to take my laptop outside. Naturally, quarantine means I haven’t had a need to unplug it. I’m excited :smiley:

1 Like

I know the term, and what it means, but where does the term ā€œrice/riceingā€ come from?