Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Kamey03 on 02 December 2021, 22:53:43

Title: Nvidia confusion, I'm unsure which driver to install
Post by: Kamey03 on 02 December 2021, 22:53:43
I have a asus laptop with dual graphics intel (low powered gpu, for saving battery life) and nvidia one, however I want to be able to use artix on my laptop, after installing Artix Linux I'm unsure what to do, I want to be able to use optimus-manager for switching between gpu's. I've enabled Universe repository but there's only nvidia-390xx driver and nvidia, but archlinux wiki says to install nvidia-470xx-dkms for Kepler (NVE0) series (including GeForce 630-920) from around 2013-2014, I have Nvidia Gefore 810M.
Now the problem is nvidia-470xx-dkms  isn't in artix repos so I don't know what to do?
also do I need to uninstall or disable nouveau?

I want to use nvidia properiatary driver because nouveau doesn't perform as good.
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: strajder on 02 December 2021, 23:12:41
https://github.com/Askannz/optimus-manager#Installation
Quote
On Archlinux, you can use the packages nvidia or nvidia-dkms, or a specific nvidia-package if you run a custom kernel (e.g. nvidia-lts with linux-lts etc.).

Have you tried installing those packages and using optimus-manager with them? Of course you need to blacklist nouveau if you want to use a proprietary driver.

Try it. If it doesn't work, then post here. If your system doesn't boot, it is easy to use a LiveISO (https://wiki.artixlinux.org/Main/Troubleshooting#Help.21_There_was_an_update_and_my_system_doesn.27t_boot.21) to repair it.
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: ####### on 02 December 2021, 23:18:42
https://aur.archlinux.org/packages/?O=0&SeB=nd&K=nvidia+470&outdated=&SB=n&SO=a&PP=50&do_Search=Go (https://aur.archlinux.org/packages/?O=0&SeB=nd&K=nvidia+470&outdated=&SB=n&SO=a&PP=50&do_Search=Go)
That's an AUR package you are looking for too, it's not in the repos.
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: Kamey03 on 02 December 2021, 23:31:36
https://github.com/Askannz/optimus-manager#Installation
Have you tried installing those packages and using optimus-manager with them? Of course you need to blacklist nouveau if you want to use a proprietary driver.

Try it. If it doesn't work, then post here. If your system doesn't boot, it is easy to use a LiveISO (https://wiki.artixlinux.org/Main/Troubleshooting#Help.21_There_was_an_update_and_my_system_doesn.27t_boot.21) to repair it.
Yeah I've used Arch Linux previously and since it uses systemd it would always complain on boot (nvidia would) saying how my gpu isn't supported and that I need to install the legacy version and after installing legacy version it worked, so that's what I want to do on artix too.
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: Kamey03 on 02 December 2021, 23:34:11
https://aur.archlinux.org/packages/?O=0&SeB=nd&K=nvidia+470&outdated=&SB=n&SO=a&PP=50&do_Search=Go (https://aur.archlinux.org/packages/?O=0&SeB=nd&K=nvidia+470&outdated=&SB=n&SO=a&PP=50&do_Search=Go)
That's an AUR package you are looking for too, it's not in the repos.
Oh I didn't know because Universe repo had nvidia-390xx drivers so I though it would have the nvidia-470xx ones too but I guess I was wrong.

Okay so I just have to git clone nvidia-470xx-dkms and then rum makepkg -si or is there a specific method to do this under artix?
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: strajder on 02 December 2021, 23:46:08
Okay so I just have to git clone nvidia-470xx-dkms and then rum makepkg -si or is there a specific method to do this under artix?

Same methods, and caveats, apply for AUR in Artix as in Arch. The only addition under Artix is that any AUR package with a hard dependance on systemd won't work.
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: Kamey03 on 03 December 2021, 00:44:44
I was able to successfully Install NVIDIA drivers
https://forum.artixlinux.org/index.php/topic,2356.0.html
I've followed this guide to get optimus-manager so that I can switch between GPUs but it doesn't work

Code: [Select]
sudo optimus-manager --switch nvidia
The optimus-manager service is not running. Please enable and start it as described at Artix Linux Wiki, and reboot

check my post on here for more info:
https://forum.artixlinux.org/index.php/topic,2356.new.html#info_21774
Title: Re: Nvidia confusion, I'm unsure which driver to install
Post by: strajder on 03 December 2021, 10:53:56
Every service in Artix has two packages that need to be installed:
with service being the name of the service, and init your init's moniker, for example openrc or suite66. Service then needs to be enabled using the init-specific method.

This should be mentioned in the wiki, but I guess it should be more explicitly worded. I will suggest the change.