You are not logged in.

#1 2024-09-27 14:06:18

turjay
Member
Registered: 2024-09-27
Posts: 1

Black Screen After Installing Nvidia Drivers (RTX 4060)

After installing Nvidia drivers for my RTX 4060, I am encountering a black screen during boot. Here are the steps I've taken so far and the current setup:

    - My kernel, firmware, and other system components are fully up to date.
    - I installed nvidia, nvidia-utils, nvidia-settings, and all relevant packages.
    - Tried booting with nomodeset, but it made no difference (still black screen).
    - Blacklisted nouveau, but that also didn’t resolve the issue.
    - nvidia-drm.modeset=1/0 had no effect.
    I can access the system via Live USB and remove Nvidia drivers, after which the system boots normally. However, before installing the Nvidia drivers, my dual monitor setup and 240Hz display were functioning properly. The only reason I installed the Nvidia drivers was to ensure they were present for future use, but now I'm stuck with this issue.

    I have an AMD R9 7845HX processor with an integrated APU, so I added the following to the blacklist:
    install radeon /usr/bin/false 
    install amdgpu /usr/bin/false
    But this did not resolve the issue either.

Past Experience: Previously, I was using EndeavourOS and encountered a similar issue after installing Nvidia drivers. In that case, booting with nomodeset worked, and I was able to resolve the issue by reinstalling the drivers using nvidia-inst after the system booted successfully.

Any suggestions on how I can resolve this issue on Arch Linux? I'm specifically looking to keep the Nvidia drivers while avoiding the black screen at boot. (I use Gnome Wayland gdm if you need.)

Thank you in advance!

Last edited by turjay (2024-09-27 14:07:15)

Offline

#2 2024-09-27 16:07:52

seth
Member
Registered: 2012-09-03
Posts: 58,298

Re: Black Screen After Installing Nvidia Drivers (RTX 4060)

- Tried booting with nomodeset, but it made no difference (still black screen).
    - Blacklisted nouveau, but that also didn’t resolve the issue.
    - nvidia-drm.modeset=1/0 had no effect.

1. don't
2. is implicitly done by the nvidia-utils package
3. Using the "nvidia_drm.modeset=1" kernel parameter is a seriously good idea for the moment.

I have an AMD R9 7845HX processor with an integrated APU, so I added the following to the blacklist:
    install radeon /usr/bin/false
    install amdgpu /usr/bin/false
    But this did not resolve the issue either.

Do you have any outputs attached to the nvidia GPU at all?

Please post your complete system journal for an affected boot, eg.

sudo journalctl -b-1 | curl -F 'file=@-' 0x0.st

for the previous one (this does not work if you reboot the system w/ the power button, frenetically press ctrl+alt+del instead or in doubt use the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) )

Also

(I use Gnome Wayland gdm if you need.)

Try to only boot the multi-user.target, 2nd link below.
GDM is very peculiar wrt the nvidia driver, https://wiki.archlinux.org/title/GDM#Wa … DIA_driver (make sure to *also* mask the udev rule)

Offline

#3 2024-09-29 10:34:40

elizahone
Member
Registered: 2024-09-29
Posts: 1

Re: Black Screen After Installing Nvidia Drivers (RTX 4060)

I used to have the same problem. You can install envycontrol in aur. and then use the command "envycontrol -s nvidia" or others. And use the dicrete mode in windows.

turjay wrote:

After installing Nvidia drivers for my RTX 4060, I am encountering a black screen during boot. Here are the steps I've taken so far and the current setup:

    - My kernel, firmware, and other system components are fully up to date.
    - I installed nvidia, nvidia-utils, nvidia-settings, and all relevant packages.
    - Tried booting with nomodeset, but it made no difference (still black screen).
    - Blacklisted nouveau, but that also didn’t resolve the issue.
    - nvidia-drm.modeset=1/0 had no effect.
    I can access the system via Live USB and remove Nvidia drivers, after which the system boots normally. However, before installing the Nvidia drivers, my dual monitor setup and 240Hz display were functioning properly. The only reason I installed the Nvidia drivers was to ensure they were present for future use, but now I'm stuck with this issue.

    I have an AMD R9 7845HX processor with an integrated APU, so I added the following to the blacklist:
    install radeon /usr/bin/false 
    install amdgpu /usr/bin/false
    But this did not resolve the issue either.

Past Experience: Previously, I was using EndeavourOS and encountered a similar issue after installing Nvidia drivers. In that case, booting with nomodeset worked, and I was able to resolve the issue by reinstalling the drivers using nvidia-inst after the system booted successfully.

Any suggestions on how I can resolve this issue on Arch Linux? I'm specifically looking to keep the Nvidia drivers while avoiding the black screen at boot. (I use Gnome Wayland gdm if you need.)

Thank you in advance!

Last edited by elizahone (2024-09-29 11:17:33)

Offline

#4 2024-09-29 12:07:54

seth
Member
Registered: 2012-09-03
Posts: 58,298

Re: Black Screen After Installing Nvidia Drivers (RTX 4060)

This just sets up https://wiki.archlinux.org/title/NVIDIA … phics_only and is in 99.5% of all cases not what anybody actually wants.
Also please avoifd fully quoting previous posts (let alone top-posting style), you're just bloating the thread.

Offline

Board footer

Powered by FluxBB