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.43
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 1 2 3 4 5 6 7 8 Next › Last »

figue commented on 2018-08-17 14:02

@QDesjardin you are right. I updated my script to choose microarchitecture because I saw that the upstream project added more options. But I forgot the help message ;) I'll update PKGBUILD without pushing a new release.

QDesjardin commented on 2018-08-16 22:58

Just a minor note, you should update the PKGBUILD, the part where it says "Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture" and it tells you 0 to 22.

It's actually 0 to 25 now, they added in some options for AMD and Intel.

simona commented on 2018-08-11 17:53

Thx. Ok now :-)

figue commented on 2018-08-11 15:33

@simona fixed. Sorry :(

simona commented on 2018-08-11 13:00

-> Download di config in corso... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ==> ERRORE: Impossibile scaricare https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id= L'operazione sta per essere interrotta...

figue commented on 2018-07-20 19:31

@simona fixed. Please refresh your git copy.

simona commented on 2018-07-20 18:57

failed to verify integrity or prepare linux-xanmod,linux-xanmod-docs,linux-xanmod-headers package

morosa commented on 2018-05-08 07:50

../lib/str_error_r.c: In function ‘str_error_r’: ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict] snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err); ^~~~~~~~

SilverMight commented on 2018-04-07 23:15

==> Making package: linux-xanmod 4.16.0-2 (Sat Apr  7 19:13:11 EDT 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 4.16.0-xanmod1.tar.gz
  -> Found 60-linux.hook
  -> Found 90-linux.hook
  -> Found linux-xanmod.preset
  -> Found choose-gcc-optimization.sh
  -> Found 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
  -> Found 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch
  -> Found 0003-Partially-revert-swiotlb-remove-various-exports.patch
  -> Found config
==> ERROR: Integrity checks (sha256) differ in size from the source array.

Getting this now

QDesjardin commented on 2018-01-28 22:43

Works 100% now.