Am I the only one getting failed checksum for linux-nitrous.preset?
Search Criteria
Package Details: linux-nitrous-headers 6.12.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-nitrous.git (read-only, click to copy) |
---|---|
Package Base: | linux-nitrous |
Description: | Header files and scripts for building modules for Linux kernel (tagged git version) |
Upstream URL: | https://gitlab.com/xdevs23/linux-nitrous |
Keywords: | clang clearlinux kernel linux optimized |
Licenses: | GPL2 |
Submitter: | superboringdev |
Maintainer: | superboringdev (n0m4n904) |
Last Packager: | superboringdev |
Votes: | 11 |
Popularity: | 0.20 |
First Submitted: | 2019-11-05 16:41 (UTC) |
Last Updated: | 2024-11-27 21:00 (UTC) |
Dependencies (26)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- dkms (dkms-gitAUR, dkms-fast-zstdAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- bc (bc-ghAUR) (make)
- ccache (ccache-gitAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- kmod (busybox-coreutilsAUR, kmod-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- lzop (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- Show 6 more dependencies...
Required by (1)
- linux-nitrous (optional)
Sources (2)
SpineEyE commented on 2020-04-15 17:27 (UTC)
superboringdev commented on 2020-04-06 16:03 (UTC)
You're welcome. As always, you can download any version you'd like from here: https://github.com/xdevs23/linux-nitrous/releases
as that is where the binary versions are uploaded to
dedguy21 commented on 2020-04-06 16:01 (UTC)
Got it... Well thanks for keeping that fallback this week :)
superboringdev commented on 2020-04-06 15:56 (UTC)
@dedguy21
linux-nitrous (AUR) is supposed to be the same as linux-nitrous (pacman repository) just that the AUR version is compiled from source.
This one still being 5.5.11 is a coincidence because I did not actually intend to keep this one at 5.5 but since nvidia was causing some problems it was better to keep this one as is.
linux-nitrous-git is the development version (which most of the times is the same as this one)
I will update this one now. Usually, the AUR and pacman binary versions are the exact same versions and updated at the same time.
superboringdev commented on 2020-04-06 15:44 (UTC) (edited on 2020-04-06 15:44 (UTC) by superboringdev)
Good news! The nvidia-dkms package has been updated to patch the driver for Linux 5.6. Now you can use that as usual.
If you installed the driver manually, start the installer with the --uninstall
flag from a TTY, making sure there are no GPU applications running.
superboringdev commented on 2020-04-03 07:05 (UTC) (edited on 2020-04-03 19:22 (UTC) by superboringdev)
@dedguy21 the nvidia driver does not appear to be compatible with Linux 5.6 (it is with an early version of 5.6-rc). Please try one of the following solutions/workarounds:
-
use Version 5.5.15 (you can find all releases on https://github.com/xdevs23/linux-nitrous/releases)
-
use nouveau
-
use https://github.com/Tk-Glitch/PKGBUILDS/blob/master/nvidia-all/PKGBUILD
-
apply the patches from https://gitlab.com/snippets/1945940
My workaround (don't do this if you don't know what you're doing, this might mess up future nvidia driver installation procedures and you should know how to revert that before continuing):
Download the latest NVIDIA Vulkan 1.2 Developer Beta (e. g. 440.66.08) and put it into some subdirectory, let's say ~/nvidia
Run following commands:
$ cd ~/nvidia
$ wget -O kernel-5.6.patch https://gitlab.com/snippets/1945940/raw
$ sh ./*.run -x
$ cd NVIDIA*
$ patch -p1 -i ../kernel-5.6.patch
now log out and switch to a tty using CTRL+ALT+F<n> (e. g. CTRL+ALT+F3) and log in there.
$ sudo systemctl disable --now gdm # replace gdm with your display manager, e. g. sddm, lightdm, whatever it is or stop it manually. this command will stop your display manager and log you out of all DM sessions
If you have nouveau installed, make sure it's disabled! If you have any other nvidia driver installed, uninstall them now.
Now reboot and you will be greeted with a TTY. Log in there and do the following:
$ cd ~/nvidia/NVIDIA*
$ ./nvidia-installer --dkms
Follow all the steps. It will probably fail but no reason to worry.
Make sure you have clang installed!
Now edit /var/lib/dkms/nvidia/440.66.08/source/dkms.conf
and replace the corresponding line with this one:
MAKE[0]="'make' -j4 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH=1 CC=clang HOSTCC=clang modules"
the crucial part is IGNORE_CC_MISMATCH=1 CC=clang HOSTCC=clang
Now run sudo pacman -S linux-nitrous-headers
(or equivalent) to rebuild the DKMS modules. In case it fails again, make sure the dkms.conf
file still has the changes and run the dkms command that pacman provides manually, for example:
sudo dkms install nvidia/440.66.08 -k 5.6.2-nitrous+
After this the driver is fully installed and you can enable your DM again, e. g.:
sudo systemctl enable gdm
Now reboot.
dedguy21 commented on 2020-04-03 06:56 (UTC) (edited on 2020-04-03 07:03 (UTC) by dedguy21)
I can use dkms for all my modules except nvidia-dkms always errors out.
vboxhost-dkms (works) acpi_call-dkms (works) bbswitch-dkms (works) Nvidia-dkms (fails)
It builds in other kernels (tested in Zen, LQX, Clear)
I saved a copy of my var logs to share but you probably can run a test and reproduce it fairly quickly.
superboringdev commented on 2020-03-26 06:50 (UTC)
@dedguy21 Thank you!
This package was previously a binary package. @eschwartz suggested that using a custom repository is a better way of doing this and thus I changed this one to one that compiles from source (as it should be) and created a custom repository. The cool thing is that if the package was already installed, once the repository is added to the pacman config, it will upgrade the previously installed package without any issues.
dedguy21 commented on 2020-03-26 02:41 (UTC) (edited on 2020-03-26 02:43 (UTC) by dedguy21)
I have to up vote this package.
I appreciate it that you provided a bin version, as it's a pain in the butt having to recompile a kernel after every update
Pinned Comments
superboringdev commented on 2020-03-23 19:25 (UTC) (edited on 2024-09-16 19:48 (UTC) by superboringdev)
The prebuilt kernel is built using Clang/LLVM.
The linux-nitrous binary package can be installed by adding following lines to your /etc/pacman.conf:
Then you can install the package using your AUR helper or pacman (e. g.
sudo pacman -Syu linux-nitrous linux-nitrous-headers
)You probably need to add the keys before being able to install my packages: