@enihcam I've added the provides wireguard module and I've also enabled the XZ compressed modules to further reduce the size. From roughly ~77 MiB installed size down to ~26 Mib.
Search Criteria
Package Details: linux-clear 6.11.7-1
Package Actions
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 |
Licenses: | GPL-2.0-only |
Provides: | KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Submitter: | metak |
Maintainer: | JeremyStarTM |
Last Packager: | JeremyStarTM |
Votes: | 74 |
Popularity: | 0.98 |
First Submitted: | 2018-01-18 21:47 (UTC) |
Last Updated: | 2024-11-19 01:15 (UTC) |
Dependencies (16)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR) (optional) – firmware images needed for some devices
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (5)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (5)
Latest Comments
« First ‹ Previous 1 .. 38 39 40 41 42 43 44 45 46 47 48 .. 51 Next › Last »
metak commented on 2018-11-03 13:49 (UTC)
enihcam commented on 2018-11-03 12:18 (UTC) (edited on 2018-11-03 12:30 (UTC) by enihcam)
@metak, you need to add the following line into PKGBUILD: provides=('WIREGUARD-MODULE')
Otherwise, when you install wireguard-tools, wireguard-dkms would be installed as its dependency.
I have written a note at https://wiki.archlinux.org/index.php/WireGuard#Installation.
metak commented on 2018-10-17 10:14 (UTC)
@enihcam No need. Bison is in base-devel
group and should already be installed. Official linux
package also doesn't have it makedepends.
enihcam commented on 2018-10-17 06:22 (UTC)
not a big deal. bison is needed to compile the kernel, but it is not in makedepends.
metak commented on 2018-09-12 21:16 (UTC)
NOTICE! I've set CONFIG_MNATIVE
as default like @Enverex asked previously. If there are any issues please let me know. (of course, this doesn't affect the binaries in my repo)
metak commented on 2018-09-10 11:34 (UTC) (edited on 2018-09-10 11:35 (UTC) by metak)
@jwm1611 Slight improvement is what you can expect, but no miracles. As far as clearlinux distribution optimizations go, they're mostly in userland and not the kernel.
I don't use Manjaro so I can't comment on that one. If you're having issues with keys try building with --skippgpcheck
.
jwm1611 commented on 2018-09-07 19:46 (UTC) (edited on 2018-09-07 20:21 (UTC) by jwm1611)
Not sure if it should be expected that this package will not work on Manjaro, but I decided to test this out. Just attempted install of linux-clear 4.18.6-1 on Manjaro (with kernel 4.18.5-1-MANJARO) with all updates applied as of today, and installation ended prematurely here:
configuration written to .config
==> Sources are ready. :: failed to verify integrity or prepare linux-clear package
After checking the scroll-back, I saw that I needed to import Linus Torvalds' key. I was able to import his key with sudo pacman-key -r 79BE3E4300411886, but was still unable to get the kernel source tarball to verify during the linux-clear package install with pacaur, even after following that up with sudo pacman-key --lsign-key 79BE3E4300411886.
I ended up having to follow these instructions to get the correct signature to import, so I could then get the tarball verification to succeed: https://bbs.archlinux.org/viewtopic.php?pid=1493850#p1493850
"This isn't a solution to the error message you're getting, but it's a way to import the PGP keys. I'll run through importing Linus' key for Kernel Packaging. Greg's will be the same process.
1) Go to a keyserver, say http://pgp.mit.edu; 2) Search for the key you're looking for with matching fingerprints, in this case, Linus Torvalds or 00411886 (the last 8 digits of the long fingerprint 79BE3E4300411886 in the error message); 3) Click on the keyID (so 00411886 for Linus) 4) Copy all the text on the page into a text editor and save it as a linus.asc file; 5) Navigate to the folder you saved linus.asc and run:
gpg --import linus.asc
6) Done (provided there are no error messages)."
However, my cached package data for linux-clear still needed to be cleared out before successfully reinstalling the package, because for some reason things still came to a stop with the same error, even though no integrity checks had failed:
==> ERROR: A failure occurred in prepare(). Aborting... :: failed to verify integrity or prepare linux-clear package
The linux-clear kernel successfully built for me, and here are my before and after Geekbench scores:
4.18.5-1-MANJARO: https://browser.geekbench.com/v4/cpu/9744312 single: 5079 multi: 17426
linux-clear 4.18.6-1: https://browser.geekbench.com/v4/cpu/9745449 single: 5108 multi: 17502
Looks like modest gains which are likely beyond margin of error, but I haven't done any scientific testing.
As far as my perception goes, my system already felt insanely responsive running on this Samsung 970 Pro 512gb SSD with delidded 3770K @ 4.8ghz on all cores (highest I could get before voltage scaling curve hit the cliff). Will test further, thanks for your work on this package!
metak commented on 2018-09-07 15:07 (UTC) (edited on 2018-09-07 15:08 (UTC) by metak)
@Enverex The only thing clearlinux team changed was to enable pre-GCN 1.2 AMDGPU driver support in 4.18.5-2 (clr 4.18.5-628)
. Have you checked the wiki or troubleshoot in any way to check if that commit caused this?
Enverex commented on 2018-09-07 12:12 (UTC)
Just a heads up, HDMI audio (on an RX580) stopped working for me a version or two ago with this. Had to switch back to the normal kernel.
Pinned Comments
JeremyStarTM commented on 2024-11-08 18:33 (UTC) (edited on 2024-11-08 18:33 (UTC) by JeremyStarTM)
Proposal update
The package has been updated to 6.11.7 (clr 6.11.6-1477), and with that landlock support has been enabled the package source moved to https://git.staropensource.de/JeremyStarTM/linux-clear.
JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2024-11-08 18:36 (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
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.
The PKGBUILD file supports customization via environment variables. Here's a list of all of them:
_makemenuconfig
: Invokesmake menuconfig
(ncurses-based default configuration menu) before compilation starts_makenconfig
: Invokesmake nconfig
(ncurses-based nicer configuration menu) before compilation starts_makexconfig
: Invokesmake 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 withIKCONFIG_PROC
_copyfinalconfig
: Copies the final kernel configuration into the repository root askconfig-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 is40
(Generic-x86-64), which is compatible with all amd64 processors. Must be a number_debug
: Force enables debug options when set toy
, force disables debug options when set ton
or uses the config defaults when unsetAll of these variables just need to be set for them to apply, except for
_subarch
and_debug
. See their descriptions for more information.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.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. Tihs prevents unnecessary signups.
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.