You are not logged in.

#1 2024-01-27 21:01:11

Daniel-343
Member
Registered: 2024-01-27
Posts: 1

Black lock screen after nvidia driver install

Hi everyone!

I am new here. I just installed Arch for the first time. All went well until I installed the nvidia graphics driver for my RTX3050 laptop GPU.

I did everything according to this guide with the installation:
https://dev.to/vitorvargas/how-to-insta … linux-5bgc

Problem

Upon bootup, I am presented with a black, unlit screen. After blindly typing my password, the screen comes alive, and regarding to the system monitor the GPU is seemingly utilized.


What I did to try to solve the problem

I entered:

sudo nano /etc/mkinitcpio.conf

Added nvidia to the modules:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

removed kms from the hooks according to the arch wiki

HOOKS=(base udev autodetect modconf keyboard keymap consolefont block filesystems fsck)

Then I entered:

sudo mkinitcpio -P
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo reboot -n

So far, nothing has changed.

Edit:

After blacklisting the integrated GPU driver, the boot process won't finish. it won't even reach the lock screen.

sudo nano /etc/modprobe.d/blacklist.conf
install i915 /usr/bin/false
install intel_agp /usr/bin/false
install viafb /usr/bin/false
install radeon /usr/bin/false
install amdgpu /usr/bin/false

Last edited by Daniel-343 (2024-01-27 22:01:45)

Offline

#2 2024-01-27 23:27:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: Black lock screen after nvidia driver install

Don't follow random guides. Get rid of the xorg.conf you created in /etc/X11/xorg.conf.d/ get absolutely rid of the nvidia-xconfig generated config in /etc/X11/xorg.conf (why would that guide suggest the ... sometimes correct variant for the old offloading style, to immediately fucking it over with nvidia-xconfig). Don't blacklist the integrated GPU, it's where your screen is connected in any case (and additionally so, add i915 to your modules like the nvidia modules and at that first in the list). Instead follow https://wiki.archlinux.org/title/PRIME# … er_offload the only thing you need to do with a GPU this new is install nvidia-prime and then run applications you want to use the added power of the nvidia gpu with via prime-run on start.

Offline

#3 2024-01-28 01:33:36

5ouls3dge
Member
Registered: 2024-01-28
Posts: 3

Re: Black lock screen after nvidia driver install

Dont block iGPU.
make sure nouveau not installed
systemd-boot or grub needs entry and/etc/modprobe.d/nvidia.conf : nvidia_drm.modeset=1
install:
prime and consider
  nvidia
  nvidia-settings
  nvidia-utils
  libva
  libva-nvidia-driver-git

Offline

#4 2024-01-28 11:21:14

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

Re: Black lock screen after nvidia driver install

@V1del, https://wiki.archlinux.org/title/NVIDIA … figuration
I felt tempted more than once to redact that with a strong warning hmm

Offline

Board footer

Powered by FluxBB