Trouble installing NVIDIA 470xx (again)

I referred to this link but could not follow instructions. I understand that this card if probably outdated and will be difficult to find support. However, can someone please give me a workaround with commands? I am not a beginner but not a pro user either who can figure things out either.

PS- I posted this as well, and the solution provided then worked like a charm. Not anymore though.

The package has been updated since then.

What is the output of yay -Syu nvidia-470xx-dkms

yay -Syu nvidia-470xx-dkms

[sudo] password for sri: 
:: Synchronizing package databases...
 endeavouros is up to date
 core                         121.1 KiB  23.3 KiB/s 00:05 [------------------------------] 100%
 extra                          7.9 MiB  1380 KiB/s 00:06 [------------------------------] 100%
 multilib                     138.9 KiB  26.8 KiB/s 00:05 [------------------------------] 100%
error: failed retrieving file 'endeavouros.db' from mirror.albony.xyz : The requested URL returned error: 500
:: Searching AUR for updates...
:: Searching databases for updates...
:: 2 dependencies will also be installed for this operation.
   extra/egl-wayland        -> 2:1.1.13-2
   aur/nvidia-470xx-utils   -> 470.256.02-4

:: 2 packages to upgrade/install.
2  extra/json-glib        1.8.0-1 -> 1.8.0-2
1  aur/nvidia-470xx-dkms          -> 470.256.02-4
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (1): nvidia-470xx-dkms-470.256.02-4
AUR Dependency (1): nvidia-470xx-utils-470.256.02-4
Sync Dependency (2): json-glib-1.8.0-2, egl-wayland-2:1.1.13-2
:: (1/1) Downloaded PKGBUILD: nvidia-470xx-utils
  1 nvidia-470xx-utils               (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 nvidia-470xx-utils               (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:38:33 AM)
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found nvidia-470xx-utils.sysusers
  -> Found nvidia-470xx.rules
  -> Found systemd-homed-override.conf
  -> Found systemd-suspend-override.conf
  -> Downloading NVIDIA-Linux-x86_64-470.256.02.run...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  260M  100  260M    0     0  11.0M      0  0:00:23  0:00:23 --:--:-- 11.1M
  -> Found kernel-6.4.patch
  -> Found kernel-6.5.patch
  -> Found kernel-6.6.patch
  -> Found kernel-6.1.76_6.6.15_6.7.3.patch
  -> Found 0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
  -> Found 0002-Fix-conftest-to-use-a-short-wchar_t.patch
  -> Found 0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    nvidia-470xx-utils.sysusers ... Passed
    nvidia-470xx.rules ... Passed
    systemd-homed-override.conf ... Passed
    systemd-suspend-override.conf ... Passed
    NVIDIA-Linux-x86_64-470.256.02.run ... Passed
    kernel-6.4.patch ... Passed
    kernel-6.5.patch ... Passed
    kernel-6.6.patch ... Passed
    kernel-6.1.76_6.6.15_6.7.3.patch ... Passed
    0001-Fix-conftest-to-ignore-implicit-function-declaration.patch ... Passed
    0002-Fix-conftest-to-use-a-short-wchar_t.patch ... Passed
    0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch ... Passed
:: (1/1) Parsing SRCINFO: nvidia-470xx-utils
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
error: failed retrieving file 'endeavouros.db' from mirror.albony.xyz : The requested URL returned error: 500
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (3)                Old Version  New Version  Net Change  Download Size

extra/eglexternalplatform               1.1-3          0.02 MiB       0.01 MiB
extra/json-glib            1.8.0-1      1.8.0-2        0.00 MiB       0.16 MiB
extra/egl-wayland                       2:1.1.13-2     0.09 MiB       0.03 MiB

Total Download Size:   0.20 MiB
Total Installed Size:  1.08 MiB
Net Upgrade Size:      0.11 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 egl-wayland-2:1.1.13-2-...    33.4 KiB  1668 KiB/s 00:00 [------------------------------] 100%
 eglexternalplatform-1.1...     7.2 KiB   359 KiB/s 00:00 [------------------------------] 100%
 json-glib-1.8.0-2-x86_64     167.9 KiB  4.43 MiB/s 00:00 [------------------------------] 100%
 Total (3/3)                  208.4 KiB  3.84 MiB/s 00:00 [------------------------------] 100%
(3/3) checking keys in keyring                            [------------------------------] 100%
(3/3) checking package integrity                          [------------------------------] 100%
(3/3) loading package files                               [------------------------------] 100%
(3/3) checking for file conflicts                         [------------------------------] 100%
:: Processing package changes...
(1/3) installing eglexternalplatform                      [------------------------------] 100%
(2/3) installing egl-wayland                              [------------------------------] 100%
(3/3) upgrading json-glib                                 [------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
==> Making package: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:39:12 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found nvidia-470xx-utils.sysusers
  -> Found nvidia-470xx.rules
  -> Found systemd-homed-override.conf
  -> Found systemd-suspend-override.conf
  -> Found NVIDIA-Linux-x86_64-470.256.02.run
  -> Found kernel-6.4.patch
  -> Found kernel-6.5.patch
  -> Found kernel-6.6.patch
  -> Found kernel-6.1.76_6.6.15_6.7.3.patch
  -> Found 0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
  -> Found 0002-Fix-conftest-to-use-a-short-wchar_t.patch
  -> Found 0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    nvidia-470xx-utils.sysusers ... Passed
    nvidia-470xx.rules ... Passed
    systemd-homed-override.conf ... Passed
    systemd-suspend-override.conf ... Passed
    NVIDIA-Linux-x86_64-470.256.02.run ... Passed
    kernel-6.4.patch ... Passed
    kernel-6.5.patch ... Passed
    kernel-6.6.patch ... Passed
    kernel-6.1.76_6.6.15_6.7.3.patch ... Passed
    0001-Fix-conftest-to-ignore-implicit-function-declaration.patch ... Passed
    0002-Fix-conftest-to-use-a-short-wchar_t.patch ... Passed
    0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-470.256.02
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 470.256.02..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
patching file conftest.sh
patching file conftest.sh
patching file conftest.sh
Hunk #1 succeeded at 4594 (offset 1 line).
==> Sources are ready.
==> Making package: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:39:18 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package_nvidia-470xx-utils()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvidia-470xx-utils"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_opencl-nvidia-470xx()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "opencl-nvidia-470xx"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_nvidia-470xx-dkms()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvidia-470xx-dkms"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:40:56 AM)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)         New Version   Net Change

