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 2 3 4 5 6 7 8 9 10 11 12 .. 49 Next › Last »

csts commented on 2023-03-23 19:14 (UTC)

Just checked, works fine, thank you.

csts commented on 2023-03-23 08:09 (UTC)

Your repo seems to be down for several hours.
It's ok, I'll wait.

metak commented on 2023-03-18 15:29 (UTC)

@hzy199411 Enabled in 6.2.7-2.

hzy199411 commented on 2023-03-18 09:41 (UTC) (edited on 2023-03-18 09:41 (UTC) by hzy199411)

when running QEMU guest with enable UEFI boot, I meet this error: qemu-system-x86_64: System Management Mode not supported by this hypervisor.

after debug this issue, I found from linux kernel 6.2, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.2&id=31e83e21cf00fe5b669eb352ff3ed70e74b40fad CONFIG_KVM_SMM is need enable to support smm when run qemu kvm.

@metak can you please help enable this kernel config? BTW, CONFIG_KVM_SMM is default enabled in archlinux linux kernel: https://github.com/archlinux/svntogit-packages/commit/cdaf0e561be0e1c6f3d2d155595b86a16a0c7745

skirmish commented on 2023-03-15 19:51 (UTC) (edited on 2023-03-16 00:55 (UTC) by skirmish)

@metak Stock kernel works fine at 6.2.6, linux-zen does too. I just rebuilt and reinstalled linux-clear-6.2.6, and now it works fine too.

Update: And now it is back, looks that the mouse lag happens when there is heavy I/O traffic, such as transferring large files over the network. Will try the same test with linux-6.2.2 and linux-zen-6.2.2 kernels and update here.

Update 2: After more reboots, no lag with either linux-6.2.2 or linux-clear-6.2.2 kernels again.

No idea what is happening.

metak commented on 2023-03-15 15:16 (UTC)

@skirmish Removing those patches shouldn't cause any problems. Can you replicate your issue on stock arch kernel?

skirmish commented on 2023-03-15 02:13 (UTC)

6.2.6 has a very laggy USB mouse for me. Reverted to 6.2.2, everything is fine again.

Could it be that removing xanmod patches in 6.2.6 affected USB mice? Anyone else experiencing the same?

Foxinatel commented on 2023-03-05 18:26 (UTC)

In the PKGBUILD it looks like the line scripts/config --enable FONT_TER16x32 needs to be replaced with scripts/config --keep-case --enable FONT_TER16x32, otherwise the script will uppercase it to an invalid config option.

Moviuro commented on 2022-08-23 12:28 (UTC)

@Gonzo2028 : rm *patch; makepkg -sriCfc

@Khaithang: it looks like LLVM build is an option passed to makepkg (in the PKGBUILD you can see it adds things to BUILD_FLAGS). Try: _use_llvm_lto=1 makepkg -sriCfc

Gonzo2028 commented on 2022-08-23 12:08 (UTC)

Ideas to this issues? It was building fine before until a couple of days ago.

==> Erstelle Paket: linux-clear 5.19.2-1 (Di 23 Aug 2022 13:06:37 WEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> linux-5.19.tar.xz gefunden -> linux-5.19.tar.sign gefunden -> Lade patch-5.19.2.xz herunter... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 464k 100 464k 0 0 461k 0 0:00:01 0:00:01 --:--:-- 461k -> Aktualisiere das linux-clear git Repo... remote: Enumerating objects: 71, done. remote: Counting objects: 100% (71/71), done. remote: Compressing objects: 100% (47/47), done. remote: Total 59 (delta 13), reused 53 (delta 9), pack-reused 0 Entpacke Objekte: 100% (59/59), 78.16 KiB | 684.00 KiB/s, fertig. Von https://github.com/clearlinux-pkgs/linux fd11cf4..b59270d main -> main + 370eebb...92a3337 refs/pull/22/merge -> refs/pull/22/merge (Aktualisierung erzwungen) * [neues Tag] 5.19.1-1176 -> 5.19.1-1176 * [neues Tag] 5.19.2-1178 -> 5.19.2-1178 -> more-uarches-20220315.tar.gz gefunden -> 0001-pci-Enable-overrides-for-missing-ACS-capabilities.patch gefunden -> 0001-sysctl-add-sysctl-to-disallow-unprivileged-CLONE_NEW.patch gefunden ==> Überprüfe source Dateien mit sha256sums... linux-5.19.tar.xz ... Erfolg linux-5.19.tar.sign ... Übersprungen patch-5.19.2.xz ... Erfolg linux-clear ... Übersprungen more-uarches-20220315.tar.gz ... Erfolg 0001-pci-Enable-overrides-for-missing-ACS-capabilities.patch ... FEHLGESCHLAGEN 0001-sysctl-add-sysctl-to-disallow-unprivileged-CLONE_NEW.patch ... FEHLGESCHLAGEN ==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung! :: Unable to build linux-clear - makepkg exited with code: 1