Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- emerge -av nvidia-drivers
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- Dependency resolution took 1.50 s (backtrack: 0/20).
- [ebuild N #] x11-drivers/nvidia-drivers-470.256.02-r2:0/470::gentoo USE="X modules static-libs strip tools -dist-kernel -modules-compress -modules-sign -persistenced" ABI_X86="(64) -32" 0 KiB
- Total: 1 package (1 new), Size of downloads: 0 KiB
- Would you like to merge these packages? [Yes/No]
- >>> Verifying ebuild manifests
- >>> Emerging (1 of 1) x11-drivers/nvidia-drivers-470.256.02-r2::gentoo
- * NVIDIA-Linux-x86_64-470.256.02.run BLAKE2B SHA512 size ;-) ... [ ok ]
- * nvidia-installer-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
- * nvidia-modprobe-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
- * nvidia-persistenced-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
- * nvidia-settings-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
- * nvidia-xconfig-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
- * Determining the location of the kernel source code
- * Found kernel source directory:
- * /usr/src/linux
- * Found sources for kernel version:
- * 6.12.16-gentoo-x86_64
- *
- * *** WARNING ***
- *
- * nvidia-drivers is known to break easily with new kernel versions and,
- * with the current kernel (6.12.16-gentoo-x86_64), it was either hardly
- * tested or is known broken. It is recommended to use one of:
- *
- * <=sys-kernel/gentoo-kernel-6.6.x or
- * <=sys-kernel/gentoo-sources-6.6.x
- *
- * or equivalent rather than file downstream bug reports if run into
- * issues, then wait for upstream fixes and a new release. Ideally,
- * with out-of-tree modules, use an LTS (Long Term Support) kernel
- * branch[1]. If in doubt, Gentoo's stable kernels are always LTS
- * and can be easily used even on ~testing systems.
- *
- * [1] https://www.kernel.org/category/releases.html
- *
- * Checking for suitable kernel configuration options ...
- * CONFIG_X86_KERNEL_IBT: is set and, if the CPU supports the feature,
- * this *could* lead to modules load failure with ENDBR errors, or to
- * broken CUDA/NVENC. Please ignore if not having issues, but otherwise
- * try to unset or pass ibt=off to the kernel's command line. [ !! ]
- * Please check to make sure these options are set correctly.
- * Failure to do so may cause unexpected problems.
- * Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ...
- * Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-14' '/usr/bin/x86_64-pc-linux-gnu-g++-14' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip'
- >>> Unpacking source...
- >>> Unpacking NVIDIA-Linux-x86_64-470.256.02.run to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Unpacking nvidia-installer-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Unpacking nvidia-modprobe-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Unpacking nvidia-persistenced-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Unpacking nvidia-settings-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Unpacking nvidia-xconfig-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
- >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work ...
- * Applying nvidia-drivers-470.141.03-clang15.patch ... [ ok ]
- * Applying nvidia-modprobe-390.141-uvm-perms.patch ... [ ok ]
- * Applying nvidia-settings-390.144-desktop.patch ... [ ok ]
- * Applying nvidia-settings-390.144-no-gtk2.patch ... [ ok ]
- * Applying nvidia-settings-390.144-raw-ldflags.patch ... [ ok ]
- * ==========================================================================================================================================================================
- * Applying user patches from /etc/portage/patches ...
- * Applying nvidia-470xx-fix-linux-6.12.patch ...
- can't find file to patch at input line 18
- Perhaps you used the wrong -p or --strip option?
- The text leading up to this was:
- --------------------------
- |From 839b964bd5be20275a4d1add020e68e407380adb Mon Sep 17 00:00:00 2001
- |From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]>
- |Date: Sat, 17 Aug 2024 14:26:04 +0000
- |Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.12-rc1
- |
- |Note that the fix requires enabling DRM kernel mode setting
- |(add the `nvidia-drm.modeset=1` parameter to the kernel command line).
- |
- |(Thanks xtexChooser for the memory management fixes!)
- |---
- | nvidia-drm/nvidia-drm-drv.c | 47 +++++++++++++++++++++++++++++++++++++
- | 1 file changed, 47 insertions(+)
- |
- |diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c
- |index f350134..d6233a5 100644
- |--- a/nvidia-drm/nvidia-drm-drv.c
- |+++ b/nvidia-drm/nvidia-drm-drv.c
- --------------------------
- No file to patch. Skipping patch.
- 6 out of 6 hunks ignored [ !! ]
- * ERROR: x11-drivers/nvidia-drivers-470.256.02-r2::gentoo failed (prepare phase):
- * patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch
- *
- * Call stack:
- * ebuild.sh, line 136: Called src_prepare
- * environment, line 3991: Called default
- * phase-functions.sh, line 874: Called default_src_prepare
- * phase-functions.sh, line 950: Called __eapi8_src_prepare
- * environment, line 360: Called eapply_user
- * environment, line 1832: Called eapply '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * environment, line 1792: Called _eapply_patch '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * environment, line 1730: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * isolated-functions.sh, line 112: Called die
- * The specific snippet of code:
- * die "$@"
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
- >>> Failed to emerge x11-drivers/nvidia-drivers-470.256.02-r2, Log file:
- >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'
- * Messages for package x11-drivers/nvidia-drivers-470.256.02-r2:
- *
- * *** WARNING ***
- *
- * nvidia-drivers is known to break easily with new kernel versions and,
- * with the current kernel (6.12.16-gentoo-x86_64), it was either hardly
- * tested or is known broken. It is recommended to use one of:
- *
- * <=sys-kernel/gentoo-kernel-6.6.x or
- * <=sys-kernel/gentoo-sources-6.6.x
- *
- * or equivalent rather than file downstream bug reports if run into
- * issues, then wait for upstream fixes and a new release. Ideally,
- * with out-of-tree modules, use an LTS (Long Term Support) kernel
- * branch[1]. If in doubt, Gentoo's stable kernels are always LTS
- * and can be easily used even on ~testing systems.
- *
- * [1] https://www.kernel.org/category/releases.html
- *
- * CONFIG_X86_KERNEL_IBT: is set and, if the CPU supports the feature,
- * this *could* lead to modules load failure with ENDBR errors, or to
- * broken CUDA/NVENC. Please ignore if not having issues, but otherwise
- * try to unset or pass ibt=off to the kernel's command line.
- * Please check to make sure these options are set correctly.
- * Failure to do so may cause unexpected problems.
- * ERROR: x11-drivers/nvidia-drivers-470.256.02-r2::gentoo failed (prepare phase):
- * patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch
- *
- * Call stack:
- * ebuild.sh, line 136: Called src_prepare
- * environment, line 3991: Called default
- * phase-functions.sh, line 874: Called default_src_prepare
- * phase-functions.sh, line 950: Called __eapi8_src_prepare
- * environment, line 360: Called eapply_user
- * environment, line 1832: Called eapply '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * environment, line 1792: Called _eapply_patch '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * environment, line 1730: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
- * isolated-functions.sh, line 112: Called die
- * The specific snippet of code:
- * die "$@"
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement