Package Details: linux-xanmod 5.19.14-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy)
Package Base: linux-xanmod
Description: The Linux kernel and modules with Xanmod patches
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Provides: KSMBD-MODULE, NTFS3-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 105
Popularity: 2.61
First Submitted: 2017-02-14 09:40 (UTC)
Last Updated: 2022-10-06 06:31 (UTC)

Pinned Comments

figue commented on 2021-07-03 09:51 (UTC) (edited on 2021-07-03 09:58 (UTC) by figue)

@qontinuum yes, probably I'll need to make a new package called linux-xanmod-edge and leave this package in the stable branch. Thanks for your suggestion.

Edit: done.

https://aur.archlinux.org/packages/linux-xanmod-edge/

figue commented on 2021-06-10 20:47 (UTC) (edited on 2021-06-10 20:48 (UTC) by figue)

Starting from 5.12.10, upstream moved config files to a folder, and it provides a config for gcc or clang. So I added a new variable :)

So you can set $_compiler to "gcc" or "clang" (default is gcc).

figue commented on 2018-12-14 00:50 (UTC) (edited on 2021-06-10 20:45 (UTC) by figue)

This package have several variables to enable/disable features.

##
## The following variables can be customized at build time. Use env or export to change at your wish
##
##   Example: env _microarchitecture=98 use_numa=n use_tracers=n use_pds=n makepkg -sc
##
## Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture
## Valid numbers between: 0 to 99
## Default is: 0 => generic
## Good option if your package is for one machine: 98 (Intel native) or 99 (AMD native)
if [ -z ${_microarchitecture+x} ]; then
  _microarchitecture=0
fi

## 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 ${use_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 ${use_tracers+x} ]; then
  use_tracers=y
fi

## Choose between GCC and CLANG config (default is GCC)
if [ -z ${_compiler+x} ]; then
  _compiler=gcc
fi

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
# To keep track of which modules are needed for your specific system/hardware,
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
# This PKGBUILD read the database kept if it exists
#
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
if [ -z ${_localmodcfg} ]; then
  _localmodcfg=n
fi

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

env _microarchitecture=98 use_numa=n use_tracers=n use_ns=y _localmodcfg=y makepkg -sic

Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):

Code involved:

  for _myconfig in "${startdir}/myconfig" "${XDG_CONFIG_HOME}/linux-xanmod/myconfig" ; do
    if [ -f "${_myconfig}" ]; then
      if grep -q 'scripts/config' "${_myconfig}"; then
        # myconfig is a partial file. Executing as a script
        msg2 "Applying myconfig..."
        bash -x "${_myconfig}"
      else
        # myconfig is a full config file. Replacing default .config
        msg2 "Using user CUSTOM config..."
        cp -f "${_myconfig}" .config
      fi
      echo
    fi
  done

Latest Comments

1 2 3 4 5 6 .. 42 Next › Last »

figue commented on 2022-07-19 16:19 (UTC)

@sk21 depends on what you change. If it's already done by a PKGBUILD variable, you can launch your paru with your custom variables (add to your .bashrc or directly from terminal).

sk21 commented on 2022-07-19 03:26 (UTC)

how can i edit the PKGBUILD and make it permanent across updates? currently i download it using paru and edit it, but updating my system seems to revert to the defaults

figue commented on 2022-06-07 23:07 (UTC)

@That1Calculator unflagged:

Current Stable (STABLE) 5.17.13-xanmod1 2022-06-06

https://xanmod.org/#install_via_apturl

That1Calculator commented on 2022-06-07 21:10 (UTC)

@figue I flagged it out of date because 5.18.2 is out, not for 5.17.3

figue commented on 2022-05-09 20:18 (UTC)

@vegancookies as far as I know, Xanmod uses graysky's patches:

https://github.com/graysky2/kernel_compiler_patch

Check his repo.

vegancookies commented on 2022-05-09 12:36 (UTC)

Does this not work well with Kaby Lake? It lists all intel CPU's in the i3 i5 and i7 line ups up until 8th generation with the exception of the 7th generation? Is this a mistake?

arglebargle commented on 2022-02-06 19:27 (UTC) (edited on 2022-02-06 19:39 (UTC) by arglebargle)

@BitGaming - Things are a little confusing right now since the most recent LTS kernel is the same as the previous kernel.org stable release.

Xanmod kernel branches breaks down like this:

  • xanmod-edge always tracks the newest kernel.org stable branch
  • xanmod tracks the previous stable branch (oldstable in debian terminology)
  • xanmod-lts tracks the newest lts branch prior to oldstable

Following those rules you get:

  • xanmod-edge -> 5.16 (kernel.org stable)
  • xanmod -> 5.15 (oldstable)
  • xanmod-lts -> 5.10 (newest LTS prior to oldstable)

I suspect -lts will promote to 5.15 as soon as 'xanmod' moves to 5.16, which should happen when 5.17 is released in a couple of months.

Anyway, there you go.

enihcam commented on 2022-02-04 02:39 (UTC)

@BlitGaming I forwarded your question here: https://forum.xanmod.org/thread-4256-post-7962.html#pid7962

figue commented on 2022-02-02 08:37 (UTC)

@enihcam done. Will be merged in next release.

@BlitGaming Check https://xanmod.org/#install_via_apturl you can see the current version of every branch. This package is the latest STABLE branch. Edge, TT, RT, LTS are in separated packages here in AUR.

BlitDev commented on 2022-02-02 08:27 (UTC)

Why is the xanmod of branch 5.15 used? The last branch is 5.16, and it's not "linux-xanmod-lts"