Package Details: linux-clear-headers 6.14.2-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://git.staropensource.de/JeremyStarTM/aur-linux-clear
Keywords: clear clearlinux intel kernel linux
Licenses: GPL-2.0-only
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 74
Popularity: 0.37
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2025-04-16 14:15 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2025-04-16 14:17 (UTC) by JeremyStarTM)

Information comment
This comment provides useful information about this package. Make sure to read it through, you won't regret it.

Repository URL
This package is hosted at sos!git. If you want to contribute to the package, you can do it here: https://git.staropensource.de/JeremyStarTM/aur-linux-clear

Issue handling
Please only submit issues in the package's repository if they aren't bug reports about the package or help requests. Please keep them to the AUR only. This prevents unnecessary signups.

Updates
I usually publish updates 0-3 days after a kernel release, depending on how busy I am.
If I however get wind of security-relevant updates or any vulnerabilities I will try to update the kernel as soon as possible and write a comment about the vulnerability/update. So make sure to subscribe to this package's comment mailing list.

PKGBUILD environment variable customization
The PKGBUILD file supports customization via environment variables. Here's a list of all of them:
- _makemenuconfig: Invokes make menuconfig (ncurses-based default configuration menu) before compilation starts
- _makenconfig: Invokes make nconfig (ncurses-based nicer configuration menu) before compilation starts
- _makexconfig: Invokes make xconfig (X11-based 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
- _optimize_defconfig: Applies package maintainer-picked configuration changes to your defconfig. Only takes effect with _use_current being enabled
- _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 open an issue
- _subarch: Specifies the subarchitecture to compile for (see the PKGBUILD file for a list of all subarches). Default is 41/MGENERIC_CPU (Generic x86-64), which is compatible with all amd64 processors. Must be a number or subarch name
- _subarch_microarch: Specifies the microarchitecture to compile for. Only applies to and is required by the MGENERIC_CPU subarch. Must be a number between 1 and 4 (click for more information)
- _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. For more information please check their documentation inside the PKGBUILD file

GPG errors
If makepkg complains about invalid PGP keys, try running this command first: gpg --locate-keys torvalds@kernel.org gregkh@kernel.org sashal@kernel.org benh@debian.org. This command only needs to be executed once.

Build tool
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 file in a simple manner and decrease build time. And if you don't want that, using makepkg as-is works fine too.

Latest Comments

« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 52 Next › Last »

metak commented on 2020-01-09 09:37 (UTC)

@idimitro For now the pkgbuild just copies the .config file for archival purposes and you can't easily reuse it later. If it would be useful I might add support for reusing the old file just like it is in linux-lqx package? Check Here.

abdulocracy commented on 2020-01-09 08:07 (UTC) (edited on 2020-01-09 09:05 (UTC) by abdulocracy)

I'm getting these errors on a i7-8550U machine, upon sleeping and resuming:

Jan 09 09:05:05 abdulkadir-xps kernel: [drm:intel_power_domains_verify_state] *ERROR* power well DC off state mismatch (refcount 0/enabled 1)
Jan 09 09:05:05 abdulkadir-xps kernel: DMAR: DRHD: handling fault status reg 2
Jan 09 09:05:05 abdulkadir-xps kernel: DMAR: [INTR-REMAP] Request device [f0:1f.0] fault index 0 [fault reason 37] Blocked a compatibility format interrupt request

Also, the second console option in the upstream cmdline causes my machine to boot to a black screen.

Edit: Another peculiarity, modinfo -p i915 states that the module was not found.

idimitro commented on 2020-01-09 07:36 (UTC)

Hi, the PKGBUILD file has options to optimize the kernel for the specific machine it will run. But how are those changes supposed to be preserved after upgrades? I couldn't find an option for the configs to be read from the outside the build directory. Any suggestions?

tam1m commented on 2019-12-13 14:50 (UTC)

@metak Works great! Thanks

metak commented on 2019-12-13 13:51 (UTC)

@tam1m It's also reported on archlinux bug tracker. I've applied the patch from the bug repport in 5.4.3-2 if you can test it?

tam1m commented on 2019-12-13 10:29 (UTC)

I'm experiencing this bug bug with linux-clear 5.4.2-1. The e1000e driver constantly crashes.

metak commented on 2019-12-08 12:14 (UTC) (edited on 2019-12-08 12:15 (UTC) by metak)

@danhyal I've added it, but if there's any complaints/regressions/etc. I'll have to remove it. So I hope you and others can test it and report back.

amelia commented on 2019-12-07 22:44 (UTC)

consider adding the fsync patch? https://aur.archlinux.org/cgit/aur.git/plain/futex-wait-multiple-5.2.1.patch?h=linux-fsync

metak commented on 2019-12-01 13:40 (UTC) (edited on 2019-12-01 13:41 (UTC) by metak)

@bjoe2k4 You can manually re-add the key (download the key with wget, import and sign it).

pub   rsa2048 2013-05-19 [SC] [expires: 2022-01-24]
      A6BD5EECD7B96FC10806355C50AAD02AEB1F61C9
uid           [  full  ] home:metakcahura OBS Project <home:metakcahura@build.opensuse.org>

But it's more or less useless since signatures are broken in open-build-service for pacman. Might as well set SigLevel = Never.

https://bbs.archlinux.org/viewtopic.php?id=249682

https://github.com/openSUSE/open-build-service/issues/4174

https://github.com/openSUSE/open-build-service/issues/2801

bjoe2k4 commented on 2019-12-01 12:27 (UTC)

The signature key expired yesterday :-(

pub rsa2048 2013-05-19 [SC] [expired: 2019-11-30] A6BD5EECD7B96FC10806355C50AAD02AEB1F61C9 uid [ expired] home:metakcahura OBS Project home:metakcahura@build.opensuse.org