Package Base Details: linux-clear

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Keywords: clear clearlinux intel kernel
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 71
Popularity: 1.39
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-04-27 17:07 (UTC)

Pinned Comments

metak commented on 2022-03-27 13:44 (UTC) (edited on 2022-04-02 13:20 (UTC) by metak)

The PKGBUILD file supports a few different configurable build-time options:
  • _makenconfig Tweak kernel options prior to a build via nconfig. Pseudo-graphical menu based on ncurses. 1 2
  • _localmodcfg Only compile active modules to VASTLY reduce the number of modules built and the build time.
  • Please read arch wiki page for detailed explanation on how to use it.
  • _subarch Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default is Generic-x86-64 number 36 if nothing else is selected.
  • PKGBUILD file with the list of architectures
  • graysky kernel_compiler_patch
  • _use_current Use the current kernel's .config file. Enabling this option will use the .config of the RUNNING kernel rather than the ARCH defaults. Useful when the package gets updated and you already went through the trouble of customizing your config options. NOT recommended when a new kernel is released, but again, convenient for package bumps.
  • _use_llvm_lto Compile the kernel with LLVM/Clang.
  • _debug Enable y some additional debug features present in arch kernel, but not in Clear upstream. n to force disable or leave empty to ignore.
Lastly, build the kernel by setting your environment variable env _subarch=40 _localmodcfg=y.

metak commented on 2018-01-22 01:49 (UTC) (edited on 2021-12-01 12:47 (UTC) by metak)

1. Binaries available in my repo: http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/
[home_metakcahura_kernel_Arch_Extra_standard]
SigLevel = Never
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/$arch
THIS IS OPTIONAL:
2. After install adjust your boot cmd line. ClearLinux uses clr-boot-manager which takes care of that. This is upstream default:
quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw 

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 47 Next › Last »

guiodic commented on 2021-09-17 10:43 (UTC)

17/09/21 12:40 kernel i915 0000:00:02.0: Direct firmware load for i915/tgl_dmc_ver2_08.bin failed with error -2 17/09/21 12:40 kernel i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/tgl_dmc_ver2_08.bin. Disabling runtime power management. 17/09/21 12:40 kernel i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

guiodic commented on 2021-09-17 09:09 (UTC)

I receive an error on Intel GPU firmware loading (GUC)

Direct firmware load for i915/tgl_dmc_ver2_08.bin failed with error -2

this make me unable to VP9 encoding via LibVa

metak commented on 2021-09-09 17:45 (UTC)

@Tjuh It's optimized for intel hardware, but it should also work for AMD. Haven't tried it on amd.

Tjuh commented on 2021-09-04 09:27 (UTC)

Is this kernel mainly suited for Intel cpus or does it provide the same benefits for an AMD Ryzen 7 laptop?

xstefen commented on 2021-08-28 02:01 (UTC) (edited on 2021-08-28 02:04 (UTC) by xstefen)

For those unfamiliar with CFLAGs/-march optimizations

> https://wiki.gentoo.org/wiki/Safe_CFLAGS

Info on what option to choose, the differences, etc..

tl;dr -march=native is usually ideal

lucenera commented on 2021-08-19 07:39 (UTC)

==> ERROR: Failure while downloading https://github.com/graysky2/kernel_compiler_patch/archive/20210817.tar.gz How to solve?

metak commented on 2021-07-07 10:54 (UTC)

@xawiw Previously I removed that build parameter from PKGBUILD file because the proper way is to set it with MAKEFLAGS in /etc/makepkg.conf.

@Dobbie03 If you don't want native optimizations then choose skylake.

Dobbie03 commented on 2021-07-07 08:08 (UTC)

What option should I choose for a Coffee Lake Core i9 9900?

xawlw commented on 2021-07-06 20:29 (UTC)

@metak Can you please add multi-threading to the build parameters?

make bzImage modules -j$(nproc --all)