You are not logged in.

#1 2024-10-29 21:56:03

LaptopDev
Member
Registered: 2024-09-24
Posts: 6

upgrading to nvidia 565.57.01 beta driver with .run installer

I want the newest driver for my 3090 FE, which is purported to solve resume from hibernation (link to my related issue explanation)

I disable gdm beforehand, but I got an issue with the .run :

Loading Linux linux-lts ...
Loading initial ramdisk ...

It does not exit this state.

Here's some information about how my system is mounted in an arch live system and what it looks like when its all set up:

cryptsetup open /dev/nvme0n1p3 lvm
mount /dev/archOSroghero_system_volgroup/lv_root /mnt
vgchange -ay
lvscan
mount /dev/nvme0n1p2 /mnt/boot
mount /dev/archOSroghero_system_volgroup/lv_home /mnt/home
arch-chroot /mnt
mount /dev/nvme0n1p1 /boot/EFI
lsblk -f

lsblk:

NAME                                        FSTYPE      FSVER            LABEL       UUID                                   FSAVAIL FSUSE% MOUNTPOINTS                                           
nvme0n1                                                                                                                                    
├─nvme0n1p1                                 vfat        FAT32                        820d-35CH                                             
├─nvme0n1p2                                 ext4        1.0                          nsPz1JVL-aS5q-u8PC-imLZ-efNq3w3fYTpa    359.5M    56% /boot
└─nvme0n1p3                                 crypto_LUKS 2                            6Zi5a2PS-JwEG-8Dv0-y9Kj-8a9OyqzB7XLe                  
  └─archOSroghero_system_volgroup           LVM2_member LVM2 001                     UYwsFJ-OmIp-aqTd-dTTp-wl86-wiv2-Me5yj7                
    ├─archOSroghero_system_volgroup-lv_root ext4        1.0                          CGBJGQyQ-m3c2-Yy4j-YJ1v-5cS0UKuUdY4U     16.9G    37% /
    ├─archOSroghero_system_volgroup-lv_home ext4        1.0                          ruCrxc7h-J4r5-EdWa-t2Y8-yXJhYk9nbJhi    625.1G    55% /home
    └─archOSroghero_system_volgroup-lv_swap swap        1                            nsemxnSR-m68e-ei7X-JRxK-yOuSMisAW7c2                  [SWAP]

I am running
6.6.58-1-lts
nvidia 560.35.03-17
linux-lts-headers 6.6.58-1
Mutter
gnome-shell 47.1

Last edited by LaptopDev (2024-10-29 22:14:12)

Offline

#2 2024-10-29 22:03:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: upgrading to nvidia 565.57.01 beta driver with .run installer

Do NOT use the .run file, install the AUR package, as it says on the NVIDIA wiki page.

Offline

#3 2024-10-29 22:23:32

LaptopDev
Member
Registered: 2024-09-24
Posts: 6

Re: upgrading to nvidia 565.57.01 beta driver with .run installer

Scimmia wrote:

Do NOT use the .run file, install the AUR package, as it says on the NVIDIA wiki page.

Warning: Avoid installing the NVIDIA driver through the package provided from the NVIDIA website. Installation through pacman allows upgrading the driver together with the rest of the system.

That's from the wiki;
But I did create a hook as it suggests if using the proprietary driver:

/etc/pacman.d/hooks/

[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
# Uncomment the installed NVIDIA package(s)
Target=nvidia
Target=nvidia-lts
#Target=nvidia-open
# Add your kernel targets
Target=linux
Target=linux-lts
# Add any other kernels if needed (e.g., linux-zen)
#Target=linux-zen

[Action]
Description=Updating NVIDIA module in initramfs
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P'

it's possible I could not be putting 2 and 2 together here

wouldn't the linux and linux-lts update since it sees a new nvidia version whenever I run pacman -Syu or target upgrade for nvidia or linux in the future?

Last edited by LaptopDev (2024-10-29 22:27:49)

Offline

#4 2024-10-29 22:45:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,178

Re: upgrading to nvidia 565.57.01 beta driver with .run installer

The hook is only relevant if you have the modules in initramfs as well and it doesn't quite matter which nvidia driver it interacts with. And the fact that you're bypassing pacman with the .run file will also not run the hook.

You should use https://aur.archlinux.org/packages/nvidia-beta-dkms as the base and just adjust the checksums and the version number to account for the new driver version or wait for the maintainer to update the package.

Offline

#5 2024-10-30 02:04:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: upgrading to nvidia 565.57.01 beta driver with .run installer

LaptopDev wrote:
Scimmia wrote:

Do NOT use the .run file, install the AUR package, as it says on the NVIDIA wiki page.

Warning: Avoid installing the NVIDIA driver through the package provided from the NVIDIA website. Installation through pacman allows upgrading the driver together with the rest of the system.

That's from the wiki

Yes, and it says to NOT do exactly what you did. It then goes on to tell you what to do instead.

Offline

#6 2024-10-30 13:33:38

tekstryder
Member
Registered: 2013-02-14
Posts: 173

Re: upgrading to nvidia 565.57.01 beta driver with .run installer

V1del wrote:

You should use https://aur.archlinux.org/packages/nvidia-beta-dkms as the base and just adjust the checksums and the version number to account for the new driver version or wait for the maintainer to update the package.

@LaptopDev: If you pursue this method be aware you'll need to rebase against the many recent changes in nvidia-utils.

This will not be trivial and could land you in further quagmire.

I would suggest V1del's latter option and wait for updated beta packages to be made available.


EDIT: The 565 beta just landed in Testing. Have at it!

Last edited by tekstryder (2024-10-30 13:51:11)

Offline

Board footer

Powered by FluxBB