You are not logged in.

#1 2024-05-24 22:07:47

pruzzle
Member
Registered: 2024-05-22
Posts: 7

black screen after install nvidia GPU drivers

I am building a new system and after trying to install nvidia drivers and rebooting I get a black screen with a cursor in the top left corner. I use CTRL + ALT F2 to switch to tty2 and work in terminal or ssh. I have been following the docs here: https://wiki.archlinux.org/title/NVIDIA. I have already tried referring to this post with no luck: https://bbs.archlinux.org/viewtopic.php?id=293537

I have tried

sudo pacman -S nvidia nvidia-lts nvidia-utls nvidia-settings

I also have configured nvidia_drm modeset = 1 and fbdev = 1. And here is my output from inxi -G

Graphics:
  Device-1: Intel HD Graphics 530 driver: i915 v: kernel
  Device-2: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 550.78
  Display: server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0 driver: X: loaded: nvidia
    gpu: i915 tty: 95x33 resolution: 2560x1440
  API: EGL v: 1.5 drivers: iris,nvidia,swrast platforms: surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.0.7-arch1.3
    note: console (EGL sourced) renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2, Mesa Intel HD
    Graphics 530 (SKL GT2), llvmpipe (LLVM 17.0.6 256 bits)

Offline

#2 2024-05-25 00:17:00

StarPlatinum
Member
From: Chisinau, Moldova
Registered: 2024-05-24
Posts: 3

Re: black screen after install nvidia GPU drivers

https://wiki.archlinux.org/title/NVIDIA_Optimus
follow this guide to set up the Nvidia GPU as default and disable the integrated one. Don't forget to configure your DM to start properly

Last edited by StarPlatinum (2024-05-25 00:31:37)

Offline

#3 2024-05-25 01:11:10

pruzzle
Member
Registered: 2024-05-22
Posts: 7

Re: black screen after install nvidia GPU drivers

i've built a desktop machine with older parts not a laptop. is this still the correct approach?

Offline

#4 2024-05-25 09:59:26

StarPlatinum
Member
From: Chisinau, Moldova
Registered: 2024-05-24
Posts: 3

Re: black screen after install nvidia GPU drivers

pruzzle wrote:

i've built a desktop machine with older parts not a laptop. is this still the correct approach?

Maybe not specifically this article, but the idea is still valid, you need to decide how you want your system to work. On which Gpu, hybrid or only discrete and make the following corrections in  files that will be mentioned in guides. I also have 1060 but mobile version, so I disabled my integrated graphics and had to modify Xsetup script to work from it. I use SDDMhttps://wiki.archlinux.org/title/NVIDIA_Optimus#SDDM
See also the related articles and follow the instruction for chosen approach, because setting up the NVIDIA graphics does not stop on only installing the packages: https://wiki.archlinux.org/title/NVIDIA … e_graphics

Offline

#5 2024-05-25 12:15:29

cryptearth
Member
Registered: 2024-02-03
Posts: 2,186

Re: black screen after install nvidia GPU drivers

@StarPlatinum
Your suggestion doesn't add up with OPs issue: This isn't a laptop relyibg on sone switching between the CPU's iGPU and a dedicated one - if you plug in the monitor into the dedicated GPU it will be used. No need for all this transformer-reference-named stuff.

@OP
https://wiki.archlinux.org/title/NVIDIA and https://wiki.archlinux.org/title/NVIDIA/Troubleshooting are your best starting point - although I recommend use either a AMD gpu or windows. Using nVid with Linux is a journey on it's own.

Offline

#6 2024-05-25 15:10:46

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

Re: black screen after install nvidia GPU drivers

Maybe let's get soem actual data on the situation first.

I use CTRL + ALT F2 to switch to tty2 and work in terminal or ssh

Please post your complete system journal for the boot:

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

Your graphical target doesn't start, but we need to know what that is and then figure why.
A common self-inflicted wound is a static X11 server config in /etc/X11/xorg.conf - if you have that file, move it away.

Online

Board footer

Powered by FluxBB