-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Jung <[email protected]>
- Loading branch information
Showing
11 changed files
with
46 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,7 +198,7 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_k | |
fi | ||
|
||
_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}" | ||
_nv_ver=555.58.02 | ||
_nv_ver=560.31.02 | ||
_nv_pkg="NVIDIA-Linux-x86_64-${_nv_ver}" | ||
_nv_open_pkg="open-gpu-kernel-modules-${_nv_ver}" | ||
source=( | ||
|
@@ -227,8 +227,7 @@ fi | |
if [ -n "$_build_nvidia_open" ]; then | ||
source+=("nvidia-open-${_nv_ver}.tar.gz::https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${_nv_ver}.tar.gz" | ||
"${_patchsource}/misc/nvidia/make-modeset-fbdev-default.patch" | ||
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch" | ||
"${_patchsource}/misc/nvidia/gsp-fix-stutter.patch") | ||
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch") | ||
fi | ||
|
||
## List of CachyOS schedulers | ||
|
@@ -275,7 +274,6 @@ prepare() { | |
src="${src%.zst}" | ||
[[ $src = make-modeset-fbdev-default.patch ]] && continue | ||
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue | ||
[[ $src = gsp-fix-stutter.patch ]] && continue | ||
[[ $src = *.patch ]] || continue | ||
echo "Applying patch $src..." | ||
patch -Np1 < "../$src" | ||
|
@@ -318,8 +316,8 @@ prepare() { | |
bore|hardened) scripts/config -e SCHED_BORE --set-val MIN_BASE_SLICE_NS 1000000;; | ||
echo) scripts/config -e ECHO_SCHED;; | ||
eevdf) ;; | ||
rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;; | ||
rt-bore) scripts/config -e SCHED_BORE --set-val MIN_BASE_SLICE_NS 1000000 -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;; | ||
rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -d PREEMPT_RT -d PREEMPT_DYNAMIC -e PREEMPT_BUILD -e PREEMPT_BUILD_AUTO -e PREEMPT_AUTO;; | ||
rt-bore) scripts/config -e SCHED_BORE --set-val MIN_BASE_SLICE_NS 1000000 -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -d PREEMPT_RT -d PREEMPT_DYNAMIC -e PREEMPT_BUILD -e PREEMPT_BUILD_AUTO -e PREEMPT_AUTO;; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ventureoo
Member
|
||
sched-ext) scripts/config -e SCHED_CLASS_EXT;; | ||
*) _die "The value $_cpusched is invalid. Choose the correct one again.";; | ||
esac | ||
|
@@ -539,8 +537,6 @@ prepare() { | |
patch -Np1 -i "${srcdir}/make-modeset-fbdev-default.patch" -d "${srcdir}/${_nv_open_pkg}/kernel-open" | ||
# Fix for https://bugs.archlinux.org/task/74886 | ||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}" | ||
# Fix for Stutters in KDE | ||
patch -Np1 -i "${srcdir}/gsp-fix-stutter.patch" -d "${srcdir}/${_nv_open_pkg}" | ||
fi | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Is there any motivation to enable
PREEMPT_AUTO
by default?