#Nvidia card not detected

13 messages · Page 1 of 1 (latest)

visual vector
#

TL;DR: I can't detect my NVIDIA card from my install, only from a live USB.

After installing arch on my dell laptop I wanted to switch from integrated graphics to my NVIDIA card, specifically for CUDA support in some applications. I followed the instructions at https://wiki.archlinux.org/title/NVIDIA#Installation

Afterwards, boot is very slow, there are random messages appearing in my terminal ([<some numbers>] audit: <stuff>), and the NVIDIA card doesn't show up in lspci. However, I can see the NVIDIA card in the BIOS and from a live USB.

If I disable integrated graphics in the BIOS, then after navigating through GRUB I'm met with a blank screen.

There doesn't seem to be anything relevant in dmesg, I'm at a complete loss.

royal spade
#

what kernel are you using ?

visual vector
#

Kernel: Linux 6.0.1-arch1-1, GPU: RTX A3000

Some progress...I think...

I just found a mysterious file in udev that seemed to be powering off nvidia. But if comment this out and re-blacklist nouveau the system locks up on boot for a few minutes. When I finally get in, I can't start X. I'm rebooting now to see if I can access the X logs.

visual vector
#

Seems like X is still trying to load nouveau even though it is blacklisted in modprobe.d and nouveau.modeset=0 is passed to the kernel via grub

humble shell
#

if you added the nvidia modules to /etc/mkinitcpipo.conf that might be what's causing the long boot times

visual vector
#

I didn't touch etc/mkinitcpipo.conf and confirmed that there is no mention of nvidia there. I did implement the pacman hook though (https://wiki.archlinux.org/title/NVIDIA#pacman_hook)

In any case, the slow boot times seem to be somewhat intermittent. I can live with them if I can get X running.

humble shell
#

ok

#

the pamcan hook is only for if you added the nvidia stuff to the mkinitcpio

visual vector
#

ahh ok, thanks. I'll remove it then. I was grasping at straws. Still baffled by this X issue though...

If I delete the xorg.conf created by nvidia-xconfig then I get errors in the logs, it looks like X is trying to load nouveau (failed), then nv (failed), modesetting, fbdev (failed). Then it can't open /dev/dri/card0. Next vesa fails with Refusing to run, Framebuffer or dri device present . Finally, it fails with no screens found.

With xorg.conf generated from nvidia-xconfig there are no errors in the logs, but X just freezes the system and I have to hard reboot.

visual vector
#

update: Passing ibt=off as a kernel parameter to grub resolved the issue. The audit messages are gone, boot time is reasonable, and X starts.

humble shell
#

that bug still exists?

#

come on linus