You are not logged in.

#1 2024-02-18 06:55:41

Haspe
Member
Registered: 2024-02-18
Posts: 5

[SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

Hello!

I have an issue, while installing NVIDIA Drivers for this card.

I have following setup

OS: Arch Linux x86_64
Host: MS-7D91 4.0
Kernel: 6.7.4-hardened1-1-hardened
Resolution: 3440x1440
DE: GNOME 45.4
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: 13th Gen Intel i7-13700K (24) @ 5.300GHz
GPU: NVIDIA GeForce RTX 4070
GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770]

  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] driver: i915 v: kernel
  Device-2: NVIDIA AD104 [GeForce RTX 4070] driver: N/A
  Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
    compositor: gnome-shell v: 45.4 driver: dri: iris gpu: i915
    resolution: 3440x1440~60Hz

After executing "sudo pacman -S nvidia nvidia-settings nvidia-utils" and receiving driver version 545.29.06-19, and following Wiki's instructions to remove kms hook from /etc/mkinitcpio.conf, I think I've succesfully followed the instructions to get my card working.

However, nvidia-smi returns

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Any ideas how could I troubleshoot this further?

Thank you in advance!

Last edited by Haspe (2024-02-18 08:24:59)

Offline

#2 2024-02-18 07:35:21

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

you need to add "nvidia_drm.modeset=1" to your kernel parameters:
https://wiki.archlinux.org/title/NVIDIA … de_setting

Offline

#3 2024-02-18 08:05:46

loqs
Member
Registered: 2014-03-06
Posts: 17,488

Re: [SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

The nvidia package is built for the linux package,  the nvidia-lts package is for the linux-lts packages,  all other kernels should use nvidia-dkms to use DKMS.

Offline

#4 2024-02-18 08:24:23

Haspe
Member
Registered: 2024-02-18
Posts: 5

Re: [SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

I enabled the DRM from the Kernel Parameters, and found this GitHub Page: https://github.com/korvahannu/arch-nvid … tion-guide which instructed me to install following packages:

nvidia-dkms nvidia-utils lib32-nvidia-utils, then I modified grub and edited mkinitcpio, and after boot drivers started working.

So note for GeForce 4070 Users, don't be like me and skim through these instructions fast, pay attention.

Thanks for the replies!

Last edited by Haspe (2024-02-18 08:24:34)

Offline

#5 2024-02-18 11:32:58

cryptearth
Banned
Registered: 2024-02-03
Posts: 74

Re: [SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

Haspe wrote:

So note for GeForce 4070 Users

That rather should read:
"Note for users of different kernels: Use DKMS."

btw: Is there a reason you use the hardened kernel on a gaming rig?

Offline

#6 2024-02-18 13:44:21

Haspe
Member
Registered: 2024-02-18
Posts: 5

Re: [SOLVED] GPU GeForce 4070 NVIDIA Driver Installation Issue

cryptearth wrote:
Haspe wrote:

So note for GeForce 4070 Users

That rather should read:
"Note for users of different kernels: Use DKMS."

btw: Is there a reason you use the hardened kernel on a gaming rig?

Hah, all right!

Not really any valid reason, this was my first live rig that I installed Arch on, (been tinkering with other distros for years). Practiced and did some basic hardening on the system! smile If there are some suggestions on that area, I am happy to hear them! I started with AppArmor, UFW (Yeah, I know, still a pleb ..) and hardened kernel. I think thats a solid setup for desktop?

Last edited by Haspe (2024-02-18 13:44:56)

Offline

Board footer

Powered by FluxBB