← prev | next →
desrevereman 2022-09-28 20:51:48
farchord 2022-09-28 20:50:48
https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support
Yes, I already opened it, gonna read it soon.
jonathn 2022-09-28 21:55:10
desrevereman 2022-09-28 20:47:53
How does the nvidia driver build it?
The nvidia package pulls in the DKMS package, compiles the module, and packages it.
desrevereman 2022-09-28 22:14:09
jonathn 2022-09-28 21:55:10
The nvidia package pulls in the DKMS package, compiles the module, and packages it.
I, for the love of all that’s holy, don’t understand it. I tried searching on the differences between nvidia and nvidia-dkms packages, but the only related result is a page on arch forum which tells that nvidia-dkms should only be used with custom kernels. I read the Nvidia article on wiki and it only mentions DKMS for custom kernels, too, and the installation instructions seem to only suggest installing the nvidia or alpha nvidia-open package for my GPU. lspci shows that I’m using an nvidia driver and not nouveau, so I guess it’s installed and being used? What is dkms for then? This is probably a stupid question, but I’m really lost.
Rob 2022-09-28 22:15:09
desrevereman 2022-09-28 22:14:09
I, for the love of all that’s holy, don’t understand it. I tried searching on the differences between nvidia and nvidia-dkms packages, but the only related result is a page on arch forum which tells that nvidia-dkms should only be used with custom kernels. I read the Nvidia article on wiki and it only mentions DKMS for custom kernels, too, and the installation instructions seem to only suggest installing the nvidia or alpha nvidia-open package for my GPU. lspci shows that I’m using an nvidia driver and not nouveau, so I guess it’s installed and being used? What is dkms for then? This is probably a stupid question, but I’m really lost.
https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support
desrevereman 2022-09-28 22:17:40
Rob 2022-09-28 22:15:09
https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support
I am reading it right now. I don’t understand why do I need to rebuild kernel modules if they haven’t changed.
jonathn 2022-09-28 22:17:46
desrevereman 2022-09-28 22:14:09
I, for the love of all that’s holy, don’t understand it. I tried searching on the differences between nvidia and nvidia-dkms packages, but the only related result is a page on arch forum which tells that nvidia-dkms should only be used with custom kernels. I read the Nvidia article on wiki and it only mentions DKMS for custom kernels, too, and the installation instructions seem to only suggest installing the nvidia or alpha nvidia-open package for my GPU. lspci shows that I’m using an nvidia driver and not nouveau, so I guess it’s installed and being used? What is dkms for then? This is probably a stupid question, but I’m really lost.
The nvidia-dkms package compiles the driver kernel module each time the kernel is updated (via a hook). This approach works on all kernels.
The nvidia package provides a pre-compiled driver kernel module. This pre-compiled module package is only available for two kernels.
The nvidia package compiles the module source code provided by the nvidia-dkms package.
If you only ever use the linux kernel then you save time and power using the pre-compiled module package.
jonathn 2022-09-28 22:18:19
desrevereman 2022-09-28 22:17:40
I am reading it right now. I don’t understand why do I need to rebuild kernel modules if they haven’t changed.
The kernel ABI may change between point-releases, hence driver modules must also be recompiled.
desrevereman 2022-09-28 22:24:16
jonathn 2022-09-28 22:17:46
The nvidia-dkms package compiles the driver kernel module each time the kernel is updated (via a hook). This approach works on all kernels.
The nvidia package provides a pre-compiled driver kernel module. This pre-compiled module package is only available for two kernels.
The nvidia package compiles the module source code provided by the nvidia-dkms package.
If you only ever use the linux kernel then you save time and power using the pre-compiled module package.
This is the best explanation I’ve seen so far, thank you. But then, if nvidia needs nvidia-dkms to compile the module, why does it exist?
jonathn 2022-09-28 22:26:08
desrevereman 2022-09-28 22:24:16
This is the best explanation I’ve seen so far, thank you. But then, if nvidia needs nvidia-dkms to compile the module, why does it exist?
You don’t compile it, the package maintainer does. It’s essentially centralisation of effort.
desrevereman 2022-09-28 22:27:43
jonathn 2022-09-28 22:18:19
The kernel ABI may change between point-releases, hence driver modules must also be recompiled.
I’m not a developer, so I don’t know anything about ABI, and so I didn’t think it would change that frequently for it to be necessary. Alright, thank you for the explanation.
jonathn 2022-09-28 22:28:20
It’s not necessarily that it changes frequently, it’s that it’s not obvious when it does.
desrevereman 2022-09-28 22:28:26
jonathn 2022-09-28 22:26:08
You don’t compile it, the package maintainer does. It’s essentially centralisation of effort.
Oh, okay. It’s just listed as a make dependency, so I was confused about it.
desrevereman 2022-09-28 22:29:00
jonathn 2022-09-28 22:28:20
It’s not necessarily that it changes frequently, it’s that it’s not obvious when it does.
Got it. Thanks again.
chemin45 2022-09-29 00:03:48
chemin45 2022-09-29 00:05:37
he doesn’t want to decrypt my hard drive
evgfilim1 2022-09-29 00:06:17
chemin45 2022-09-29 00:05:37
he doesn’t want to decrypt my hard drive
It does
evgfilim1 2022-09-29 00:06:40
Don’t ping me (or anyone) just because I (they) put a reaction
junebunny 2022-09-29 01:46:22
That looks like the volume is getting decrypted (it wouldn’t be able to create /dev/mapper/cryptlvm otherwise), if it wasn’t you’d get a kernel panic since it can’t find the root partition, the issue may lie elsewhere
desrevereman 2022-09-29 02:50:57
junebunny 2022-09-29 01:46:22
That looks like the volume is getting decrypted (it wouldn’t be able to create /dev/mapper/cryptlvm otherwise), if it wasn’t you’d get a kernel panic since it can’t find the root partition, the issue may lie elsewhere
I sometimes had my system hang on this line for a few minutes, but it wasn’t on arch.
chemin45 2022-09-29 02:54:50
chemin45 2022-09-29 02:55:01
Was my uefi
jonathn 2022-09-29 02:55:55
What was?
chemin45 2022-09-29 02:59:19
I3wm
chemin45 2022-09-29 02:59:39
ariefr 2022-09-29 03:00:21
chemin45 2022-09-29 02:54:50
try boot from live usb, fsck
next try to use runlevel 1
chemin45 2022-09-29 03:00:53
ariefr 2022-09-29 03:00:21

