Where should I report this issue? - Linux-LTS, NVidia, and SystemD
So, I recently came across an issue similar to this and also this.
My solution was to downgrade linux-lts. Others solved it by downgrading systemd.
Essentially, Arch would load up and you'd see all of those typical [ ok ] messages. After that, it would just do nothing. You could still go to the TTY, but graphics would never load. If you would modprobe nvidia there would be an error that read something like "cannot insert module nvidia".
About my setup:
- linux-lts
- nvidia-lts
- LVM on LUKS
So, yeah. Downgrading to kernel 4.19.34-1-lts solved the problem for me.
I'm not completely sure where I should file this bug report as it could be either a linux-lts, nvidia-lts or systemd problem. Let me know what you think. On bugs.archlinux.org none of the packages seem to have recently filed bugs which makes me suspcious of that being the best place to post them.
About this post
- Posted
- Archived
- Score
- 11 · 100% up
- Kind
- Text
- ID
- bhmlav
13 comments
are you sure something didn't go wrong with dkms? I'm going to need more verbose logs because otherwise it's imposible to say what happened.
also honestly this doesn't really sound like it's related to the other issues you linked. those couldn't even make it to tty from what I can tell.
I agree, looking over his post and what he's linked it seems like something is wrong with dkms. He should try upgrading to the latest dkms version and update all of the dkms drivers.
I don't really know much about dkms. I tried looking into it and running dkms autoinstall, but that didn't solve the problem. What type of logs do you need?
Basically: nvidia releases drivers in versions like
418.56, but because these are "out of tree" modules they are not simply plug and play with whatever your current kernel is. For this reason, it ships with the headers needed to re-link those libs against whatever arbitrary kernel that you're using. ie: thenvidiapackage in the repos is linked by the maintainer against thelinuxpackage at build time so that dkms is not needed (418.56-9, where the-9means there has probably been 9 updates tolinuxsince418.56came out). Similarlynvidia-ltsis linked againstlinux-ltsstatically.Anyways, the alternative is to use dkms (dynamic kernel module support), which makes it so that out of tree kernel modules can be re-lined against arbitrary kernels at install time, meaning your version of nvidia will always be compatible with whatever kernel you have installed. This should (from what I think your issue is) allow the module to be loaded.
Basically you'd need to replace
nvidia-ltswithdkmsandnvidia-dkms.As far as logs go, if this doesnt work I'd want to see the entire journalctl output. I can't do much with "logs that look something like ..."
Install nvidia-dkms, not nvidia-lts. Then reinstall linux-lts and it will compile the (newest) kernel for your (current) NVIDIA version. Should solve the problem without downgrading.
Source: had exactly the same problem today.
I would not reinstall linux-lts afterwards. Yes, you are mkinitcpio-ing towards your current kernel, but that would only survive until the next kernel update. Just stick to nvidia-dkms and ditch nvidia-lts completely. It will work with every future kernel :)
I get a clear "no screens found" error when starting X with the same kind of setup (lts nvidia, kernel, LVM on LUKS), so I switched to the regular kernel as a workaround and didn't bother any further.
If a lot of people is hitting these seems like the ball was dropped a bit on the packaging side.
Deleted before we saved it.