Kernel module loading

hi guys,

i’m on manjaro unstable with kernel 6.14.x and enjoying NTSYNC for gaming. but i need to load the module after reboot. whats the correct manjaro way to load it on boot?

[blackmoore hans]# cat /etc/modules-load.d/modules.conf 
# List of modules to load at boot
[blackmoore hans]#

^ This?

ty

Hi @Vogelhaufen,

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

As I’m a moderator on the forum, I have taken the liberty of doing this for you, this time.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Note that the above text is partially pre-prepared as a general introduction for new forum Users. Please take the time to to understand how it is done and encourage quality responses.


There are other files in the directory you can use as an example. For instance, /etc/modules-load.d/mhwd-gpu.conf:

$ cat /etc/modules-load.d/mhwd-gpu.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##

nvidia
nvidia_drm

So it would seem it’s only neccessary to add the name of the module to load to the end of the file, on its own line.

adding a kernel module to a .conf which is named gpu is kinda sus, isn’t it. anyways i put it in modules and it works for now. just wanna make sure i use it the “manjaro way” since i will forget bout that in a few weeks and it might cause touble in future.

/mnt/m/H/s/dr/Program Files/R/RSI Launcher2  lsof /dev/ntsync                                    INT ✘ 
COMMAND    PID USER FD   TYPE DEVICE SIZE/OFF NODE NAME
start.exe 2535 hans  7r   CHR 10,120      0t0  836 /dev/ntsync
wineserve 2542 hans 26r   CHR 10,120      0t0  836 /dev/ntsync
services. 2549 hans 14r   CHR 10,120      0t0  836 /dev/ntsync
winedevic 2552 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
svchost.e 2562 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
plugplay. 2567 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
explorer. 2579 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
winedevic 2581 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
rpcss.exe 2642 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
conhost.e 2651 hans 11r   CHR 10,120      0t0  836 /dev/ntsync
CrBrowser 2653 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
CrashpadM 2670 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
CrGpuMain 2699 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
network.C 2710 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
CrRendere 2715 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
audio.CrU 2794 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
explorer. 2796 hans  8r   CHR 10,120      0t0  836 /dev/ntsync
    /mnt/m/H/s/dr/Program Files/R/RSI Launcher2    

Yes, this.
You can also name the file as you like - so that the name will indicate to you what module is loaded.
The only important thing is the suffix .conf

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.