Package Details: linux-xanmod-lts 6.6.28-2

Git Clone URL: https://aur.archlinux.org/linux-xanmod-lts.git (read-only, click to copy)
Package Base: linux-xanmod-lts
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
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 13
Popularity: 0.000000
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2024-04-22 06:43 (UTC)

Dependencies (14)

Required by (5)

Sources (4)

Pinned Comments

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

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

References:

##
## The following variables can be customized at build time. Use env or export to change at your wish
##
##   Example: env _microarchitecture=99 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: 99 => 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

# Compile ONLY used modules to VASTLY reduce 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

# Tweak kernel options prior to a build via nconfig
_makenconfig=

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

env use_numa=n use_tracers=n 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 (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

figue commented on 2019-01-11 23:49 (UTC)

Switched to LTS branch 4.19.

Old 4.12 will remain in other package: linux-xanmod-lts414

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

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

References:

##
## The following variables can be customized at build time. Use env or export to change at your wish
##
##   Example: env _microarchitecture=99 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: 99 => 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

# Compile ONLY used modules to VASTLY reduce 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

# Tweak kernel options prior to a build via nconfig
_makenconfig=

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

env use_numa=n use_tracers=n 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 (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

figue commented on 2018-10-13 21:12 (UTC)

@Yosh latest release is 4.14.74-xanmod46:

https://github.com/xanmod/linux/releases

Markospox commented on 2018-08-02 18:43 (UTC)

Hi, it seems to be fine now, I twiddled with modules and there's also an xf86-input-something update coming although the same thing happened just after recompiling and surprisingly I had to run fallback version to have mouse cursor moving fine, and run back normally to have it movin' as freely. I'm not sure what you're askin' about, is this snap development branch thing? I wanted to use latest stable version with my configuration changes - IBM IOMMU disabled, some other unused crap disabled, CPU-specific binarch ;).. :))

figue commented on 2018-07-12 19:11 (UTC)

Hola Markos,

I honestly don't know why your compiled version 4.14.50 has this issue with touchpad. I don't know if there was some regression in some driver, it's very odd, but could happen. Also, maybe, could be related to xorg-input drivers, that are not related to kernel package. Is for some kind of know bug that you build a snapshot of this package?

Today I pushed latest xanmod-lts (4.14.55), all should be fine in kernel level, nothing has changed in packaging... So I don't know how I can help you. If you have some dmesg or something related to touchpad driver that should be reported upstream, we can see. But from my point of view (packaging level), I don't know if it's something that could be fixed.

Anyway, all suggestions are very welcome.

¡Saludos!

Markospox commented on 2018-07-12 16:42 (UTC)

Hi there,

I'm attempting to get 4.14.50 Xanmod kernel running, I built linux-xanmod-lts package from https://aur.archlinux.org/packages/linux-xanmod-lts/ with makepkg after downloading snapshot but when on it the cursor in LightDM/X moves only vertically - when I move horizontally on a touchpad, when I move vertically it doesn't move at all. A previous 4.14.x version that I got via pkg manager some time ago works fine, it was happening there too however booting fallback version of that previous Xanmod and back ordinary Xanmod somehow sort of fixed it. Touchpad with fallback version of this new one also sometimes works. I'm running Manjaro Cinnamon with recent updates, nothing significant was changed to the system since fresh install, basically it's like new, using nouveau on MacBook Pro 15" Core i7 2.66 GHz mid-2010 and I'd like to be adviced how to solve it.. Please don't suggest just to rebuild, that won't do it, I'm hoping that you'll reply a bit more thoughtfully.

Muchas gracias

figue commented on 2018-03-12 16:33 (UTC)

@HenryM you have to edit _microarchitecture variable in PKGBUILD.

Look at choose-gcc-optimization.sh to look for the proper number, or use native (22).

HenryM commented on 2018-03-12 01:12 (UTC)

Is there any convenient way to set gcc architecture optimization?

figue commented on 2018-02-04 18:16 (UTC) (edited on 2018-02-04 21:51 (UTC) by figue)

Latest release is 4.14.15 for now:

https://github.com/xanmod/linux/releases

Edit: updated

figue commented on 2018-02-02 14:47 (UTC)

Switched to 4.14 LTS