You are not logged in.

#1 2021-11-22 12:07:35

DianaProbst
Member
Registered: 2021-11-22
Posts: 2

[SOLVED] modprobe cannot find nvidia-470xx-utils

I had only installed part of a split package.  Now back on nvidia.  Thank you, Scimmia.

I updated my system recently and it seems support for my nvidia card has ended.  However, I can't load a driver that has support.

modprobe nvidia

gives

modprobe: ERROR: could not insert 'nvidia': No such device

which is different to the error code I'm getting later.  I've uninstalled nvidia and nvidia-utils.

I followed https://wiki.archlinux.org/title/NVIDIA#Installation, although I kept falling off it, as I had to look up several things.

lspci -k | grep -A 3 -E "(VGA|3D)"
08:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 86cb
	Kernel driver in use: nouveau
	Kernel modules: nouveau

(I have fallen back on nouveau, but it's non-ideal for some vital tasks.)

I looked up the number GK208B on https://nouveau.freedesktop.org/CodeNames.html and it's there, and while it's marked as a GT720, I'm pretty sure that https://aur.archlinux.org/packages/nvidia-470xx-dkms/ is the correct package.

I downloaded it, built it, and installed the package locally with

pacman -U /home/my_personal_name/long/path/to/my/storage/drive/builds/nvidia-470xx-utils/nvidia-470xx-utils-470.86-3-x86_64.pkg.tar.zst

(The long path is because I've got a drive that loads on a mountpoint based on an old naming system, but pacman installed the package successfully.)

I issued

mkinitcpio -p linux

and nothing broke, viz:

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.15.3-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.15.3-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

and then found out, possibly from this forum, that I needed to have linux-headers installed, so I installed those and re-installed the package and re-ran

mkinitcpio -p linux

.  (Sorry, I can't cite the place where I found out about linux-headers.)

(I think mkinitcpio is currently surplus to requirements - I don't have the module listed in it, but I'm adding in what I did for completeness.  Once this is working I'll add the module.)

Through the whole process I kept on trying to

modprobe nvidia-470xx-utils

as I got closer to the solution.  Throughout, I had the following fatal error:

modprobe: FATAL: Module nvidia-470xx-utils not found in directory /lib/modules/5.15.3-arch1-1
pacman -Qs nvidia

gives

local/egl-wayland 1:1.1.9+2+gdaab854-1
    EGLStream-based Wayland external platform
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-470xx-utils 470.86-3
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

I have linux-headers and my linux is

Linux my_machine 5.15.3-arch1-1 #1 SMP PREEMPT Thu, 18 Nov 2021 22:23:08 +0000 x86_64 GNU/Linux

so I don't think I need linux-lts-headers.  The machine dual boots and the system clock was out when I built the package, but I amended the front end clock (not the hardware clock, as Windows would complain a lot) and rebuilt to no avail.  As far as I can tell from the https://wiki.archlinux.org/title/NVIDIA#Installation, I only need the https://aur.archlinux.org/packages/nvidia-470xx-dkms/ which is a wrapper around https://aur.archlinux.org/pkgbase/nvidia-470xx-utils/ and contains all the packages I need (modulo listed dependencies, which I installed).  I installed from the -dkms page, https://aur.archlinux.org/packages/nvidia-470xx-dkms/

What next?  Pacman says that nvidia-470xx-utils exists, modprobe can't find it, and it doesn't seem to me like there is a different package I need.

Last edited by DianaProbst (2021-11-22 12:27:10)

Offline

#2 2021-11-22 12:11:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,864

Re: [SOLVED] modprobe cannot find nvidia-470xx-utils

This is a split package, the PKGBUILD builds 3 packages. You installed one.

Offline

#3 2021-11-22 12:14:03

DianaProbst
Member
Registered: 2021-11-22
Posts: 2

Re: [SOLVED] modprobe cannot find nvidia-470xx-utils

Ahah!  Thank you.  Off to go be enthusiastic again.

Offline

Board footer

Powered by FluxBB