You are not logged in.
Hello ![]()
I have installed the Liquorix kernel for gaming purposes.
As described in the arch wiki i then installed the nvidia-dkms package (https://wiki.archlinux.org/title/NVIDIA#Custom_kernel) and everything worked fine for a while, until i updated the lqx-kernel recently. (random freezing of programs like firefox)
I then reverted back to the stock linux kernel to see if the next update for the lqx-kernel fixes my issues (it does not), but had to find out the Xorg server will not start with nvidia-dkms on the stock kernel, so i installed the stock nvidia package again. Xorg starts fine.
However reading different forum post has lead me to believe that the stock linux kernel should work with nvidia-dkms as well so xorg should start (https://bbs.archlinux.org/viewtopic.php?id=179460). This post also mentions nvidia-hooks which i do not have installed because i dont plan to just throw stuff at a wall and see what sticks, after all i did not read anwyhere that i should install it when it comes to custom kernels or the stock one.
Reading the wiki page https://wiki.archlinux.org/title/NVIDIA#Custom_kernel about custom kernels tells me i need to make sure the following option is set as shown;
CONFIG_DRM_SIMPLEDRM=yi thought the stock linux kernel may be missing this option which is why xorg starts on the lqx-kernel with nvidia-dkms but not on the stock kernel with nvidia-dkms. i tried to set this option by appending
nvidia-drm.modeset=1to the grub.cfg like this
GRUB_CMD_LINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"I still was not able to startx with the stock linux kernel and nvidia-dkms, but when i replaced nvidia-dkms with nvidia and started X, firefox also froze under stock nvidia and stock kernel so i deleted the line again.
At this point i am completely lost and dont know what i am missing, am i wrong that stock linux should work with dkms? Does anyone know what the issue could be? ideally i would like to use nvidia-dkms for both stock kernel and the lqx-kernel, installing different drivers every time i boot into one kernel or the other is just a workaround i found.
Thank you for your time
https://pastebin.com/cRUaMhX3 Xorg log when trying to startx with nvdia-dkms and stock kernel
Last edited by Eccomi (2022-08-02 01:47:03)
"There is no truth in flesh, only betrayal."
"There is no strength in flesh, only weakness."
"There is no constancy in flesh, only decay."
"There is no certainty in flesh but death."
Offline
Did the module actually build when you installed it?
Offline
Did the module actually build when you installed it?
Sorry that i have to ask, but which module? what are you referring to?
"There is no truth in flesh, only betrayal."
"There is no strength in flesh, only weakness."
"There is no constancy in flesh, only decay."
"There is no certainty in flesh but death."
Offline
Sorry that i have to ask, but which module? what are you referring to?
nvidia kernel module.
It's what dkms does.
You can read about it here..
https://wiki.archlinux.org/title/Dynami … le_Support
Offline
nvidia kernel module.
It's what dkms does.
You can read about it here..
https://wiki.archlinux.org/title/Dynami … le_Support
See and this is why i am in the noob corner. i missed the headers for the stock linux kernel, but i had them for the lqx one, so it would build for the lqx-kernel, but obviously not for the stock one...
Thank you for pointing me in the right direction.
"There is no truth in flesh, only betrayal."
"There is no strength in flesh, only weakness."
"There is no constancy in flesh, only decay."
"There is no certainty in flesh but death."
Offline