I'm using an RTX 4070 (Razer Blade 16 2023) and I've tried installing the nvidia-dkms, nvidia-beta-dkms, nvidia-535xx-dkms, etc. I've also tried switching my kernel from linux-zen to linux, and linux-lts (installed headers for these as well), and then installed the nvidia drivers and nvidia-lts drivers, and tried variations of those drivers when the basic ones didn't work. I did a roll back to a clean snapshot before trying a different kernel or a different version of a driver. This is a brand new, fresh install of Garuda KDE (dragonized). I tried the gnome version as well, which uses wayland.
One thing I noticed, in the hardware settings that should list the drivers, no nvidia drivers ever show up. In fact, the GPU says unknown device (NVIDIA corporation).
I gave up this morning, after exhausting the forums and arch wikis and installed Ubuntu Desktop. Video is detected and seems to be working out of the box. Sound on the Blade 16 still seems to be broken, but at least the GPU is detected and drivers install. I can use a headset or bluetooth until the builtin speakers are fixed. For the record, the generic nvidia-535 drivers are installed and seem to be working on Ubuntu. I'm not sure why similar versioned drivers on Arch/Garuda don't seem to work.
UPDATE: For completeness, I booted back into Garuda, on a live usb, and got the output of the garuda-inxi command.
You post in thread which has no answers since 4 Month, so I moved your post.
If you open a new thread, you will see this template.
Hello Garuda users.
Please read the following template before requesting assistance:
Please post the terminal/konsole input and output as text (no pictures) from the following command:
garuda-inxi
Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).
Before opening a new help request, please search the Arch and Garuda Wiki's, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum's search engine and on the web. For in depth information on how to search for answers to Linux issues effectively, read the tips on the Garuda Wiki:
This machine is on Ubuntu now, which is why I didn't open a new thread. I can't run garuda-inxi anymore. I seen that all the threads regarding nvidia RTX 40xx GPUs were going nowhere, and get closed with no resolution due to staleness, which is fairly frustrating. For completeness, I went back and added my inxi output to the initial post.
I know a user here on the forum with an RTX 4090 that works.
I don't know how old these posts are that you are referring to. With new hardware it can sometimes take time for the drivers to work.
It doesn't help anyone to post here that it works on another OS, whether Ubuntu or M$.
I disagree, I've been going over posts of many people that have been having the same issue on the latest cards. The posts can't be so old that they are invalid, these cards are pretty new.
Knowing that it works on Ubuntu, at least proves it works on Linux in general. It's an Arch/Garuda Nvidia driver issue. Not a Linux/Nvidia issue as a whole. That bit of info seems to have value imho. Especially for someone visiting the forums that may want to stay on a Linux OS, but Garuda isn't working out for them either.
If you know of a post that has detailed instructions on how to get this to work, I'm more than willing to give it another shot. I want to use Garuda, I'm actually not a fan of Ubuntu, except for their cloud/server images, and this was a test drive before I put Garuda on my desktop that has a 4080/Ryzen9 CPU. My buddy is having the same exact issues, with a 4080 card (desktop pc, discrete GPU, i7 CPU). Drivers don't show up after installation. Tried all the kernels and driver variants, so I'm not sure what else to do.
I booted back into Garuda and updated the description with that info. I'm reinstalling Garuda right now actually. I only installed Ubuntu to test, someone reported on reddit that Ubuntu works fine, which seems to be the case.
Ok, fresh install of Garuda Gnome is installed. I'm updating the system right now. Should I install the nvidia dkms drivers, since default kernel is zen, or hold off for further instruction?
Ok, dkms drivers installed, nvidia-dkms and dependencies. Using default zen kernel and kernel headers for zen are present. It requested a reboot, so I did that, but here is the output from garuda-inxi.
Preparing...
Resolving dependencies...
Checking inter-conflicts...
Warning: dependency cycle detected:
Warning: eglexternalplatform will be installed before its nvidia-utils dependency
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Running pre-transaction hooks...
Performing snapper pre snapshots for the following configurations...
==> root: 9
Installing dkms (3.0.11-1)...
Installing eglexternalplatform (1.1-2)...
Installing egl-wayland (2:1.1.12-1)...
Installing nvidia-utils (535.86.05-2)...
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
Installing nvidia-dkms (535.86.05-2)...
Running post-transaction hooks...
Creating system user accounts...
Creating group 'nvidia-persistenced' with GID 143.
Creating user 'nvidia-persistenced' (NVIDIA Persistence Daemon) with UID 143 and GID 143.
Reloading system manager configuration...
Reloading device manager configuration...
Arming ConditionNeedsUpdate...
Install DKMS modules
==> dkms install --no-depmod nvidia/535.86.05 -k 6.4.8-zen1-1-zen
==> depmod 6.4.8-zen1-1-zen
Updating initramfs...
:: Building initramfs for linux-zen (6.4.8-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.4.8-zen1-1-zen)
Updating linux initcpios...
Foreign/AUR package notification
archlinux-appstream-data-pamac 1:20230421-1
libsidplay 1.36.59-10
webkit2gtk-5.0 2.38.6-1
Orphaned package notification...
alsa-plugins 1:1.2.7.1-2
lib32-opus 1.4-1
libsidplay 1.36.59-10
lua53 5.3.6-1
sysfsutils 2.1.1-1
tinycompress 1.2.8-2
webkit2gtk-5.0 2.38.6-1
Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
Reloading system bus configuration...
Performing snapper post snapshots for the following configurations...
==> root: 10
Syncing all file systems...
A restart is required for the changes to take effect.
Transaction successfully finished.
Is this necessary? Is there a way to set the Nvidia GPU as the primary/default GPU?
Hmm, maybe that isn't a good idea to make the internal GPU the default, since it's a power efficiency thing. One thing that article doesn't seem to mention, is how to get prime-run on your system. Assuming it's the nvidia-prime package. Do I need garuda-nvidia-prime-config as well?
It is only necessary if you wish to get the best possible performance from your hardware. If you cannot be bothered to intentionally invoke your dGPU, you can instead configure your system to use the Nvidia card only by following the guidance here: NVIDIA Optimus - ArchWiki