Package Details: linux-clear 6.12.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 the kernel and compiled modules.
Upstream URL: https://git.staropensource.de/JeremyStarTM/aur-linux-clear
Keywords: clear clearlinux intel kernel linux
Licenses: GPL-2.0-only
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 73
Popularity: 0.31
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2025-01-17 17:54 (UTC)

Dependencies (16)

Required by (6)

Sources (5)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2025-01-17 17:58 (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
- _show_compile: Enables verbose-er compilation output and displays all executing make targets

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 .. 6 7 8 9 10 11 12 13 14 15 16 .. 52 Next › Last »

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

Khaithang commented on 2022-08-22 23:00 (UTC)

Just like it prompt us to select the architecture, it would be good if it prompts for the llvm flag as well. llvm/clang compiler is faster so I think it is it should be the preferred one. Being able to turn it on right before compiling starts would be great.

nutterpc commented on 2022-08-07 22:38 (UTC)

Don't know why (Must be missing something), but when i try to pass the environment variables i want for this kernel, doesn't seem to work. I'm using Garuda Linux, which is still an arch derivative. Odd that something so simple has me stumped atm lol

metak commented on 2022-05-08 16:02 (UTC)

@Aleksana Try initcall_blacklist=kvm_intel to blacklist built-in module?

<deleted-account> commented on 2022-05-08 14:46 (UTC)

I got the kvm_intel issue again.When I compile on an intel x86_64 targeted at amd zen3 subarch, the kernel loads both kvm_intel and kvm amd,throwing an error

kvm: no hardware support for 'kvm_intel'

Have tried to append kernel parameter modprobe.blacklist=kvm_intel but it didn't help. It looks a bit annoying as I'm using plymouth.