try boot from live usb, fsck
next try to use runlevel 1
Ist okay but i3wm
ariefr 2022-09-29 03:01:40
chemin45 2022-09-29 03:00:53

Ist okay but i3wm
if its okay, then whats wrong with i3wm
chemin45 2022-09-29 03:03:09
ariefr 2022-09-29 03:01:40

if its okay, then whats wrong with i3wm
Nohting have no internet connection
ariefr 2022-09-29 03:04:19
chemin45 2022-09-29 03:03:09

Nohting have no internet connection
oh thats easy.
you need to setup the networks
and there will be more to do, as i3wm and any other wm don’t do that by themself
desrevereman 2022-09-29 03:05:11
Damn, it’s so cool that KDE can adhere the color theme to default icons. I assume that’s done by changing specified accent colors in svg files directly? Why don’t all applications adhere to this?
chemin45 2022-09-29 03:05:20
I come from majora and archlarbs
chemin45 2022-09-29 03:05:47
ariefr 2022-09-29 03:04:19

oh thats easy.
you need to setup the networks
and there will be more to do, as i3wm and any other wm don’t do that by themself
How to
ariefr 2022-09-29 03:06:15
chemin45 2022-09-29 03:05:20

I come from majora and archlarbs
we don’t care where you came from, what is important is what you use now, and is it archlinux ?
Rob 2022-09-29 03:06:16
chemin45 2022-09-29 03:05:47

How to
By reading, i guess
chemin45 2022-09-29 03:06:52
ariefr 2022-09-29 03:06:15

we don’t care where you came from, what is important is what you use now, and is it archlinux ?
Yes is Arch Linux
← prev | next →