nvidia-470xx-utils  470.256.02-4  420.82 MiB

Total Installed Size:  420.82 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                            [------------------------------] 100%
(1/1) checking package integrity                          [------------------------------] 100%
(1/1) loading package files                               [------------------------------] 100%
(1/1) checking for file conflicts                         [------------------------------] 100%
:: Processing package changes...
(1/1) installing nvidia-470xx-utils                       [------------------------------] 100%
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
Optional dependencies for nvidia-470xx-utils
    nvidia-470xx-settings: configuration tool
    xorg-server-devel: nvidia-xconfig
    opencl-nvidia-470xx: OpenCL support
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
Creating group 'nvidia-persistenced' with GID 143.
Creating user 'nvidia-persistenced' (NVIDIA Persistence Daemon) with UID 143 and GID 143.
(2/5) Reloading system manager configuration...
(3/5) Reloading device manager configuration...
(4/5) Arming ConditionNeedsUpdate...
(5/5) Updating initramfs...
:: Building initramfs for linux (6.9.7-arch1-1)
dracut[I]: Executing: /usr/bin/dracut --force --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img 6.9.7-arch1-1
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initramfs-linux.img' ***
dracut[I]: *** Creating initramfs image file '/boot/initramfs-linux.img' done ***
:: Building fallback initramfs for linux (6.9.7-arch1-1)
dracut[I]: Executing: /usr/bin/dracut --force --no-hostonly /boot/initramfs-linux-fallback.img 6.9.7-arch1-1
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: btrfs-snapshot-overlay ***
dracut[I]: *** Including module: fido2 ***
dracut[I]: *** Including module: pkcs11 ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initramfs-linux-fallback.img' ***
dracut[I]: *** Creating initramfs image file '/boot/initramfs-linux-fallback.img' done ***
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
error: failed retrieving file 'endeavouros.db' from mirror.albony.xyz : The requested URL returned error: 500
:: Starting full system upgrade...
 there is nothing to do
==> Making package: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:42:00 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found nvidia-470xx-utils.sysusers
  -> Found nvidia-470xx.rules
  -> Found systemd-homed-override.conf
  -> Found systemd-suspend-override.conf
  -> Found NVIDIA-Linux-x86_64-470.256.02.run
  -> Found kernel-6.4.patch
  -> Found kernel-6.5.patch
  -> Found kernel-6.6.patch
  -> Found kernel-6.1.76_6.6.15_6.7.3.patch
  -> Found 0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
  -> Found 0002-Fix-conftest-to-use-a-short-wchar_t.patch
  -> Found 0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    nvidia-470xx-utils.sysusers ... Passed
    nvidia-470xx.rules ... Passed
    systemd-homed-override.conf ... Passed
    systemd-suspend-override.conf ... Passed
    NVIDIA-Linux-x86_64-470.256.02.run ... Passed
    kernel-6.4.patch ... Passed
    kernel-6.5.patch ... Passed
    kernel-6.6.patch ... Passed
    kernel-6.1.76_6.6.15_6.7.3.patch ... Passed
    0001-Fix-conftest-to-ignore-implicit-function-declaration.patch ... Passed
    0002-Fix-conftest-to-use-a-short-wchar_t.patch ... Passed
    0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-470.256.02
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 470.256.02..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
patching file conftest.sh
patching file conftest.sh
patching file conftest.sh
Hunk #1 succeeded at 4594 (offset 1 line).
==> Sources are ready.
 -> nvidia-470xx-utils-470.256.02-4 already made -- skipping build
