Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
790 stars 69 forks source link

ERROR: A failure occurred in prepare(). #143

Closed tuxarch closed 1 year ago

tuxarch commented 1 year ago

Hunk #1 FAILED at 3585. 1 out of 1 hunk FAILED -- saving rejects to file conftest.sh.rej patching file nvidia-drm/nvidia-drm-drv.c Hunk #1 succeeded at 680 (offset 21 lines).

Arch linux Linux arch 6.1.4-arch1-1

9.Custom version (396.xx series or higher) 1.Stable or regular beta 396.54.09 1.dkms

Tk-Glitch commented 1 year ago

1.Stable or regular beta

396.54.09 is a vulkan dev driver, so that's wrong :frog:

Anyway, 396 series will only work up to kernel 5.3 (with our patches). 5.1 being the recommended newest kernel to use with those.

I'm pretty sure 520 or 525 series is required for kernel 6.1 on non-legacy GPUs (470.161.03 for Kepler, and 390.157 for Fermi, which is not supported by nvidia-all tool)

See https://github.com/Frogging-Family/nvidia-all/blob/9318fb0b3aa8ce332215c627721e7926eaccdb64/PKGBUILD#L79

Anyway I have corrected the checks so the patch attempt won't happen on unsupported kernel revisions anymore. The driver modules will fail to build against incompatible kernels though, as expected.