Reached-target-graphical-interface-then-nothing-happens

Thanks! Looks good.

If you are still willing to try, replacing
nvidia-340xx-dkms

with
nvidia-340xx and nvidia-340xx-lts

might help with the 2 kernels.

But if that fails, you can always go back to this setup.

sure, let me try downloading and will report back shortly.

1 Like

woow. so after removing the nvidia-340xx-dkms drivers, I installed the nvidia-340xx and nvidia-340xx-lts and both kernels work!!!

one question. what is the difference between regular 340xx vs 340xx-dkms ? I read some info on DKMS but seems to technical for my tiny brain. Can you please explain?

Any advantage to use DKMS?

output of pacman -Qs nvidia

local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-340xx 340.108-26
    NVIDIA drivers for linux, 340xx legacy branch
local/nvidia-340xx-lts 340.108-4
    NVIDIA drivers for linux-lts, 340xx legacy branch.
local/nvidia-340xx-utils 340.108-1
    NVIDIA drivers utilities
local/nvidia-installer-db 2.5.3-1
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-dkms 3.3.13-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS

Well this is interesting. Hopefully @manuel & @joekamprad have some ideas on why this is. I’m just glad it’s working again.

1 Like

The dkms packages include some source code that you build/compile locally while installing. The non-dkms packages include pre-built binary stuff built by the package maintainer.
Otherwise they should be the same.

Usually the dkms packages are recommended because they will be built using the local libs and headers, which should make sure of the compatibility with your local software. Then you are not depending on the package maintainer having built the package with the same libs and headers.

@ricklinux I think the issue earlier was probably my fault when we installed the nvidia-340xx. I kept booting into the LTS kernel with nvidia-340xx driver (silly me :crazy_face:) and I don’t think I tried the 5.15 kernel. I should have also installed the nvidia-340xx-lts drivers.

What I don’t understand is why we didn’t need to add GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=UUID=... and also MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

I think originally we use the nvidia-340xx drivers but at that time you hadn’t use an lts kernel.

I thought you removed this? MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

Edit: See this is the problem because we are thinking one things and it turns out to be another. :thinking:

Thanks for the explanation.

Also strange that I can install nvidia-340xx and nvidia-340xx-lts package together but not the both DKMS packages… It gave me conflict error. Is it true that you can’t have both DKMS installed?

yes, I removed it. I don’t have it in the file. I was just asking why we don’t need it…

Oh… sorry i thought you meant you put it back in. :man_facepalming:

So you have only the entry in the default grub and also the xorg file?

my grub is this:

image

and X11 file is this:

image

that’s it. no other changes.

1 Like

I think the maintainer of these 340 packages has made this design of conflicting dkms packages. Newer nvidia driver packages do not have this dkms problem.

aah understood.

In future, I should not update the kernels until 340xx packages are also updated.

Correct? any steps I can take? I guess include these packages in the ignore list.

Hard to say (I’m not using 340 drivers :wink:)… depends on how actively the 340 package maintainer manages them. You’ll see. :wink:

Edit: ignoring packages is not usually a good idea, and better avoid it.

this is the package holding the driver itself :wink:

not an option for nouveau driver, so not needed will get ignored or could cause issues.

Hi @joekamprad, thanks for your reply.

I removed nvidia-drm.modeset=1 and no issues with booting up. Everything is working with 340xx drivers.

Not sure that’s what @joekamprad means? It’s not needed for nouveau. You are using the nvidia 340xx drivers. But i wouldn’t worry too much about it if it’s working.

The original question i said i wondered if you needed it when it wasn’t working before on Nvidia but it would on Nouveau.