==> Making package: nvidia-470xx-utils 470.256.02-4 (Monday 01 July 2024 08:42:07 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)        New Version   Net Change

nvidia-470xx-dkms  470.256.02-4   47.58 MiB

Total Installed Size:  47.58 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                            [------------------------------] 100%
(1/1) checking package integrity                          [------------------------------] 100%
(1/1) loading package files                               [------------------------------] 100%
(1/1) checking for file conflicts                         [------------------------------] 100%
:: Processing package changes...
(1/1) installing nvidia-470xx-dkms                        [------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia/470.256.02 -k 6.9.7-arch1-1
==> depmod 6.9.7-arch1-1
(3/3) Updating initramfs...
:: Building initramfs for linux (6.9.7-arch1-1)
dracut[I]: Executing: /usr/bin/dracut --force --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img 6.9.7-arch1-1
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initramfs-linux.img' ***
dracut[I]: *** Creating initramfs image file '/boot/initramfs-linux.img' done ***
:: Building fallback initramfs for linux (6.9.7-arch1-1)
dracut[I]: Executing: /usr/bin/dracut --force --no-hostonly /boot/initramfs-linux-fallback.img 6.9.7-arch1-1
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: btrfs-snapshot-overlay ***
dracut[I]: *** Including module: fido2 ***
dracut[I]: *** Including module: pkcs11 ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initramfs-linux-fallback.img' ***
dracut[I]: *** Creating initramfs image file '/boot/initramfs-linux-fallback.img' done ***

It looks like it worked.

backing up some files before rebooting. Just in case…:slight_smile:
Will report back, if it works out. Thank you so much for prompt response

After login screen, there is a black screen with just the cursor visible. Rebooted twice. Any idea what could be tried?

AUR page only show issue with suspend/sleep/hibernate https://aur.archlinux.org/packages/nvidia-470xx-dkms

But is this a new install ? you do have DRM modesetting in your bootloader options?
In case you can sens me the boot log in a P.M. so i can have a look:
journalctl -b -0 | eos-sendlog will show i short URL in case write it down or make a photo…

I encountered this when I tried to use Wayland with HDR active. Might either of these things be true in your case?

https://aur.archlinux.org/packages/nvidia-470xx-utils

just updated…

yes this is a new install. After it went dark, I have installed the whole OS again. I haven’t done anything other than running the command above…

so try to add drm modesetting option on boot:

1. adding it to systemd-boot options:

sudo nano /etc/kernel/cmdline

nvidia-drm.modeset=1 to the one line inside the file (adding it not replacing anything)

adding modesetting option to systemd-boot installs

and rebuild kernel images:

sudo reinstall-kernels

I chose grub while installing. This should be done even with that? Sorry for the dumb question.

With grub, you add it to /etc/default/grub on the line with the other kernel options and then run sudo grub-mkconfig -o /boot/grub/grub.cfg

Did these ( modeset and the command thereafter) but not the reinstall-kernels. Still the same result. Black screen with mouse cursor

Using wayland yes. No HDR as far as I know…

Also, just found out: X11 works! Not wayland but X11 does with nvidia drivers.

2. Adding it to grub kernel line:

to change configuration and rebuild grub.cfg and kernel boot images :

adding nvidia-drm.modeset=1 to the kernel parameter inside grub:

sudo nano /etc/default/grub

and put nvidia-drm.modeset=1 inside (leave the rest untouched!!) as you can see here:

GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=UUID=...

save the file [Ctrl+X] and rebuild the grub.cfg:

sudo grub-mkconfig -o /boot/grub/grub.cfg

sudo rebuild-dracut sudo dracut-rebuild

Without this set wayland is not working.

Rebuild-dracut gives a " command not found error".

What should I do?

its … sudo dracut-rebuild i bet :wink:

https://discovery.endeavouros.com/installation/dracut/2022/12/

1 Like

Thank you. It went through. But the result was a black screen with mouse pointer.

Maybe some problem with Wayland because X11 seems to be working with drivers