Package Details: linux-clear 6.11.7-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
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)

Required by (5)

Sources (5)

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: 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
_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. 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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 51 Next › Last »

JeremyStarTM commented on 2024-10-19 13:33 (UTC)

I have reverted the package to the previous, working version for the time being. I'll fix the package and make sure everything works before updating this package to the newest version. Again, I'm very sorry for my little incompetency in the past few days. I should've tested the updated, yet I did not. This is my fault, and I'm sorry for the current situation.

0byte commented on 2024-10-19 12:57 (UTC)

6.11.3-3 does not boot.

JeremyStarTM commented on 2024-10-18 10:21 (UTC)

noitemstoshow: thanks for the correction... again. I unfortunately didn't have enough time to test the changes, although I should've done that. I'll from now on compile the kernel first and then update the package. I'm sorry for the trouble in the past few days :P

noitemstoshow commented on 2024-10-18 03:14 (UTC)

Thank you for the update. on the line 266 of PKGBUILD file, it should be now

more-ISA-levels-and-uarches-for-kernel-6.8-rc4+.patch

instead of

more-uarches-for-kernel-6.8-rc4+.patch

after this correction, it built fine (with LTO enabled, zen3).

To build with LTO enabled, would need to install clang, lld, and llvm

JeremyStarTM commented on 2024-10-17 11:33 (UTC) (edited on 2024-10-17 11:33 (UTC) by JeremyStarTM)

ZhangHua: Thanks for catching and reporting! I unfortunately didn't have the time yet to compile the kernel myself, othehrwise I would've noticed it. Fixed it in the latest commit, should work now :)

ZhangHua commented on 2024-10-17 05:37 (UTC)

It seems that you forgot to update https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-clear#n124

Which results that makepkg tries to find 6.11.12-1472, which is not exist in git tags. There is only tag 6.11.3-1472.

noitemstoshow commented on 2024-10-14 08:33 (UTC)

Thanks.


sudo vim /etc/default/grub
#add the below to GRUB_CMDLINE_LINUX_DEFAULT line
amd_pstate=active
#can be one of the three, difference see 
#reddit "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide'
#amd_pstate=passive (Kernel 6.1+)
#amd_pstate=active (Kernel 6.3+)
#amd_pstate=guided (kernel 6.4+)
#then update the grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
#reboot and check
cpupower frequency-info
#output
analyzing CPU 7:
  driver: amd-pstate-epp
  CPUs which run at the same hardware frequency: 7
  CPUs which need to have their frequency coordinated by software: 7
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 550 MHz - 4.85 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 550 MHz and 4.85 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 4.85 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.85 GHz.
    AMD PSTATE Nominal Performance: 130. Nominal Frequency: 3.80 GHz.
    AMD PSTATE Lowest Non-linear Performance: 60. Lowest Non-linear Frequency: 1.75 GHz.
    AMD PSTATE Lowest Performance: 19. Lowest Frequency: 550 MHz.

#verify
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
#if its passive or guided mode it will show as 
amd-pstate
#if its active mode it will show as 
amd-pstate-epp

JeremyStarTM commented on 2024-10-14 02:27 (UTC) (edited on 2024-10-14 02:27 (UTC) by JeremyStarTM)

noitemstoshow: Simply put amd_pstate=active into your kernel command line. That should do it. For more information read this Reddit post.

noitemstoshow commented on 2024-10-13 11:42 (UTC)


sudo cpupower frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 2.20 GHz - 4.85 GHz
  available frequency steps:  3.80 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: ondemand performance schedutil
  current policy: frequency should be within 2.20 GHz and 3.80 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: 3.80 GHz (asserted by call to hardware)
  boost state support:
    Supported: yes
    Active: yes
    Boost States: 0
    Total States: 3
    Pstate-P0:  3800MHz
    Pstate-P1:  2800MHz
    Pstate-P2:  2200MHz

is there a way/config to have the other scaling driver like amd_pstate_epp made while compiling this kernel mod? amd_pstate_epp seems to give more states and can have lower freq while idle.

JeremyStarTM commented on 2024-09-27 05:18 (UTC) (edited on 2024-09-27 05:22 (UTC) by JeremyStarTM)

Update on the 9.9 vulnerability: It seems to affect CUPS and not the kernel. A fix is out already but has not yet landed in Arch's repositories. Make sure to update your systems as soon as it's out. Disable cups-browsed by executing systemctl disable --now cups-browsed in your terminal in the meantime.

https://securityonline.info/severe-unauthenticated-rce-flaw-cvss-9-9-in-gnu-linux-systems-awaiting-full-disclosure/