You are not logged in.

#1 2024-07-03 14:11:26

P00RYA
Member
Registered: 2024-07-03
Posts: 4

Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

So first of all, I'm pretty new to arch and just came from debian 2 weeks ago. I got Nvidia drivers working on debian in 5 minutes, but in arch, it seems impossible. I followed a lot of guides and non of them fixed this. My setup is rather unusual, because I'm using an old hybrid gpu laptop that has a Geforce GT740m as dGPU, I'm using Hyprland as my wm which is based on wayland and my login manager is ly. This seems like a hurdle, but can someone explain how I can get my dedicated GPU working?

Last edited by P00RYA (2024-07-03 14:44:54)

Offline

#2 2024-07-03 14:16:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

Have you followed all 6 steps listed in the wiki? And read the notes?

Offline

#3 2024-07-03 14:18:26

P00RYA
Member
Registered: 2024-07-03
Posts: 4

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

I did, but it does not work

Offline

#4 2024-07-03 14:20:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

What, exactly, did you install? Did the module actually build?

Have you also read the Optimus page?

What does 'does not work' actually mean? What are you seeing?

Last edited by Scimmia (2024-07-03 14:21:18)

Offline

#5 2024-07-03 14:25:32

P00RYA
Member
Registered: 2024-07-03
Posts: 4

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

I installed nvidia-utils, nvidia-470xx-dkms, modified the mkinitcpio.conf and grub.cfg. when runnning mkinitcpio.conf -P, I get some errors telling me that I don't have nvidia, nvidia-uvm and nvidia-dms installed, but I think these error are for the standard kernel. I'm currently using the linux-zen kernel

Offline

#6 2024-07-03 14:27:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

Did the module actually build when you installed them?

Offline

#7 2024-07-03 14:28:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

You're not going to get Wayland with the Kepler drivers you're forced to use and the proprietary driver, you'll need to stick to nouveau if that's a goal.

Comparing this with debian where you most likely didn't run hyprland is comparing apples with oranges and not quite useful.

Define which of the two scenarios (proprietary driver or nouveau) you want to run and then do either of

  1. Proprietary driver (you can forget about hyprland and the prop driver, the driver you're going to get does not support the necessary Wayland baseline), you'll have to opt for https://aur.archlinux.org/packages/nvidia-470xx-dkms from the AUR so the module can be built) If you don't know what the AUR is, read: https://wiki.archlinux.org/title/Arch_User_Repository -- after which most of https://wiki.archlinux.org/title/NVIDIA#Installation will apply.

    Assuming you want to make use of it on xorg instead, you can look at the directives for https://wiki.archlinux.org/title/PRIME# … er_offload for how to make use of the dGPU

  2. nouveau, you generally don't need to do much, assuming it can drive the HW, you could try running clients you want the dGPU "power" for with the DRI_PRIME=1 parameter, how well this generally works in hyprland is very much up to hyprland, chances are these kind of usecases are not fully fleshed out on Wayland/hyprland yet

general advice, stop using ly, it's known to lead to a broken session bus which in turn leads to all sorts of issues, use something else/or no DM.

If you need more help than this you have to get more concrete as to what your actual problems are

Edit: Whoops a bunch of stuff happened here while I was drafting this. nvidia-utils would be wrong for nvidia-470xx anyway, but maybe start by posting

dkms status

Last edited by V1del (2024-07-03 14:30:13)

Offline

#8 2024-07-03 14:32:02

P00RYA
Member
Registered: 2024-07-03
Posts: 4

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

I'm super sorry. I think there was a typo in my mkinit file and it wasn't being built successfully in the first place. I thought the problem was with my kernel variation and completely ignored it! thank you for your time btw

Last edited by P00RYA (2024-07-03 14:32:33)

Offline

#9 2024-07-03 14:43:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Installing Nvidia Drivers On Hybrid Laptop[UserError][Solved]

Instead of closing this, please mark as [SOLVED] by editing the title in your first post.

Offline

Board footer

Powered by FluxBB