Yep @metak! Thanks for maintain this PKG!
I have one question... What number i can apply on _subarch
for Comet lake CPU (Intel Core i5 10300H)?
Git Clone URL: | https://aur.archlinux.org/linux-clear.git (read-only, click to copy) |
---|---|
Keywords: | clear clearlinux intel kernel |
Submitter: | metak |
Maintainer: | metak |
Last Packager: | metak |
Votes: | 71 |
Popularity: | 1.39 |
First Submitted: | 2018-01-18 21:47 (UTC) |
Last Updated: | 2024-04-27 17:07 (UTC) |
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 47 Next › Last »
Yep @metak! Thanks for maintain this PKG!
I have one question... What number i can apply on _subarch
for Comet lake CPU (Intel Core i5 10300H)?
@metak nice! thx for your work on maintaining this PKG.
@fidasx Thank you very much for your input. I've included (5.9.7-1) your nvidia uvm patch and I've enabled the AGP modules @lgomesf mentioned to fix nvidia 340xx driver build.
Solve , change , config to :
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_VIA=m
I am trying to compile Nvidis-340xx-DKMS and am having the following error.
It compiles normal on CK, can you help me?
ERROR: modpost: "agp_backend_release" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
ERROR: modpost: "agp_copy_info" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
ERROR: modpost: "agp_unbind_memory" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
ERROR: modpost: "agp_free_memory" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
ERROR: modpost: "agp_backend_acquire" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
ERROR: modpost: "agp_find_bridge" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:111: /home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/Module.symvers]
@adsoncicilioti
glad i helped you!
GREAT @fidasx!!
That fixes! nvidia_uvm loaded and apps that uses CUDA working! Thanks!
@adsoncicilioti
download the patch and save it inside the linux-clear with name nvidia-5.9-uvm-fix.patch then open the PKGBUILD and add it under the other patches
like
echo "Applying nvidia-uvm.patch ..."
patch -Np1 -i ../nvidia-5.9-uvm-fix.patch
Thanks @fidasx! But, i'm so sorry.. I don't know how make this patch.
Like i says on commentary below, i've use the compiled package from @metak repo. When i try compiles with yay, using modprobed-db to made local .conf modules, my touchpad don't work.
Do you can give me an clarification about how do this patch?
@adsoncicilioti you need to patch the kernel for nvidia_uvm to work
use this if you want
https://paste.gg/p/anonymous/8ea12096fac14ebbb6bd4f5d2af8ec50
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: