Package Base Details: linux-clear

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)

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.
  • Please read arch wiki page for detailed explanation on how to use it.
  • _subarch Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default is Generic-x86-64 number 36 if nothing else is selected.
  • PKGBUILD file with the list of architectures
  • graysky kernel_compiler_patch
  • _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 Enable y 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/
[home_metakcahura_kernel_Arch_Extra_standard]
SigLevel = Never
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/$arch
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:
quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw 

Latest Comments

« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 47 Next › Last »

adsoncicilioti commented on 2020-11-10 19:22 (UTC)

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)?

fidasx commented on 2020-11-10 19:03 (UTC)

@metak nice! thx for your work on maintaining this PKG.

metak commented on 2020-11-10 17:27 (UTC)

@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.

lgomesf commented on 2020-11-10 14:24 (UTC)

Solve , change , config to :
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_VIA=m

lgomesf commented on 2020-11-10 11:48 (UTC)

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]

fidasx commented on 2020-11-08 22:17 (UTC)

@adsoncicilioti

glad i helped you!

adsoncicilioti commented on 2020-11-08 22:15 (UTC)

GREAT @fidasx!!

That fixes! nvidia_uvm loaded and apps that uses CUDA working! Thanks!

fidasx commented on 2020-11-08 21:11 (UTC)

@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

Add nvidia-uvm.patch
echo "Applying nvidia-uvm.patch ..."
patch -Np1 -i ../nvidia-5.9-uvm-fix.patch

adsoncicilioti commented on 2020-11-08 20:55 (UTC)

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?

fidasx commented on 2020-11-08 10:59 (UTC)

@adsoncicilioti you need to patch the kernel for nvidia_uvm to work

use this if you want

https://paste.gg/p/anonymous/8ea12096fac14ebbb6bd4f5d2af8ec50