Advertisement
Guest User

Untitled

a guest
Feb 28th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.47 KB | None | 0 0
  1. emerge -av nvidia-drivers
  2.  
  3. These are the packages that would be merged, in order:
  4.  
  5. Calculating dependencies... done!
  6. Dependency resolution took 1.50 s (backtrack: 0/20).
  7.  
  8. [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
  9.  
  10. Total: 1 package (1 new), Size of downloads: 0 KiB
  11.  
  12. Would you like to merge these packages? [Yes/No]
  13.  
  14. >>> Verifying ebuild manifests
  15.  
  16. >>> Emerging (1 of 1) x11-drivers/nvidia-drivers-470.256.02-r2::gentoo
  17. * NVIDIA-Linux-x86_64-470.256.02.run BLAKE2B SHA512 size ;-) ... [ ok ]
  18. * nvidia-installer-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
  19. * nvidia-modprobe-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
  20. * nvidia-persistenced-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
  21. * nvidia-settings-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
  22. * nvidia-xconfig-470.256.02.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
  23. * Determining the location of the kernel source code
  24. * Found kernel source directory:
  25. * /usr/src/linux
  26. * Found sources for kernel version:
  27. * 6.12.16-gentoo-x86_64
  28. *
  29. * *** WARNING ***
  30. *
  31. * nvidia-drivers is known to break easily with new kernel versions and,
  32. * with the current kernel (6.12.16-gentoo-x86_64), it was either hardly
  33. * tested or is known broken. It is recommended to use one of:
  34. *
  35. * <=sys-kernel/gentoo-kernel-6.6.x or
  36. * <=sys-kernel/gentoo-sources-6.6.x
  37. *
  38. * or equivalent rather than file downstream bug reports if run into
  39. * issues, then wait for upstream fixes and a new release. Ideally,
  40. * with out-of-tree modules, use an LTS (Long Term Support) kernel
  41. * branch[1]. If in doubt, Gentoo's stable kernels are always LTS
  42. * and can be easily used even on ~testing systems.
  43. *
  44. * [1] https://www.kernel.org/category/releases.html
  45. *
  46. * Checking for suitable kernel configuration options ...
  47. * CONFIG_X86_KERNEL_IBT: is set and, if the CPU supports the feature,
  48. * this *could* lead to modules load failure with ENDBR errors, or to
  49. * broken CUDA/NVENC. Please ignore if not having issues, but otherwise
  50. * try to unset or pass ibt=off to the kernel's command line. [ !! ]
  51. * Please check to make sure these options are set correctly.
  52. * Failure to do so may cause unexpected problems.
  53. * Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ...
  54. * 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'
  55. >>> Unpacking source...
  56. >>> Unpacking NVIDIA-Linux-x86_64-470.256.02.run to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  57. >>> Unpacking nvidia-installer-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  58. >>> Unpacking nvidia-modprobe-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  59. >>> Unpacking nvidia-persistenced-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  60. >>> Unpacking nvidia-settings-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  61. >>> Unpacking nvidia-xconfig-470.256.02.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  62. >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work
  63. >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work ...
  64. * Applying nvidia-drivers-470.141.03-clang15.patch ... [ ok ]
  65. * Applying nvidia-modprobe-390.141-uvm-perms.patch ... [ ok ]
  66. * Applying nvidia-settings-390.144-desktop.patch ... [ ok ]
  67. * Applying nvidia-settings-390.144-no-gtk2.patch ... [ ok ]
  68. * Applying nvidia-settings-390.144-raw-ldflags.patch ... [ ok ]
  69. * ==========================================================================================================================================================================
  70. * Applying user patches from /etc/portage/patches ...
  71. * Applying nvidia-470xx-fix-linux-6.12.patch ...
  72. can't find file to patch at input line 18
  73. Perhaps you used the wrong -p or --strip option?
  74. The text leading up to this was:
  75. --------------------------
  76. |From 839b964bd5be20275a4d1add020e68e407380adb Mon Sep 17 00:00:00 2001
  77. |From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]>
  78. |Date: Sat, 17 Aug 2024 14:26:04 +0000
  79. |Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.12-rc1
  80. |
  81. |Note that the fix requires enabling DRM kernel mode setting
  82. |(add the `nvidia-drm.modeset=1` parameter to the kernel command line).
  83. |
  84. |(Thanks xtexChooser for the memory management fixes!)
  85. |---
  86. | nvidia-drm/nvidia-drm-drv.c | 47 +++++++++++++++++++++++++++++++++++++
  87. | 1 file changed, 47 insertions(+)
  88. |
  89. |diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c
  90. |index f350134..d6233a5 100644
  91. |--- a/nvidia-drm/nvidia-drm-drv.c
  92. |+++ b/nvidia-drm/nvidia-drm-drv.c
  93. --------------------------
  94. No file to patch. Skipping patch.
  95. 6 out of 6 hunks ignored [ !! ]
  96. * ERROR: x11-drivers/nvidia-drivers-470.256.02-r2::gentoo failed (prepare phase):
  97. * patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch
  98. *
  99. * Call stack:
  100. * ebuild.sh, line 136: Called src_prepare
  101. * environment, line 3991: Called default
  102. * phase-functions.sh, line 874: Called default_src_prepare
  103. * phase-functions.sh, line 950: Called __eapi8_src_prepare
  104. * environment, line 360: Called eapply_user
  105. * environment, line 1832: Called eapply '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
  106. * environment, line 1792: Called _eapply_patch '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
  107. * 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'
  108. * isolated-functions.sh, line 112: Called die
  109. * The specific snippet of code:
  110. * die "$@"
  111. *
  112. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`,
  113. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`.
  114. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'.
  115. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/environment'.
  116. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
  117. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
  118.  
  119. >>> Failed to emerge x11-drivers/nvidia-drivers-470.256.02-r2, Log file:
  120.  
  121. >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'
  122.  
  123. * Messages for package x11-drivers/nvidia-drivers-470.256.02-r2:
  124.  
  125. *
  126. * *** WARNING ***
  127. *
  128. * nvidia-drivers is known to break easily with new kernel versions and,
  129. * with the current kernel (6.12.16-gentoo-x86_64), it was either hardly
  130. * tested or is known broken. It is recommended to use one of:
  131. *
  132. * <=sys-kernel/gentoo-kernel-6.6.x or
  133. * <=sys-kernel/gentoo-sources-6.6.x
  134. *
  135. * or equivalent rather than file downstream bug reports if run into
  136. * issues, then wait for upstream fixes and a new release. Ideally,
  137. * with out-of-tree modules, use an LTS (Long Term Support) kernel
  138. * branch[1]. If in doubt, Gentoo's stable kernels are always LTS
  139. * and can be easily used even on ~testing systems.
  140. *
  141. * [1] https://www.kernel.org/category/releases.html
  142. *
  143. * CONFIG_X86_KERNEL_IBT: is set and, if the CPU supports the feature,
  144. * this *could* lead to modules load failure with ENDBR errors, or to
  145. * broken CUDA/NVENC. Please ignore if not having issues, but otherwise
  146. * try to unset or pass ibt=off to the kernel's command line.
  147. * Please check to make sure these options are set correctly.
  148. * Failure to do so may cause unexpected problems.
  149. * ERROR: x11-drivers/nvidia-drivers-470.256.02-r2::gentoo failed (prepare phase):
  150. * patch -p1 failed with /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch
  151. *
  152. * Call stack:
  153. * ebuild.sh, line 136: Called src_prepare
  154. * environment, line 3991: Called default
  155. * phase-functions.sh, line 874: Called default_src_prepare
  156. * phase-functions.sh, line 950: Called __eapi8_src_prepare
  157. * environment, line 360: Called eapply_user
  158. * environment, line 1832: Called eapply '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
  159. * environment, line 1792: Called _eapply_patch '/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02-r2/nvidia-470xx-fix-linux-6.12.patch'
  160. * 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'
  161. * isolated-functions.sh, line 112: Called die
  162. * The specific snippet of code:
  163. * die "$@"
  164. *
  165. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`,
  166. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-470.256.02-r2::gentoo'`.
  167. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/build.log'.
  168. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/temp/environment'.
  169. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
  170. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work'
  171.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement