Package Base Details: linux-xanmod

Git Clone URL: https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy)
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figuepluto
Votes: 21
Popularity: 5.63
First Submitted: 2017-02-14 09:40
Last Updated: 2020-01-17 21:48

Pinned Comments

figue commented on 2018-12-14 00:50

Please, check new release. You have now several variables to enable/disable features.

References:

## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
## Archlinux and Xanmod enable it by default.
## Set variable "use_numa" to: n to disable (possibly increase performance)
##                             y to enable  (stock default)
if [ -z ${_numa+x} ]; then
  use_numa=y
fi
##
## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled.
## Set variable "use_tracers" to: n to disable (possibly increase performance)
##                                y to enable  (stock default)
if [ -z ${_tracers+x} ]; then
  use_tracers=y
fi
##
## Enable PDS CPU scheduler by default https://gitlab.com/alfredchen/linux-pds
## Set variable "use_pds" to: n to disable (stock Xanmod)
##                            y to enable
if [ -z ${_pds+x} ]; then
  use_pds=n
fi
##
## Enable CONFIG_USER_NS_UNPRIVILEGED flag https://aur.archlinux.org/cgit/aur.git/tree/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch?h=linux-ck
## Set variable "use_ns" to: n to disable (stock Xanmod)
##                           y to enable (stock Archlinux)
if [ -z ${use_ns+x} ]; then
  use_ns=n
fi

Personally I'm running now xanmod kernel compiled with this:

env use_tracers=n use_numa=n use_pds=y use_ns=y makepkg -s

Also, you can now put a file in your local repo to build this package with a custom config. You have to call this file myconfig.

Reference:

  # Put the file "myconfig" at the package folder to use this feature
  if [ -f "${startdir}/myconfig" ]; then
    msg2 "Using user CUSTOM config..."
    cp -f "${startdir}"/myconfig .config
  fi

Latest Comments

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

figue commented on 2017-12-28 17:23

@QDesjardin the file "config" is Arch kernel config. If it change in Arch repos, you probably have to delete your local file, if not you have an old version and checksum will not be the same.

So, try to: rm config && makepkg

QDesjardin commented on 2017-12-27 23:49

For 4.14.9-1, it says this while building it:

==> Validating source_x86_64 files with sha256sums...

config ... FAILED

==> ERROR: One or more files did not pass the validity check!

==> ERROR: Makepkg was unable to build linux-xanmod.

figue commented on 2017-12-07 19:49

@ScarecrowDM ok. I'll report upstream.

ScarecrowDM commented on 2017-12-06 15:04

@figue: Yes, upstream patch does support newer CPUs.

https://github.com/graysky2/kernel_gcc_patch

figue commented on 2017-12-03 23:44

@ScarecrowDM do you know if there are more patches for newer CPU's? And, yes, they include only a few CPU architectures...

AMD Opteron/Athlon64/Hammer/K8
AMD Opteron/Athlon64/Hammer/K8 with SSE3 
AMD 61xx/7x50/PhenomX3/X4/II/K10 
AMD Barcelona 
AMD Bobcat 
AMD Bulldozer
AMD Piledriver 
AMD Jaguar 
Intel P4 / older Netburst based Xeon 
Intel Atom 
Intel Core 2 
Intel Nehalem
Intel Westmere 
Intel Silvermont 
Intel Sandy Bridge 
Intel Ivy Bridge 
Intel Haswell 
Intel Broadwell
Generic-x86-64 
Native optimizations autodetected by GCC

Maybe I report upstream next week. Thank you for the interest.

ScarecrowDM commented on 2017-12-03 18:37

Hey figue, great work managing this package!

The gcc optimization patch merged on xanmod is outdated though, newer CPUs (like ryzen) aren't on the list when you enter nconfig for further tweaks. I think you should let them know, so it can be fixed upstream.

figue commented on 2017-11-19 02:19

Updated to 4.14.0-xanmod2. There were some changes in PKGBUILD and hooks. Please, check that all is OK.

figue commented on 2017-11-14 16:37

I have running 4.14.0-xanmod1 without issues with xanmod config. Update is trivial, but Arch hasn't updated their configs yet. I'll wait until they release a proper config.

If anyone wants to update to 4.14, just change:

pkgver=4.14.0
xanmod=1

then update sums and make as usual:

updpkgsums
makepkg -sic

figue commented on 2017-10-20 08:49

@f100cleveland that's odd... I have 4.13.8-1-xanmod14 and Chromium is working here. Could be some regression with any driver? Maybe hardware acceleration? You can try disabling it with Xanmod and see if that helps.

My test is in a Lenovo Laptop and Intel graphics card. Can't test on more machines right now...

f100cleveland commented on 2017-10-20 02:27

After updating to the latest kernel, I got a google Chromium crash and chromium won't even load. If I go back to the stock 4.13.7 arch kernel, everything is fine. Is there a work around for this? When I compiled it, I chose the xan source, option 1.
Thanks