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.
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.
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.
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
) 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. 
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. 
So you have only the entry in the default grub and also the xorg file?
my grub is this:

and X11 file is this:

thatās it. no other changes.
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
)⦠depends on how actively the 340 package maintainer manages them. Youāll see. 
Edit: ignoring packages is not usually a good idea, and better avoid it.
this is the package holding the driver itself ![]()
not an option for nouveau driver, so not needed will get ignored or could cause issues.
nvidia-drm.modeset=1
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.