Hi @metak! nice work with Clear Kernel.
I'm using the 5.9.6 from your repo, and all boot parms requireds by Clear, including module.sig_unenforce
.
With standard and Zen Kernel, all nvidia modules are loaded correctly - nvidia, nvidia_drm, nvidia_modset, nvidia_uvm
. On clear nvidia_uvm
module not is loaded, and apps like blender, and other that uses CUDA cores, not recognize the nvidia (cuda device).
I've try with # modprobe nvidia_uvm
command but the error is returned:
modprobe: ERROR: could not insert 'nvidia_uvm': Unknown symbol in module, or unknown parameter (see dmesg)
.
Running dmesg
i got:
184.986139] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[ 184.986268] nvidia_uvm: Unknown symbol radix_tree_preloads (err -2)
I've don't understand why the standard and zen Kernels loads and Clear not. Any idea?
Pinned Comments
metak commented on 2022-03-27 13:44 (UTC) (edited on 2022-04-02 13:20 (UTC) by metak)
The PKGBUILD file supports a few different configurable build-time options:
_makenconfig
Tweak kernel options prior to a build via nconfig. Pseudo-graphical menu based on ncurses. 1 2_localmodcfg
Only compile active modules to VASTLY reduce the number of modules built and the build time._subarch
Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default isGeneric-x86-64
number36
if nothing else is selected._use_current
Use the current kernel's.config
file. Enabling this option will use the.config
of the RUNNING kernel rather than the ARCH defaults. Useful when the package gets updated and you already went through the trouble of customizing your config options. NOT recommended when a new kernel is released, but again, convenient for package bumps._use_llvm_lto
Compile the kernel with LLVM/Clang._debug
Enabley
some additional debug features present in arch kernel, but not in Clear upstream.n
to force disable or leave empty to ignore.Lastly, build the kernel by setting your environment variable
env _subarch=40 _localmodcfg=y
.metak commented on 2018-01-22 01:49 (UTC) (edited on 2021-12-01 12:47 (UTC) by metak)
1. Binaries available in my repo: http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/
THIS IS OPTIONAL:
2. After install adjust your boot cmd line. ClearLinux uses clr-boot-manager which takes care of that. This is upstream default: