Package Details: linux-clear-headers 6.10.10-1

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Package Base: linux-clear
Description: Linux kernel with patches from Clear Linux which allow for higher performance. This package includes header files and scripts for building kernel modules.
Upstream URL: https://github.com/clearlinux-pkgs/linux
Keywords: clear clearlinux intel kernel
Licenses: GPL-2.0-only
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 73
Popularity: 1.71
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-09-14 15:49 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2024-08-18 08:22 (UTC) by JeremyStarTM)

The PKGBUILD supports customization via environment variables. Here's a list of all of them:
_makemenuconfig: Invokes make menuconfig (default configuration menu) before compilation starts
_makenconfig: Invokes make nconfig (nicer configuration menu) before compilation starts
_makexconfig: Invokes make xconfig (GUI configuration menu) before compilation starts
_use_current: Will use the configuration of the running kernel, if the running kernel is compiled with IKCONFIG_PROC
_copyfinalconfig: Copies the final kernel configuration into the repository root as kconfig-new before compilation starts
_localmodcfg: Only compiles modules found in modprobed-db's database (which decreases compilation time and kernel size)
_use_llvm_lto: Compiles the kernel with LLVM instead of GCC. Should work, if not write a comment
_subarch: Specifies the sub architecture to compile for (see the PKGBUILD file for a list of all subarches). Default is 40 (Generic-x86-64), which is \compatible with all amd64 processors. Must be a number
_debug: Force enables debug options when set to y, force disables debug options when set to n or uses the config defaults when unset

All of these variables just need to be set for them to apply, except for _subarch and _debug.

If you want a dead simple way to compile this package, you can try out my build tool. It includes a few no nonsense changes to the kernel configuration and allows you to configure the PKGBUILD in a simple manner and decrease build time. And if you don't want that, using makepkg as-is works fine too.

JeremyStarTM commented on 2024-08-06 19:19 (UTC) (edited on 2024-08-06 19:40 (UTC) by JeremyStarTM)

Kernel has been updated and is now maintained again.

Thank you metak for creating this package in the first place.

Latest Comments

« First ‹ Previous 1 .. 28 29 30 31 32 33 34 35 36 37 38 .. 49 Next › Last »

metak commented on 2019-07-29 22:17 (UTC) (edited on 2019-07-29 22:21 (UTC) by metak)

@zheiling On second thought, your issue could be related to this? Latest native kernel issues with custom drivers #1048 Can you try the latest version?

zheiling commented on 2019-07-29 15:04 (UTC)

@danhyal other kernels work normally with switching. In CLI version found this message: Config parsing : unknown option kill_logind in section optimus. Ignoring. Config parsing : unknown option kill_x11 in section optimus. Ignoring. Config parsing : unknown option login_manager_control in section optimus. Ignoring. Config parsing : unknown option pci_reset in section optimus. Ignoring. Config parsing : unknown option terminate_sessions in section optimus. Ignoring. Config parsing : unknown option dri in section nvidia. Ignoring. BTW: how to format text in aurweb? Can't find instructions.

amelia commented on 2019-07-28 21:40 (UTC)

@zheiling Do you still have the problem on the default arch kernel?

zheiling commented on 2019-07-28 21:04 (UTC)

@metak Fully removed nouveau and compiled kernel without nouveau support. The message is disappeared, but the problem with switching still exist. I suppose that an issue can be in patches/flags applied by linux-clear team.

metak commented on 2019-07-27 18:17 (UTC)

@zheiling Can you try unloading nouveau rmmod nouveau and load nvidia modprobe nvidia module?

zheiling commented on 2019-07-27 18:03 (UTC) (edited on 2019-07-27 18:15 (UTC) by zheiling)

Addition to my previous post about nVidia: [ 150.341496] nvidia: module license 'NVIDIA' taints kernel. [ 150.341498] Disabling lock debugging due to kernel taint [ 150.355115] calling nvidia_frontend_init_module+0x0/0x93 [nvidia] @ 1580 [ 150.355150] nvidia-nvlink: Nvlink Core is being initialized, major device number 236 [ 150.355540] NVRM: The NVIDIA probe routine was not called for 1 device(s). [ 150.355541] NVRM: This can occur when a driver such as: NVRM: nouveau, rivafb, nvidiafb or rivatv NVRM: was loaded and obtained ownership of the NVIDIA device(s). [ 150.355542] NVRM: Try unloading the conflicting kernel module (and/or NVRM: reconfigure your kernel without the conflicting NVRM: driver(s)), then try loading the NVIDIA kernel module NVRM: again. [ 150.355543] NVRM: No NVIDIA devices probed. Using NVIDIA Corporation GM108M [GeForce 840M] (rev a2) and optimus-manager-qt

metak commented on 2019-07-23 15:54 (UTC) (edited on 2019-07-23 15:56 (UTC) by metak)

@berturion Don't expect any massive performance boost just from this kernel. Most of the clear linux optimizations are in userland. However, your desktop should be more responsive as it has CONFIG_HZ_1000=y & CONFIG_HZ=1000.

@everyone Version 5.2.2 should be out in a day or two.

berturion commented on 2019-07-20 19:23 (UTC)

Did some people find evidences of a performance boost by using this kernel instead of using arch linux kernel ? Can you share the commands or tools you used that shows significant performance changes please (good or bad) ?

I tried:

sysbench --test=cpu --num-threads=4 --cpu-max-prime=9999 run

and

time $(i=0; while (( i < 9999999 )); do (( i ++ )); done)

Results between the kernels are similar.

metak commented on 2019-07-19 21:08 (UTC)

@zheiling You'll have to provide more info about your setup and logs if someone is to help you. I don't have nvidia card so there's also that.

zheiling commented on 2019-07-18 22:04 (UTC)

With this kernel optimus-manager switch from Intel to NVIDIA does not work. It just switches to Intel again and again, when I choose NVIDIA.