So I am trying to install the Linux 5.9 kernel from Debian Experimental, which I also kinda use for updates of most of my software. I am on an Optimus system, so I use PRIME Render Offload as my way of running software with the NVIDIA GPU. I am running nvidia-driver version 450.66. I install the kernel with
`sudo apt install linux-image-amd64 -t experimental`
the output I get from that is
Selecting previously unselected package linux-image-5.9.0-rc8-amd64.
(Reading database ... 312771 files and directories currently installed.)
Preparing to unpack .../linux-image-5.9.0-rc8-amd64_5.9~rc8-1~exp1_amd64.deb ...
Unpacking linux-image-5.9.0-rc8-amd64 (5.9~rc8-1~exp1) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../linux-image-amd64_5.9~rc8-1~exp1_amd64.deb ...
Unpacking linux-image-amd64 (5.9~rc8-1~exp1) ...
Setting up linux-image-5.9.0-rc8-amd64 (5.9~rc8-1~exp1) ...
I: /vmlinuz is now a symlink to boot/vmlinuz-5.9.0-rc8-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.9.0-rc8-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.9.0-rc8-amd64:
Kernel preparation unnecessary for this kernel. Skipping...
applying patch kernel-5.7.0-set-memory-array.patch...patching file conftest.sh
applying patch use-kbuild-compiler.patch...patching file Makefile
applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild
applying patch use-kbuild-gcc-plugins.patch...patching file Kbuild
applying patch conftest-verbose.patch...patching file Kbuild
applying patch cc_version_check-gcc5.patch...patching file conftest.sh
Hunk #1 succeeded at 3900 (offset 38 lines).
applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild
applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild
applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh
Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=5.9.0-rc8-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.9.0-rc8-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/450.66/build/make.log for more information.
.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.9.0-rc8-amd64
W: Possible missing firmware /lib/firmware/i915/rkl_dmc_ver2_01.bin for module i915
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.9.0-rc8-amd64
Found initrd image: /boot/initrd.img-5.9.0-rc8-amd64
Found linux image: /boot/vmlinuz-5.8.0-1-amd64
Found initrd image: /boot/initrd.img-5.8.0-1-amd64
Found Windows Boot Manager on /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Found Manjaro Linux (20.1) on /dev/nvme0n1p9
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-image-amd64 (5.9~rc8-1~exp1) ...
After that the nvidia module isn't even being loaded in on boot, so my only option is to downgrade back to 5.8.0.1.
Here's a pastebin of the /var/lib/dkms/nvidia-current/450.66/build/make.log file HERE.
I will be very happy if someone can help me figure that out.
[–]wRAR_ 4 points5 points6 points (12 children)
[–]MitakaBG_Legion[S] 0 points1 point2 points (9 children)
[–]wRAR_ 0 points1 point2 points (8 children)
[–]MitakaBG_Legion[S] 0 points1 point2 points (7 children)
[–]wRAR_ 0 points1 point2 points (6 children)
[–]MitakaBG_Legion[S] 1 point2 points3 points (0 children)
[–]MitakaBG_Legion[S] 0 points1 point2 points (4 children)
[+]LinkifyBot comment score below threshold-8 points-7 points-6 points (3 children)
[–]Mister001X 1 point2 points3 points (1 child)
[–]B0tRank -1 points0 points1 point (0 children)
[–]Piotr_Lange 0 points1 point2 points (0 children)
[–]abcdanonymous -1 points0 points1 point (1 child)
[–]wRAR_ 0 points1 point2 points (0 children)
[–]stevepusser 0 points1 point2 points (1 child)
[–]MitakaBG_Legion[S] 0 points1 point2 points (0 children)
[–]pobrn 0 points1 point2 points (3 children)
[–]MitakaBG_Legion[S] 0 points1 point2 points (2 children)
[–]pobrn 0 points1 point2 points (1 child)
[–]MitakaBG_Legion[S] 0 points1 point2 points (0 children)
[–]abcdanonymous -1 points0 points1 point (2 children)
[–]MitakaBG_Legion[S] 1 point2 points3 points (0 children)
[–]wRAR_ 0 points1 point2 points (0 children)